SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Mouseover Text

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only thing I have ever done is mouseover images, but I was wondering if one of you kind people could tell me how to do mouseover text links (like on this page). I would like two diferent colors too. One for the main page and a different one for the menu.
    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)
    Howdy,

    You can produce mouseover text by utilising style sheets. This SitePoint article explains all you need to know about style sheets and how you implement text rollovers.

    However, be aware that it will only work in IE 4/5 and Netscape 6. Netscape 4 does not support text rollovers properly. (there is a workaround but it is extremely bulky and quite difficult to implement for all links).
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I like the mouseover text effect but as BC pointed out they only work in IE, however, there is no harm in implmenting them on your site as long as the site is still usable without them for those users with Netscape or other browsers.

  4. #4
    SitePoint Addict jamesglewisf's Avatar
    Join Date
    Sep 2000
    Location
    Big D
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a page that uses mouseovers for table elements.

    http://jamesglewis.com/colornames.htm

    You can use the View Source command to read the HTML. I don't know if it is the best way to do it, but I basically copied some code out of an HTML book.

    You can use the same mouseover elements in a link.
    Jim Lewis
    To BE or Not to BE, or: How I Learned to Stop Worrying and Love the Barium Enema
    FrappyDoo Forums


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
  •