开发者

how can i popup picture in php?

开发者 https://www.devze.com 2022-12-30 01:58 出处:网络
when picture开发者_StackOverflow社区 viewed ,when me click on it picture will display as pop up, and back screen will be light black?Shouldn\'t be done with PHP alone, since you don\'t want to reload

when picture开发者_StackOverflow社区 viewed ,when me click on it picture will display as pop up, and back screen will be light black?


Shouldn't be done with PHP alone, since you don't want to reload your page every time you click on an image. Google for lightbox and use an appropriate JavaScript library for client side effects :)


use jquery there are many plugins to do it http://leandrovieira.com/projects/jquery/lightbox/ for example


See this site: http://ajaxian.com/archives/lightboxjs-easy-image-overlays-with-javascript


Check out Lightbox or Lightbox2

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号