Results 1 to 2 of 2

Thread: what kind of script i can use

  1. #1
    Join Date
    Aug 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default what kind of script i can use

    i want to get the following scripts:
    underline effect and color change when mouse over any hyperlink text
    link description
    i am confused to seee so many scripts coz i am new in this field plz refer me a url for these scripts
    http://www.dynamicdrive.com

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    To get a link to change text-decoration (underline, overline, line-through, none, etc.) and color and/or background-color properties, all that is required is css style, no javascript.

    To do all of the links on one page it this in the head of the page:

    Code:
    <style type="text/css">
    
    a:hover {
    text-decoration:none;
    color:green;
    background-color:yellow;
    }
    
    </style>
    See also:

    http://www.w3schools.com/css/css_pseudo_classes.asp

    Click the first two hyperlink example links on that page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •