|
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.'
[Back to original message]
|