Reply to Re: Mouse trailing text problem, Javascript

Your name:

Reply:


Posted by Randy Webb on 04/22/06 00:20

Jonathan N. Little said the following on 4/21/2006 12:16 PM:
> Bill wrote:

<snip>

>> Thanks for the heads up, I never realized that the code was probably
>> for an
>> older browser. Could I use the 'document.getElementById' somewhere to
>> supply the correct coords or will this take a complete rewrite to get
>> it up
>> to the newer browsers?
>
> I am afraid your script would require an extensive rewrite. the DOM
> (Document Object Model) has radically changed from 4x browser to the
> modern browsers. If all ( cough!--MS--cough! ) would cooperate and
> follow the standards then our jobs would be markedly easier and browser
> sniffing would be thankfully unnecessary.

MS does follow standards, it is just MS standards they follow. But,
"browser sniffing" is *never* necessary.

> document.getElementById just get reference to a specific element on the
> page, mouse coordinate on the page is another issue.
>
> http://www.quirksmode.org/js/events_properties.html
> Javascript - Event properties
>
> My advise is focus on your website's content and not so much on 'special
> effects'. Like the screaming popup stats banners on Fox Sports
> broadcasts it *gets old* really fast!

Amen.


--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация