By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,594 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Tooltip with Scrollbar

P: 55
I am working on a code where I need to display tooltip for a particular text once the mouse is hovered on the text. If the information to be displayed in the tooltip is too large, I want to display a scroll bar in the tooltip such that I can scroll down to verify all the inforamtion. But I didn't have any information about this tooltips with scrollbars. Is it possible to create a tooltip with a scrollbar? Please let me know.

Thanks in advance.
Jul 15 '09 #1
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
At its simplest, you could have an element with overflow set to scroll. If you want a bit more control and options, a quick search for "javascript tooltip" should give you some half-decent JavaScript tooltips.
Jul 15 '09 #2

Dormilich
Expert Mod 5K+
P: 8,639
the most simple idea would probably be to use a title-attribute...
Jul 15 '09 #3

acoder
Expert Mod 15k+
P: 16,027
Yes, but then you couldn't have a scroll bar.
Jul 15 '09 #4

Dormilich
Expert Mod 5K+
P: 8,639
true, but I've not yet seen such "titles" where this would have been necessary... but I guess that's not the opoint here.
Jul 15 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.