How can i do this

Discussion in 'PHP' started by baris22, Jan 4, 2010.

  1. #1
    Hello,

    On this website when mouse comes on the image, links are displaying and image is going darker. how can i do this?

    http://tinyurl.com/y9mu4qu

    thanks
     
    baris22, Jan 4, 2010 IP
  2. Izonedig

    Izonedig Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #2
    This can't be done in php, but in css :D

    You can even just copy it :), if you know how !
     
    Izonedig, Jan 4, 2010 IP
  3. Altari

    Altari Peon

    Messages:
    188
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This seems to be done with JavaScript, not CSS, since the darker overlay in fading in/out. I'd suggest looking into jQuery. There are several ways of doing this, but you'll most likely be looking at the "hover" event.
     
    Altari, Jan 4, 2010 IP
  4. vedicrishi

    vedicrishi Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The feature of site you showed is completely built in CSS and Jquery.
    Nothing to do with the php.
    Please post the thread in CSS or jquery categories.
     
    vedicrishi, Jan 4, 2010 IP