473,378 Members | 1,393 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,378 software developers and data experts.

show on mouseover

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

onmouseover='getElementById("aaa").style.visibilit y="visible;"';
onmouseout='getElementById("aaa").style.visibility ="hidden;"';

<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 5911
"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.

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

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:...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.