I am skinning a site with an ad, and I want to make the entire ad clickable. The ad takes up the entire background (body) as shown below
body {
background-attachment:scroll;
background-color:#000000;
background-image:url("http://gunshyassassin.com/wp-content/uploads/2010/10/gunshy_takeover2OUTNOW4.jpg");
background-position:center top;
background-repeat:repeat-x;
I have used css to absolutely position the anchor, but it won''t work due to the size of the background. I am looking for a jquery script that basically says:
when you hover over the background, turn the pointer into a curser. If you click anywhere on the background, go to this link: http://google.com. BUT, if you hover over the main container, (a child of the body, obviously), disable the hover and link.
Any ideas?