View Full Version : Redirecting URL
Beagle
04-19-2000, 10:47 AM
I would like to put a URL link on a webpage, but I need it to hit my server first - for stats.
What I don't know how to do, is set it up so the user will see the direct URL and not the re-direct URL at the bottom in the status bar.
David
Owen_MC_Evans
04-20-2000, 07:06 AM
It is really quite easy to control the status message at the bottom of the screen once you know how. The easiest way I believe is to use JavaScript
within the <HEAD></HEAD> area of the page type the following
<SCRIPT LANGUAGE="JavaScript">
<!--
function stMsg(msg){
window.staus = msg;
document.returnValue = true;
}
//->
</SCRIPT>
now all you do is add the following to any href statements
onMouseOver='stMsg("your message");document.returnValue';
onMouseOut='stMsg("");document.returnValue;'
this should work if you put your message in.
Beagle
04-20-2000, 12:36 PM
Thank-you for your reply. Out of all the places I have posted this question, this is the first reply.
Of course, being a beginner, I am having problems. I have included the code as I see it.
Currently, the "****" is linked, but the display says "www.breddam.com", when I am trying to have it say "test"
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function stMsg(msg){
window.staus = msg;
document.returnValue = true;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<a href=http://www.breddam.com
onMouseOver='stMsg"test");document.returnValue;'
onMouseOut='stMsg("");document.returnValue;'
>******</a>
</BODY>
</HTML>
Thanks in advanced
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.