Plugin Directory

Changeset 508015


Ignore:
Timestamp:
02/21/2012 04:05:55 AM (14 years ago)
Author:
PSDCovers
Message:

Adjustly Collapse Readme Updated to look cleaner, part 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adjustly-collapse/trunk/readme.txt

    r508013 r508015  
    2323The basic structure without any CSS bells and whistles looks like this:
    2424
    25 <code><span style='color:#ff0084;'>&#60;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;'>"&#62;trigger&#60;/a&#62;</span><br><span style='color:#0063dc;'>&#60;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;'>"&#62;target: this content is hidden by default&#60;/div&#62;</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>
    2629   
    2730   
     
    2932In 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:
    3033
    31 <code><span style='color:#ff0084;'>&#60;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;'>"&#62;trigger&#60;/span&#62;</span><br><span style='color:#0063dc;'>&#60;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;'>"&#62;target: this content is hidden by default&#60;/span&#62;</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>
    3238
    3339<h4>rel="[id]"</h4>
Note: See TracChangeset for help on using the changeset viewer.