I want that when user click on image thumbnil then the image popup just like it does in this click here
plesase tell me the simplest way to do this as i am new to web development. please help me out I am waiting for you kind response.
I want that when user click on image thumbnil then the image popup just like it does in this click here
plesase tell me the simplest way to do this as i am new to web development. please help me out I am waiting for you kind response.
Share Improve this question asked Nov 12, 2010 at 16:06 Nauman.KhattakNauman.Khattak 6414 gold badges12 silver badges33 bronze badges6 Answers
Reset to default 5That kind of thing is called a Modal Popup (modal because it prevents interaction with the rest of the page.) There are quite a few implementations available. The JQuery Dialog and the Lightbox are some of the better ones.
You can use any of the lightbox plugins for this. There are some other versions out there as well, for example here and here.
The usages will vary slightly, but there are examples on each of the sites above. You can google for more, just search for "javascript lightbox" or "jquery lightbox" for more examples.
What you are looking at is a modal pop up window: http://www.queness./post/77/simple-jquery-modal-window-tutorial
Above is a tutorial.
I suggest you look at jQuery for this one. www.jquery. Load the jquery library followed by a light box ponent. There are plenty of these if you Google 'jquery lightbox' you will find what you need.
you can use fancybox. It's very easy to use
I implemented here
http://www.art./gallery/id--b1822/abstract-posters.htm?ui=9E23F1D932F54F2F8F2E37851C860158
mouseover any image , i show big image.
Let me know if you want , i can give you the code
http://www.allposters./-st/Animal-Posters_c622_.htm
change to grid view and mouseover image
It should very simple , you can need to have the big image ready and create the html with big image by metnioning the max height and max width
and show the div with a bigger z-index. Thats it.