<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1046414" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1046414</link>
    <description></description>
    <language>en</language>
          <item>
    <title>I am so lost with JavaScript</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1253789</link>
    <description> &lt;p&gt;I am so lost with JavaScript functions. How do you include &quot;location.href = URL in a JavaScript function?&lt;br /&gt;
Plz tell me.&lt;br /&gt;
&lt;a href=&quot;/rules&quot;&gt;link removed&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 16 Sep 2010 04:35:00 +0000</pubDate>
 <dc:creator>Harkin85</dc:creator>
 <guid isPermaLink="false">comment 1253789 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Took me a while to work out</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1250927</link>
    <description> &lt;p&gt;Took me a while to work out what was going on here, sorry I never posted the answer!&lt;/p&gt;
&lt;p&gt;The issue is that the page being opened includes Javascript files that aren&#039;t in the page it&#039;s being opened from*. So let&#039;s say you&#039;re on an article page then open a &lt;em&gt;Create content&lt;/em&gt; form in Colourbox, which includes an imagefield, there&#039;s no Javascript file include on the article page for imagefield so the form doesn&#039;t work correctly.&lt;/p&gt;
&lt;p&gt;The way around this &lt;em&gt;should&lt;/em&gt; be easy though: find the names of the Javascript files that need to be included in pages loaded by Colourbox -- &lt;code&gt;filefield.js&lt;/code&gt; for example -- and add them to every page.&lt;/p&gt;
&lt;p&gt;To add some Javascript to every page, in a way that still allows Drupal to merge and compact the files, open &lt;code&gt;template.php&lt;/code&gt; in your theme directory, search for &lt;a href=&quot;http://api.drupal.org/api/function/template_preprocess_page/6&quot;&gt;preprocess_page&lt;/a&gt;, add a call to &lt;a href=&quot;http://api.drupal.org/api/function/drupal_add_js/6&quot;&gt;drupal_add_js()&lt;/a&gt; to load the Javascript file and you should end up with something like this in your &lt;code&gt;template.php&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;template_name_preprocess_page&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$variables&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_js&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;module&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;filefield&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) . &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/filefield.js&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;module&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;header&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$variables&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;scripts&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_js&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;If your &lt;code&gt;template.php&lt;/code&gt; doesn&#039;t have a &lt;code&gt;preprocess_page&lt;/code&gt; function included, just copy and paste the one above (making sure to replace &#039;template_name&#039; with the name of your Drupal template).&lt;/p&gt;
&lt;p&gt; * Even if the performance settings compact JS (if I remember correctly).&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Jul 2010 03:37:00 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1250927 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The problem is that Five Star</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1250913</link>
    <description> &lt;p&gt;The problem is that Five Star will be loaded into the page after the JavaScript behavior has been linked to elements that occur immediately after the page is loaded..&lt;/p&gt;
 </description>
     <pubDate>Thu, 15 Jul 2010 10:45:02 +0000</pubDate>
 <dc:creator>brayanaustin</dc:creator>
 <guid isPermaLink="false">comment 1250913 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Yes, I use Colorbox module,</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1249094</link>
    <description> &lt;p&gt;Yes, I use Colorbox module, but I&#039;ve seen the code and it&#039;s not really complex, but the problem is that JS for collapse effect and image field in my case, are not loaded.&lt;br /&gt;
So, if someone know how I can refresh the drupal js or how I can modify the headers of colorbox iframe in the module, I&#039;ll be very happy &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; it&#039;s 2 differents solutions, and it&#039;s not only about jquery colorbox directly, but my problem seems to come from the same thing, I think.&lt;br /&gt;
Thanks anyhow for the precision&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 May 2010 22:49:26 +0000</pubDate>
 <dc:creator>nicols</dc:creator>
 <guid isPermaLink="false">comment 1249094 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hey. This looks like you&#039;re</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1249093</link>
    <description> &lt;p&gt;Hey. This looks like you&#039;re using the drupal Module for Colorbox, am I right? If so, I&#039;m not sure of anything with that. I integrated the plugin myself, without a module and I&#039;m nearly certain it works differently.&lt;/p&gt;
&lt;p&gt;Good luck, though &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 May 2010 22:14:18 +0000</pubDate>
 <dc:creator>Reece S</dc:creator>
 <guid isPermaLink="false">comment 1249093 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hello,
I have the same</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1249091</link>
    <description> &lt;p&gt;Hello,&lt;br /&gt;
