Link to home
Start Free TrialLog in
Avatar of fks2
fks2

asked on

How can I hide a link in my JSP page.

Hi, i have this link

<a href="abc.jsp" > ABC </a>

But i would like to make this link invisible for user. Only selected user where informed that there is a hidden link on particular positions can able to know where to click on it.

How?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kennethxu
kennethxu

I agree with ryancys.
but if you don't already have a login page and there is no plan for it. the direct solution is:
<a href="abc.jsp">&nbsp;&nbsp;</a>
of course, you can use style to change mouse pointer and underlining.
Or you can make the font the same color as the background - using css.

<html>
<head>
.itemlink:link {TEXT-DECORATION: none; font-family: Verdana, Arial, Helvetica, sans-serif; color: #white; font-size:13 ;}
</head>

<body bgcolor=white>
<a href="abc.jsp" > ABC </a>
</body>

etc.

and as kenneth said above, you can also change mouse pointer.
fks2, I believe the B grade is unfair to ryancys. experts will also check you grading history before they answer your future questions.
How to grade:
https://www.experts-exchange.com/help/qnaFAQ.jsp#3