-
May 26th, 2019, 12:58 PM
#1
[RESOLVED] Disable right click for one photo only?
Hi, there, I would like to disable right click on only one photo on my websbite. What would I add to the below code to do so? I removed the <> ends so the code would post. Thank you.
img src=”https://www.website.com/wp-content/u.../05/lb3.jpg” alt=”” width=”283″ height=”401″ /
I have two laptops:
#1 2016 HP 15.6" Premium High Performance Laptop PC, AMD Quad-Core A6-5200 Processor, 4GB RAM, 500GB HDD, DVD+/-RW, Webcam, WIFI, HDMI, UbuntuMate 18.04
#2 2019 HP Premium 15.6" HD Laptop, AMD A6 Dual-Core 2.6 GHz, 4GB|8GB|16GB RAM, 1TB|2TB HDD, 128GB|256GB|512GB|1TB SSD, WiFi Bluetooth HD Webcam 3-in-1 SD Reader HDMI, Windows 10,
-
May 26th, 2019, 01:30 PM
#2
Did you Google-> Disable right click for one photo only
and see all the hits?
If you're happy and you know it......it's your meds.
-
May 26th, 2019, 01:47 PM
#3
Hi, Steve, I did Google it and all I got was how to disable right click on ALL the photos on your site. I just need it for one photo.
I have two laptops:
#1 2016 HP 15.6" Premium High Performance Laptop PC, AMD Quad-Core A6-5200 Processor, 4GB RAM, 500GB HDD, DVD+/-RW, Webcam, WIFI, HDMI, UbuntuMate 18.04
#2 2019 HP Premium 15.6" HD Laptop, AMD A6 Dual-Core 2.6 GHz, 4GB|8GB|16GB RAM, 1TB|2TB HDD, 128GB|256GB|512GB|1TB SSD, WiFi Bluetooth HD Webcam 3-in-1 SD Reader HDMI, Windows 10,
-
May 26th, 2019, 03:27 PM
#4
-
May 27th, 2019, 09:05 AM
#5
Thank you, jdc2000. MY question is, where would I put the ..oncontextmenu="return false;"... in the code above so it only disables right click on that one photo?
I have two laptops:
#1 2016 HP 15.6" Premium High Performance Laptop PC, AMD Quad-Core A6-5200 Processor, 4GB RAM, 500GB HDD, DVD+/-RW, Webcam, WIFI, HDMI, UbuntuMate 18.04
#2 2019 HP Premium 15.6" HD Laptop, AMD A6 Dual-Core 2.6 GHz, 4GB|8GB|16GB RAM, 1TB|2TB HDD, 128GB|256GB|512GB|1TB SSD, WiFi Bluetooth HD Webcam 3-in-1 SD Reader HDMI, Windows 10,
-
May 28th, 2019, 12:56 PM
#6
-
May 28th, 2019, 01:26 PM
#7
Thank you, jdc! The first link had the solution!
I have two laptops:
#1 2016 HP 15.6" Premium High Performance Laptop PC, AMD Quad-Core A6-5200 Processor, 4GB RAM, 500GB HDD, DVD+/-RW, Webcam, WIFI, HDMI, UbuntuMate 18.04
#2 2019 HP Premium 15.6" HD Laptop, AMD A6 Dual-Core 2.6 GHz, 4GB|8GB|16GB RAM, 1TB|2TB HDD, 128GB|256GB|512GB|1TB SSD, WiFi Bluetooth HD Webcam 3-in-1 SD Reader HDMI, Windows 10,
-
May 28th, 2019, 01:36 PM
#8
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|