I can't tell from this code what you're doing wrong. Nothing jumps out at
me.

Feel free to post more code (or use something like paste.mootools.net) but
someone else here will likely have to help you with it as I'm headed out for
a while and will likely not have time in the next day.

On Thu, Jan 8, 2009 at 2:57 PM, wanlee (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

>
> thanks, nutron. now i have a new (related) problem. i have this:
> betGraphClone = $('betGraph').clone(true, true).cloneEvents
> ('betGraph');
>
> it clones the div with contents and IDs in place. the original element
> has a slider effect that i would like to reapply to the cloned div but
> it does not work. is it because of conflicting IDs even though the
> original element has been destroyed?
>
> on an ajax success response i have:
> onSuccess: function(responseJSON){
>         betGraphClone = $('betGraph').clone(true, true).cloneEvents
> ('betGraph');
>         $('betGraph').destroy();
>        .....
>        .....
>
> then for reinit i have:
> $('reInitSlider').addEvent('click', function(){
>         betGraphClone.inject('betContainer')
>         mySlideA.setMin(90).setMax(140);
> });
>
>
> is this enough JS to see what i'm doing wrong?
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130725.html
> To start a new topic under MooTools Users, email
> [email protected]<ml-node%[email protected]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
Clientcide:  http://www.clientcide.com www.clientcide.com 
-- 
View this message in context: 
http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130775.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to