<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Adding Inline Javascript to a Single Drupal Node</title> <atom:link href="http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/feed/" rel="self" type="application/rss+xml" /><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/</link> <description>Webhosting with Free Warm Fuzzies</description> <lastBuildDate>Thu, 12 Jan 2012 00:45:40 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Grant</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-7977</link> <dc:creator>Grant</dc:creator> <pubDate>Tue, 05 Jul 2011 09:33:49 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-7977</guid> <description>Thanks for the help/article!</description> <content:encoded><![CDATA[<p>Thanks for the help/article!</p> ]]></content:encoded> </item> <item><title>By: ipwa</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-7927</link> <dc:creator>ipwa</dc:creator> <pubDate>Thu, 07 Apr 2011 02:37:09 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-7927</guid> <description>Examples didn&#039;t come through: (add php start and end tags)drupal_add_js (&#039;$(document).ready(function(){$(&quot;p.jtest&quot;).fadeIn(6000);}); &#039;,&#039;inline&#039;);drupal_add_js(drupal_get_path(&#039;theme&#039;, &#039;MYTHEME&#039;).&#039;/js/loopedslider.min.js&#039;, &#039;theme&#039;, &#039;header&#039;);</description> <content:encoded><![CDATA[<p>Examples didn&#8217;t come through: (add php start and end tags)</p><p> drupal_add_js (&#8216;$(document).ready(function(){$(&#8220;p.jtest&#8221;).fadeIn(6000);}); &#8216;,&#8217;inline&#8217;);</p><p>drupal_add_js(drupal_get_path(&#8216;theme&#8217;, &#8216;MYTHEME&#8217;).&#8217;/js/loopedslider.min.js&#8217;, &#8216;theme&#8217;, &#8216;header&#8217;);</p> ]]></content:encoded> </item> <item><title>By: ipwa</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-7926</link> <dc:creator>ipwa</dc:creator> <pubDate>Thu, 07 Apr 2011 02:25:02 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-7926</guid> <description>Use drupal_add_js: http://api.drupal.org/api/function/drupal_add_js/6Example:Using PHP input filter is dangerous, all executable code should be kept in code and not in database. Use drupal_add_js in your theme or custom module.</description> <content:encoded><![CDATA[<p>Use drupal_add_js: <a href="http://api.drupal.org/api/function/drupal_add_js/6" rel="nofollow">http://api.drupal.org/api/function/drupal_add_js/6</a></p><p>Example:</p><p>Using PHP input filter is dangerous, all executable code should be kept in code and not in database. Use drupal_add_js in your theme or custom module.</p> ]]></content:encoded> </item> <item><title>By: Dixie</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-7086</link> <dc:creator>Dixie</dc:creator> <pubDate>Fri, 17 Dec 2010 18:28:16 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-7086</guid> <description>Glad you found it helpful, bio. :)</description> <content:encoded><![CDATA[<p>Glad you found it helpful, bio. <img src='http://gkh.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: bio</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-7085</link> <dc:creator>bio</dc:creator> <pubDate>Fri, 17 Dec 2010 18:15:55 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-7085</guid> <description>thanx alot Dixie ..u r such a genius....:D it is realy useful..</description> <content:encoded><![CDATA[<p>thanx alot Dixie ..u r such a genius&#8230;.:D<br /> it is realy useful..</p> ]]></content:encoded> </item> <item><title>By: Dixie</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-5111</link> <dc:creator>Dixie</dc:creator> <pubDate>Thu, 21 Oct 2010 15:58:39 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-5111</guid> <description>Sorry, Bharath. This article above you represents the sum total of my knowledge about executing Javascript in a Drupal node. I am a hack, not a coder. Can troubleshoot my own stuff as required, but I&#039;m afraid am not the best person to ask here.</description> <content:encoded><![CDATA[<p>Sorry, Bharath. This article above you represents the sum total of my knowledge about executing Javascript in a Drupal node. I am a hack, not a coder. Can troubleshoot my own stuff as required, but I&#8217;m afraid am not the best person to ask here.</p> ]]></content:encoded> </item> <item><title>By: Bharath</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-5110</link> <dc:creator>Bharath</dc:creator> <pubDate>Thu, 21 Oct 2010 07:29:08 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-5110</guid> <description>hell Dixie, Thank you  for replay Dixie.I executed the .js file just now.First i tryed by giving relaive paths but it  not excuted.When i give complete path as &quot;drupal/sites/default/files/image.jpeg&quot; like this i have given complete path.can you do One More Help Please  Dixie.i have tried number of times to execute the &quot;Jquery&quot; files,but i failed . &quot;drupal/sites/default/js&quot; in ja folder i kept fallowing 3 files (1)jquery-1.4.2.min (2)jquery.panelgallery-1_2 , and html file (3)slide.html files.in html file i given src of jquer files path asIn Drupal node using include() function  i called html file. But no effect .Please can u help me here by telling the procedure How can we execute the jquery files in drupal. Thank you Dixie.From: Bharath</description> <content:encoded><![CDATA[<p>hell Dixie,<br /> Thank you  for replay Dixie.I executed the .js file just now.First i tryed by giving relaive paths but it  not excuted.When i give complete path as &#8220;drupal/sites/default/files/image.jpeg&#8221; like this i have given complete path.</p><p>can you do One More Help Please  Dixie.i have tried number of times to execute the &#8220;Jquery&#8221; files,but i failed .<br /> &#8220;drupal/sites/default/js&#8221; in ja folder i kept fallowing 3 files (1)jquery-1.4.2.min (2)jquery.panelgallery-1_2 , and html file (3)slide.html files.</p><p>in html file i given src of jquer files path as</p><p> In Drupal node using include() function  i called html file.<br /> But no effect .Please can u help me here by telling the procedure<br /> How can we execute the jquery files in drupal.</p><p> Thank you Dixie.</p><p>From:<br /> Bharath</p> ]]></content:encoded> </item> <item><title>By: Dixie</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-5103</link> <dc:creator>Dixie</dc:creator> <pubDate>Sat, 16 Oct 2010 20:50:30 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-5103</guid> <description>Would lay money it&#039;s the image path. Refer to the code in your script to see where it&#039;s looking for them, and check the source code on the borked images to see where the script is trying to pull them from. This is most likely a minor issue that should be easy to find via backtracking.</description> <content:encoded><![CDATA[<p>Would lay money it&#8217;s the image path. Refer to the code in your script to see where it&#8217;s looking for them, and check the source code on the borked images to see where the script is trying to pull them from. This is most likely a minor issue that should be easy to find via backtracking.</p> ]]></content:encoded> </item> <item><title>By: bharath</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-5102</link> <dc:creator>bharath</dc:creator> <pubDate>Sat, 16 Oct 2010 19:06:50 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-5102</guid> <description>hello Dixie, first &quot;great thank to you&quot; from last 2-3 days i am digging google,and number of forums to know how can we add external javascript files in drupal. Now i got solution from ur article.Now let&#039;s come to my problem.i want to display the javascript slide show (i have taken the code from www. dynamicdrive.com)the code kept in file named as &quot;slideshow.js&quot; which is kept in  &quot;sites/default/js/slideshow.js&quot; required images also stored in that folder.images are not displaying but alternate text is displaying.can you help me please? what is wrong? is the images path or what else ?From: Bharath</description> <content:encoded><![CDATA[<p>hello Dixie,<br /> first &#8220;great thank to you&#8221; from last 2-3 days i am digging google,and number of forums to know how can we add external javascript files in drupal. Now i got solution from ur article.</p><p>Now let&#8217;s come to my problem.i want to display the javascript slide show (i have taken the code from www. dynamicdrive.com)the code kept in file named as &#8220;slideshow.js&#8221; which is kept in  &#8220;sites/default/js/slideshow.js&#8221; required images also stored in that folder.</p><p> images are not displaying but alternate text is displaying.</p><p>can you help me please? what is wrong? is the images path or what else ?</p><p>From:<br /> Bharath</p> ]]></content:encoded> </item> <item><title>By: Dixie</title><link>http://goodkarmahost.com/topics/tech-help/adding-inline-javascript-to-a-single-drupal-node/comment-page-1/#comment-4033</link> <dc:creator>Dixie</dc:creator> <pubDate>Mon, 12 Apr 2010 15:45:25 +0000</pubDate> <guid isPermaLink="false">http://goodkarmahost.com/?p=1865#comment-4033</guid> <description>Laughing @ Jeff.I had need for a single signon between a CMS and vBulletin, so I used vbdrupal (http://vbdrupal.org/), a forked version which has now fallen behind the main version.  I recently detached the Drupal and forums, but with the modules I was using, it would have been a major undertaking to upgrade. So I&#039;m limping along on with an older install and will be moving my further development efforts on the site to the vBulletin CMS.</description> <content:encoded><![CDATA[<p>Laughing @ Jeff.</p><p>I had need for a single signon between a CMS and vBulletin, so I used vbdrupal (<a href="http://vbdrupal.org/" rel="nofollow">http://vbdrupal.org/</a>), a forked version which has now fallen behind the main version.  I recently detached the Drupal and forums, but with the modules I was using, it would have been a major undertaking to upgrade. So I&#8217;m limping along on with an older install and will be moving my further development efforts on the site to the vBulletin CMS.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 10/30 queries in 0.022 seconds using disk: basic
Object Caching 460/494 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: gkh.s3.amazonaws.com

Served from: goodkarmahost.com @ 2012-02-10 03:28:15 -->
