Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



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

Posts: 344
Location: Richmatic
Trades: 0
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!
 
 
Register now for full access!
Old 08-03-2003, 11:19 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 08-07-2003, 07:43 PM
Novice Talker

Posts: 7
Location: Utah
Trades: 0
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
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.19865 seconds with 12 queries