FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

How to make a javascript label when you mouse over on a link

 


dramaking
I wanna make my own description label using javascript.
usually, in HTML, we can do like this...
<a href="http://...link" title="description label">link</a>
so that when we mouseover the link, it will display description label in a label around the mouse... However, it can't show a large description... that's why I wanna make my own label which can show more details...

here is the example which I saw in website...
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21535262.html

when you mouse over the "uploading" "photos" and "website"(which are highlighted and underlined into green color), it will have a nice and big description box... and that's a kind of what I wanna create in javascript!
THank you!
aningbo
i dont see anything. i have firefox 1.5.0.9!

but a javascript popup on mouse over is plentily available out there in the market, go grab one. a little busy now so if u cant find one, i'll help. let me know.
varun_dodla
I tried viewing the link in both IE7 and Netscape 7.1 but i couldn't see what you are trying to show.

Anyways, I think i understand what you want. Yes, it can be achieved by JavaScript. You only have to call a javascript function onMouseOver which creates a div tag(with the message you want) and then displays it at the mouse co-ordinates. This div can be hidden onMouseOut.

There might also be better methods of doing it.

Hope this helps.
exarkun
dramaking wrote:
here is the example which I saw in website...
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21535262.html

when you mouse over the "uploading" "photos" and "website"(which are highlighted and underlined into green color), it will have a nice and big description box... and that's a kind of what I wanna create in javascript!
THank you!


I don't find the things you are trying to show on the site.. But I think what you describe can be done by using the "tooltip" or "alt" tag that is include in the links. Try searching for it in w3school, I am sure you will find something useful. Smile
dramaking
exarkun wrote:
dramaking wrote:
here is the example which I saw in website...
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21535262.html

when you mouse over the "uploading" "photos" and "website"(which are highlighted and underlined into green color), it will have a nice and big description box... and that's a kind of what I wanna create in javascript!
THank you!


I don't find the things you are trying to show on the site.. But I think what you describe can be done by using the "tooltip" or "alt" tag that is include in the links. Try searching for it in w3school, I am sure you will find something useful. Smile


yea!! what I want is tooltips! I think I can do something what I want. Thank you for you guys' helps!!
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.