Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

HTML picture click event

HTML

  • Please log in to reply
2 replies to this topic

#1 Paulo_Jorge

Paulo_Jorge

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 54 posts

Posted 08 September 2011 - 01:34 PM

Hi . How can I display a image preview when clicking in the picture ?? Like we see on facebook, when clicking on picture, the image is displayed in a bigger size !! Any idea how can I do that preview ??

Thanks and sorry for me english !!
  • 0

#2 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts
  • Location:Quebec City
  • Programming Language:Java, C++, C#, PHP, JavaScript, Visual Basic .NET, Transact-SQL, ActionScript

Posted 08 September 2011 - 02:02 PM

You can either write your own javascript or look for a script that already do this, I personally use fancybox Fancybox - Fancy lightbox alternative
But you can find hundred of other script that do the same.
  • 0

#3 Paulo_Jorge

Paulo_Jorge

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 54 posts

Posted 09 September 2011 - 10:33 AM

Thanks !! I searched and I found (and started using ) Lightbox !!
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download