Is there a javascript available that hides the url in all the "<a href=" tags on a page? And if it hides it from displaying in the status bar as well would be good. Thanks. [sig][/sig]
well as far as the status, you can insert a onmouseover="window.status='what to say'" that way they dont exactly see the URL in the status, but as far as hiding a simple HTML tag, you cant do it, unless you wanted to make a Javascript command, that is inside of a *.js file and have the url called from there. but other than that, there is no real way to hide something without either compiling it in a Java applet, or using serverside scripting or redirecting. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href=
Thanks kb244! Having the javascript in a js file sounds like an okay idea. How would I go about doing that? What would the script look like and how would I insert it in the file? I'm not too familiar with javascript, but trying to learn it. Thanks again. [sig][/sig]
I am not sure really, might make a good question for a thread, but I know that having it in a *js it's still downloaded to the browser, but the user has a much harder time getting to see it. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href=
give [john] a new varitable name,in your script ..like
var AnyName="john"
so the URL will look like http:// AnyName@doe.com .....I know that this will work to prevent spaming of your e mail address (mailto) but have never tried it on <A HREF>.... and as far as as the status bar just open a new window and declare no status bar or you can just use window.status=("" ....
It is a good question and I hope that it works for you and look foward to any replys you get..good luck .. being a studnet I am not to sure of it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.