View Single Post
  #9 (permalink)  
Old 04-13-2008, 01:04 AM
STILL LEARNING
Guest
 
Posts: n/a
Diggs:
Default Re: Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content

On Feb 8, 6:36 am, pcx99 <x...@x.com> wrote:
>
> document.onclick=function () {
> document.location.href="http://someurl.com"; --


pcx99, forgive my ignorance but . . . what is this? Javascript? It's
quite elegant and I like it, but I'm not sure where it would go or if
it might be fussy (eg cross-browser compatible).

Very elegant, and this is easily the best solution -- both for
simplicity and size -- but only if it is not fussy. Could you
elaborate a bit? Does this go BEFORE the </HEAD> -or- AFTER the
<BODY> tag? Thank you pcx99.

SL'in

Reply With Quote