PDA

View Full Version : Body Onload Script Conflict



Mng026
05-11-2008, 01:51 PM
1) Script Title: Textual tooltip Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/linkinfo.htm

3) Describe problem: I put the textual tooltip on my page where I utilize another javascript 'scroll bar'. It appears that both scripts are using a 'body onload' function and conflicting with one another. The author seemed to expect this problem and added a section on how to solve it -- unfortunately, I could not locate the problem function on the 'scroll bar' and need a bit of help to combine the two! :confused: I believe the problem script on the tooltip is: window.onload=regenerate2 -- The page that is giving me trouble is: http://www.stonehouseproductions.com/video1.html --- Thanks in advance!

Mike

Mng026
05-11-2008, 03:30 PM
Update: I removed the 'body onload' piece of code (window.onload=regenerate2) and the page appears to be functioning perfectly without it. (as seen on: http://www.stonehouseproductions.com/video.html)
Perhaps the 'scroll bar' body onload is already executing the function? Does anyone see a problem with removing this line of code??

Additionally, you can see on the page -- I am trying to make it function as a video gallery. If you click the thumbnail, the description pops up. I would also like a quicktime movie to load above the description. Does anyone know a way to modify the script to do such a task? Or another script that can accomplish both loading the movie and showing the description?? Thanks again for any help.

Mike