How do I get server side image maps to work? Do I need to upload my own CGI script to handle the image mapping or is this available already? (I'm on a shared server.)
This is a discussion on Server Side image maps in the Shared & Semi-Dedicated forum
How do I get server side image maps to work? Do I need to upload my own CGI script to handle the image mapping or ...
How do I get server side image maps to work? Do I need to upload my own CGI script to handle the image mapping or is this available already? (I'm on a shared server.)
I don't believe that the apache image map module is on, so you would have to write a scrpt to do it. Most browsers these days have pretty good mage map support, what are you trying to do that requires a server based script?
It's actually for a MySpace profile. MySpace filters out pound signs in the submitted HTML, so the usemap attribute looks like this, usemap="..myMap", instead of this usemap="#myMap". Since that kills the option of a client-side map, I was looking into server side maps which I've never used before. I figured I could just host my image map here and reference it from the MySpace profile. Guess I'll have to dig around and find a script.
Hrm... not sure what you're trying to do...
I played around with 'mapping' a (great) while back. Here's an example...
http://civic.lenon.com/
Is this what you're talking about?
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
This should help you get started: http://cgi.resourceindex.com/search/...earch=imagemap
Note that server side imagemaps are not accessible. If someone is blind, using a non-graphical browser, or just has images turned off then he won't be able to use your imagemaps.
--Jason
I'm not 100% sure, but must maps be named with a # in front? I remember some loophole about a # sign somewhere, but I don't remember whether it was for image maps or what.
Oh, dear, I forgot about blind users... thanks, jason!Originally Posted by jason
Baby steps, baby steps...![]()
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Thanks for all the input.
I found out that filestash.com allows server side image maps, so I have the map hosted there for now.
I wasn't thinking about accessibility at the time. Seeing as how it isn't a complicated image map I can probably get away with making a div with the background image set to my image. I'd have to recreate my image, removing the text(which was the clickable areas of the map), and just use anchor tags with relative positioning to display the links.
Copyright © 2011 JaguarPC.com
Bookmarks