1) Script Title:
Tab Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...content2.htm#1
3) Describe problem:
hello i think i have finally found a script that does what i want but i have a couple of questions.
if you go to www.eventtrafik.com you can see the tab script working along to top.
at the monent i have 4 top tabs
* HOME
* EVENT PLANNER
* SERVICES & TALENT ZONE
* PROMOTERS ZONE
if i click on any of the tabs it will show the sub links under it.
how do it make it go to the desired url ant show the links for that tab automatically ???
in the top tabs code i have put the urls but the when i click on a tab nothing changes.
unless i remove the onClick="return expandcontent code but the n the sub tabs dont show when it goes to that page.HTML Code:<ul id="tablist"> <li><a href="index.php" onClick="return expandcontent('sc1', this)">HOME</a></li> <li><a href="planner.php" onClick="return expandcontent('sc2', this)" theme="#EAEAFF">EVENT PLANNER</a></li> <li><a href="services.php" onClick="return expandcontent('sc3', this)" theme="#FFE6E6">SERVICES & TALENT ZONE</a></li> <li><a href="promoters.php" onClick="return expandcontent('sc4', this)" theme="#DFFFDF">PROMOTERS ZONE</a></li> </ul>
maybe it would help if i knew what the following bits of code do?
what do to following do ???
1 - class="current"
2 - onClick="return expandcontent
3 - what does the THIS do ('sc1', this)
????
ANOTHER STRANGE PROBLEM -----------
why is it that some of the text url's change colour when i mouse over and some don't ???? strange css
thanks
rick




Reply With Quote

Bookmarks