Is there a simple way in CSS/HTML or jquery to hide url from external views, but still keep link clickable, so URL opens only when user actually clicked.
Ex. Link to Page
Label shows but url is not.
Is there a simple way in CSS/HTML or jquery to hide url from external views, but still keep link clickable, so URL opens only when user actually clicked.
Ex. Link to Page
Label shows but url is not.
2
Answers
Use The Window Location Object:
You can use javascript to display javascript:void(0) in the link to hide it, then when the user clicks it will send them to the website you want.