Change two backgrounds at once?

Discussion in 'PHP' started by le007, Sep 16, 2008.

  1. #1
    Hi all,

    I'm trying to change two things on one hover - is that possible?
    I have the rollover image changing fine but I want the div that its housed in to change its background at the same time too? Any ideas?

    Thanks.
     
    le007, Sep 16, 2008 IP
  2. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will have to use JavaScript not PHP...
    And yes you can change as many things as you want through one event. (onMouseOver in your case)
     
    hamidof, Sep 16, 2008 IP
  3. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Eek thanks
     
    le007, Sep 16, 2008 IP