PDA

View Full Version : Tab Content Script (v 2.0)



yeniuye
02-17-2008, 05:56 AM
1) Script Title: Tab Content Script (v 2.0)

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

3) Describe problem:

Before, I asked for a help to add glowing effect in tab content script. Its working perfectly thanks again for that. This time, I am wondering how it is possible to add NEXT / PREVIOUS buttons to it like the one at gliding script. Do I need to modify js codes?

ddadmin
02-17-2008, 10:15 PM
Hmm looks like this is going to be a lot more involved than the previous hack. I'll try and get back to this thread when I have time- no promises though.

ddadmin
02-18-2008, 08:52 AM
Ok, the below tabcontent.js adds a new function, cycleit(direction), that lets you cycle through the tabs on demand. Whereas before you could only do:


<p><b><a href="javascript: countries.expandit(4)">Click here to select last tab</a></b></p>

Now you can also do:


<p><b><a href="javascript: countries.cycleit('forward')">Move Forward</a></b> | <b><a href="javascript: countries.cycleit('back')">Move Backwards</a></b></p>

yeniuye
02-22-2008, 07:08 PM
Once again, thank you very much!