Hello, I'm having some trouble with the summarize plugin. I'm using drupal 5.10 and jquery 1.2.6. The summarize code works perfectly when I just have text in the 2nd child element (the one that hides/shows).
Ex code: <script type="text/javascript"> $(document).ready(function() { $('div.expandable').summarize({expandText:' Click here for more information...'}); }); </script> <?php print '<div class="expandable"><p>First content showing</p><p>'; print 'text'; print '</p></div>'; ?> But, when I try to embed another <script></script> tag in the 2nd child element, the page finishes loading and then redirects to a white page with only the contents of the 2nd element visible (no theme, or any other content). Ex code: <script type="text/javascript"> $(document).ready(function() { $('div.expandable').summarize({expandText:' Click here for more information...'}); }); </script> <?php print '<div class="expandable"><p>First content showing</ p><iframe><p>'; print '<script src="http://promos.npr.org/morning/ morning.promo.js"></script>'; print '</p></div>'; ?> I'm wondering whether this might somehow be related to the similar problem that TinyMCE has with this version of jquery (http:// drupal.org/node/235972). Better yet, I'm wondering if anyone can see something that I'm doing wrong? Thanks for your time. -derrick.