<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marion Dorsett&#039;s FigmentThinking.com &#187; JavaScript</title>
	<atom:link href="http://www.figmentthinking.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.figmentthinking.com</link>
	<description>Learn how to write better code. Simple techniques to produce faster results and save you time.</description>
	<lastBuildDate>Thu, 25 Mar 2010 19:04:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How To See Your Hidden Content In Dreamweaver</title>
		<link>http://www.figmentthinking.com/2010/03/25/how-to-see-your-hidden-content-in-dreamweaver/</link>
		<comments>http://www.figmentthinking.com/2010/03/25/how-to-see-your-hidden-content-in-dreamweaver/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 19:04:16 +0000</pubDate>
		<dc:creator>marion</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.figmentthinking.com/?p=292</guid>
		<description><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/css-icon.png" width="32" height="32" alt="" title="CSS" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/xhtml-icon.png" width="32" height="32" alt="" title="HTML" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/>Here&#8217;s a simple little trick to allow you to see your hidden content on your web pages from your WYSIWYG editor. Setup the file to use jQuery, and then add a little code snippet like this: 1 2 3 4 5 6 7 8 &#60;script type=&#34;text/javascript&#34;&#62; // &#60;![CDATA[ $&#40;'.displayNone'&#41;.each&#40;function&#40;e&#41; &#123; $&#40;this&#41;.attr&#40;'style', 'display:none;'&#41;; &#125;&#41;; // ]]&#62; [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/css-icon.png" width="32" height="32" alt="" title="CSS" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/xhtml-icon.png" width="32" height="32" alt="" title="HTML" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/><p>Here&#8217;s a simple little trick to allow you to see your hidden content on your web pages from your WYSIWYG editor.<br />
<span id="more-292"></span><br />
Setup the file to use jQuery, and then add a little code snippet like this:</p>

<div class="wp_codebox"><table><tr id="p2922"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p292code2"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #006600; font-style: italic;">// &lt;![CDATA[</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.displayNone'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'style'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'display:none;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// ]]&gt;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>This will then look for each element that has the class=&#8221;displayNone&#8221; and add the style attribute with `display:none` to it, accomplishing the task of hiding all the elements you want hidden on your page.  WYSIWYG editor like Dreamweaver won&#8217;t render the JavaScript and you can still see the content and edit the copy as needed quite easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figmentthinking.com/2010/03/25/how-to-see-your-hidden-content-in-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Include JavaScript Files with JavaScript</title>
		<link>http://www.figmentthinking.com/2010/01/14/including-javascript-files-with-javascript/</link>
		<comments>http://www.figmentthinking.com/2010/01/14/including-javascript-files-with-javascript/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:02:32 +0000</pubDate>
		<dc:creator>marion</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.figmentthinking.com/?p=275</guid>
		<description><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/>As always, I&#8217;m constantly looking for ways to speed up my coding, to keep files scalable and manageable. Here&#8217;s a tip that will let you `import` your external JavaScript files much like you would `import` your external CSS files (, but that&#8217;s different post.) No, we can&#8217;t literally import our JavaScript like CSS, but the [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/><p>As always, I&#8217;m constantly looking for ways to speed up my coding, to keep files scalable and manageable.  Here&#8217;s a tip that will let you `import` your external JavaScript files much like you would `import` your external CSS files (, but that&#8217;s different post.)</p>
<p>No, we can&#8217;t literally import our JavaScript like CSS, but the concept is the same.  We can link to one JavaScript file and have it include additional JavaScript files for us, and here&#8217;s how we do that.<br />
<span id="more-275"></span><br />
Create a file called `import.js`, and call the import.js file as your first &lt;script&gt; tag in the &lt;head&gt;.  Copy the code below and paste it inside of the import.js file.</p>

<div class="wp_codebox"><table><tr id="p2755"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code" id="p275code5"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> incScripts <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ft_validate.js'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'swfobject.js'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'jquery.js'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> allScripts <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>s<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> s<span style="color: #339933;">&lt;=</span><span style="color: #009900;">&#40;</span>allScripts.<span style="color: #660066;">length</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> s<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> scriptPath <span style="color: #339933;">=</span> allScripts<span style="color: #009900;">&#91;</span>s<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'src'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>scriptPath.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'import.js'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;=</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		scriptURI <span style="color: #339933;">=</span> scriptPath.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/import.js/gi</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i<span style="color: #339933;">&lt;=</span><span style="color: #009900;">&#40;</span>incScripts.<span style="color: #660066;">length</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;script type=&quot;text/javascript&quot; src=&quot;'</span> <span style="color: #339933;">+</span> scriptURI <span style="color: #339933;">+</span> incScripts<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&quot;&gt;&lt;/scr'</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'ipt&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
		<span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>On line 1 change the JavaScript file names to those you want to include in the web page using our new import.js file.  These files are assumed to be in the same folder as import.js.</p>
