SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i disable the property title="....."?

    i have made a button onmouseover displays a <div> containing some help text.

    i want to make this as compatible as possible, so if the user does not have javascript, i want the tooltip to show (by means of title="help text...")

    but if he has javascript on, the help <div> and the tooltip will show, so using javascript, how can i disable the
    title="help text..."?

    thanks.

  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmmmm....... What about

    title=""

    ?

    (nothing between the apostrophes)

    (I assume you've tried leaving the 'title=""' out)
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    uhhhhh.........
    thanks, but i don't think you understood the question...

    What I'm trying to say is that i have an image, onMouseOver displays a little javascript layer with some help text. But i also have included a title property with the same help text for the people without javascript.

    However, this way, the users with javascript would thus see the javascript layer AND the tooltip (by the title property)

    so how do i disable the title property using Javascipt?

  4. #4
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ouch! I don't think you're able to disable the title property through JScript...
    My 2 Cents (or is that 2.2 Cents including GST?)


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
  •