www.webdeveloper.com
Results 1 to 4 of 4

Thread: code in jquery

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    57

    code in jquery

    Hi guys, I"m having trouble to write jquery code, i'm trying to use css images using hover and active but is look like is not going to work when using images, i guess i have to use jquery, what i'm trying to figure out how to write in jquery to make works

    Code:
    #menubar1 li a:hover{background-image: url(arrow-one.png);
    height:26px;
    background-repeat: no-repeat;}
    
    
    #menubar1 li a:active{background-image: url(arrow-two.png);
    height:26px
    ;background-repeat: no-repeat;}
    Can any one help me thanks.

    AM

  2. #2
    Join Date
    Mar 2009
    Location
    Texas
    Posts
    124
    Samantha Morrison
    Knock-Out Web Designs
    http://kowebdesigns.com
    Website Developer/Designer

  3. #3
    Join Date
    Mar 2009
    Location
    Texas
    Posts
    124
    as far as css not being able to do it.... it can... http://www.tripwiremagazine.com/2012/06/css-menu-and-navigation.html

    Samantha Morrison
    Knock-Out Web Designs
    http://kowebdesigns.com
    Website Developer/Designer

  4. #4
    Join Date
    Mar 2009
    Location
    Texas
    Posts
    124
    show more of your code and we can see whats going on with it and see why its not working for you. both the css and the html
    Samantha Morrison
    Knock-Out Web Designs
    http://kowebdesigns.com
    Website Developer/Designer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles