473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

show on mouseover

Hi,
this code works only in Mozilla (not in IE) - what is the correct,
uniwersal version of it ?

<div
onmouseover='getElementById("aaa").style.visibilit y="visible;"';
onmouseout='getElementById("aaa").style.visibility ="hidden;"';
test</div>


<div name="aaa">HIDDEN</div>

--
:. http://www.raf256.com/from-news .: ~~~~~~~l-.~~~~~~\ SSN 688
:.:. Rafal (at) Raf256 (dot) com .:.: ____| ]____, '--------
:. :. Rafal 'Raf256' Maj .: .: :-( * ) . . _
:.:.:.:. GG - 1175498 .:.:.:.: ,"----------"
Jul 20 '05 #1
1 5909
"Rafal 'Raf256' Maj" <sp**@raf256.com> writes:
this code works only in Mozilla (not in IE) - what is the correct,
uniwersal version of it ?


onmouseover='document.getElementById("aaa").style. visibility="visible;"';
onmouseout='document.getElementById("aaa").style.v isibility="hidden;"';
^^^^^^^^^

The function "getElementById" is a method of the document element, and
doesn't have to exist anywhere else.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

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

Similar topics

1
by: knoak | last post by:
Hi there, I have a site rendered from a mySQL DB, and it displays products. Each product is shown in it's own table with a picture, and some additional information. It looks like this:...
2
by: Alex | last post by:
On my page I have a lot string like this: <span onmouseover="callMe(this)" onmouseout="callMe(null)" >abc1</span> <span onmouseover="callMe(this)" onmouseout="callMe(null)" >abc2</span> <span...
11
by: Robert Baer | last post by:
The following passes the test as valid, and the mouseover for the six indicated areas also work. I need various areas to link to another page, including the six mentioned. However either the MAP...
3
by: Annette Acquaire | last post by:
I have and image map with a dozen hotspot links on it that I'm trying to get to open a new image over existing one on mouseover of each COORD. The only thing I was able to do was swap image on...
23
by: Schannah | last post by:
I'm trying to create a design which mimics the Radiohead website in the action on this page, but the problem is that they use PHP for the effect and I have no idea about PHP. I'm very amateur: fairly...
0
by: denied | last post by:
I have a div, lets name it div1, and I want, when someone make mouseover on div1, to appear div2 in the same position of div1. How can I do that? I dont know javascript or dom, please tell me the...
2
by: jebtrillion | last post by:
Hey once again everyone I need to know how to make a toolbar similar to visual studio's. What I mean is this: The toolbox in VB shows when I do a mouseover on it. How do I do this for my...
1
by: Anjani222 | last post by:
When i Mouseover on the combobox in datagridview ,the very first time it is not showing the tooltip.It shows the tooltip if it is clicked second time and only for the items that are exceeding the...
1
by: dave345 | last post by:
This javascript issue is in an app using C# / .Net 2.0 running on XP. First post, please mention if I mess up any conventions of this forum. I’ve got a mouseover event that only works properly...
2
by: markszlazak | last post by:
I'm a relatively slow response of table cells changing their background color with mouseover/our in IE6 (Win 2K) but the response is fine (fast) in Firefox. Why? The code is below. Sorry about the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.