<?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>Assorted GARbage &#187; Javascript</title>
	<atom:link href="http://blog.assortedgarbage.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.assortedgarbage.com</link>
	<description>Thoughts, rants and musings about Adobe, the web, technology and 200+ days a year traveling as a software evangelist.</description>
	<lastBuildDate>Thu, 26 Sep 2013 01:17:15 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Updating jQuery and jQuery Mobile in Dreamweaver CS5.5</title>
		<link>http://blog.assortedgarbage.com/2011/05/updating-jquery-in-dreamweaver-cs5-5/</link>
		<comments>http://blog.assortedgarbage.com/2011/05/updating-jquery-in-dreamweaver-cs5-5/#comments</comments>
		<pubDate>Thu, 19 May 2011 17:30:19 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[jquery mobile]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=678</guid>
		<description><![CDATA[Holy Javascript Libraries, Batman! In case you&#8217;re keeping score, Adobe began shipping Dreamweaver CS5.5 less than two weeks ago with support for jQuery and jQuery Mobile. But, the versions included in Dreamweaver, jQuery 1.5 and jQuery Mobile 1.0a3, are already out of date! Because before you could even get your copy installed, the jQuery team [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Holy Javascript Libraries, Batman! In case you&#8217;re keeping score, Adobe began shipping <a title="Dreamweaver Product Page" href="http://www.adobe.com/dreamweaver/">Dreamweaver CS5.5</a> less than two weeks ago with support for <a title="jQuery Framework" href="http://jquery.com">jQuery</a> and <a title="jQuery Mobile Framework" href="http://jquerymobile.com">jQuery Mobile</a>. But, the versions included in Dreamweaver, jQuery 1.5 and jQuery Mobile 1.0a3, are already out of date! Because before you could even get your copy installed, the jQuery team released a significant upgrade to the core jQuery library – version 1.6. Along the way, the jQuery Mobile framework has also been updated to version 1.0a4, which includes several important bug fixes. So, if you are a Dreamweaver user and you want to develop jQuery Mobile sites and applications with these updated versions of the libraries, what are you supposed to do? Update your libraries, of course&#8230; here&#8217;s how&#8230;<span id="more-678"></span></p>
<p>Before proceeding, you&#8217;ll obviously want to go grab the updated libraries themselves. For the core jQuery library, I suggest using<a title="jQuery 1.6 minified" href="http://code.jquery.com/jquery-1.6.min.js"> the minified version</a>. Because images are also part of jQuery Mobile, I recommend grabbing the <a title="jQuery Mobile Framework version 1.0a4" href="http://jquerymobile.com/blog/2011/04/07/jquery-alpha-4-1-maintenance-release/#download">zipped version of the framework</a>. After you download and unzip the folder, you&#8217;ll find a full version of the css and js files. I recommend using the minified versions, so go ahead and delete the full versions of the files (ie, they don&#8217;t have &#8220;.min&#8221; in their names).</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/jquerymobile16.jpg" rel="lightbox[678]"><img class="alignnone size-full wp-image-685" title="jQuery Mobile 1.0a4" src="http://blog.assortedgarbage.com/wp-content/2011/05/jquerymobile16.jpg" alt="" width="300" height="242" /></a></p>
<p>Arguably one of the most powerful features of Dreamweaver is its extensibility. In fact, the application itself is built around the very technologies that it itself writes, namely HTML, CSS and Javascript. All of these pieces are located in the Configuration folder that you can find where Dreamweaver is installed on your computer. For me, since I&#8217;m a Mac user, it&#8217;s at Applications&gt;Adobe Dreamweaver CS5.5&gt;Configuration. There are tons of other folders in the Configuration folder, but the one that holds the files that we are interested in is the Third Party Source Code folder.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/DW-Configuration.jpg" rel="lightbox[678]"><img class="alignnone size-medium wp-image-686" title="DW Configuration Folder" src="http://blog.assortedgarbage.com/wp-content/2011/05/DW-Configuration-300x252.jpg" alt="" width="300" height="252" /></a></p>
<p>Inside this folder, you&#8217;ll find the jquery-mobile folder. If you want to backup the folder, feel free. None of the sites that you have worked on previously are reliant on these files, as Dreamweaver makes a local copy in each site you create (if you are not using the CDN versions of the Mobile Starter Pages &#8211; which we will talk about later). Replace the two jquery-mobile files (css and js) with your newly downloaded files. Replace the entire images folder as well. Finally, replace the jquery-1.5.min.js file with your jquery-1.6.1.min.js file (or whatever you named it).</p>
<p>One last step and your update is complete. When you choose to create a new file from the New Document dialog, Dreamweaver makes a copy of the selected file from the Configuration folder and places it in your site file. The Mobile Starter layouts (New Document &gt; Page from Sample &gt; Mobile Starters) are located in Configuration &gt; BuiltIn &gt; Mobile Starters. There are 3 pages &#8211; two of which reference the files that you have now deleted, jQueryMobileLocalMultiPage.htm and jQueryMobilePhoneGapMultiPage.htm.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/starterlayout.jpg" rel="lightbox[678]"><img class="alignnone size-medium wp-image-687" title="Default Starter Layout" src="http://blog.assortedgarbage.com/wp-content/2011/05/starterlayout-300x239.jpg" alt="" width="300" height="239" /></a></p>
<p>Open each of these files in Dreamweaver. You&#8217;ll see in the head of the document links to the two old jQuery Javascript files and the old CSS file. Simply update these links to point to your new files and save the document. Test that everything worked properly by closing the file, then creating a new page from the Sample that you just changed. Make sure to save the file into a site to make sure that Dreamweaver copies the proper files into the site.</p>
<p>Finally, if you want to change the CDN version, it points to the jquery repository online, simply update jQueryMobileMultiPage.htm to point to the location of the CDN versions of the files.</p>
<p>Happy mobile coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2011/05/updating-jquery-in-dreamweaver-cs5-5/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>
