Changeset 508015
- Timestamp:
- 02/21/2012 04:05:55 AM (14 years ago)
- File:
-
- 1 edited
-
adjustly-collapse/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adjustly-collapse/trunk/readme.txt
r508013 r508015 23 23 The basic structure without any CSS bells and whistles looks like this: 24 24 25 <code><span style='color:#ff0084;'><a class="</span><span style='color:#739f20;'>aj-collapse</span><span style='color:#ff0084;'>" rel="</span><span style='color:#2494a1;'>[myslidingcontent]</span><span style='color:#ff0084;'>">trigger</a></span><br><span style='color:#0063dc;'><div class="</span><span style='color:#739f20;'>aj-hidden</span><span style='color:#0063dc;'>" rel="</span><span style='color:#2494a1;'>[myslidingcontent]</span><span style='color:#0063dc;'>">target: this content is hidden by default</div></span></code> 25 <code> 26 <a class="aj-collapse" rel="[myslidingcontent]">trigger</a> 27 <div class="aj-hidden" rel="[myslidingcontent]">target: this content is hidden by default</div> 28 </code> 26 29 27 30 … … 29 32 In the example above, the <b>trigger</b> is an href element and the <b>target</b> is a div element. Note that the trigger and target can be any element you choose and be different, or the same type, of elements. For example, the following is just as valid: 30 33 31 <code><span style='color:#ff0084;'><span class="</span><span style='color:#739f20;'>aj-collapse</span><span style='color:#ff0084;'>" rel="</span><span style='color:#2494a1;'>[myslidingcontent002]</span><span style='color:#ff0084;'>">trigger</span></span><br><span style='color:#0063dc;'><span class="</span><span style='color:#739f20;'>aj-hidden</span><span style='color:#0063dc;'>" rel="</span><span style='color:#2494a1;'>[myslidingcontent002]</span><span style='color:#0063dc;'>">target: this content is hidden by default</span></span></code> 34 <code> 35 <span class="aj-collapse" rel="[myslidingcontent002]">trigger</span> 36 <span class="aj-hidden" rel="[myslidingcontent002]">target: this content is hidden by default</span> 37 </code> 32 38 33 39 <h4>rel="[id]"</h4>
Note: See TracChangeset
for help on using the changeset viewer.