Mouse Action
Moderator: General Moderators
Mouse Action
I have couple of web links in my website and like to show more information about the web link when the mouse is over the web link. How to do that?
It's done by event attributes. Experiment with:
There's plenty of free ones out there. Maybe at hotscripts?
-Nay
Code: Select all
<a href="#" onmouseover="alert('you are over me, get off of me!')">get over me</a>-Nay
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
You could avoid using javascript for this depending on what exactly you are trying to do, by using the title attribute:
Mac
Code: Select all
<a href="http://www.devnetwork.net" title="This is a link to www.devnetwork.net">PHPDN</a>- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
# in nay's code is probably just being used as a place holder. You should never have a link on a live site with just # in it, normally that means your site will not work properly with Javascript turned off.vigge89 wrote:do you really need the href='#' thing?
i don't know why that's important, to make the link appear as a link an not normal text or what?
Mac
oops, missed that he needed a LINK, and not just normal text with tiptwigletmac wrote:# in nay's code is probably just being used as a place holder. You should never have a link on a live site with just # in it, normally that means your site will not work properly with Javascript turned off.vigge89 wrote:do you really need the href='#' thing?
i don't know why that's important, to make the link appear as a link an not normal text or what?
Mac