#1
  1. Ultimate Gamer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    London
    Posts
    9
    Rep Power
    0

    Question css mouseover hover popup


    Hi,
    I have made a simple table in html, with mouseover on the rows to change the background colour.
    I also have onclick to take the user to the next page.
    What I really need to do is there a way of making a popup text, like the ones on this site's topic view.
    I have looked at the source code, and tried copying one <tr> row into a test html file, but no popup.

    Basically, my question is this:
    How can I make the table have a popup, for each <tr>, that shows non-dynamic text.


    Thanks in advance,

    Prism128
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,268
    Rep Power
    1956
    I think you're talking about tooltips. The tooltips is an artifact of the title attribute. According to W3C recommendations, title may be applied to almost all elements. The Mozilla/Gecko family of browsers and Opera pretty well fall in line. IE fails for many elements.
    Code:
    <a title="click this go there" href="">click</a>
    <p title="this is a para">some text</p>
    <img title="this is a pic" src="" />
    <span title="this is a span">some text</span>
    <acronym title="acronym">css</acronym>
    <abrev title="abreviation">html</abrev>
    Any of these should produce a tooltip.

    cheers,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.
  4. #3
  5. Ultimate Gamer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    London
    Posts
    9
    Rep Power
    0
    thanks mate, i found the <a href title one, but they're ok, so i looked for more, but found nothing. Thanks alot, they are very useful to my website.

    Prism128

IMN logo majestic logo threadwatch logo seochat tools logo