简体   繁体   中英

how do you create secret links that work?

I want to have a secret area that you can only get to by clicking an invisable link but any time I find a way to turn visibility off the link no longer works.

<tr>
<td><a href="pages/page1.htm">to Page 1</a></td>
<td></td>
<td><a href="pages/page2.htm">to Page 2</a></td>
<td></td>
<td><a href="pages/resume.htm">to R&eacute;sum&#0233;</a></td>
<td></td>
<td><a href="pages/frames/framed.htm">to Framed Page</a></td>
<td><a href="secret room/secret_room.htm" style="visibility: hidden;">shh</a></td>
</tr>

the secret link I am working on is the last one can anyone give me some pointers?

使字体颜色与背景相同,然后编辑一些CSS以使onHover颜色相同。

一种快速的方法是使用transparent颜色:

<a href="secret room/secret_room.htm" style="color: transparent;">shh</a>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM