简体   繁体   English

图像显示使用jquery

[英]Image display using jquery

i need jquery for images display like in the below URL.我需要 jquery 来显示如下图 URL 中的图像。

http://www.yessy.com/sujatatibre/collectors.html?p=1 http://www.yessy.com/sujatatibre/collectors.html?p=1

i didn't find any jquery in the web for that.how can i display like that?.我在 web 中没有找到任何 jquery 。我怎么能这样显示?

They don't use JavaScript.他们不使用 JavaScript。 They just have two versions of each image, a small one and a large one, then they:他们只有每个图像的两个版本,一个小的和一个大的,然后他们:

<a href="document-that-includes-the-large-image.html">
    <img src="the-small-image.jpeg" …>
</a>

in a project where i need to show large image on click of image:-在我需要在单击图像时显示大图像的项目中:-

i pass the big image reference as href of anchor who i put upon image and show them in fancybox when user click on it.我将大图像参考作为锚的href传递给我,当用户点击它时,我将它们放在图像上并在fancybox中显示它们。

you can find out fancybox你可以找到fancybox

http://fancybox.net/ http://fancybox.net/

the mockup someting like样机类似于

<a href="mybigimage.png"><img src="small.png" alt="small image"/></a>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM