Author Topic: How to enable right click  (Read 16327 times)

0 Members and 1 Guest are viewing this topic.

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
How to enable right click
« on: August 08, 2008, 01:55:17 AM »
Hi all,

can any one tell me please hot how to enable right click in my site?

Regards,

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to enable right click
« Reply #1 on: August 08, 2008, 02:07:20 AM »
welcome to 4images forum ... ;)

... you can find it here : FAQ -> http://www.4homepages.de/forum/index.php?topic=3088.0 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: How to enable right click
« Reply #2 on: August 08, 2008, 02:10:17 AM »
Hello mawenzi thanks for replay :D

i have seen this and i have done but still not working :?

look at my site please

http://www.almurshidi.com

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to enable right click
« Reply #3 on: August 08, 2008, 02:55:39 AM »
... there is anywhere a missing ")" ...
... try it again ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: How to enable right click
« Reply #4 on: August 08, 2008, 03:02:28 AM »
i did again and now i have restored the original header but still right click not enabled.

in the pats in the old versions was from the Control panel setting there was an option to enable or disable it but now i don't find it :?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to enable right click
« Reply #5 on: August 08, 2008, 03:13:05 AM »
works fine for me.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: How to enable right click
« Reply #6 on: August 08, 2008, 03:15:37 AM »
its strange not working with me
Ok sir can i send you PM with my site info do it for me pls.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to enable right click
« Reply #7 on: August 08, 2008, 04:08:30 AM »
Well, maybe by "enable right click" you meant enable the popup instead of the browser's menu? in that case I misunderstood you, I get browser's menu.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: How to enable right click
« Reply #8 on: August 08, 2008, 04:13:31 AM »
Thanks for replay.
Now i think i was not clearly to say what i need.

what i need is i don't want any one to right click any where on my site or to download any image with right click >> save as
 :wink:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to enable right click
« Reply #9 on: August 08, 2008, 04:47:31 AM »
In that case it's "disable right click" ;)

Your site's name has an ' (apostrophe), its messes up the javascript.

in header.html template replace
Code: [Select]
document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");

with:
Code: [Select]
document.oncontextmenu = new Function("alert('© Copyright by <?=str_replace("'","\\\'","{site_name}");?>');return false");
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ahmed00

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: How to enable right click
« Reply #10 on: August 08, 2008, 11:43:53 AM »
Yes sir this what i need and now working fine :D

Thank you for help