I am using Javascript to display popups when a user moves the mouse pointer over a link. The popups contain instructions telling the user what options he has and will vary with the type of link. This works without any problem. I would like the popup to be displayed with different text when the page is first loaded. The problem is that part of my page is generated by WSG and I cannot put an "onload" in the <BODY> tag - only after it. I generate most of the HTML & JS after the <BODY> tag.

If I save the generated HTML and insert the unload after BODY, it works fine, so what I need is to find another way of getting the onload to fire.

Has anyone any idea whether I can put the unload somewhere else or have any suggestions for another way of getting a popup to appear when the page is first loaded.

I have searched Google and many books without success.

Many thanks


Rob Dixon




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.