473,473 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

show hide layers

I have made a simple page with show hide layers with javascript and
css.

http://www.icatt.nl/special/test/sal..._algemeen.html

The idea is that the blue help text rechtangle will have to remain
visible when mouse over (because there will be soon links in it) and
invisible when onmouseout.

I have now placed javascript on the small numbered balls and within
the rechtangle itself.

But I have it in a way that when "onmouseout" the blue help rechtangle
will be hidden. But now the onmouseout event is acting like
onmouseover. Any Ideas to do this correctly? So right now when you
onmouseover it it will disappear :S

If I get this working I can start thinking of putting a timeout on the
rechtangle for it to disappear within a couple of seconds after
"onmouseout"

Let me know.

Dwayne

Apr 16 '07 #1
3 4620
On 16 Apr 2007 06:55:26 -0700, in comp.lang.javascript "therealvibe"
<dw************@gmail.com>
<11**********************@e65g2000hsc.googlegroups .comwrote:
>| I have made a simple page with show hide layers with javascript and
| css.
|
| http://www.icatt.nl/special/test/sal..._algemeen.html
|
| The idea is that the blue help text rechtangle will have to remain
| visible when mouse over (because there will be soon links in it) and
| invisible when onmouseout.
|
| I have now placed javascript on the small numbered balls and within
| the rechtangle itself.
|
| But I have it in a way that when "onmouseout" the blue help rechtangle
| will be hidden. But now the onmouseout event is acting like
| onmouseover. Any Ideas to do this correctly? So right now when you
| onmouseover it it will disappear :S
|
| If I get this working I can start thinking of putting a timeout on the
| rechtangle for it to disappear within a couple of seconds after
| "onmouseout"
|
| Let me know.
|
| Dwayne
If you looked at the code generated in dreamweaver you would've
spotted the cause of your problem.

Within the image map you have an onmouseover (to show) and an onclick
(to hide).

The actual div has the mouse out function.
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Apr 16 '07 #2
Dear Jeff,

This is correct. But I still dont understand why the blue rechtangle
hides when I do a mouse over. :S
I need it to bo visable on mouse over and invisable when mouse out.
But ofcourse will trigger only when they mouseover the roundnumbers.

Regards,

Dwayne

On Apr 16, 4:13 pm, Jeff North <jnort...@yahoo.com.auwrote:
On 16 Apr 2007 06:55:26 -0700, in comp.lang.javascript "therealvibe"
<dwayneheron...@gmail.com>

<1176731726.447242.275...@e65g2000hsc.googlegroups .comwrote:
| I have made a simple page with show hide layers with javascript and
| css.
|
|http://www.icatt.nl/special/test/sal..._algemeen.html
|
| The idea is that the blue help text rechtangle will have to remain
| visible when mouse over (because there will be soon links in it) and
| invisible when onmouseout.
|
| I have now placed javascript on the small numbered balls and within
| the rechtangle itself.
|
| But I have it in a way that when "onmouseout" the blue help rechtangle
| will be hidden. But now the onmouseout event is acting like
| onmouseover. Any Ideas to do this correctly? So right now when you
| onmouseover it it will disappear :S
|
| If I get this working I can start thinking of putting a timeout on the
| rechtangle for it to disappear within a couple of seconds after
| "onmouseout"
|
| Let me know.
|
| Dwayne

If you looked at the code generated in dreamweaver you would've
spotted the cause of your problem.

Within the image map you have an onmouseover (to show) and an onclick
(to hide).

The actual div has the mouse out function.
---------------------------------------------------------------
jnort...@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------- Hide quoted text -

- Show quoted text -

Apr 16 '07 #3
On 16 Apr 2007 07:48:10 -0700, in comp.lang.javascript "therealvibe"
<dw************@gmail.com>
<11**********************@w1g2000hsg.googlegroups. comwrote:
>| Dear Jeff,
|
| This is correct. But I still dont understand why the blue rechtangle
| hides when I do a mouse over. :S
| I need it to bo visable on mouse over and invisable when mouse out.
| But ofcourse will trigger only when they mouseover the roundnumbers.
|
| Regards,
|
| Dwayne
|
| On Apr 16, 4:13 pm, Jeff North <jnort...@yahoo.com.auwrote:
| On 16 Apr 2007 06:55:26 -0700, in comp.lang.javascript "therealvibe"
| <dwayneheron...@gmail.com>
| >
| >
| >
| >
| >
| <1176731726.447242.275...@e65g2000hsc.googlegroups .comwrote:
| | I have made a simple page with show hide layers with javascript and
| | css.
| |
| |http://www.icatt.nl/special/test/sal..._algemeen.html
| |
| | The idea is that the blue help text rechtangle will have to remain
| | visible when mouse over (because there will be soon links in it) and
| | invisible when onmouseout.
| |
| | I have now placed javascript on the small numbered balls and within
| | the rechtangle itself.
| |
| | But I have it in a way that when "onmouseout" the blue help rechtangle
| | will be hidden. But now the onmouseout event is acting like
| | onmouseover. Any Ideas to do this correctly? So right now when you
| | onmouseover it it will disappear :S
| |
| | If I get this working I can start thinking of putting a timeout on the
| | rechtangle for it to disappear within a couple of seconds after
| | "onmouseout"
| |
| | Let me know.
| |
| | Dwayne
| >
| If you looked at the code generated in dreamweaver you would've
| spotted the cause of your problem.
| >
| Within the image map you have an onmouseover (to show) and an onclick
| (to hide).
| >
| The actual div has the mouse out function.
| ---------------------------------------------------------------
| jnort...@yourpantsyahoo.com.au : Remove your pants to reply
| ---------------------------------------------------------------- Hide quoted text -
| >
| - Show quoted text -
|
<div class="popups" id="spec40"
onmouseout="MM_showHideLayers('spec40','','hide')" >

--remove the onmouseout instruction.
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Apr 16 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: David | last post by:
Hi everyone, Hoping there are some .js/browser experts out there that can help with this weird problem. I have made a swap div routine and applied the events to menu buttons with a closer...
2
by: geotso | last post by:
Hi I'm looking for a javascript with the following operation: if history.length <=2 show "layer1" and hide "layer2" else hide "layer1' and show "layer2"
2
by: MOHSEN KASHANI | last post by:
Hi, I am trying to hide some form elements in a form by default and show/hide depending on which radio button is clicked. This is what I have but it is not working: <head> <style> ..noshow {...
4
by: jerryyang_la1 | last post by:
I've found this script that allows be to hide/show form elements.. <script language="JavaScript"><!-- var toggle = true; function show(object) { if (document.layers && document.layers)...
3
by: Merlin | last post by:
Hi there, I am trying to create a form with an dynamic field that can be shown or hidden. As I saw for example on google it is possible with JS to show a layer and move the content underneath...
1
by: asilverpeach | last post by:
Hey Guys! Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out. First, In the following code clicking on the headers shows the...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.