PDA

View Full Version : Disable tabs in Tab Content Script



Foundas
04-19-2012, 05:13 PM
1) Script Title: Tab Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem:
Hello,

i am going to use the script to make 26 tabs, one for each letter of the alphabet. The page is going to be used as a glossary. Some tabs though need to be disabled as i dont have any content to put under (yet).

Can you please advice how can i disable certain tabs so the user cannot click on them?

thanks in advance

Foundas
04-19-2012, 05:52 PM
Got it...i added new style for shadetabs li span{} and instead of
<li><a href="#" rel=country1">tab 1</a></li> i put
<li><span>Tab 2</span></li>