Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- handy, generic javascript coding


toolman - 7:27 pm on May 19, 2001 (gmt 0)


This code will scrub those annoying outlines around your mouseover images in IE

onFocus="if(this.blur)this.blur()"

Just place it in the href tag.

Is there an advantage to doing this--making my javascripts
external?

Two advantages:

  • It cuts down the character count on the page before reaching the "meat" of the body text. In other words it pushes the real content up higher on the page to aid in indexing by the se's
  • It helps keep the spiders from ingesting the javascript and possibly parsing it as well. For instance if you're using a js redirect in an external file none of the engines will know this if it is external...right now anyway. If it is on the page as a redirect you stand a greater chance of it being discovered and being penalized for it.


    Thread source:: http://www.webmasterworld.com/javascript/567.htm
    Brought to you by WebmasterWorld: http://www.webmasterworld.com