Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I want to add css scrolling button to the tab. How would I hack the code to add id tag to a inside the slidenav <a>
tag?
<div class="item-list">
<ul class="slidenav">
<li class="tabtitle-11-2 first">
<a class="slidetab active" id="BUTTON1" " href="/?q=node/11#slider-nid2">About Us</a>
</li>
<li class="tabtitle-11-5">
<li class="tabtitle-11-4 last">
</ul>
</div>
I would think I would need to change the formatter in slider.module.
Any help would be great.
boo
Comments
Comment #0.0
Booranger CreditAttribution: Booranger commentededit
Comment #1
Booranger CreditAttribution: Booranger commentedOk so problem was when I was doing the css I had left out the li tag. Which made me think I would need to add an id tag, after an age of looking at drupal themeing doc. I looked at my page to notice my problem in firebug.
so if any one is question, you use the class name for the css.
li.tabtitle-11-2 is the name for my first tab.
Boo
Comment #1.0
Booranger CreditAttribution: Booranger commentedadd code tag