I have a “splash/intro” page on my website. I want to make it very easy for people to get stuck into my website, by enabling them to click anywhere on the page to go to my website proper.
I understand hyperlinks can’t be applied to HTML boxes. So I’ve drawn an image map over the whole page and made the appropriate link. However the image map only works when it is over a graphic.
You could do this with JavaScript pretty easily, although be careful to include a real link somewhere on the page for non-scripted visitors to click (and this includes the Google crawler and other 'bots). Google doesn’t “do” JavaScript, and a surprising number of people have it turned off to avoid viruses and other malware.
Open up Page > HTML Markup, switch to the ‘Before /body’ section of the dialog, and paste in the following (after editing the URL to be precisely what you want it to be, naturally):
(Note carefully that what looks like three single-quotes at the end is really a single-quote followed by a double-quote.)
What this does is register a click handler on the document itself. Any click, anywhere on the page, will bubble up to this handler and be directed toward whatever you enter as the href.
Thanks. I think I’ve just solved it. I’ve made a graphic box the size of my page. I can save it as a gif and it is very small file size. I’ve put a link from the graphic box.