squeezebox

squeezebox ajax mootools

我的未来我决定 提交于 2019-12-13 05:30:56
问题 I use the modal window a fair bit in joomla and just found out that it doesn't work with ajax added links. What is the code I need to have the modal window work with those links? I'm better at jquery than moo tools ... Thanks, Mat I found this code but can't get it to work. <script type="text/javascript"> window.addEvent('domready', function() { SqueezeBox.initialize({ ajaxOptions: { evalScripts: true } }); //SqueezeBox.initialize({}); $$('a.modal').each(function(el) { el.addEvent('click',

Joomla's modal window removing id and class names

二次信任 提交于 2019-12-02 13:38:09
问题 I have a form in a module that I want to appear in a modal window. Depending on the id the window may be blank, or if it does show any content all classes and ids are removed, so I can't validate or style the form. Truncated Code: ... <div id="feedback"> <div class="feedbackinner"> <!-- form module --> <div id="contact-wrapper"> <!--form elements with ids and classes--> </div> <!-- end module --> </div><!-- end .feedbackinner --> </div><!-- end #feedback --> This triggers the modal window