Changeset 12818 in spip-zone


Ignore:
Timestamp:
Jun 10, 2007, 9:14:29 AM (14 years ago)
Author:
renato@…
Message:

added some comments to the demo.xml file to explain the markup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/demo_spip/demo.xml

    r12817 r12818  
    3838    </content>
    3939    <actions>
     40      <!-- the loop attribute enable looping of mouse actions -->
    4041      <mouse loop="true">
     42        <!-- set the mouse image to the offset of the element selected by selector -->
    4143        <set selector="div.jqmWindow" />
    4244        <!-- time is in seconds -->
     
    4446        <!-- speed is in px/s -->
    4547        <move selector="table.cellule-h-table[a[@href*='?exec=rubriques_edit&amp;new=oui']]" speed="200" />
     48        <!-- when using "set" or "move", the targeted element is stored,
     49             enabling to show a click image on the last selected element.
     50             Optionally a delayEvent="seconds" attribute will fire a real
     51             click event on the element itself after n seconds from the
     52             moment the "click" image is displayed.
     53        -->
    4654        <click />
    4755      </mouse>
     
    5058  <step num="4">
    5159    <window>
     60      <!-- styling of the window
     61           each rule defines a name property and its value
     62      -->
    5263      <css>
    5364        <rule name="top" val="10px" />
Note: See TracChangeset for help on using the changeset viewer.