Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在单击时显示图像,就像它在本网站的http://www.espncricinfo.com/中显示的那样,当您单击它在具有透明背景的同一个完整窗口中打开的图像时。我怎么能做到这一点。我正在开发一个 php 网站。谢谢
我喜欢使用ColorBox,它完成了我对图片所需的一切,还可以使用 iframe 完成页面。我从来没有看过花哨的盒子,但听说它非常相似。
例子
被触发$('Selector').colorbox({Options});
$('Selector').colorbox({Options});