dmelosi
11-25-2007, 01:49 AM
1) Script Title: Script conflict onload function
2) Script URL (on DD): http://www.dealermanage.net/loginindex.asp
3) Describe problem: Hello,
If you hover over the bottom part of each link the drop down menu will come up.
I have a problem with conflicting JS scripts.
The problem is that on some pages I have within the page
onload="initializePage();" and some pages I do not.
The conflict occured and did not allow the navigation to show up on the pages that had within the page the onload="initializePage();"
The page calls on style.js to execute the navigation bar.
There is a place in the style.js to define onload functions.
I put initializePage(); in that area and it made the menu appear on all pages as wanted,
BUT now I get a java script error that says object expected on the pages WITHOUT the function within the page.
Any suggestions?
Thanks,
Dave
2) Script URL (on DD): http://www.dealermanage.net/loginindex.asp
3) Describe problem: Hello,
If you hover over the bottom part of each link the drop down menu will come up.
I have a problem with conflicting JS scripts.
The problem is that on some pages I have within the page
onload="initializePage();" and some pages I do not.
The conflict occured and did not allow the navigation to show up on the pages that had within the page the onload="initializePage();"
The page calls on style.js to execute the navigation bar.
There is a place in the style.js to define onload functions.
I put initializePage(); in that area and it made the menu appear on all pages as wanted,
BUT now I get a java script error that says object expected on the pages WITHOUT the function within the page.
Any suggestions?
Thanks,
Dave