I want to display text for no. of images when i move mouse over them.
Can anybody help?
Thanks
8 22268 AricC 1,892
Recognized Expert Top Contributor
I want to display text for no. of images when i move mouse over them.
Can anybody help?
Thanks
Are you talking about tooltips?
Are you talking about tooltips?
No, I am not looking for tooltip
I have logos of companies on left side vertically. i want to have their description when i move mouse over them. Is it possible using HTML or css or javascript.
Thanks
acoder 16,027
Recognized Expert Moderator MVP
I assume you want to display the text in a static place (not following the mouse).
You can still achieve that using tooltips (by setting a few parameters), or alternatively, just use the visibility style property of a div that contains the info. and set it to 'visible' onmouseover and 'hidden' onmouseout.
What code do you have?
I assume you want to display the text in a static place (not following the mouse).
You can still achieve that using tooltips (by setting a few parameters), or alternatively, just use the visibility style property of a div that contains the info. and set it to 'visible' onmouseover and 'hidden' onmouseout.
What code do you have?
Thanks for your help
Now i have got the code and it is working fine in IE but it is not running on Firefox
The action is, when i move mouse over my image the description is displayed on right side of image and on mouseout description again goes off .
But it is not working in FIrefox.
Code is as below:
javascript code:
function toggleVisibilit y(me){
if (me.style.visib ility=="hidden" ){
me.style.visibi lity="visible";
}
else {
me.style.visibi lity="hidden";
}
}
Html Part:
<table>
<tr><td>
<a href="" onmouseover=tog gleVisibility(f irst); onmouseout=togg leVisibility(fi rst)>
<img src="logos/Texas.jpg" width="160" height="50" border="1" alt=""></a>
</td>
<td>
<div id=first style="position :relative; visibility:hidd en"> <strong>Texas </strong><strong> Instruments </strong>Burrbrow n, Unitrode, Benchmarq, TI-RFid, DSP, MCU, Logics, Analog Circuit,Motor protector, Thermostat, Battery Protector.  ; </div>
</td></tr></table>
pronerd 392
Recognized Expert Contributor
Another option at lest for IE would be to add the alt attribute to the images. This would allow the alt text to be displayed when the user lets their cursor hover over the image.
acoder 16,027
Recognized Expert Moderator MVP
Another option at lest for IE would be to add the alt attribute to the images. This would allow the alt text to be displayed when the user lets their cursor hover over the image.
That's not the correct behaviour. Should use the title attribute for that.
acoder 16,027
Recognized Expert Moderator MVP
Thanks for your help
Now i have got the code and it is working fine in IE but it is not running on Firefox
The action is, when i move mouse over my image the description is displayed on right side of image and on mouseout description again goes off .
But it is not working in FIrefox.
Code is as below:
javascript code:
function toggleVisibilit y(me){
if (me.style.visib ility=="hidden" ){
me.style.visibi lity="visible";
}
else {
me.style.visibi lity="hidden";
}
}
Html Part:
<table>
<tr><td>
<a href="" onmouseover=tog gleVisibility(f irst); onmouseout=togg leVisibility(fi rst)>
<img src="logos/Texas.jpg" width="160" height="50" border="1" alt=""></a>
</td>
<td>
<div id=first style="position :relative; visibility:hidd en"> <strong>Texas </strong><strong> Instruments </strong>Burrbrow n, Unitrode, Benchmarq, TI-RFid, DSP, MCU, Logics, Analog Circuit,Motor protector, Thermostat, Battery Protector.  ; </div>
</td></tr></table>
Works fine in Firefox.
Works fine in Firefox.
I tried the code quoted in the thread, and it does not work in Firefox. It does work in IE.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Steve |
last post by:
Hi, I have a nice little script that works well displaying images on
my website. It's a script where if you clik a thumbnail image a pop
up window opens that contains a larger version of the same image. What
I would like to create is a link that can be clicked on to close the
window that contains the larger image. This would make it easier for
the users to close the window. I have posted the script that I use.
Any help would be much...
|
by: BB |
last post by:
Thanks for the reply, previously, to my query.
An issue has been raised, the code below is used for css buttons and is
contained in an external .css file: plang.css
This html is a left-side navbar kinda thingie. When the mouse floats over
the defined area the text changes to bold and another color, while the
background is also changed to another color. The button text is followed by
a line seperator (navline.gif).
The concern: moving...
|
by: Oliver |
last post by:
Hello,
i'm having trouble with a css type popup.
It's not doing what i want in Mozilla 1.6 and in IE6.0 it's not working
at all.
The html code looks like this:
<div class="themenkueche" id="tk">
<h1>Themenküchen</h1>
<p>
|
by: peter pilsl |
last post by:
When putting a picture with an alt-text to Internetexplorer, the content
of the ALT-Text is displayed when the mouse is moving over the picture.
This is not what I expected. The ALT-text should appear when the images
cannot be displayed but IE displays both. All other browers (firefox,
konqueror, safari ...) do well. This gets especially annoying if the
picture is actually displaying a text and the alt-text is the same text
and you see...
|
by: meganrobertson22 |
last post by:
Hi-
I'd like to try to have text displayed when I move my mouse over a
command button.
For example: let's say I have a form with 3 different command buttons.
Each command button launches a different report.
For example:
| |
by: Mamatha |
last post by:
Hi
I want to add an icon to the textbox's text.
I don't know how to display icon in textbox in VB.NET.
If any one knows please let me know.
Thanks in advance.
Mamatha
|
by: Mark Szlazak |
last post by:
The following page simulates a pool cue and cue ball:
http://members.aol.com/myscript/cue.html
Mouse cursor position around the cue ball determines where a roll-over
of 179 pool cue images is placed around the ball and which one of those
images is displayed. Each pool cue image is in a slightly different
orientation and the correct one is chosen to match the orientation of
the cursor around the ball. Holding down the left mouse button...
|
by: Edward |
last post by:
IE6 only displays certain text on my site if you mouse over it (!).
I reduced the HTML down to this code below which still shows this
effect/bug.
My temporary solution was to take out all the comments from my HTML.
I reproduced this effect on two computers which use IE6.
Why will IE6 not show the first line of text below when the page
loads?
To see this effect for yourself, view this page online at:
|
by: wreed06 |
last post by:
Hello,
I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully validated my HTML and CSS code.
1. When I clear cache and refresh my webpage, it takes 3 tries before the popup window displays - I click on the button once, a white window the size of my webpage displays. I close it and click on the button again (for...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |