links

Discussion in 'HTML & Website Design' started by stephencrooks, Dec 22, 2010.

  1. #1
    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
     
    stephencrooks, Dec 22, 2010 IP
  2. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #2
    you want to lock the new page or the links in the new page?
     
    karthimx, Dec 22, 2010 IP
  3. stephencrooks

    stephencrooks Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The link to the new page
     
    stephencrooks, Dec 22, 2010 IP
  4. getbestproduct

    getbestproduct Peon

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <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, Dec 23, 2010 IP
  5. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #5
    @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
     
    CSM, Dec 23, 2010 IP
  6. getbestproduct

    getbestproduct Peon

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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
     
    getbestproduct, Dec 23, 2010 IP