I wanted to create a box that you could click on and be forwarded to "#" so I thought this would be a good idea:
But unfortuneatly areamaps couldn't be used in div or p tags :/ Anyone have an idea what a good solution would be?
I wanted to create a box that you could click on and be forwarded to "#" so I thought this would be a good idea:
But unfortuneatly areamaps couldn't be used in div or p tags :/ Anyone have an idea what a good solution would be?
This is not php related, because its happening in the navigator. Use javascript instead :
<div style='background:url(image.jpg)' onclick='function(){document.location.replace="#"}'> </div>
You could create tags inside the div. you give the tag an id. Than you create a style for the tag in you css-file. Set display:block and position the link via position:absolute or position:relative. Set width and height as appropriate.