Tip Alert BEFORE a page is called up

Z

-z

I use FP2K
==========
Say I want to hyperlink to a very busy page, such as refdesk.com, and I want
to remind the user to use ctrl+f to find what s/he wants, is there a way to
call up a quick tip such as this before the page comes up

I can do this with JavaScript if I generate the page, but NOT if I hyperlink
"out"

Thank you
 
S

Stefan B Rusynko

Add a JavaScript onclick event to call the alert from your hyperlink



| I use FP2K
| ==========
| Say I want to hyperlink to a very busy page, such as refdesk.com, and I want
| to remind the user to use ctrl+f to find what s/he wants, is there a way to
| call up a quick tip such as this before the page comes up
|
| I can do this with JavaScript if I generate the page, but NOT if I hyperlink
| "out"
|
| Thank you
|
|
 
C

clintonG

I have a better idea -- I think -- since you are familiar with
JavaScript I won't have to talk to you like you were a four
year old ;-)

Two approaches: Pre-Annouce or Post-Announce, the latter of
which (Post-Announce) may be best as only you really understand
the context of your application.

Yes, I underastand you said you want to annouce 'before' the
target page is loaded.

Post-Announce is better as it lends itself to a process that is
more dynamic than relying on a hard-coded contextual
click event applied to an anchor. After all, once the click event
fires the application is committed and you may still want or need
to do contextual processing in the target page anyway.

Adopting a User Assistance mindset then. The most useful
event for Pre-Announce functionality is the onMouseOver
event which occurs in the source page We see this all the time
with tool tips and so on.

Using Post-Announce you leave the source page alone, the user
clicks-through and your target page uses the onLoad event to call
a function to dynamically process what you need.

This latter approach allows the target page to be entered via any source
page, is much more dynamic, and helps keep source pages free of
clutter.

Now, if what you were saying when stating 'not when I hyperlink out'
happened to mean you do not know how to use JavaScript to process
the click a
click event you are well advised to use the JavaScript FAQ.

SEE: http://developer.irt.org/

Lastly, be advised of overLIB
SEE: http://www.bosrup.com/web/overlib/

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
S

Steve Easton

The problem here is ( If I read his post correctly )
that he doesn't "own" the target page, so Post Announce
isn't an option.
 
K

Kathleen Anderson [MVP- FP]

Create a new page in your web containing the instructions and put a redirect
in it; in HTML view, add the following to the Head section:
<meta http-equiv="refresh" content="6; URL=http://www.the
otherwebsite.com/theotherpage.htm">
The value given to 'content' is the number of seconds before the refresh
will take place; the value given to 'URL' is the page you want your visitor
sent to. You may also want to include a text link to the page in case your
visitor's browser does not support the 'refresh'.

Then link to the new page, which after x number of seconds, will send them
on to the other page.
 
Z

-z

Thank you
"Mouse over" may be what I want to explore before I have the User to
Hyperlink to a page I do NOT own...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top