Give help. Get help.

  • # March 29, 2009 at 8:48 am

    Hi, how could I make an image move about 25px to the left, when the user hovers over a link on the same page? Can it be done?

    # March 29, 2009 at 8:56 am

    with some jQuery

    $(function() {

    $(“#targetsID”).hover(function() {
    $.(this).animate({left: “25px”});

    Something like that? (untested btw lol)

    # March 29, 2009 at 9:58 am

    Thanks, that works but what I’d like to know, it if there is a simple way of doing it with a block of javascript, something taht doesn’t require any else liek jQuery


    # March 29, 2009 at 10:37 am

    well tbh – its not hard to included the jQuery script in your header – linked to it remotly on google… the code for doing it with JS will prob be much heavier… :)

    # March 29, 2009 at 10:47 am

    fair enough, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.