View Full Version : 2 Javascript load on Same page please help!!

10-26-2005, 07:44 AM
Ok here this goes, I have a webpage, which I have attached as a .txt file below. This page loads fine if i place it into a web page, my main window pops up and shortly thereafter the animated window js script opens a small animated window. Now i want to add a menu that also runs on javascript. I have found this neat menu that I would like to add, but I can only get one to run on the page. I know it deals with the "window.onload function" but I have no idea how to change this. This is the HTML code that I place on the page for the menu <script language="javascript" src="linkdock.js"></script> . When I do this, the animated window doesn't open, but the menu does. I have upload the "linkdock.js" file to my webserver so it works fine by itself, but together, I cant get the 2 to work. Below is the linkdock.js file that I have. Maybe this can help someone. Can someone help me please!!