Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

hotspot onmouseover

Posted on 2000-04-11
8
578 Views
Last Modified: 2012-08-14
I have a hotspot that I want a menu to drop down when the mouse moves over it.  Any ideas?  Thanks JOhn
0
Comment
Question by:johnsis
  • 4
  • 4
8 Comments
 
LVL 1

Accepted Solution

by:
Smacked earned 100 total points
ID: 2706078
You'll have to put the drop down menu inside a <div>, give it name and in your mouseover function do

document.all['divname'].style.visibility = 'visible'

and for mouseout

document.all['divname'].style.visibility = 'hidden'

where 'divname' is the name (id) given to the <div>

you'll have to position the div properly you may need to read up on your style sheets.

http://www.w3.org/
hunt for css specifications
0
 

Author Comment

by:johnsis
ID: 2706088
can you explain a little better.  I don't know anything about <div> and I don't know how to add a mouseover function to a hotspot item.  Thanks.
0
 
LVL 1

Expert Comment

by:Smacked
ID: 2706108
ok, i'd say ur in over ur head if ur first run in with style sheets is gong to be making a pop-up menu

<div style="visibility: hidden" name="mydiv">
text and stuff
</div>

a div is like a layer. it can be part of the document layout or it can be positioned to move anywhere it wants over the document.

if u had a link
<a href="#" onMouseover="showmenu()">mouse me</a>

some javascript
<script>
<!--
function showmenu()
{
 document.all['mydiv'].style.visibility = 'visible';

}
//-->
</script>

then whenever the mouse moves over the link the menu would appear. just make a new func called hide menu and change what u set the visibility to 'hidden' to turn the div off again.

to position it anywhere
<div style="position: absolute;top: 50px;left: 50px">

GO TO!!!! www.w3.org or u won't understand whats going on

is this enough for u. i can't tell u any more without writing the whole thing for u. PLUS! you only gave me B for my answer.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:johnsis
ID: 2706117
Sorry about the "B" - I'll change it to an "A" - Seems like a lot for just a simple menu.  Do you know of any software that will create this for me?  I see a lot for java scripting, but not for use on a hotspot.  Thanks again for all your help and your quick response
0
 
LVL 1

Expert Comment

by:Smacked
ID: 2706123
dreamweaver 3 has a lot of behaviours etc. that can make this easier. but you won't be able to read the code that it outputs so you wont' be able to customise it much. however it probably will still suit your needs.

download the trial from macromedia.com

then get the crack from
astalavista.box.sk

;-)
0
 

Author Comment

by:johnsis
ID: 2706134
Sorry about the "B" - I'll change it to an "A" - Seems like a lot for just a simple menu.  Do you know of any software that will create this for me?  I see a lot for java scripting, but not for use on a hotspot.  Thanks again for all your help and your quick response
0
 
LVL 1

Expert Comment

by:Smacked
ID: 2706136
dreamweaver 3 has a lot of behaviours etc. that can make this easier. but you won't be able to read the code that it outputs so you wont' be able to customise it much. however it probably will still suit your needs.

download the trial from macromedia.com

then get the crack from
astalavista.box.sk

;-)
0
 

Author Comment

by:johnsis
ID: 2706139
Sorry about the "B" - I'll change it to an "A" - Seems like a lot for just a simple menu.  Do you know of any software that will create this for me?  I see a lot for java scripting, but not for use on a hotspot.  Thanks again for all your help and your quick response
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question