开发者

Loading with jQuery and Ajax a little Gallery

开发者 https://www.devze.com 2023-02-07 12:49 出处:网络
I\'m trying on a little gallery with lightbox 2 but I would want learn load more than 100 images in the same page. I mean, I would want preload the little images (100 images * 20 Kb per image). But wh

I'm trying on a little gallery with lightbox 2 but I would want learn load more than 100 images in the same page. I mean, I would want preload the little images (100 images * 20 Kb per image). But when somebody click over the image, this one will open and show to user. Also, the user can go to the next one....I've been seeing in most webs, but I don't understand how I can do that.

Could you help me? Could you show me a simple code开发者_StackOverflow to put a little image and when do a click over, the image show it bigger (with ajax)?

Thanks in advance


I know this isn't a direct answer, but I would suggest you use http://www.yoxigen.com/yoxview/ - the documentation and explanation of use is really helpful and simple. You can have as many images on the page as it picks up all img tags in the class="thumbnails yoxview"!

0

精彩评论

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