You are here: Re: JavaScript does not work in Firefox « HTML « IT news, forums, messages
Re: JavaScript does not work in Firefox

Posted by Lasse Reichstein Nielsen on 07/18/06 11:38

"minnesotti" <minnesotti@yahoo.com> writes:

> The picture-hosting website is http://www.zenfolio.com/ .

> The JavaScript Console gives the error
> messages: "Error: event is not defined", "Error: dom.attachEvent is not
> a function" and "Error: this.domEvent has no properties". Thanks.

"attachEvent" is an IE specific method, so it's unsurprising that it
doesn't work in Firefox. However, on a properly coded page, that code
should never be executed by Firefox anyway, so I'd say it's a case
of bad programming.

Are your Firefox by any chance identifying itself as IE? In that case,
it just shows why browser detection is bad.

Either the site is IE specific (and their support is clueless or
lying) or it's just badly coded and thinks you are using IE for some
reason.

/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'

 

Navigation:

[Reply to this 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

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