window.onload giving problems

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
gokhale_saurabh@yahoo.com
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

window.onload giving problems

Post by gokhale_saurabh@yahoo.com »

Our menu has worked fine with many other javascripts, the exception being if two scripts use a function with the same name. You should be able to call your scripts with the body onload calls and load our menu in the noted way of script tags right after the body tag. If there is a function conflict then one of the scripts will need to have it's functions renamed so they play nice.
I also see this message when trying to view the url you gave, not to mention a slew of full screen pop up windows:

There is no "index.html" (default document is needed if you want to point to a directory) in this directory or the account does not exist

If you continue to have trouble I'll have to defer to Andy to debug your code if you get your site up.
cheers,
Yadin
bages@uiuc.edu
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm
Location: Illinois
Contact:

Re: window.onload giving problems

Post by bages@uiuc.edu »

Our menu has worked fine with many other javascripts, the exception being if two scripts use a function with the same name. You should be able to call your scripts with the body onload calls and load our menu in the noted way of script tags right after the body tag. If there is a function conflict then one of the scripts will need to have it's functions renamed so they play nice.
I also see this message when trying to view the url you gave, not to mention a slew of full screen pop up windows:

There is no "index.html" (default document is needed if you want to point to a directory) in this directory or the account does not exist

If you continue to have trouble I'll have to defer to Andy to debug your code if you get your site up.
cheers,
Yadin
psuedmeyer@yahoo.de
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Thank you for your response

Post by psuedmeyer@yahoo.de »

Hello Yadin,

Thank you for your response.

Your script has finally started working. I kept those script tags right after <body> tag and that is what the problem was.

You recognized the problem pretty fast.

About my site:

I have a problem with my "sauchin" account. That is why http://sauchin.topcities.com is giving errors.

I have changed my site from "sauchin" to http://saurabhg.topcities.com. Here you will find the use of your menu.

Thank you once again.

Bye4now

Saurabh.
Post Reply