On my site, www.dudworks.com, in the top right corner is a graphical menu. I had to put each link picture as hotlinks on an image map because they weren't positioned in a way that I could break them up into separate pictures.
I want to have each circle change into a picture when it's rolled over, but can't figure out how to do that without having the whole image change.
Help?
-Ben Dudden
Thanks.
Ben The Cartoon
04-26-2003, 07:55 PM
So, I'm assuming since no one is responding at all to me, that it might not be possible at all.
If it is (or isn't) could somebody please let me know?
Thanks a lot,
Ben Dudden
Compguy Pete
04-30-2003, 07:01 PM
what your looking for has to be done in 1 of 2 ways...
1. Use Flash
2. dont allow the images to overlap however make sure all the images use the same height.
Also Ben sometimes to get an answer you need to wait longer than an hour... To expect much more is not realistic.
Nedals
04-30-2003, 07:41 PM
Your page could not be found!! So I do not know if this will work for you.
I want to have each circle change into a picture when it's rolled over, but can't figure out how to do that without having the whole image change
I suggest you break up your image into squares and use an image map on each square to give you the circle 'live' area. Now you can do a rollover to change the square image where only the area inside the circle changes.
Maybe that will work!!
Ben The Cartoon
04-30-2003, 08:08 PM
Okay, the link got screwed up because of the comma. www.dudworks.com is the correct address.
Sorry if I had come off as sarcastic or impatient. (It actually had been two days between posts, not an hour.) I was just trying to be concise, lol. :rolleyes:
Anyway, the image is set up so that separating squares of the image would be kind of difficult because they would overlap.
Now, I had originally wanted each circle to chance into a circle picture of the same size using image flip technology, and was wondering if it was possible to just change the circle section hotlinked in the image map instead of having a whole new picture load.
I am thinking instead, to have all of the other circles change as well to pictures of the highlighted circle. I think I know how to do this. But only if the other way isn't possible.
-Suggestions?
(Check the site to see what I'm talking about.)
-Ben
Ben The Cartoon
04-30-2003, 08:41 PM
Okay, the link got screwed up because of the comma. www.dudworks.com is the correct address.
Sorry if I had come off as sarcastic or impatient. (It actually had been two days between posts, not an hour.) I was just trying to be concise, lol. :rolleyes:
Anyway, the image is set up so that separating squares of the image would be kind of difficult because they would overlap.
Now, I had originally wanted each circle to chance into a circle picture of the same size using image flip technology, and was wondering if it was possible to just change the circle section hotlinked in the image map instead of having a whole new picture load.
I am thinking instead, to have all of the other circles change as well to pictures of the highlighted circle. I think I know how to do this. But only if the other way isn't possible.
-Suggestions?
(Check the site to see what I'm talking about.)
-Ben
P.S. Now for some reason, my image swap isn't working in Netscape. No idea why. It works in Internet Explorer though.
That's never happened before.
Gah.
Nedals
04-30-2003, 09:15 PM
Now that I can see your page, I understand the problem. If you still want to mess with this to get the effect you originally wanted, here's how I would go about it...
First divide your image into vertical slices such that each new image would contain bits of the image on each side. Now create a image map for each slice that is 'hot' for the major part of the picture (you will loose the hot area to the left and right). Now on mouseover, you change 3 images at once, giving you the picture you want.
A lot of messing around, but it might work for you. :)
Nedals
05-01-2003, 12:25 AM
Some time ago I posted a technique for creating 'hot spots' on a background image, but never actually tried it. Your problem presented a similar solution. So with a little time to spare I came up with this. It creates 'hot spots' only on your images and allows you to add the links. If you are up to it, you could create seperate images for the rollovers.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0024)http://www.dudworks.com/ -->
<html><head><title>DudWorks.com</title>
<style type="text/css">
body { background:#fff; }
</style>
</head>
Some time ago I posted a technique for creating 'hot spots' on a background image, but never actually tried it. Your problem presented a similar solution. So with a little time to spare I came up with this. It creates 'hot spots' only on your images and allows you to add the links. If you are up to it, you could create seperate images for the rollovers.
Nedals - great post I have searched all day for a way to do this and finally came upon this post. Thanks for the code, I know it is only *cough* 5 years old, wow where did all that time go?
Anyway the code works perfectly for me with the exception of one odd glitch - when you click on the link nothing loads. If you SHIFT/Click then it opens just fine in the new window. Wondering if you have any insight into this?
Thank you Nedals your a legend in your own lifetime!
Cheers
2orak
12-23-2008, 12:01 AM
Hi again.
Is there any reason that you can't use two of these on the one page? Different map name, different images names etc. The initial images load but no images change when you mousover either map. Links all work, pages open as they should, no broken image tags so everything does as it should with the exception of the image change. If I remove one map at a time, the other works correctly.
Thanks
2orak
12-23-2008, 12:03 AM
Here is the code, its a bit messy but shouldn't stop the code from working...
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<TITLE>-</TITLE>
<style type="text/css">
</style>
I could be wrong, but I think that ImageReady might be the proper tool for your needs. It does more with animated, rollover images.
Kimm
- ***** (http://www.*****.com)
Nedals
01-19-2009, 04:10 PM
You used the name "imgOver" for both maps.
<img name="imgOver" src="images/trans.gif" width=672 height=550 border=0 usemap="#351Cout">
mouseover and mouseout don't know which you mean so it stops working.
webdeveloper.com
Copyright WebMediaBrands Inc., All Rights Reserved.