Brad

(Part 2)

I should have added that I do not believe in sending an infinite number of records to a browser at the same time, so I try to restrict the number of records to those that can be displayed on the screen together. Therefore a further need for a prompt is when there are more records to display which will be retrieved by clicking on Enter. No link is involved here.

Rob Dixon
www.erros.co.uk

Brad Stone wrote:

You could place JavaScript at the bottom of the web page
that will execute after everything is loaded (well, it
depends on how the browser handles it actually).

Maybe I don't understand... why do you want a pop-up to
display right away before the user goes over a hyperlink?


On Mon, 01 Mar 2004 07:56:55 +0000
Rob Dixon <rob.dixon@xxxxxxxxxxx> wrote:


Brad

Many thanks for your help.

What you suggest is what I would like to achieve.  I have
done the switch setting part, but, without using "onLoad"
as part of the <BODY> tag, which I cannot do, how do I
get the popup to display before a user has touched the
mouse?

Best wishes

Rob

Brad Stone wrote:



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.






_______________________________________________
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.





This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 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].