Side navigation
#1333 closed bug (wontfix)
Opened June 29, 2007 09:46AM UTC
Closed March 31, 2008 01:42AM UTC
$.ImageBox.init fails in IE with <div id="container">
Reported by: | russback | Owned by: | stefan |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | interface | Version: | 1.1.2 |
Keywords: | imagebox, object, container | Cc: | |
Blocked by: | Blocking: |
Description
When using ImageBox within a div with ID "container", I get an error in IE6:
<div id="container"> <div id="productcolumnone"> <p> <a href="images/imagebox/bw1.jpg" title="Moon eclipse" rel="imagebox-bw"><img src="images/imagebox/th_bw1.jpg"></a> <a href="images/imagebox/bw2.jpg" title="Rain drops" rel="imagebox-bw"><img src="images/imagebox/th_bw2.jpg"></a> <a href="images/imagebox/bw3.jpg" title="Church" rel="imagebox-bw"><img src="images/imagebox/th_bw3.jpg"></a> </p> </div> </div>
The error is "Object doesn't support this property or method" on the line $.ImageBox.init
Changing the id from "container" to something else works but the template I am inserting into is not available to edit. Suggest this is a bug as it should be independent of surrounding source code
I've managed to get around this by replacing all references in the iutil and imagebox files:
Old: containerXXXXXX
New: _containerXXXXXX