I have the same problem on my website, I want to open an add node form in Colorbox, but in my node I have a filefield for example, and upload doesn&#039;t work.&lt;br /&gt;
I&#039;ve tried Drupal.attachBehaviors but it doesn&#039;t work, even the fieldset collapsible effect doesn&#039;t work.&lt;/p&gt;
&lt;p&gt;I&#039;ve already forced to modify colorbox.module for loading add node form, code is next :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;in colorbox.pages.inc :&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function colorbox_form_page($form_id) {&lt;br /&gt;&amp;nbsp; $GLOBALS[&amp;#039;devel_shutdown&amp;#039;] = FALSE; // Prevent devel module from spewing.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; switch ($form_id) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;contact_mail_page&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; module_load_include(&amp;#039;inc&amp;#039;, &amp;#039;contact&amp;#039;, &amp;#039;contact.pages&amp;#039;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print contact_site_page();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;	&amp;nbsp; if(strpos($form_id,&amp;#039;node_form&amp;#039;) === false) {&lt;br /&gt;	&amp;nbsp;&amp;nbsp;&amp;nbsp; $form = drupal_get_form($form_id);&lt;br /&gt;	&amp;nbsp; }&lt;br /&gt;	&amp;nbsp; else {&lt;br /&gt;	&amp;nbsp;&amp;nbsp;&amp;nbsp; // required for Drupal 6&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; module_load_include(&amp;#039;inc&amp;#039;, &amp;#039;node&amp;#039;, &amp;#039;node.pages&amp;#039;); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // maybe add current users info&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; global $user;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create a blank node&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $node-&amp;gt;uid = $user-&amp;gt;uid;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $node-&amp;gt;name = (isset($user-&amp;gt;name) ? $user-&amp;gt;name : &amp;#039;&amp;#039;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $node-&amp;gt;type = str_replace(&amp;#039;_node_form&amp;#039;,&amp;#039;&amp;#039;,$form_id);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Invoke hook_nodapi and hook_node&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; node_object_prepare($node);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Or you can also use an exiting node, for example&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // $node = node_load(123);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // and the display the form:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form = drupal_get_form($form_id, $node);&lt;br /&gt;	&amp;nbsp; }&lt;br /&gt;	&amp;nbsp; &lt;br /&gt;	&amp;nbsp; if (!empty($form)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print $form;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; exit;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;strong&gt;in colorbox.module :&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function _colorbox_form_page_access($form_id) {&lt;br /&gt;&amp;nbsp; switch ($form_id) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;contact_mail_page&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $access = user_access(&amp;#039;access site-wide contact form&amp;#039;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;user_register&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $access = user_register_access();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;user_pass&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;user_login&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &amp;#039;user_login_block&amp;#039;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $access = user_is_anonymous();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // All other forms get no access.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $access = !user_is_anonymous();&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; return $access;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
The access is surely not very secured and rights are not verified, but it&#039;s just for testing in first time.&lt;br /&gt;
And I&#039;ve added in colorbox.form.js the Drupal.attachBehaviors function in the onComplete callback.&lt;/p&gt;
&lt;p&gt;I think I&#039;ve told everything.&lt;/p&gt;
&lt;p&gt;[edit]I think the colorbox open mode is in iframe with forms, and drupal js were not added, so the solution may be around this, but I&#039;ve no idea to do this.&lt;/p&gt;
&lt;p&gt;[edit2]I&#039;ve tried to add&lt;em&gt; iframe:true&lt;/em&gt; in the settings in &lt;strong&gt;colorbox.form.js&lt;/strong&gt; and the form is loaded in iframe &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; what it didn&#039;t do before, but it seems the css isn&#039;t loaded. I don&#039;t know if this help someone, but I tell you (I search my words...)&lt;/p&gt;
&lt;p&gt;Sorry for the english, I&#039;m french &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/grin.png&quot; title=&quot;Laugh&quot; alt=&quot;Laugh&quot; class=&quot;smiley-content&quot; /&gt;, but I hope you understand my post, and you can help me &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
Thanks a lot&lt;br /&gt;
Nicolas&lt;/p&gt;
 </description>
     <pubDate>Tue, 18 May 2010 20:24:54 +0000</pubDate>
 <dc:creator>nicols</dc:creator>
 <guid isPermaLink="false">comment 1249091 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Okay sure thing.  Try the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1248395</link>
    <description> &lt;p&gt;Okay sure thing. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Try the link again... I&#039;ve updated it to point to a photo node... If you&#039;re logged in, there will be a link underneeth saying &quot;Favourite&quot; which when clicked, should be ajax. You use the same module on this website, it&#039;s called Flag.&lt;/p&gt;
&lt;p&gt;The problem is that it doesn&#039;t use the ajax while in a dialog. Also, the other JS-powered features such as the Show link for Share, Description and Tags doesn&#039;t work.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.coldcast.co.uk/page/general-development&quot; title=&quot;http://www.coldcast.co.uk/page/general-development&quot;&gt;http://www.coldcast.co.uk/page/general-development&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
 </description>
     <pubDate>Thu, 15 Apr 2010 12:42:05 +0000</pubDate>
 <dc:creator>Reece S</dc:creator>
 <guid isPermaLink="false">comment 1248395 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hmmm, Drupal.attachBehaviors</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1248387</link>
    <description> &lt;p&gt;Hmmm, &lt;code&gt;Drupal.attachBehaviors&lt;/code&gt; should cover all eventualities. Those modules must need some special treatment. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/confused.png&quot; title=&quot;Confused&quot; alt=&quot;Confused&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I&#039;m going to need an example page or two to see why they&#039;re not working.&lt;/p&gt;
 </description>
     <pubDate>Thu, 15 Apr 2010 01:19:40 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1248387 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Is there a way to do this for</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1248371</link>
    <description> &lt;p&gt;Is there a way to do this for AJAX content? Such as Flags and Pagers?&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Apr 2010 22:21:44 +0000</pubDate>
 <dc:creator>Reece S</dc:creator>
 <guid isPermaLink="false">comment 1248371 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>OMG JeevesBond, ur a star m8!</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/jquery-colorbox-drupal-javascript#comment-1248370</link>
    <description> &lt;p&gt;OMG JeevesBond, ur a star m8! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;onComplete:function(){&lt;br /&gt;Drupal.attachBehaviors();&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I used this, and it worked like a charm. Thanks a bunch &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Apr 2010 21:49:36 +0000</pubDate>
 <dc:creator>Reece S</dc:creator>
 <guid isPermaLink="false">comment 1248370 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
