Forum Moderators: open

Message Too Old, No Replies

Help with Glider Script

dynamic drive glider script

         

ianternet

9:48 pm on Jan 17, 2008 (gmt 0)

10+ Year Member



so I am using a glider script from dynamic drive, which glides the contest base on link and order of the content. just go to dynamic drive and go to dynamic content and chose glider script

what is happening when I enter <a href="#" class="toc">link here</a> within a bulleted list it does not work, but if I remove the class toc out of the listed and create it as a standard link out side of a list the glide content works with no problem

I need to have the toc class within a list because the design of my website will look better =P but I can't seem to make it work properly

<div id="p-select" class="glidecontenttoggler">
<a href="#" class="toc">about</a><a href="#" class="toc">about</a>

THE ABOVE WORKS (created out of list for testing)

<ul id="menu">

The Bottom TOC does not work, because it is listed.

<li><a href="#" class="toc">about</a></li>
<li><a href="#" class="toc">latest news</a></li>
</ul>

</div>

help please

gergoe

7:13 pm on Jan 18, 2008 (gmt 0)

10+ Year Member



Nobody except those who are using the library you mentioned can help you fix this problem (and even those who are using it might not ever seen the code), so I'd suggest you to go around the problem, and instead of defining the class for each individual link, you may go for the css selectors, and use:

ul.menu li a { 
/* Your style definition as it was defined for a.toc */
}

...in your stylesheet.

If it is only the class selector which makes the behavior of the library go wrong, then you can circumvent the problem with this solution. You could also check the CSS Forum [webmasterworld.com] for further information about css selectors.