Connecting Tech Pros Worldwide Forums | Help | Site Map

DOM problem with Konqueror

Gregor Kofler
Guest
 
Posts: n/a
#1: Jun 27 '08
Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following
error message:

line 172:
Error: DOM Exception 8

The mentioned line contains:

this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);

Simplifying it with something like:

var n = this.layer.childNodes[this.smartLabel ? 0 : 1];
this.layer.removeChild(n);

yields the same result. alert(n) shows me "object". The widget works in
IE6+, FF, Opera, Safari. Other widgets on my page also feature
removeChild - alas: no error there. Any suggestions or ideas? Googling
for "DOM Exception 8" hasn't provided any meaningful results.

The error can be reproduced by clicking a search-Button on
http://web.gregorkofler.com

Gregor



--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum

Bjoern Hoehrmann
Guest
 
Posts: n/a
#2: Jun 27 '08

re: DOM problem with Konqueror


* Gregor Kofler wrote in comp.lang.javascript:
Quote:
>Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following
>error message:
>
>line 172:
>Error: DOM Exception 8
http://www.w3.org/TR/DOM-Level-3-Cor...-NOT_FOUND_ERR
Quote:
>The mentioned line contains:
>
>this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);
Then this may simply be a bug in Konqueror.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Gregor Kofler
Guest
 
Posts: n/a
#3: Jun 27 '08

re: DOM problem with Konqueror


Bjoern Hoehrmann meinte:
Quote:
* Gregor Kofler wrote in comp.lang.javascript:
Quote:
>Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following
>error message:
>>
>line 172:
>Error: DOM Exception 8
>
http://www.w3.org/TR/DOM-Level-3-Cor...-NOT_FOUND_ERR
And DOM Exception 8 _is_ NOT_FOUND_ERR?
Quote:
Quote:
>The mentioned line contains:
>>
>this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);
>
Then this may simply be a bug in Konqueror.
Yes - since it doesn't occur in Konqueror 4.0.3 (is it just my computer,
or *is* Konqueror 4 *that* slow?).

Gregor


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Gregor Kofler
Guest
 
Posts: n/a
#4: Jun 27 '08

re: DOM problem with Konqueror


Gregor Kofler meinte:
Quote:
And DOM Exception 8 _is_ NOT_FOUND_ERR?
Ooops. I scrolled up - yes, it is.

Gregor


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Closed Thread