I have added a new page to the website with some back up files on it and I dont want anybody to be able to open the new page that was why I was looking to hide the link to the new page or lock the link. Is there a way of doing this. I anm using Adobe Contribute CS5
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script> function xxx(a) { a.style.visibility="hidden"; window.setInterval("visible()",5000); } function visible() { document.getElementById('p').style.visibility="visible";; } </script> </head> <body> <form id="form1" runat="server"> <div> <a href="#" onclick=xxx(this); id="p" >click to disable</a> </div> </form> </body> </html> Code (markup):
@getbestproduct ASP code? Useless code from you... just disable JS, also how can you know he is using ASP or ASP.NET? @stephencrooks Why adding a new site with links that nobody except you should click? Makes not much sense to me. If you really need it just put the new site into subfolder and use .htaccess to lock the folder
yes, its asp code. there is a easy way, change the name of the page, modify the robots.txt. No one knows the name only you