Revenue Source

Welcome to the Revenue Source affiliate marketing forums.

You are viewing our internet marketing and SEO forums as a guest which gives you limited access to most of our discussions.  By joining our free community, you will have access to post affiliate marketing topics, communicate privately with other members (PM), exchange SEO strategies, and access many other special features.  Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems, please don't hesitate to contact us.

Go Back   Revenue Source > Site Design & Development > HTML & Website Design
Reload this Page How to Disable Status Bar Messages
Tags: ,

Reply
 
LinkBack Thread Tools Search this Thread
Old
  (#1 (permalink))
light2006 is Offline
Focused light rays
light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!
 
light2006's Avatar
 
Join Date: Oct 2006
Posts: 282
Rachel A.
Affiliate/Webmaster
Weekend Affiliate
NJ United States
   
Question How to Disable Status Bar Messages - 01-30-2007

I know there's a way to disable status bar messages for each link with the following code:

Code:
<a href="somelink" onmouseover="window.status......
But I want to disable the status bar messages for the entire page, instead of on a link by link basis.

I need to do this because, I'm using some of CJ's Javascript links, and with those links it is not possible to hide the status bar message on a link by link basis.

Any ideas appreciated.
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
RS Tom is Offline
Revenue Source Admin
RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!
 
RS Tom's Avatar
 
Join Date: Sep 2004
Posts: 2,404
Tom A.
Jack of All Trades
Revenue Source, Inc.
Ft. Lauderdale, FL United States
   
Re: How to Disable Status Bar Messages - 01-30-2007

Here's some code that should be compatible with virtually all browsers. If you want a non-blank value to display, just change the window.status to a string value. I recommend something like window.status = 'Click here to visit this link...';

Code:
<script type="text/javascript">
<!--
function mv(){
 window.status='';
 return true;
}
if(document.all){
 document.onmouseover=mv;
}
else if(document.layers){
 window.captureEvents(Event.MOUSEOVER);
 window.onmouseover=mv;
}
//-->
</script>
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Revenue Sharing Ads
Old
  (#3 (permalink))
light2006 is Offline
Focused light rays
light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!
 
light2006's Avatar
 
Join Date: Oct 2006
Posts: 282
Rachel A.
Affiliate/Webmaster
Weekend Affiliate
NJ United States
   
Re: How to Disable Status Bar Messages - 01-30-2007

Thanks for the code, I tried it in Firefox 2.0, but it didn't work there.

I just came accross a similar script here :
Cut & Paste Hide Status bar message II

The code from the script works, but still there are a few loop holes.

1) If I right-click on a link, I can still see the URL. I tried adding Event.CLICK to the list of captured events, but that didn't work. It still shows the URL on right click. But I'm just betting on the fact that many people aren't savvy enough to right-click or may even forget to right click or not bother at all.

2) Even though the function hides the link on mouse over, it doesn't hide all the requests that flash when a page begins to load. I tried calling the function on

Code:
 <body onload="init()">
but that still shows the flashing messages on the status bar.

3) If the user disables Javascript in the browser then they can see the links, but I took care of this problem by madating them to enable Javascript.

I wish there was a way to simply not show anything at all on the status bar, even when the page begins to load.

I think it can be achieved, but only when I use window.open from another page I guess.
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
RS Tom is Offline
Revenue Source Admin
RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!
 
RS Tom's Avatar
 
Join Date: Sep 2004
Posts: 2,404
Tom A.
Jack of All Trades
Revenue Source, Inc.
Ft. Lauderdale, FL United States
   
Re: How to Disable Status Bar Messages - 01-30-2007

Anyone that is going to be savy enough to right click, view source, etc is probably not going to buy what you're selling. I can give you a javascript that disables the right mouse click, but you're disabling anyone that might want to right click and open the link in a new window.

Also, I don't recommend requiring Javascript to view a page. I recommend limiting your use of Javascript whenever possible. Most people are going to lose trust for your site when/if they get a Javascript error in their face.
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
light2006 is Offline
Focused light rays
light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!light2006 is almost famous!
 
light2006's Avatar
 
Join Date: Oct 2006
Posts: 282
Rachel A.
Affiliate/Webmaster
Weekend Affiliate
NJ United States
   
Re: How to Disable Status Bar Messages - 01-30-2007

Yup, well said some people will never convert.

I just need to disable right click on just one page, not the entire site. But still you are right, it can be annoying to disable right click.

There's actually a small snippet of code that swallows any possible Javascript error messages in production environment.

I saw it here: HotScripts.com :: JavaScript :: Miscellaneous :: To hide the errors , it was written by a French person, but that script is no longer there.

But that code comes in very handy whenever there are errors in external Javascript being used on one's site.

Very rarely and under some rare circumstances the StatCounter javascript was giving me errors, and also Google AdSense - under those circumstances the universal error handler came in very handy.
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Revenue Sharing Ads
Old
  (#6 (permalink))
RS Tom is Offline
Revenue Source Admin
RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!RS Tom is almost famous!
 
RS Tom's Avatar
 
Join Date: Sep 2004
Posts: 2,404
Tom A.
Jack of All Trades
Revenue Source, Inc.
Ft. Lauderdale, FL United States
   
Re: How to Disable Status Bar Messages - 02-06-2007

Here's a no right click script that works in IE7. Not sure about other browsers...

Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
if (window.Event) 
  document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
  event.cancelBubble = true
  event.returnValue = false;
  return false;
}
function norightclick(e)
{
  if (window.Event)
    {
      if (e.which == 2 || e.which == 3)
 return false;
    }
  else
   if (event.button == 2 || event.button == 3)
     {
       event.cancelBubble = true
       event.returnValue = false;
       return false;
     }
}
document.oncontextmenu = nocontextmenu;  // for IE5+
document.onmousedown = norightclick;  // for all others
/*  No Right Click */
//-->
</script>
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
amanda123 is Offline
Revenue Source Member
amanda123 is new to Rev Source.
 
Join Date: Oct 2007
Posts: 7
AMANDA
Affiliate/Webmaster
Self Employed
uk United Kingdom
   
Re: How to Disable Status Bar Messages - 10-30-2007

Ya that`s the right one provided by the tom !
Just try that first and i think that it will definately work !
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: How to Disable Status Bar Messages
Thread Thread Starter Forum Replies Last Post
Inserting local images into messages. light2006 Comments / Suggestions 4 10-16-2007 08:29 PM
Infrastructure status, January 2007 SEO Blogs SEO / SEM 0 01-11-2007 04:39 AM
Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Scre Affiliate Blogs Programming Help 0 12-27-2006 01:27 PM
OMG! Teens Prefer Instant Messages To Email Affiliate Marketing News Internet Marketing Articles 0 12-09-2006 03:57 AM
Size Of Friends List A Status Symbol For Teens Affiliate Marketing News Internet Marketing Articles 0 11-03-2006 05:01 AM



© 2004-6 RevenueSource.com.  All rights reserved.  Do not duplicate or redistribute in any form.
This website and its logos/design are property of RevenueSource.com.  All rights reserved. vBSEO 3.2.0 RC7


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34