Re: How do I make JavaScript "pop-up help" accessible?

<a href="foobar.html" target="_blank" onclick="Help('foobar.html');return false;">Definition of foobar</a>

It is done that TARGET attribute is specified this by the reason because the state will be an intention of help and the display of
the page as pop up (Or, simultaneously with the body because it is likely to be intended if it is preferable that the help page is
displayed) by which the body does not disturb the flow.

Personally, though the act that it tries to examine the composition to become a flow of the site where the help page is not needed
will be taken.


----- Original Message -----
From: "David Woolley" <david@djwhome.demon.co.uk>
Sent: Tuesday, November 07, 2000 5:11 PM
Subject: Re: How do I make JavaScript "pop-up help" accessible?


>
> >
> > The pop-up is invoked by code like:
> > <A href="JavaScript:Help('foobar.htm')">definition of FooBar</A>
>
> This one is easy; unfortunately people normally copy other people's
> bad code.  It should be:
>
> > <A href="foobar.htm" onclick="Help('foobar.htm'); return false">definition of FooBar</A>
>
> The return false prevents the href being actioned in the original frame,
> when the script is run.
>
> I believe this works on all browsers that would have run the original.
>
> The correct approach to this was:  how do I augment and accessible
> version with a (javascript) control-less popup window.
>
> Note that one reason why target attributes are deprecated is that popups
> are considered a bad thing for usability (they represent too much
> power for the content provider compared with the user).
>
>

Received on Wednesday, 8 November 2000 02:28:23 UTC