View Single Post
  #8 (permalink)  
Old 04-13-2008, 01:04 AM
pcx99
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

STILL LEARNING wrote:
> I'm not sure if this can even be done, but what prompts the question
> is my desire to be able to create an "Uber Link" script/code of some
> sort, such that even if the html page contains nothing but a
> background image -or- a background color -- in other words, the page
> has neither content nor placed images -- any click, ANYWHERE, will
> launch the URL in your browser.
>
> I realize I can make traditional text links and graphics links; what
> I'm looking for is to be paroled from these . . . and making the
> entire page, whether empty or not, one big CLICK.
>
> Thanks.
>
> SL
>


document.onclick=function () {
document.location.href="http://someurl.com"; --


--
http://www.hunlock.com -- Musings in Javascript, CSS.
$FA
Reply With Quote