stunews
04-29-2005, 04:48 AM
Hi everyone, I'm doing what I thought was a simple script setting the status bar value.
I'm using a content management system and trying to hide the real url of a link by setting the status bar as so:
function setStatusText(szText)
{
window.status = szText;
return true;
}
I know its passing the value in by doing an alert, its also changing the status when I put a quoted value in as the argument, however no joy-
the strangest thing is that when I put an alert after the window.status as so:
alert(window.status)
I get the correct value and it displays the value in the status bar!!!!
Help please anyone because I've done everything I know to debug with no luck and its sending me mad...
cheers people
I'm using a content management system and trying to hide the real url of a link by setting the status bar as so:
function setStatusText(szText)
{
window.status = szText;
return true;
}
I know its passing the value in by doing an alert, its also changing the status when I put a quoted value in as the argument, however no joy-
the strangest thing is that when I put an alert after the window.status as so:
alert(window.status)
I get the correct value and it displays the value in the status bar!!!!
Help please anyone because I've done everything I know to debug with no luck and its sending me mad...
cheers people