Results 1 to 5 of 5

Thread: DHTMLToolTips character limit

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTMLToolTips character limit

    Is there some character limit imposed on this utility? It seems as though when I put in too much text, it simply doens't display.

    Any way to override this limit?

    -KungChow

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Probably not, more likely a syntax error. Like if the string to show is delimited with single quotes:

    Code:
    'this is the string to show'
    You cannot have one inside it unless it is escaped:

    Code:
    'It's not allowed'
    should be:

    Code:
    'It\'s OK now'
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No, it's definatly not that ... we have no single quotes ...

    Should I paste the code?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The same is true of double quotes if used to delimit strings and there can be a nesting effect of quotes within quotes used to delimit functions onmouseover and other events. Other syntax rules and conventions too numerous to mention must also be observed. Formatting (like the width allowed) could also be an issue but, if that is the problem the likely result would be a partial showing of the tip rather than none at all. Posting the code would be a good move, a better one is to supply a link to the page:

    Please provide your code -

    PLEASE: Include the URL to your problematic webpage that you want help with. (Best)

    OR:

    Put code tags:

    [code]

    code goes here

    [/code]

    around your code (as explained here) in a message here so that it appears like so:

    Code:
    code goes here
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Like John said, a URL to the problem page on your site would be helpful here. Also, when you say "the text doesn't display", do you get any JavaScript errors popping up (assuming JS debugging isn't disabled in your browser)?

Bookmarks

Posting Permissions

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