Skip to content Skip to sidebar Skip to footer

Reversing The Jquery Fade Slide Panel

Regarding the post about the jquery fade slide panel (http://stackoverflow.com/q/10061847/1688202). I was wondering if the method could be reserved? So that the content panel will

Solution 1:

Just add:

.panel.default {
    display:block;
}
.panel.default.content{
    display:block;
}

to the CSS, and add the class default to the panel you want to show when you load the page, e.g. <div class="panel home default">

http://jsfiddle.net/nhEn6/

Solution 2:

You can add

style="display:block;"

inline to your html elements which you want to show by default.

You need to add this to both panel and content classes.

Post a Comment for "Reversing The Jquery Fade Slide Panel"