JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Looking for a Javascript that does this... Posted by hippychic43 on 20 Mar 2005 at 10:06 PM
Hi, I'm looking for a particular javascript, but I can't find it and don't actually know if it's possible with javascript.

You know how when you are looking at say windows help, and you're viewing the contents, if one of the titles is so long that is flows over the width of the frame then when you mouseover the text a little tooltip appears that sits over top of both frames so that you can view the whole title?

Well I want to achieve that effect but on a website, My menu is a floating frame, which is within another frame on the left, and when the user puts the mouseover a title that is too long to completely fit the width of the floating frame I want a tooltip to appear that isn't bounded to the width of the floating frame, it can sit over top of the other frames.

All of the scripts I've seen so far aren't capable of doing this, they get cut off at the edge of the frame, so I was just wondering if anyone knows if this is possible and if so would they be able to give me or tell me where the code to do it is.

Thanks
Report
Re: Looking for a Javascript that does this... Posted by mac_doggie on 23 Mar 2005 at 1:54 PM
: Hi, I'm looking for a particular javascript, but I can't find it and don't actually know if it's possible with javascript.
:
: You know how when you are looking at say windows help, and you're viewing the contents, if one of the titles is so long that is flows over the width of the frame then when you mouseover the text a little tooltip appears that sits over top of both frames so that you can view the whole title?
:
: Well I want to achieve that effect but on a website, My menu is a floating frame, which is within another frame on the left, and when the user puts the mouseover a title that is too long to completely fit the width of the floating frame I want a tooltip to appear that isn't bounded to the width of the floating frame, it can sit over top of the other frames.
:
: All of the scripts I've seen so far aren't capable of doing this, they get cut off at the edge of the frame, so I was just wondering if anyone knows if this is possible and if so would they be able to give me or tell me where the code to do it is.
:
: Thanks
:


You should try using div tags in stead of frames... But I think you can achieve what you mean with the title propertie of each html tag. It's the same as an alt property for an image...

<span title="This is the long title that doesn't fit">This is...</span>

-mac-
mailto:mac_doggie@hotmail.com
the Netherlands...


Report
Re: Looking for a Javascript that does this... Posted by hippychic43 on 23 Mar 2005 at 6:11 PM
Thankyou so much, that worked perfectly!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.