Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2012
    Posts
    63
    Member #
    33941
    Liked
    2 times
    Hi everyone,

    I have a label in which I show a string of 30 characters. If the string exceeds I break at 30 followed by ellipsis (...) and set the title attribute of that label with actual text.
    So if my text was say 100 characters then my label would show 30characters ... but on hover of which i can read 100 characters.
    Problem: There seems to be a limit for tool tip at certain point (around 400-500) due to which my purpose fails.

    Is there any way I can show any character long text on my label tool tip ?
    Host1Plus.com USA | UK | Germany | South Africa | Brazil | Netherlands | Lithuania | sales@host1plus.com
    Powerful VPS Hosting SSD caching | IPv4 & IPv6 | 2 free backups | DNS management | 500 Mbps uplink
    Cloud Servers - Powerful API KVM Virtualization, Windows and Linux | 1 Free Ipv4
    Reseller Hosting Unlimited domains, sub-domains, databases | Free dedicated IP

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    You could create an additional element (or series of them, depending) using jQuery to show long information in a box.

    I'd give you an example of this, but the two sites that I'm doing this with are both under construction right now.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    In all browsers ?

    Seems to me I remember several newspapers putting their entire article in the tooltip, if you hovered over the image... It would popup ... Actually quite irritating effect as well...

    Since tool tips in most browsers ( that I'm aware of ) only display for a few seconds (by default ), the description should be limited to what can be read in a few seconds..

    If You really want to present the visitor with a large amount of text when they hover... You'd probably want to do a custom hover ... People can turn off tool tips ( in most browsers ), so any info you're putting in them should not be "required"...

    What's your plan for mobile devices ? Since they can't hover ?

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Have you looked into using jQuery modal boxes instead? In my opinion, they are more user-friendly, because they do put up a small tooltip type box, and then the user can choose to open or close them.
    http://opensource.steffenhollstein.d...ates/modalbox/
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

tooltip character limit

Click on a term to search for related topics.
All times are GMT -6. The time now is 04:16 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com