The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Script To Disable The Right-Click On An HTML Page - HELP

View previous topic View next topic Go down

Solved Script To Disable The Right-Click On An HTML Page - HELP

Post by BimbasVG on July 30th 2012, 12:48 am

http://help.forumotion.com/t50779-script-to-disable-the-right-click

Can someone explain to me where can I find <body> </ body> end how i can instal this on my forum ?? i can't find it in Administrator Panel. Plzz help



Last edited by BimbasVG on August 3rd 2012, 1:49 pm; edited 1 time in total

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by BimbasVG on July 30th 2012, 11:13 am

on forum

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by Nera. on July 30th 2012, 11:16 am

Can someone explain to me where can I find <body> </ body>

AP > Display > Templates > Overall_header.


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by BimbasVG on July 30th 2012, 11:38 am

its not working =(

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by Nera. on July 30th 2012, 11:48 am

Use this one::

Code:
    <script language=Javascript1.2> function ejs_nodroit() { alert('Text Here');
        return(false); } document.oncontextmenu = ejs_nodroit; </script>

Add it to AP > General > Forum > Site description

Just tried it and works::

http://someonelikeyou.forumcroatian.com/
http://someonelikeyou.forumcroatian.com/
http://someonelikeyou.forumcroatian.com/

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by BimbasVG on July 30th 2012, 1:32 pm

I already have something in Site description, anywhere else??

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by BimbasVG on July 31st 2012, 7:45 pm

Bumppp

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by LGforum on July 31st 2012, 11:02 pm

Just put this anywhere:
Code:
<script language="text/javascript">document.oncontextmenu = function() { alert('Text Here')  return false; }; </script>

if you want to disable it in the HTML page, then put it in the HTML page...

Just be aware, its basically serving you no purpose.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Script To Disable The Right-Click On An HTML Page - HELP

Post by Jophy on August 8th 2012, 12:55 pm

Since this was marked solved => Topic Moved

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum