What about using an image map?
What about using an image map?
20 years a Zencart User
Sorry - new at that one too! How would I go about doing that?
Basic html coding for your custom page you can Google for more image map creation and start with this one
http://www.javascriptkit.com/howto/imagemap.shtml
Zen-Venom Get Bitten
I helped someone on image mapping, with a post a couple of weeks ago... Do a search for "image map" or hotspot.
Last edited by schoolboy; 6 Jan 2009 at 10:24 PM.
20 years a Zencart User
20 years a Zencart User
Many thanks to you both. I should be able to get it working with all of that![]()
Glad to see that things look in hand.
BTW, you can have an id for a link, but you can't put two "a" tags into it:It would be like this:HTML Code:<a id="womensLink"a href="http://www.imagocollections.com.au/index.php?main_page=index&cPath=33"></a>And yes, you would want some content in the link. You can use pixel_trans.gif which is a one-pixel transparent image, used for this kind of placeholder elsewhere in Zen Cart. So content would be <img src="http://www.imagocollections.com.au/images/pixel_trans.gif">HTML Code:<a id="womensLink" href="http://www.imagocollections.com.au/index.php?main_page=index&cPath=33">content</a>
You wouldn't address a link named #womensLink as
#womensLink a {
but as
a#womensLink {
#womensLink a {
means a link inside an element named #womensLink.
Last edited by gjh42; 7 Jan 2009 at 09:59 AM.
It is possible that IE doesn't treat an id in a link correctly; there are plenty of other examples of it choking on valid CSS treatments.