Full Background Image into clickable link

ciccioafrica / 2013-09-15 10:17:45   

Hi,

I'd be interested in making my full background image a clickable link to mailto.
CSS or Html?

danieletoneatti.com

Thank you.

arsondpi / 2013-09-15 11:15:30   

...clever idea!
Although not very safe to put out your email address in your text area of your exhibit simply try this

  1. <div style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 2;' onClick="parent.location='mailto:your@email.com?subject=subject here!'"></div>

So you have html, css and javascript!
You can take the z-index: 2; part if you want.
;-)

ciccioafrica / 2013-09-15 16:37:20   

thank you arsondpi...
as a beginner I assume I have to try add that function to my style.css asset?
thanks again...

ciccioafrica / 2013-09-15 16:42:29   

sorry..I've worked it out...great help much appreciated.
now i just hope it won t be too risky...
B-)

This thread has been closed, thank you.