PDA

View Full Version : Multiple javasript galleries with "Tab Content"



dauffret
11-18-2008, 05:34 PM
1) Script Title: Tab Content script (v 2.0)

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

3) Describe problem:
Script is great, i have used it in a number of occasions, but it is the first time i actually call DIVs with other javascript inside.
Same behaviour with IE7, FF3, Safari 3.

URL: http://films.ptypix.com/html/en4.html

I am trying to use the tabs to switch between various javascript galleries, but the browsers only load the first one. if i click on the second tab then reload, the browser displays it correctly.

I tried to change the "remember position function" to false, but that didnt change anything.

I am thinking maybe a onClick reload function might work, but i am note sure how to implement it.

Any ideas welcome!

ddadmin
11-18-2008, 10:27 PM
By JavaScript galleries, do you simply mean a collection of images without any additional JavaScript functionality? Looking at your page's source, all I see are image tags wrapped in LIs. Right now all I can see is that there is an error thrown when viewing your page that pertains to:


Error: theimg is null
Source File: http://films.ptypix.com/css/shuffle.js
Line: 62

dauffret
11-18-2008, 10:55 PM
Thanks for the fast answer!

Yes the file at http://films.ptypix.com/css/shuffle.js is used on all other pages but this one. the images are being called by html, but managed by the scripts at:
http://films.ptypix.com/gallery/jquery.js">
http://films.ptypix.com/gallery/jquery.galleria.js">
http://films.ptypix.com/gallery/jquery.galleria.pack.js">
http://films.ptypix.com/gallery/fade.js">

Cheers

dauffret
11-18-2008, 11:26 PM
Hi, so there was no pbm with the DD script.
i need to work on http://films.ptypix.com/gallery/fade.js
thet is the file that messes thing up for what i want to do.

Cheers

Any idea appreciated