By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

How to enable left click on images and allow next option?

P: 1
I am uploading some images to my website using the following for every image:

<img src="" title="chicago" width="180" height="280" class="alignnone size-large wp-image-159" />

BUT, to enlarge the image, one has to right click, go to view image and then zoom in.
I want people to be able to left click to see the image directly AND if possible go to the next images too just like we see on facebook and other social networks.
Im not sure what code I would have to add to get that.

Thanks a lot,
Ghinwah Hachem
Jul 22 '11 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 10K+
P: 12,430
You'll want to find a good javascript tutorial and start learning that.
Jul 22 '11 #2

P: 10
You need something like this:

Or if you want to use jQuery framework, search in Google the term "jQuery lightbox". An example is this:
Jul 23 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.