STILL LEARNING said the following on 2/7/2007 5:40 PM:
[Followup-To set to comp.lang.javascript]
Quote:
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. |
<body onclick="goThere('someURL')">
function goThere(URL){
alert('This is going to be really ANNOYING');
document.location.href = URL;
}
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/