473,383 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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

HEY,
I am uploading some images to my website using the following for every image:

<img src="http://ghinwahachem.com/wp-content/uploads/2011/07/dsc04274-685x1024.jpg" 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
2 2707
Rabbit
12,516 Expert Mod 8TB
You'll want to find a good javascript tutorial and start learning that.
Jul 22 '11 #2
You need something like this: http://www.lokeshdhakar.com/projects/lightbox2/

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

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

Similar topics

4
by: Robert Oschler | last post by:
Hello, I have a web site that has an audio file on it that I make available for download. Right now I'm using the "right-click/save-as" approach. This is because left-clicking the link to the...
3
by: ACaunter | last post by:
Hi there, I was wondering how to stop the user from being able to left-click on a picture and being able to save it or anythings... there should be no options of left-clicking a picture how...
1
by: vikas.khengare | last post by:
Hi friends I want to allow left click only on some controls but not on all controls like textbox/span elements. I have near about 30+ HTML controls on my web page. then It's bad idea that I...
1
by: jonathanmcdougall | last post by:
I am developing a calendar on which dates can be clicked and selected. A calendar is a table in which each day is a cell. Each cell has a unique id. By left-clicking on a date, it gets selected...
3
by: SteveMac | last post by:
I am using VS2003 VC++ .NET. I want to make a tray icon with a popup menu (like a context menu) that pops up for a left click. I can make the notifyicon with a context menu and that works fine,...
2
by: Eadwine Rose | last post by:
I have this little bitty script on my site that makes a jump to the top of the screen when one double left clicks anywhere in the page. I was wondering if it could be altered so the double left...
14
by: raghunadhs | last post by:
HI All! I am developing a V.B application. in this application, user is able to drag and drop a picture(user control) at run time also. for this purpose, i used form's "dragdrop" event....
0
by: =?Utf-8?B?Ym9hdGFibGU=?= | last post by:
Some of my shortcuts that use to allow my to left click properties run: minimize/maximize do nothing. They allow me to change to but after change minimize/maximize behavior does not change. They...
4
by: jerrydigital | last post by:
Hello, I had my webpage up and running great on both Internet Explorer and Firefox. The problem is, on FireFox the user can only right click the text box in forms to enter information. How do I...
2
by: wizi | last post by:
Hi everyone, I am writing an application that allows users change Left Click to Right and Double Click. For example: if an user hit the "Double Click" button, Left click = Double Click. For...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.