HTML - Getting Imagemap Coordinates
I have an image of a city map that I would like to use on my website as an image map. There are several areas that I'd like to turn into poly links. Inconveniently, these areas are not nice and square, which means that finding all the coordinates manually will be a major pain.
Is there a way for me to select an area on that image that I want to map out, feed it to some program, and get it to spit out all the coordinates for me of my selection? I've tried a plugin that comes with GIMP, and a program called Meracl ImageMap Generator, but they both require to manually set all the poly nodes. It sure would be nice if there was a program or a website service that could take an image with a preselected area and find all the nodes automatically. Similar TutorialsI didn't know where to post this one so I am posting this in both CSS and HTML. I have one last problem to tackel (I hope) I want my footer to be my Navbar. Here is my current code (attached is a GFX of what it looks like): <!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> <title>The works of D.M. Rosemark</title> <style type="text/css" media="screen"> <!-- body { background: url("bkg.gif"); background-repeat:no-repeat; background-attachment:fixed; margin: 0px } div#wrap { margin: 0 auto; width: 800px; } div#header { height: 100px; background: url("bkga.gif"); background-repeat:no-repeat; background-attachment:fixed; margin: 0px } div#footer { height: 100px; background: url("bkgb.jpg"); background-repeat:no-repeat; background-attachment:fixed; margin: 0px } div#frame { margin: 0 auto; width: 600px; } iframe#one { border-style:ridge; border-width:10px; border-color:#999999; width: 600px; height: 375px; padding:1px; } //--> </style> </head> <body> <div id="header"></div> <div id="frame"><iframe id="one" frameborder="0" src="01.html" scrolling="yes"> </iframe></div> <div id="footer"></div> </body> </html> So since I cannot use HTML in my CSS, which is where my 'footer' (bkgb.jpg) resides how preytel do I make an image map in CSS? or is it possible to create the image map in the HTML portion relating to the CSS <DIV>? http://www.wishwishwish.net Okay, so i created this website by modifying the default wordpress theme, and using my own image as a background, which is defined in the css. I originally wanted to use an imagemap, so I used this tutorial to help me create one, with the css in the style.css, and html in header.php this works perfectly in firefox, but not at all in IE, the links do not appear. this might be happening in other browswers as well, what's wrong? is it the method i've used for creating the floating image map? So frankly, I'm confused. I have an image map set up for an image on a webpage I was asked to design, and the map links WORK in google chrome, and in Safari. However, they do NOT work in Firefox nor in IE 8. I have verified the html code, so I don't know what it would be. Any ideas? I can show the html if you'd like. I know it sounds silly to even be asking questions about imagemaps, but i can't figure out any other way of getting what I want. Here's my issue: At the side of my page, in a frame, I want to have an image map that serves as a navigational pane for the whole site (links like 'home', 'about us', 'links'. . . ). From previous experience with websites getting all mucked up when viewed on different sized monitors or with different resolutions, I've made every image on the site resize-able as the the window dimensions are changed, hopefully ensuring nothing will ever get lost off the sides or mutated in wrap-around's. Everything looked great, and I was ready to apply the parameters to the image map, but of course, half-way through programming the imagemap, I realized the inevitable problem: As the image size changes, the co-ordinates of my imagemap will no longer apply to the graphic. I don't want to resort just putting ugly text over the scalable background image (which is where I'm at now) when everything else on the site looks so rich (or so I think). I'm certain that image maps aren't the answer, but is there anything else? My basic problem is that I want an series of links at the side of my page, attatched to buttons designed in photoshop, and totally resizeable as the all the other images on the site. Any help? Hello, I have created a large image with an image map (see http://www.brammaas.nl/australia/). However, the image map is not working correctly (just hover the image and you will notice that not every dot or image in the map corresponds with the link it should correspond with). Do you have any idea why this code is not working? Best regards, Hi, quick question about imagemaps I have a map of the UK that I'm using with an imagemap, different clickable regions. I've got the areas defined properly. Is it possible to have some kind of a:hover css rule on the different areas, so for example the region will change colour but leave the rest of the picture the original colour; maybe using background images?? I was thinking of putting the map picture in the background of a div, then using a transparent gif over the top and applying the imagemap to that so i could still change the background-position, but then i got confused. Thanks for any advice I have a site with text scrolling over a fixed background - mbccc.net - and I want the background to be an imagemap so's I can link from different parts of it. But I can't make it work. I can make an imagemap work alright. But not on a fixed background image. Is it possible or does making the image a 'background' image and 'fixing' it in position mean that it can't be referenced as an imagemap any more? regards, ab I am working on a web site where my goal is that the user is able to enter an address (and other information) but what I want is that address to be taken and on another page automatically converted to gps coordinates and found on a map. My problem is that I cannot find a way that this can be done automatically when they enter the submit button. If anybody has a suggestion it would be greatly appreciated. I am new to html. I just wanted to find out how to get the coordinates for an image. Is there some type of program you put it in to get the exact coordinates? Please help... code: Code: <img src="/home/brokenbot/Pictures/rihanna-beat-up1.jpg" width="500" length="600" alt="Rihanna Beat Up" usemap="rihannapractice" /> <map name="rihannapractice"> <area shape="circle" coords= I'm lost on where to even start to find my coordinates. Hello, I am using this script http://www.frontiernet.net/~bambam00.../tooltip_e.htm to have some text appear on top of my images at: http://www.greekconcierge.com/group.php I need a function which can correctly calculate the coordinates in the "FIX" element of that script so that the tooltips are positioned correctly for different screen resolutions. I suppose the function will need to find the center of the screen and then use relative positioning. any ideas? thanks, Andy |