|
|
#1 |
|
Solid State Member
Join Date: Jul 2008
Posts: 19
|
Hi,
I am working on my blogsite, don't know much of CSS but I found a way to hide the URL of my link in the Window Status using; <a href="link" onMouseOver="window.status=' ' ; return true;" > However the linked page takes a second or two to load, and while it loads the link appears in the Window Status. Is there any way for me to hide that totally as it loads? also i don't want to show the url of link if someone right click on it... Thanks. |
|
|
|
|
|
#2 |
|
Fully Optimized
|
Code:
<html lang="en">
<head>
<title>mouseover handler</title>
<script type="text/javascript">
function mouseOutHandler (evt) {
if (typeof evt != 'undefined') {
evt = window.event;
}
window.status = '';
if (evt && typeof evt.returnValue != 'undefined') {
evt.returnValue = true;
}
if (evt && evt.preventDefault) {
evt.preventDefault();
}
return true;
}
window.onload = function (evt) {
if (document.addEventListener) {
document.addEventListener(
'mouseover',
mouseOutHandler,
false
);
}
else if (document.attachEvent) {
document.attachEvent(
'onmouseover',
mouseOutHandler
);
}
};
</script>
</head>
<body>
<p>
Does the status bar show the link URL?
<a href="http://www.example.com/">example</a>
</p>
</body>
</html>
__________________
I'm part of *The Project* ;) Dont Eat Animals, Its Not Good For Them And They Dont Like It! |
|
|
|
|
|
#3 | |
|
Solid State Member
Join Date: Jul 2008
Posts: 19
|
Quote:
How can i use that in blogsite (blogspot)... |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|