Problem running 2 scripts on the same page ;(
Hi guys does anyone know why this is happening? If you take a look at http://www.mason-williams.co.uk/mac/newstest.html you will see that I'm trying to configure a iframe to display news in. However there is a conflict between the menu script that is running on the same page. When I remove the following code the iframe works…
//Top Navigational Bar III (By BrotherCake @ email@example.com)
//Permission granted/modified by Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://www.dynamicdrive.com
However when I remove this code my menu system at the top will not work. ;(
Do any of you guys know how I can resolve this and make both the scripts run on the same page?
if you have a problem onloading two scripts....
Just do this if you have a problem onloading two scripts at the same time or you need to do that:
<body bgcolor="#FFFFFF" onload="function1(),function2()">
That will load two functions at the same time. I noticed you wrote in your script "window.onload=...." you might want to put that in your body tag.