<p><strong>Note:</strong> <em>If you want to include a JavaScript file in another folder just make sure you add the missing path data with the file name relative to the location of the import.js file.  So if you need to include a file in the folder above your incScripts may have a value like this:</em></p>

<div class="wp_codebox"><table><tr id="p2756"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p275code6"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> incScripts <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'../ft_validate.js'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'swfobject.js'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'jquery.js'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>I tested this in MSIE, Firefox, Chrome &#038; Safari (all windows), and didn&#8217;t have any problems w/ any of the browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figmentthinking.com/2010/01/14/including-javascript-files-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Walter Zorn&#8217;s ToolTip with a JQuery Twist</title>
		<link>http://www.figmentthinking.com/2009/12/08/walter-zorns-tooltip-with-a-jquery-twist/</link>
		<comments>http://www.figmentthinking.com/2009/12/08/walter-zorns-tooltip-with-a-jquery-twist/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 13:33:30 +0000</pubDate>
		<dc:creator>marion</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.figmentthinking.com/?p=248</guid>
		<description><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/>If you&#8217;ve ever done a search on Google for &#8220;javascript tooltip&#8220;, you&#8217;ve probably come across Walter Zorn&#8217;s DHTML JavaScript Tooltips.  As I write this Walter&#8217;s web site comes up as the first result out of 1,490,000.  I don&#8217;t know Walter, and I doubt I&#8217;ll ever have the chance to actually meet him, but if you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/><p>If you&#8217;ve ever done a search on Google for &#8220;<a href="http://www.google.com/search?q=javascript+tooltip" target="_blank">javascript tooltip</a>&#8220;, you&#8217;ve probably come across <a href="http://www.walterzorn.com/tooltip/tooltip_e.htm" target="_blank">Walter Zorn&#8217;s DHTML JavaScript Tooltips</a>.  As I write this Walter&#8217;s web site comes up as the first result out of 1,490,000.  I don&#8217;t know Walter, and I doubt I&#8217;ll ever have the chance to actually meet him, but if you&#8217;re looking for a JavaScript tooltip, his script is the one to use.</p>
<p>Now for those of you saying, &#8220;I want one that works with JQuery!&#8221;, hold your horses.  No, Walter&#8217;s script isn&#8217;t a nifty little JQuery plugin, but that&#8217;s the best part, it doesn&#8217;t have to be.  The WZ Tooltip script can be used with or with out JQuery, and it works the same and just as good under either circumstance.   I know you&#8217;re saying stop rambling and tell me how to use it with JQuery&#8230;.<br />
<span id="more-248"></span><br />
Setup both JQuery and wz_tooltip according to their instructions, they&#8217;re both really clear on how to set them up, and make sure you have the <a href="http://www.walterzorn.com/tooltip/extensions.htm" target="_blank">tip_balloon extension</a> to.   Save yourself some time, and confirm they&#8217;re both working properly, then take the following steps to marry JQuery with wz_tooltip.</p>
<p>Setup your tool tips as hidden &lt;div&gt;s, and give each one of them a unique ID.</p>
<p>&lt;div id=&#8221;tip1&#8243; style=&#8221;display: none;&#8221;&gt;This is my tool tip copy.&lt;/div&gt;</p>
<p>In your &lt;a&gt; tags that will trigger the tooltip, add the class attribute and the rel attribute:</p>
<p>class=&#8221;toolTip&#8221; rel=&#8221;tip1&#8243;</p>
<p>&#8230; the class attribute remains the same, but obviously, you&#8217;ll want to change the rel attribute to match the ID of the corresponding tooltip.</p>
<p>After you&#8217;ve added your tool</p>

