Hello, i am having a pretty basic problem, i think.
In a website i have an ajax menu which loads new content in a container. Some of these containers use prototype based libraries (e.g. lightwindow,jsvalidate). Since these libraries initialize "their" elements onload, the new elements are not initialized and don´t react like i wish them to. Means: When i click on a lightwindow-link the lightwindow doesn´t open but the "normal" link is opened. How do i reinitialize those libraries? Here is my function: navigation = function(id,type){ var url = 'index.php'; var container = 'content'; if( id=='' ){ var id = '7'; } var pars = 'id='+id+'&type='+type; //toggleloading(); var element = $('loading'); new Effect.Appear(element); new Ajax.Request(url+"?"+pars,{ onSuccess: function (transport) { myLightWindow = new lightwindow(); // i thought this would do it - but it doesn´t ... var data = transport.responseText; new Effect.Fade(container, { afterFinish: function () { $(container).update(data); new Effect.Appear(container); new Effect.Fade(element); } }); }}); } I hope anyone can help me with this. Regards, Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---