Say you have:
Code:
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
Content 1 Here. <br />
<p></p><a href="javascript:featuredcontentslider.jumpTo('slider1', 3)">Go to 3rd slide</a></p>
</div>
<div class="contentdiv">
Content 2 Here.
</div>
<div class="contentdiv">
Content 3 Here.
</div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
The script does rely upon the presence of the class names and id's. However, css relies upon selectors. So a unique selector for the contentdiv class in the above would be:
Code:
#slider1.contentdiv {
whatever
}
The paginate and wrapper divisions already have unique id selectors. What else do you want to customize? Also, you can add a compound class, for instance:
Code:
class="contentdiv mycontent1"
which will cascade if used after the first definition and will select like:
Code:
.mycontent1 {
whatever
}
Bookmarks