| I have moved this thread to the HTML forum and given it an appropriate title.
Now, about your question. You cannot apply an image map to a background image. If you need to have your body's background image clickable in only a certain area (the whole area would me an onClick for the BODY tag), then I'd suggest one of these options:
1) Place an <a> tag over the clickable part. For the body you could either use or a blank image.
2) Don't use the body background as a clickable element. Instead, take the part you want clickable and put it in an <a> tag and position it where you want.
3) If you want to get really advanced, you could check the onClick's event handler for where on the page a click occurred and then direct the user to the proper page if they have clicked within the desired zone. NOTE: I said this is advanced, so don't expect to be able to do it if you're not fully competent in javascript and fairly good at figuring out if you're within a closed object. NOTE: This has a disadvantage; namely, as javascript is used for navigation, the resulting page will not be indexed as a result. You could overcome this by placing a link somewhere else on your site to the target page. |