| Author |
title attribute text limit
|
David samueal
Greenhorn
Joined: Aug 03, 2011
Posts: 16
|
|
Hi All,
I have a small doubt on TITLE attribute.
Actually in my application when i use title attribute for a component to display a large text, in IE 8, when mouse over into that component the title attribute can able to show upto 571 characters (including spaces).
Some words beyond 571 characters is getting truncated.
Is there any way to specify/Increase the TITLE attribute in HTML actually am using JSP here?
Or it is an browser compatibility?
I hope on you guys to find a solution for this unsolved problem.
|
 |
Saurabh Pillai
Ranch Hand
Joined: Sep 12, 2008
Posts: 449
|
|
I am wondering why do you need that long page title. Is it not possible to represent the same information as part of page body?
I am assuming when you say component it means browser, that tooltip length when you mouse hover is browser dependent.
|
 |
David samueal
Greenhorn
Joined: Aug 03, 2011
Posts: 16
|
|
Hi. I meant to say TITLE attribute (E.g : <a href="#" title="myTitle">).
Not a HTML TITLE element <title></title>
And thanks for the conclusion
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56183
|
|
The browser limits the amount of text that it will show in the flyout. There's nothing you can do about that.
Rather, you can use HTML, JavaScript and CSS to create your own. There are also many already-existing implementations or jQuery plugins to accomplish this.
If you want to see an Ajax-powered jQuery-enabled implementation, I develop one in chapter 8 of jQuery in Action. The sample code for the book is a free download here.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
David samueal
Greenhorn
Joined: Aug 03, 2011
Posts: 16
|
|
|
Thank you Bear Bibeault !
|
 |
Saurabh Pillai
Ranch Hand
Joined: Sep 12, 2008
Posts: 449
|
|
David samueal wrote: Hi. I meant to say TITLE attribute (E.g : <a href="#" title="myTitle">).
Not a HTML TITLE element <title></title>
And thanks for the conclusion
Oops, I misunderstood. Sorry :)
|
 |
 |
|
|
subject: title attribute text limit
|
|
|