<div class="wp_codebox"><table><tr id="p2488"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p248code8"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #006600; font-style: italic;">// &lt;![CDATA[</span>
$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #006600; font-style: italic;">// Add wz_tooltips automatically</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.toolTip&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
getTipById <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Look for rel attribute first &amp;lt;a&amp;gt; tags only</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>getTipById<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>getTipById <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'_'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// use id attribute if it's not found any other tag, but must be prefixed with _ and match tool tip text</span>
toolTipText <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#&quot;</span> <span style="color: #339933;">+</span> getTipById<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// get html from id</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>toolTipText<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> Tip<span style="color: #009900;">&#40;</span>toolTipText<span style="color: #339933;">,</span> BALLOON<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// show tool tip if copy was found</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// Untip Links automatically</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.toolTip&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseout</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> UnTip<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// ]]&gt;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>I know you&#8217;re thinking, &#8220;But I dont&#8217; want to use this on an &lt;a&gt; tag!&#8221;  Then don&#8217;t.  Add the toolTip class and add an ID to the tag you want to use this with, just add an &#8220;_&#8221; underscore to the beginning of the ID, and you&#8217;re all set.</p>
<p>Thanks for the great script Walter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.figmentthinking.com/2009/12/08/walter-zorns-tooltip-with-a-jquery-twist/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>JQuery JavaScript Library</title>
		<link>http://www.figmentthinking.com/2009/04/02/jquery-javascript-library/</link>
		<comments>http://www.figmentthinking.com/2009/04/02/jquery-javascript-library/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 04:11:27 +0000</pubDate>
		<dc:creator>marion</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.figmentthinking.com/?p=245</guid>
		<description><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/>Before I learned PHP, I used JavaScript a lot, and after learning PHP, I eased up on using JavaScript due to the amount of time it took for me to integrate the PHP output with the JavaScript.  As a result my web applications functioned, but without any flair.  Despite the dynamics added by PHP, they [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><br/><p>Before I learned PHP, I used JavaScript a lot, and after learning PHP, I eased up on using JavaScript due to the amount of time it took for me to integrate the PHP output with the JavaScript.  As a result my web applications functioned, but without any flair.  Despite the dynamics added by PHP, they were still very much `static` in appearance.  JQuery however, has revived my use of JavaScript, and has lived up to it&#8217;s promise of `Write Less, Do Nore`.<span id="more-245"></span></p>
<p>My friend and colleague <a title="Visit Andy Sowards.com" href="http://www.AndySowards.com?source=figmentthinking.com" target="_blank">Andy Sowards</a> came across the JQuery library and introduced me to it.  I&#8217;m now very much addicted to the genius behind the JQuery code libarary and I know use it on a daily basis.</p>
<p>The core JQuery code is adequate by itself, however, much like WordPress, JQuery&#8217;s real power lies is due to the plugins that are available for it.  If you need a JavaScript to perform a specific task for you, then chances are that someone has written a JQuery plugin for it, or it can be accomplished by using the core JQuery code itself.</p>
<p>Don&#8217;t take my word for it, take a look at JQuery for yourself, and see just how much more you can accomplish, and how much less you have to write to make it happen.</p>
<p><a href="http://jquery.com/" target="_blank">JQuery &#8211; Write Less, Do More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.figmentthinking.com/2009/04/02/jquery-javascript-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script.aculo.us and TinyMCE Incompatibility Solution</title>
		<link>http://www.figmentthinking.com/2007/06/21/scriptaclous-and-tinymce-incompatibility-solution/</link>
		<comments>http://www.figmentthinking.com/2007/06/21/scriptaclous-and-tinymce-incompatibility-solution/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 16:12:52 +0000</pubDate>
		<dc:creator>marion</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.figmentthinking.com/scriptaclous-and-tinymce-incompatibility-solution/</guid>
		<description><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/php-icon.png" width="32" height="32" alt="" title="PHP" /><br/>I found that when I tried to use Script.aculo.us and TinyMCE together, that I lost 1 functionality of one of the two scripts on Firefox. The solution I found was to place the Script.aculo.us &#60;script&#62; tags directly below the &#60;body&#62; tag. 1 2 3 4 5 6 7 ... &#60;script type=&#34;text/javascript&#34;&#62;&#60;!--mce:0--&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34;&#62;&#60;!--mce:1--&#62;&#60;/script&#62; &#160; &#60;script [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/javascript-icon.png" width="32" height="32" alt="" title="JavaScript" /><img src="http://www.figmentthinking.com/wp-content/uploads/2010/04/php-icon.png" width="32" height="32" alt="" title="PHP" /><br/><p>I found that when I tried to use Script.aculo.us and TinyMCE together, that I lost 1 functionality of one of the two scripts on Firefox.  The solution I found was <span id="more-39"></span>to place the Script.aculo.us &lt;script&gt; tags directly below the &lt;body&gt; tag.</p>
<div>

<div class="wp_codebox"><table><tr id="p3910"><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code" id="p39code10"><pre class="javascript" style="font-family:monospace;">...
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/prototype.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">2</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/scriptaculous.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">3</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
...</pre></td></tr></table></div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://www.figmentthinking.com/2007/06/21/scriptaclous-and-tinymce-incompatibility-solution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
