Technical Help & Discussion > Website Design & Programming

Hide URL & Stop right click

(1/2) > >>

Muggins:
Can anyone help me?

I am helping a pal design a website.. he is going to use a webredirection site and point it to his basic ISP webpage.. can anyone offer a solution to stop the full URL of the actual webpage showing up (in the bottom left of IE) when the cursor is moved over a link?
And also can you offer help on how to deactivate the use of right clicking on the page?

cheers folks  ;D



Rodders:
Hiya Muggins,

The only way I can think of successfully hiding the true URL, would be to use Frames.

Deactivating the 'right-click' is done by using a bit of JavaScript in your heading.  You'll never completely be able to stop people from nicking stuff from your site though.  What are you trying to guard - graphics?

DJ:
To disable right click SEE HERE

to hide the URL in the bottom left SEE HERE

or do a google for 'javascript disable right click' or 'javascript scroll bar message'.

Hope that helps

DJ

Muggins:
aye thats what i thought Rodders but he dont wanna use frames (for some reason  ::))

@ DJ1UK
Just what I needed mate cheers muchly ;)

Rodders:
Here's another nifty way to hide a URL!   8)

<SCRIPT language="JavaScript">
<!--
function stat_write(yourtext)
{
window.status=yourtext;
}
//-->
</SCRIPT>

It allows the text (or URL) of your choice to be displayed at the bottom of the browser window.  Use it wisely!

Navigation

[0] Message Index

[#] Next page

Go to full version