Results 1 to 6 of 6

Thread: Adding ">" to a link on mouseover

  1. #1
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Adding ">" to a link on mouseover

    I am wanting to add ">" to a link when on mouseover. Does anyone have any suggestions? I am not wanting to use an image.

    Thanks for your help.

  2. #2
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am wanting to add ">" to a link when on mouseover
    where did you see a link like that?
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

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

    Default

    You should be able to use the following script: http://www.dynamicdrive.com/dynamici...bulletlink.htm Just change the <img> tag to the desired text HTML instead.

  4. #4
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks

    ddadmin:

    I thought about that as I laid in bed losing sleep. Thanks for your conformation.

    IanMarlowe:

    I have not seen it anywhere...I guess....I just wanted to use it.


    Thanks
    eWish

  5. #5
    Join Date
    Jul 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I thought I'd let you know you can do that effect far easier with CSS and make your pages backward compatiable with older browsers too.

    Try this approach:


    Put this in your head tags:

    <style type="text/css">
    <!--

    #linkid, #linkid:visited
    {
    // Make your link look like whatever here
    }

    #linkid i
    {
    visibility : hidden;
    }

    #linkid:hover i
    {
    visibility : visible;
    }
    //-->
    </style>



    in your body code:


    <a href="#" id="linkid">Your link text <i> > </i></a>


    (To get the ">" in your link you need to use the right ascii code as leaving the ">" above will make your page not validate.)

    This approach is much easier to update and also its completely reusable throughout all of your webpages.

    Hope this helps.

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

    Default

    Very true. Only one thing:
    #linkid
    You can't (validly) reuse an ID - each one must be unique. You must use a CSS class here instead.
    And the > is &gt; .
    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!

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
  •