Donkadelics
asked on
Stop showing the link
You know when you put your mouse over a link, it will show up the address at the bottom of IE.
I have seen some site where they does not allow this to display at all, but instead a small advertisement for their site scroll at the bottom.
How did they do this?
What is the script code for this look like?
I have seen some site where they does not allow this to display at all, but instead a small advertisement for their site scroll at the bottom.
How did they do this?
What is the script code for this look like?
ASKER
Where do I put this?
Between the Body tag?
Between the Body tag?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do like this in the link where you dont want to show the status :
<a href="http://www.example.com" onmouseover="window.status ='your_adv ertisement _here'; return true;" onmouseout="window.status= '';">Link< /a>
<a href="http://www.example.com" onmouseover="window.status
This is for ALL hyperlinks :
<html>
<script language="JavaScript" type="text/javascript">
function setStatus() {
var anchors = document.links;
for(i=0; i<anchors.length; i++) {
anchors[i].attachEvent("on mouseover" , statusText);
anchors[i].attachEvent("on mouseout", statusNoText);
}
}
function statusText() {
window.status = "your_text_here";
return true;
}
function statusNoText() {
window.status = "";
return true;
}
</script>
<body onload="setStatus();">
<a href="http://google.com">Google</a>
<a href="http://msn.com">Msn</a>
<a href="http://yahoo.com">Yahoo</a>
</body>
</html>
<html>
<script language="JavaScript" type="text/javascript">
function setStatus() {
var anchors = document.links;
for(i=0; i<anchors.length; i++) {
anchors[i].attachEvent("on
anchors[i].attachEvent("on
}
}
function statusText() {
window.status = "your_text_here";
return true;
}
function statusNoText() {
window.status = "";
return true;
}
</script>
<body onload="setStatus();">
<a href="http://google.com">Google</a>
<a href="http://msn.com">Msn</a>
<a href="http://yahoo.com">Yahoo</a>
</body>
</html>
ASKER
Well currently right now all the pages already have links in them.
It's going to be a tuff job to add each one in.
Is there a way to just put one script on each page rather than put one on every link?
It's going to be a tuff job to add each one in.
Is there a way to just put one script on each page rather than put one on every link?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
{
return setInterval('status=\' \'',10);
}
//or if you arent sure, create
function if_u_see_status_then_u_don
{
if(!oInterval)
{
return setInterval('status=\' \'',10);
}
else
{
clearInterval(oInterval)
}
}