Reply
Old 08-03-2003, 10:20 AM Rollover
SmokingTequila's Avatar
Master of Disaster

Posts: 344
Location: Richmatic
How can I take an image like so:
_________________________
|.......|.......|.......|.......|.......|.......|

And when, say, the first one is rolled over, you get this:

_________________________
|.......|.......|.......|.......|.......|.......|
|.......|
|.......|
|.......|
|.......|

And each one of the drop down's are links, but then, maybe the second top box is a link in and of itself.

Basically, how can I make an image map rollover to an image map...
__________________
I might leave in a bodybag, but never in cuffs.
SmokingTequila is offline
Reply With Quote
View Public Profile Visit SmokingTequila's homepage!
 
When You Register, These Ads Go Away!
Old 08-03-2003, 11:19 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
use layers.

put the rollover image maps in layers.

hide them initially.

when the mouse moves over the first link(in the image map), set the visibility of that particular dropdown layer content to visible.

and when the mouse moves out, toggle the visibility back to hide.

this way you can have the drop down links you want.




if you are using dreamweaver, then you might wanna take a look at this

http://www.projectseven.com/tutorial...hide/index.htm


let know.
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 08-07-2003, 07:43 PM
Novice Talker

Posts: 7
Location: Utah
If you're not using dreamweaver, I've coded a pretty good app that works in Mozilla, NS6+, and IE. It does NOT work in NS4.x. It's all in Javascript, but it does the job nicely. I'd post the code here, but it's pretty darned long.

Basically, it's just using the same method as praveen posted above. The function code can be found on lines 45 - 53. and the information you pass to the function can be found on any of the links in the drop down menus. (eg. line 112 - 127)

Hope this helps.
__________________
--
Jason Jones
DAZ3D Webmaster
DAZ3D Webmaster is offline
Reply With Quote
View Public Profile Visit DAZ3D Webmaster's homepage!
 
Old 08-07-2003, 07:45 PM
Novice Talker

Posts: 7
Location: Utah
actually.. it's not that long... I'll post it here

<script language="JavaScript" type="text/javascript">
var drop_1=document.getElementById(drop_1);
function showme(id) {
document.getElementById(id).style.visibility="visi ble";
}
function hideme(id) {
document.getElementById(id).style.visibility="hidd en";
}
</script>

then one of the lines that passes info to the function is thus:

<td><a href="blah.com" onMouseOver="showme('drop_1')" onMouseOut="hideme('drop_1')"></a></td>

hope that doesn't thoroughly confuse ya.
__________________
--
Jason Jones
DAZ3D Webmaster
DAZ3D Webmaster is offline
Reply With Quote
View Public Profile Visit DAZ3D Webmaster's homepage!
 
Reply     « Reply to Rollover
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13685 seconds with 12 queries