|
Not sure I quite understand what you mean, but you could do one of a few things...
On the onMouseOvers (or whatever you're using to show popups over anchors) that you're using call a function that checks to see if this is the first mouseover for this web page (obviously setting it to false when loaded.) If false, display the text, change your text and set to false.
Like I said, I don't quite understand what you mean, but
this should give you some ideas.
On Sun, 29 Feb 2004 09:07:03 +0000
Rob Dixon <rob.dixon@xxxxxxxxxxx> wrote:
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
_______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
Bradley V. Stone BVS.Tools www.bvstools.com _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.