travelI'm on Holidays until the 21th august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 21 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: disable right click

disable right click 04 Feb 2020 13:55 #54980

Hi
How to disable right click when the image opens in a modal window .
I have pictures in the text of the page that open in a modal window and I would like to block the possibility of copying them
All add-ons and scripts that I try block the entire page, but not the modal window :(

Please Log in to join the conversation.

disable right click 04 Feb 2020 14:06 #54981

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23185
  • Karma: 427
  • Thank you received: 2919
Hi
I don't have this feature and to be honest this is totally useless ;)
You can save any image that is displayed in the browser, even with right click disabled
CEd
Joomlack Webmaster and Developer

Please Log in to join the conversation.

disable right click 04 Feb 2020 14:19 #54982

I know . despite this, 90% of people who accidentally visit a website can't do it, save a page or image when they are not right-clicked. I want it to be a simple difficulty. Nothing more :)

I saw this function in some gallery component for Joomla.
But I personally don't have enough knowledge (javascrypt) to understand exactly which code fragment is responsible for the modal window.
I can do it for the whole page, but not for the pop-up window
ok, benda tried again, maybe I'll come up with something finally.
update:
And I solved the problem. Topic to close.

Please Log in to join the conversation.

Last edit: by Kleszewski.
  • Page:
  • 1
Time to create page: 0.235 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 346 guests and no members online