View Full Version : Transitional Effect In Tab Content script v2.2

12-06-2008, 04:27 AM
1) Script Title: Transitional Effect In Tab Content script v2.2

2) Script URL (on DD): Taken from this thread : http://www.dynamicdrive.com/forums/showthread.php?t=39086

3) Describe problem: I know this isn't an "official script", but you did make a change to the original and I didn't get any feedback from the last time so I thought I'd make a new thread.

Unfortunately, since implementing the new transitional effect, the URL parameters have stopped working.

Any way to fix this? / Or was it never intended to work across pages?



12-07-2008, 08:10 AM
That's normal actually, since the URL parameter feature was only added in v2.2 of Tab Content script:

//** Updated April 8th, 08 to version 2.2: Adds support for expanding a tab using a URL parameter (ie: http://mysite.com/tabcontent.htm?tabinterfaceid=0)

The fade in modification referenced in that thread was based on v2.0 of the script.

Anyhow, attached is v2.2 of Tab Content script, modified to add a fade in effect using jQuery. Be sure that the top of your page also contains a reference to the jquery library:

<script type="text/javascript" src="jquery-1.2.6.pack.js"></script>

12-07-2008, 12:34 PM
Awesome, works perfectly :)