Results 1 to 9 of 9

Thread: Maybe a long shot

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default Maybe a long shot

    is there a code for when you hover over a link that there is a desription think. Like hover over home and it says click here or something.
    Last edited by ModernRevolutions; 08-27-2006 at 09:56 PM.

  2. #2
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    like this?
    Code:
    <img scr="home image URL" alt="Discripting Text"></img>
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Code:
    <a href="#" title="Hover shows this.">Hover over this</a>
    Change bolded part to what you want it to say.
    boxxertrumps: the code you posted has no relevance to this topic.

  4. #4
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    the "alt=" tag acheives the same effect, only with an image instead of text.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  5. #5
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    thank you!

    man i love this site. its like a fast HTML resturant.

    lol

  6. #6
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by boxxertrumps
    the "alt=" tag acheives the same effect, only with an image instead of text.
    Maybe that will work, maybe it won't. The w3c specs for the img tag don't say that it should.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    the "alt=" tag acheives the same effect, only with an image instead of text.
    Wrong. The alt attribute is meant to provide text in case the image can't be displayed. Internet Explorer also displays this text in a tooltip on hover if title (the attribute that's meant to be displayed as an accompaniment to the image) isn't specified, but nowhere in the specs is this recommended.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Ha! I was about to post the same thing as blm126 here. But then I decided not to because it seemed almost... a cheap way around doing things.
    - Mike

  9. #9
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Why is it cheap? I try not to over complicate things.

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
  •