The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Secret Link
denmarks
post Nov 24 2009, 10:01 AM
Post #1


Advanced Member
****

Group: Members
Posts: 207
Joined: 17-January 08
Member No.: 4,734



Is there a way to create a link on a page that is secret? I do not want any indication that the cursor is over a link (color change, etc) including the location display in the lower left of the screen. This would be used by me to get to a page that I don't want the normal user to access. I am not worried about someone looking at the page source. I just want to click on a secret word or symbol and go to another page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 24 2009, 11:58 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Why not just bookmark the page, and not have an outside link to it?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Nov 24 2009, 01:26 PM
Post #3


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(denmarks @ Nov 25 2009, 12:01 AM) *

Is there a way to create a link on a page that is secret? I do not want any indication that the cursor is over a link (color change, etc) including the location display in the lower left of the screen. This would be used by me to get to a page that I don't want the normal user to access. I am not worried about someone looking at the page source. I just want to click on a secret word or symbol and go to another page.


Yes, just fiddle with the css for the particular link, so it has no text decoration or colour change on hover, active, or anything else.

As long as you understand this is not a "security" measure, it may be a perfectly reasonable thing to want to do. Remember the link will still be totally obvious to spambots, Lynx users, and so on.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 24 2009, 05:39 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Anyone who use their keyboard for navigation.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Nov 25 2009, 12:02 AM
Post #5


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(pandy @ Nov 25 2009, 07:39 AM) *

Anyone who use their keyboard for navigation.


Hmm? (That's a slightly ungrammatical noun phrase...)

I presume the OP wants to have a non-publicised link on a page to another page. Perhaps I missed your point?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 25 2009, 12:29 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



If you tab through the links, the secret link won't be hidden.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Nov 25 2009, 12:43 AM
Post #7


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(pandy @ Nov 25 2009, 02:29 PM) *

If you tab through the links, the secret link won't be hidden.


Right. That's why it's important the OP doesn't think this is "security", and why strictly "non-publicised" is a better word than "secret".
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pauly666
post Nov 25 2009, 04:52 AM
Post #8





Group: Members
Posts: 6
Joined: 11-August 09
Member No.: 9,384



Easy enough to add a link that is hidden but as mentioned above, it won’t remain hidden for long!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 25 2009, 04:57 AM
Post #9


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(denmarks @ Nov 24 2009, 04:01 PM) *

including the location display in the lower left of the screen.

You need javascript to hide the status bar, and then it's probably easiest to make the whole thing from JS:

CODE
<p onclick="location.href='hidden.html';">Foo</p>

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 01:02 AM