Forum Moderators: not2easy
personally -
I feel smaller images load fast.
Agreed, but once cached in the browser's temporary files (i.e. the server returns a 304 not changed header) the image will likely display faster when using an image map alone as there is less code and resource/network overhead for different file requests to process. The load time would then only be a consideration on the first page-load if the same image for navigation is used site-wide.
HTH
Paul
My preference is to put the navigation image as a background, and superimpose the links as text [spider food] in table cells or divs
I have serious doubs that search engine spiders can really follow the links in image maps - therefore never use them - and the links are critical to getting the site indexed, right?
My preference is to put the navigation image as a background, and superimpose the links as text [spider food] in table cells or divs.
Took the words right out of my mouth.
Saying that though I always include standard hyperlinks at the bottom of the page so SE's can still navigate easily through the site. Plus it also helps those not using standard browsers like some disabled programs.
Simon.
Depending on its color depth and complexity, you'd be able to create a rather small GIF. You may shave a few more bytes off by cutting it into smaller pieces, but consider
It is good practice to provide alternative text navigation in the footer, so someone browsing text only or with a screen reader will not be stymied by lack of graphics. Search engine spiders would be able to follow the text links even if they skip the imagemap.
My big complaint about imagemaps is that you can't graphically change/highlight the selection the user's mouse passes over it. (Or is there a way to do this that I somehow missed?!)
Now if you happen to have one image that you wish to "slice up" into irregular, clickable sections --that is, "imagemap style"-- it is possible to create something like this with style sheets.And you can make the parts change when the mouse hovers over them. Basically, you make the full image the background-image of a <div>, then set up hidden links with their own background-images (the highlighted version of the graphic) that show up on "hover".
(I did this recently for an odd shaped "product map". The pieces had previously been lined up using tables [our graphic designer created it all in DreamWeaver], but aligning all the pieces, in all browsers, proved a nightmare. Actually, when I finished with the stylesheet "map", I also created a traditional imagemap, but only as an alternative code for older browsers that could not handle the css-based version.)