Paci88
01-14-2009, 09:34 AM
1) Script Title: Step Carousel Viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hello everybody,
I insert a carousel in my web page. In fact, i put several <div> in one panel of the carousel.
For example :
<div id="bloc" class="stepcarousel">
<span id="statusA"></span>
<div class="belt">
<div class="panel" id="0">
<div><img ... /></div>
<div><img ... /></div>
<div><img ... /></div>
</div>
<div class="panel" id="1"></div>
<div class="panel" id="2"></div>
<div class="panel" id="3"></div>
</div>
</div>
It works perfectly when i add statically my div and my images.
But, when i add dynamically my 'div' thanks to a drag'n drop, it doesn't work anymore. I can only add my div on the first panel. Moreover, If i go to the next panel, i can't do a drag'n drop on the panel anymore. And if i come back on the first panel it's the same thing.
I investigate to try to find the problem, but i really don't know what happens...
I got errors like these :
[Exception... "Could not convert JavaScript argument arg 0 [nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
[Break on this error] jQuery.swap(elem,props,getWH);return Mat...form")||elem.options)ret.push(elem);else
jquery-1....6.min.js (ligne 22)
this.parentNode is null
[Break on this error] return jQuery(context).find(selector);}e...ry.clean([container.innerHTML])[0];}else
Please, I need help!!!
Thanks for your reply,
Friendly
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hello everybody,
I insert a carousel in my web page. In fact, i put several <div> in one panel of the carousel.
For example :
<div id="bloc" class="stepcarousel">
<span id="statusA"></span>
<div class="belt">
<div class="panel" id="0">
<div><img ... /></div>
<div><img ... /></div>
<div><img ... /></div>
</div>
<div class="panel" id="1"></div>
<div class="panel" id="2"></div>
<div class="panel" id="3"></div>
</div>
</div>
It works perfectly when i add statically my div and my images.
But, when i add dynamically my 'div' thanks to a drag'n drop, it doesn't work anymore. I can only add my div on the first panel. Moreover, If i go to the next panel, i can't do a drag'n drop on the panel anymore. And if i come back on the first panel it's the same thing.
I investigate to try to find the problem, but i really don't know what happens...
I got errors like these :
[Exception... "Could not convert JavaScript argument arg 0 [nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
[Break on this error] jQuery.swap(elem,props,getWH);return Mat...form")||elem.options)ret.push(elem);else
jquery-1....6.min.js (ligne 22)
this.parentNode is null
[Break on this error] return jQuery(context).find(selector);}e...ry.clean([container.innerHTML])[0];}else
Please, I need help!!!
Thanks for your reply,
Friendly