<?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; Adobe</title>
	<atom:link href="http://blog.assortedgarbage.com/category/adobe/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>Making Awesomeness*</title>
		<link>http://blog.assortedgarbage.com/2012/04/making-awesomeness/</link>
		<comments>http://blog.assortedgarbage.com/2012/04/making-awesomeness/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 21:42:50 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Assorted Garbage]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=812</guid>
		<description><![CDATA[15 years. Yep, that&#8217;s a long time. In fact, it&#8217;s so long that it&#8217;s hard to remember &#8220;not&#8221; working for Adobe. But as of May 4th, I will be leaving the &#8220;big red A&#8221; to set off on a new adventure. I&#8217;ve accepted an offer to join Stremor, a start-up here in Phoenix as their VP [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>15 years. Yep, that&#8217;s a long time. In fact, it&#8217;s so long that it&#8217;s hard to remember &#8220;not&#8221; working for <a href="http://adobe.com">Adobe</a>. But as of May 4th, I will be leaving the &#8220;big red A&#8221; to set off on a new adventure. I&#8217;ve accepted an offer to join <a href="http://www.stremor.com">Stremor</a>, a start-up here in Phoenix as their VP of User Experience Engineering. In addition to making coffee, putting Ikea furniture together, and other typical start-up jobs, I will be putting my HTML5/CSS3/JS chops on the line building a real product! Sadly, I can&#8217;t tell you &#8220;<a title="What it is" href="http://www.stremor.com/whatitis.html">what&#8221; it is</a> yet – that&#8217;s all still hush, hush – but I can tell you that it&#8217;s so amazing, we&#8217;ve already got patents pending! Oh, and we&#8217;re also <a title="Jobs at Stremor" href="http://www.stremor.com/whoweneed.html">looking for great developers</a>!</p>
<p>As I began debating whether to make the move, I got pretty sentimental about the last 15 years – so much so, that I almost chose not to go. Thanks to GoLive/Macromedia/Adobe, I&#8217;ve gotten to help build tools that literally have changed the (web) world. I&#8217;ve also had the good fortune to travel around the world more times than I can count and accumulated frequent flyer miles and hotel points that will take years to use up. And along the way, I also got to meet and work with some truly amazing people, including my incredible wife, <a title="Stef's Twitter feed" href="http://twitter.com/stefsull">Stephanie Rewis</a>. <span id="more-812"></span>I want to thank you all – my colleagues, friends, travel buddies, conference attendees, et. al. – for so many great memories. Chili crab in Singapore, tuk-tuk rides in Dehli, climbing the Sydney Harbor Bridge, dinner at <a title="My favorite restaurant in the whole world!" href="http://www.recreationafrica.co.za/carnivore">Carnivores</a> in Johannesburg, standing naked in a hotel hallway in Seoul (don&#8217;t ask), horizontal rain/ice in Helsinki in February(buuurrrr!), far too many beers at the Oktoberfest, sitting in the MacWorld green room with Steve Jobs, getting to fly with Paul McCartney – and so many, many more!</p>
<p>It&#8217;s been an amazing ride and I would be lying if I said that I won&#8217;t miss parts of it (expense reports excluded). I hope to still be asked to speak at conferences (hint, hint), and I will definitely be writing here and <a href="http://twitter.com/garazi">twittering there</a> – it&#8217;ll just be less <a href="http://adobe.com/products/dreamweaver">Dreamweaver</a> and Adobe stuff, and more HTML5/CSS3/JS – and you&#8217;re all still invited to come hang out on <a title="8 days, 7 nights of Caribbean Sun and Sand" href="http://geeks4sail.com/">Geeks4Sail</a>. But, I&#8217;m also excitedly looking forward to the new challenges that come with change – and even better, I get to carpool to work with Stef (our offices are literally one mile apart)!</p>
<p>So, to my soon-to-be former colleagues at Adobe, I wish you all the best! Keep making great products! And to the rest of my readers, I&#8217;m not leaving <em>you</em>, so&#8230; um&#8230; carry on with what you were doing!</p>
<p>*Hat-tip to <a href="https://twitter.com/jenseninman">Leslie Jensen-Inman</a> for the title of this post</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2012/04/making-awesomeness/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Using Dreamweaver with Sass and Less</title>
		<link>http://blog.assortedgarbage.com/2012/03/using-dreamweaver-with-sass-and-less/</link>
		<comments>http://blog.assortedgarbage.com/2012/03/using-dreamweaver-with-sass-and-less/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 15:00:38 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=802</guid>
		<description><![CDATA[When my wife, Stephanie Rewis, decided to leave the gun-for-hire world and join a start-up, she was immediately faced with a decision on which CSS preprocessor to use – Sass or Less. And compounding the problem, her editor of choice, Dreamweaver, doesn&#8217;t provide color coding or hinting for either preprocessor – even though their files [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When my wife, <a href="http://twitter.com/stefsull">Stephanie Rewis</a>, decided to leave the gun-for-hire world and <a href="http://blog.w3conversions.com/2012/03/new-directions/">join a start-up</a>, she was immediately faced with a decision on which CSS preprocessor to use – <a href="http://sass-lang.com">Sass</a> or <a href="http://lesscss.org/">Less</a>. And compounding the problem, her editor of choice, <a href="http://www.adobe.com/products/dreamweaver.html">Dreamweaver</a>, doesn&#8217;t provide color coding or hinting for either preprocessor – even though their files are really just CSS. So, being the good husband (and evangelist for Dreamweaver) that I am, I set out to remedy the problem. If you&#8217;re wanting to use Sass or Less with Dreamweaver, here&#8217;s how to make it work.</p>
<p>As always, here&#8217;s the disclaimer – you&#8217;re going to be editing files in Dreamweaver&#8217;s Configuration folder, so proceed with caution, make a backup of the originals, etc.</p>
<p>The first thing that we need to do is to tell Dreamweaver that it&#8217;s okay to open a .scss or .less file – something that Dreamweaver by default doesn&#8217;t understand. You&#8217;ll first need to take a peak in your personal Dreamweaver configuration folder – on a Mac, that&#8217;s located in <span id="more-802"></span>~username/Library/Application Support/Adobe/Dreamweaver CS5.5/en_us/Configuration – and locate a file named &#8220;Extensions.txt&#8221;. If, for some reason, this file doesn&#8217;t exist, you can edit the master file located in Adobe Dreamweaver CS5.5/Configuration. Open the file and add SCSS (or SASS if you&#8217;re using the older syntax) and LESS to line 8, so that it reads: CSS,SCSS,LESS:Style Sheets. Save the file and restart Dreamweaver. You should now be able to click on a .scss or .less file in your Site panel and have it open in Dreamweaver.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2012/03/dw3.jpg" rel="lightbox[802]"><img class="alignnone size-medium wp-image-806" title="Adding Color Coding for Sass and Less" alt="" src="http://blog.assortedgarbage.com/wp-content/2012/03/dw3-300x151.jpg" width="300" height="151" /></a></p>
<p>Now, in order for Dreamweaver to understand that this, in fact, is a CSS file, you&#8217;ll need to edit MMDocumentTypes.xml located in the DocumentTypes folder in the Configuration folder. Open this file and scroll down to line 142. You&#8217;ll notice two properties on that line: winfileextension=&#8221;css&#8221; macfileextension=&#8221;css&#8221;. Add scss and less (comma seperated) to the appropriate property for your platform. Save the file and restart Dreamweaver. Open your .scss or .less file and you should see your familiar CSS code coloring and hinting!</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2012/03/scss.jpg" rel="lightbox[802]"><img class="alignnone size-medium wp-image-803" title="Sass in Dreamweaver" alt="" src="http://blog.assortedgarbage.com/wp-content/2012/03/scss-300x229.jpg" width="300" height="229" /></a></p>
<p>If you&#8217;re serious about your Sass and/or Less, you should be using <a href="http://incident57.com/codekit/">CodeKit</a>, IMHO. CodeKit, in addition to other things, monitors your scss (or less) file for changes and then compiles it into CSS. I&#8217;m using CodeKit and Sass on every project – and loving it! To optimize my workflow, I actually link to the .scss file in my HTML (just remember to remove it before pushing the page live). That way, I can use Dreamweaver&#8217;s split view to edit the .scss file while looking at the page with Live View turned on. When I save the .scss file, CodeKit compiles the file into a CSS file that is also linked in my page. Sadly, Dreamweaver doesn&#8217;t know when the CSS file is changed, but simply hitting F5 (or the refresh button at the top of the document window) causes Dreamweaver&#8217;s Live View to refresh and I can see my changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2012/03/using-dreamweaver-with-sass-and-less/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>New Dreamweaver Feature: W3C Validator Integration</title>
		<link>http://blog.assortedgarbage.com/2011/06/new-dreamweaver-feature-w3c-validator-integration/</link>
		<comments>http://blog.assortedgarbage.com/2011/06/new-dreamweaver-feature-w3c-validator-integration/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 23:30:15 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=722</guid>
		<description><![CDATA[I will be the first to admit that I rarely think about validating my pages while I work. Okay, sometimes I don&#8217;t validate at all. I know I should, but I can usually come up with a good excuse for not doing it – an elephant ate my homework still works on occasion. ;-) And [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I will be the first to admit that I rarely think about validating my pages while I work. Okay, sometimes I don&#8217;t validate at all. I know I should, but I can usually come up with a good excuse for not doing it – an elephant ate my homework still works on occasion. ;-) And as a Dreamweaver user, validating against the <a title="W3C Validator" href="http://validator.w3.org">W3C validator</a> was always that &#8220;extra step&#8221; that I didn&#8217;t feel like taking. But with <a title="Dreamweaver CS5.5" href="http://adobe.com/dreamweaver">Dreamweaver CS5.5</a>, there really is no excuse anymore – it&#8217;s now built directly into the app!</p>
<div class="pic"><a rel="lightbox" href="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-01.jpg"><img class="alignnone size-medium wp-image-726" title="W3C Validator" src="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-01-300x140.jpg" alt="" width="300" height="140" /></a></div>
<p>When you&#8217;re ready to validate your page, simply click the W3C Validator button and choose whether you want the local page on your computer validated or a page on a server.</p>
<p><span id="more-722"></span></p>
<div class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-02.jpg" rel="lightbox[722]"><img class="alignnone size-medium wp-image-727" title="Errors and Warnings List" src="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-02-300x38.jpg" alt="" width="300" height="38" /></a></div>
<p>If you have any errors, they will appear in the W3C Validation panel. Simply double click each error to be taken directly to the culprit in Code View. You can also choose to save the report if you&#8217;re into that sort of thing.</p>
<p>But very often during development, the list of errors can be quite extensive – and even irrelevant. For example, I don&#8217;t bother to put alt text (or even an empty alt attribute) on placeholder images that aren&#8217;t actually going to be used in the final page. For that reason, Dreamweaver also allows you to suppress errors from a report. Right click on the desired error and choose Hide Error to add it to your list of suppressed errors.</p>
<div class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-03.jpg" rel="lightbox[722]"><img class="alignnone size-medium wp-image-728" title="Manage Hidden Errors and Warnings" src="http://blog.assortedgarbage.com/wp-content/2011/06/w3c-03-300x239.jpg" alt="" width="300" height="239" /></a></div>
<p>Of course, you&#8217;ll want to make sure you&#8217;ve actually fixed those errors before going live. Therefore, Dreamweaver CS5.5 allows you to remove errors from the list of Hidden Errors by choosing Settings from the W3C Validator button and clicking the Manage button.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2011/06/new-dreamweaver-feature-w3c-validator-integration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Best Tip Ever: Using Online CSS3 Tools In Dreamweaver</title>
		<link>http://blog.assortedgarbage.com/2011/05/using-online-css3-tools-in-dw/</link>
		<comments>http://blog.assortedgarbage.com/2011/05/using-online-css3-tools-in-dw/#comments</comments>
		<pubDate>Fri, 27 May 2011 10:25:50 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=699</guid>
		<description><![CDATA[One of the coolest things about the development of CSS3 is all of the experimental sites and online tools being created to help us all learn the new syntax, properties, etc. There are literally tons of great ones like css3maker.com, John Allsopp&#8217;s  westciv tools, border-image.com, css3generator.com and many more. In fact, even Microsoft has gotten in [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>One of the coolest things about the development of CSS3 is all of the experimental sites and online tools being created to help us all learn the new syntax, properties, etc. There are literally tons of great ones like <a href="http://www.css3maker.com/">css3maker.com</a>, John Allsopp&#8217;s  <a href="http://www.westciv.com/tools/">westciv tools</a>, <a title="Border Image Maker" href="http://border-image.com/">border-image.com</a>, <a href="http://www.css3generator.com/">css3generator.com</a> and many more. In fact, even Microsoft has gotten in the game with their <a title="Follow the Progress of the Internet Explorer Platform" href="http://ie.microsoft.com/testdrive">test drive site</a> for IE 9 (and Preview Release of IE 10). But even with the great enhancements to <a title="Dreamweaver Feature Page" href="http://www.adobe.com/products/dreamweaver.html">Dreamweaver CS5.5</a>, using these tools still requires bouncing out to the browser, using the online tool and then copy/pasting the generated code back into your CSS in Dreamweaver – or does it?</p>
<p>Actually, one of the best features of Dreamweaver, Live View, can be used in a way that you might not have thought of. We know that Live View allows us to see the page, rendered by the embedded Webkit engine, exactly as it would appear in Webkit-based browsers. But there is also an interesting text field that becomes active in Live View at the top of the document window – an address field – just like in a browser!</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/liveview-blank.jpg" rel="lightbox[699]"><img class="alignnone size-medium wp-image-703" title="Address Input Field" src="http://blog.assortedgarbage.com/wp-content/2011/05/liveview-blank-300x69.jpg" alt="The address field in Live View" width="300" height="69" /></a></p>
<p>And yes, you can type any URL into the field. Dreamweaver, just like the browser, will load the page in Live View. If you are in Split View mode, you might notice that the actual HTML from the page you are viewing is not there because Dreamweaver is still showing the code of your original page.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/LiveCode.jpg" rel="lightbox[699]"><img class="alignnone size-medium wp-image-714" title="Live Code" src="http://blog.assortedgarbage.com/wp-content/2011/05/LiveCode-300x282.jpg" alt="Live Code displaying the generated source" width="300" height="282" /></a></p>
<p>But click the Live Code button, and Dreamweaver will display the generated source of the page you are looking at — complete with all the corresponding CSS and Javascript files appearing in the related files bar. It&#8217;s a great way to learn from what others are doing.</p>
<p>To get the most out of this feature, I have simply created a &#8220;tools page&#8221; with links to all of my favorite online tools. In order to interact with your local tools page, you will need to choose &#8220;Follow Link&#8221; or, even better, &#8220;Follow Links Continuously&#8221; from the Live View Options menu.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/followlinks.jpg" rel="lightbox[699]"><img class="alignnone size-medium wp-image-704" title="Follow Links" src="http://blog.assortedgarbage.com/wp-content/2011/05/followlinks-300x235.jpg" alt="The follow links continuously command " width="300" height="235" /></a></p>
<p>So now, when I start Dreamweaver, I immediately open this page, turn on Live View, enable the Follow Links Continuously option and then go about working on my projects. Any time that I need a gradient, transition or anything more complex that I don&#8217;t want to &#8220;think about&#8221; how to create, I switch to my &#8220;tools page&#8221; tab where all my online friends are ready to help. I can then easily copy their code into the stylesheet that I am working on.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/05/liveview.jpg" rel="lightbox[699]"><img class="alignnone size-medium wp-image-705" title="Colorzilla in Live View" src="http://blog.assortedgarbage.com/wp-content/2011/05/liveview-300x253.jpg" alt="Live View rendering Colorzilla's Gradient Maker" width="300" height="253" /></a></p>
<p>Let me know what you think about this – or if you have an even better &#8220;Best Tip Ever&#8221;!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2011/05/using-online-css3-tools-in-dw/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Resolving &#8220;Android SDK failed to install&#8221; with Dreamweaver CS5.5</title>
		<link>http://blog.assortedgarbage.com/2011/05/resolving-android-sdk-failed-to-install-with-dreamweaver-cs5-5/</link>
		<comments>http://blog.assortedgarbage.com/2011/05/resolving-android-sdk-failed-to-install-with-dreamweaver-cs5-5/#comments</comments>
		<pubDate>Sun, 22 May 2011 15:35:12 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=696</guid>
		<description><![CDATA[One of the biggest problems with linking to anything on the web is when the address of that file changes. Sadly, this happened recently with a file that was used by Dreamweaver CS5.5 to install the Android SDK via the Easy Install button on the Configure Application Framework dialog (Site &#62; Mobile Applications &#62; Configure [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>One of the biggest problems with linking to anything on the web is when the address of that file changes. Sadly, this happened recently with a file that was used by <a title="Dreamweaver Product page" href="http://adobe.com/products/dreamweaver/">Dreamweaver CS5.5</a> to install the Android SDK via the Easy Install button on the Configure Application Framework dialog (Site &gt; Mobile Applications &gt; Configure Application Framework).</p>
<p>The Dreamweaver team has released instructions which you can find here: <a title="How to fix the error &quot;Android SDK failed to install&quot;" href="http://kb2.adobe.com/cps/904/cpsid_90408.html">http://kb2.adobe.com/cps/904/cpsid_90408.htm</a>l</p>
<p>Basically, you&#8217;ll need to replace the NativeAppCommon.js file located at [Dreamweaver Install Location]/Configuration/NativeAppFramework/. The entire process takes less than a minute to complete.</p>
<p>If you have already installed the Android Framework, you don&#8217;t &#8220;have&#8221; to do this, however you might want to go ahead and grab the updated file just in case you ever want to reinstall the framework with Dreamweaver&#8217;s Easy Install.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2011/05/resolving-android-sdk-failed-to-install-with-dreamweaver-cs5-5/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<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>
		<item>
		<title>Dreamweaver CS5.5 — Wickedly Evolved!</title>
		<link>http://blog.assortedgarbage.com/2011/04/dreamweaver-wickedly-evolved/</link>
		<comments>http://blog.assortedgarbage.com/2011/04/dreamweaver-wickedly-evolved/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 04:01:23 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[CS5.5]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=656</guid>
		<description><![CDATA[Like the sun rising in the east, every time a new version of a product is rolled out, the marketing machine proclaims this to be the &#8220;best version ever&#8221;! Well, having had the luxury of being involved with Dreamweaver since the very beginning, I can honestly tell you that Dreamweaver CS5.5 is not just a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Like the sun rising in the east, every time a new version of a product is rolled out, the marketing machine proclaims this to be the &#8220;best version ever&#8221;! Well, having had the luxury of being involved with Dreamweaver since the very beginning, I can honestly tell you that <a href="http://adobe.com/dreamweaver/">Dreamweaver CS5.5</a> is not just a point release on top of CS5 — it truly is the <strong>best version ever</strong>! Along with addressing bugs (face it, every piece of software has bugs) the Dreamweaver team has taken on the challenge of keeping up with the evolving web industry, specifically around enhanced HTML5/CSS3 support, and the move toward multi-screen authoring, both from a &#8220;mobile optimized&#8221; approach using CSS3 media queries, as well as embracing the jQuery Mobile framework. Finally, the ability to wrap HTML/CSS/JS up into a native iOS and/or <a title="Android" href="http://www.android.com/">Android</a> application using the <a title="Phonegap" href="http://phonegap.com">Phonegap framework</a> is sure to be a &#8220;crowd pleaser&#8221;.</p>
<h3>HTML5 / CSS3</h3>
<p>For those that missed it, shortly after the release of Dreamweaver CS5, the team released an update on <a title="Adobe Labs" href="http://labs.adobe.com">Adobe Labs</a> which provided initial code-hinting support for <a title="HTML 5 Spec" href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> and CSS3. This was later baked into an update to the core product. With Dreamweaver CS5.5, the team has updated the code-hinting database to reflect the current state of the HTML5 elements, as well as updating the WebKit browser engine embedded into Dreamweaver&#8217;s Live View. This means that things like native HTML5 video can be &#8220;seen&#8221;, but also interacted with while you are designing your page.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/04/LiveView.jpg" rel="lightbox[656]"><img class="alignnone size-medium wp-image-665" title="Live View of Native Video" src="http://blog.assortedgarbage.com/wp-content/2011/04/LiveView-300x193.jpg" alt="Live View of Native Video" width="300" height="193" /></a></p>
<p>For the CSS3 aficionados, you might remember that the HTML5/CSS3 update last year added support for vendor-specific prefixes. This meant that you could type a dash, and Dreamweaver would codehint &#8220;-moz-&#8221;, &#8220;-o-&#8221; and &#8220;-webkit&#8221;-&#8221;. Choosing one of the vendor-specific prefixes would then in turn display a list the list of CSS properties that that specific prefix could be used with. Dreamweaver CS5.5 not only continues this functionality, a fourth vendor-specific prefix has been added, &#8220;-ms-&#8221;, because now Internet Explorer 9 has adopted its own prefix.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/04/mshint.jpg" rel="lightbox[656]"><img class="alignnone size-medium wp-image-666" title="Code Hinting Vendor Prefixes" src="http://blog.assortedgarbage.com/wp-content/2011/04/mshint-300x172.jpg" alt="Code Hinting Vendor Prefixes" width="300" height="172" /></a></p>
<p>Additionally, the CSS Panel has been updated with a couple of very nice enhancements. First, the dropdown list now includes all of the new CSS3 properties and any vendor-specific properties that you may have added to your rule show up in the assigned properties list for easy editing. Second, new fly-out dialogs have been added to allow you to quickly specify values for box shadow, text shadow and border radius. Finally, the color picker has been updated to support the RGBa and HSLa color spaces — and even translate between hexadecimal values and these new color spaces.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/04/csspanel.jpg" rel="lightbox[656]"><img class="alignnone size-medium wp-image-667" title="CSS Panel" src="http://blog.assortedgarbage.com/wp-content/2011/04/csspanel-268x300.jpg" alt="CSS3 Support in the CSS Panel" width="268" height="300" /></a></p>
<p>The Multiscreen Preview which was added with the HTML5 update, has also been improved and now eases the process of creating media queries and their attached stylesheet files. But taking the idea one step further, the Window Size manager (a long forgotten Dreamweaver feature) now includes the ability to change the Design View and Live View to reflect only the desired stylesheet. Yes, this means that you can continue to work, modifying HTML, CSS and Javascript, while looking at the way the page will actually look under various scenarios! If you are serious about targeting multiple screen sizes/dimensions with CSS, this feature will have you cheering!</p>
<h3>jQuery Mobile</h3>
<p>And if you are into targeting mobile devices, the <a title="jQuery Mobile Framework" href="http://jquerymobile.com">jQuery Mobile framework</a> helps ease the process of creating mobile-optimized pages that actually &#8220;feel&#8221; like a native application. As a proud sponsor of the jQuery Mobile project, the Dreamweaver team has been actively contributing back to the framework. And Dreamweaver is all the better for it, as Dreamweaver CS5.5 adds a jQuery Mobile widget section to the Insert Panel, allowing you to easily add UI widgets from the framework to your page — and getting started is just as easy with the new jQuery Mobile starter layout. Use the Window Size manager to set your Design/Live View to the size of a mobile phone and it&#8217;s as if you are almost working on the phone itself.</p>
<p>And speaking of jQuery in general, Dreamweaver CS5.5 builds upon the enhanced Javascript code-hinting introduced in the previous version by providing intelligent code-hinting for the <a title="jQuery Framework - Do More. Write Less." href="http://jquery.com">full jQuery framework</a>.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/04/jquerymobile.jpg" rel="lightbox[656]"><img class="alignnone size-medium wp-image-668" title="jQuery Mobile Widgets" src="http://blog.assortedgarbage.com/wp-content/2011/04/jquerymobile-300x273.jpg" alt="Insert jQuery Mobile widgets directly into the page" width="300" height="273" /></a></p>
<h3>Phonegap</h3>
<p>Having spent the last six or so months attending conferences featuring talks about native application development with HTML/CSS/JS, I can personally attest to the popularity of the Phonegap framework. This simple, yet powerful, framework is there to solve one simple problem, the actual packaging of your HTML, CSS and Javascript into a native application for iOS and Android devices. And Dreamweaver CS5.5 includes built-in access to the framework — meaning, once you have your application looking and functioning like you want, a simple command in Dreamweaver can pass the entire &#8220;site&#8221; off to the Phonegap framework, packaging it up for deployment, or, if you&#8217;re in the middle of development, you can interact with your application using the iOS or Android simulators included in the respective platforms&#8217; SDK.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2011/04/phonegap2.jpg" rel="lightbox[656]"><img class="alignnone size-medium wp-image-669" title="Native Apps with the Phonegap framework" src="http://blog.assortedgarbage.com/wp-content/2011/04/phonegap2-300x198.jpg" alt="Native Apps with the Phonegap framework" width="300" height="198" /></a></p>
<h3>Read more, see more</h3>
<p>I have to admit that I&#8217;ve been looking forward to finally being able to show this wickedly evolved version of Dreamweaver off in public! And, that&#8217;s what I will be doing quite a lot over the coming months. Together with my good friends and colleagues, Terry White, Jason Levine and Paul Trani, I will be on tour around the world throughout the rest of April, May and June. You can see dates in the right hand column of this blog — or, read more about the tour and get registered on our <a title="Creative Suite 5.5 Live on tour" href="http://www.cs5evolutiontour.com/">Creative Suite Evolution Tour page</a>. If you can&#8217;t make it to one of our tour stops, I&#8217;ve also recorded<a title="What's New in Dreamweaver CS5.5" href="http://tv.adobe.com/go/9283"> a series of videos</a> showing off all the shiny new features.</p>
<p>Of course, this release is not just about Dreamweaver — there&#8217;s new stuff for Flash developers, video and audio professionals, as well as some wickedly cool developments in the InDesign world. So, be sure to check out <a title="Terry's Tech Blog" href="http://terrywhite.com/techblog/archives/7490">Terry&#8217;s blog</a> to get up to speed on publishing from InDesign to tablets. Jason will be spreading <a title="Jason's Video and Audio Blog" href="http://boodahjoomusic.com/blog/?p=440&amp;preview=true">all of the new video and audio love</a> (any Audition fans out there on the Mac platform?), and Paul will be sharing all <a title="What's New in Flash" href="http://tv.adobe.com/go/9200">the new developments around Flash</a> and how this version is raising the bar on multi-screen development for applications and games.</p>
<p>As always, be sure to visit <a title="Dreamweaver's Home on the Web" href="http://adobe.com/products/dreamweaver/">Dreamweaver&#8217;s home on Adobe.com</a> for a complete list of features, as well as pricing and upgrade information.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2011/04/dreamweaver-wickedly-evolved/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>HTML5 Video &#8211; Another Take</title>
		<link>http://blog.assortedgarbage.com/2010/10/html5-video-another-take/</link>
		<comments>http://blog.assortedgarbage.com/2010/10/html5-video-another-take/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 16:00:56 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=534</guid>
		<description><![CDATA[As I&#8217;ve been getting more and more into HTML5 and thereby also native video, I&#8217;ve come to realize that it&#8217;s a lot easier said than done. Of course, we all know about the need for multiple encodings in order to provide for the variety of browsers that proliferate the market. But even after encoding H.264, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>As I&#8217;ve been getting more and more into <a title="HTML5 specification" href="http://www.w3.org/TR/2010/WD-html5-20100624/">HTML5</a> and thereby also <a title="Native Video specification" href="http://www.w3.org/TR/2010/WD-html5-20100624/video.html#video">native video</a>, I&#8217;ve come to realize that it&#8217;s a lot easier said than done. Of course, we all know about the need for multiple encodings in order to provide for the variety of browsers that proliferate the market. But even after encoding H.264, Ogg and WebM, we&#8217;re still left with the need to provide a fallback for our Internet Explorer 6, 7 and 8 users &#8211; which means using Flash.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/10/html5video.jpg" rel="lightbox[534]"><img class="alignnone size-medium wp-image-559" title="Native HTML5 Video" src="http://blog.assortedgarbage.com/wp-content/2010/10/html5video-300x267.jpg" alt="" width="300" height="267" /></a></p>
<p>There are several approaches to provide this fallback, but the &#8220;recommended&#8221; way to do this is as follows. We begin with the &lt;video&gt; element, and then a list of &lt;source&gt; elements providing the multiple encodings. Of course, you have to remember to list the MP4 file first, because iDevices are so damned arrogant that they won&#8217;t look further if they don&#8217;t see their desired format first. <span id="more-534"></span>Not that Firefox is much better — if you don&#8217;t provide an ogg-encoded video, Firefox won&#8217;t fall back to the Flash video. Which, of course means you must encode your video in two formats (at least for now, as we wait to see the impact/support for WebM). Finally, you need the &lt;object&gt; element for Flash which loads and plays the H.264 video in a SWF wrapper.</p>
<div class="code">
<pre>&lt;video  height="270" width="340" controls&gt;
&lt;source src="assets/video/odysseyAdv.mp4" type="video/mp4" /&gt;
&lt;source src="assets/video/odysseyAdv.ogg" type="video/ogg"/&gt;
&lt;object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="340" height="270"&gt;
  &lt;param name="movie" value="assets/video/videoPlayer.swf"&gt; &lt;!-- other parameters intentionally omitted --&gt;
&lt;/object&gt;
&lt;/video&gt;</pre>
</div>
<p>This got me to thinking&#8230; there&#8217;s got to be an easier way to deliver video to everyone &#8211; especially given that I don&#8217;t (currently) have any way to encode ogg or webm video from within <a title="Creative Suite 5" href="http://www.adobe.com/products/creativesuite/">Creative Suite 5</a>. Since we are already encoding video into H.264 for consumption in Flash, couldn&#8217;t we just stop there? With the penetration of Flash at over 96% on desktop computers, Flash is the predominent video delivery vehicle on the desktop web. On mobile, Flash is already available both in the browser, as well as via AIR, on Android devices and will soon be available on other smartphone platforms like RIM, Palm, Nokia &#8211; so delivering via Flash is viable. So it&#8217;s only the iDevices that seem to be a problem &#8211; but the solution is so simple it&#8217;s almost laughable that we haven&#8217;t thought of it before.</p>
<p>For years we have &#8220;sniffed&#8221; for the presence of the proper <a title="Flash Player's home on the web" href="http://www.adobe.com/products/flashplayer/">Flash Player</a> version on the desktop, and provided the opportunity to do an express install to update to the most current version. And for visitors without the Flash player, we&#8217;ve even provided alternate content such as the Flash Player badge and verbiage to suggest that the visitor install Flash. Hello, solution!</p>
<p>Instead of burying the Flash version of the video in the &lt;video&gt; element as a fallback for Internet Explorer 8 and below, we can provide Flash as the first option, and fall back to the native &lt;video&gt; element for iDevices.</p>
<div class="code">
<pre>&lt;object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="340" height="270"&gt;
&lt;param name="movie" value="assets/video/videoPlayer.swf"&gt; &lt;!-- other parameters intentionally omitted --&gt;
&lt;!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --&gt;
&lt;div&gt;
&lt;h4&gt;You must be on an iDevice, because you are seeing native HTML5 video — everyone else sees the video in the Flash Player!&lt;/h4&gt;
&lt;video  height="270" width="340" controls&gt;
&lt;source src="assets/video/odysseyAdv.mp4" type="video/mp4" /&gt;
&lt;source src="assets/video/odysseyAdv.ogg" type="video/ogg"/&gt;
&lt;/video&gt;
&lt;/div&gt;
&lt;/object&gt;</pre>
</div>
<p>You can see that I&#8217;ve simply put the &lt;video&gt; element in the place provided for alternate content. And, if you want, you can still provide all three video formats (mp4, ogg, webm) in case someone on Firefox has a Flash blocker turned on, for example. But if you only want to encode once as H.264, this solution is so simple, you&#8217;re probably kicking yourself as hard as I was when I &#8220;discovered&#8221; it.</p>
<p>Don&#8217;t believe me? Here&#8217;s <a title="An example of Flash falling back to native video" href="http://assortedgarbage.com/odyssey/">an example</a> that shows the native video with Flash fallback and there&#8217;s also a link to the <a title="An example of HTML5 video falling back to Flash" href="http://assortedgarbage.com/odyssey/index-alt.html">Flash with native video fallback</a>. And if you have any problems with these examples, definitely let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2010/10/html5-video-another-take/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>The Snippet Panel &#8211; Forgotten Dreamweaver Feature #321</title>
		<link>http://blog.assortedgarbage.com/2010/09/the-snippet-panel-forgotten-dreamweaver-feature-321/</link>
		<comments>http://blog.assortedgarbage.com/2010/09/the-snippet-panel-forgotten-dreamweaver-feature-321/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 13:00:11 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=372</guid>
		<description><![CDATA[While I&#8217;m really loving Dreamweaver CS5 and all of its new features, it&#8217;s funny that there are so many features that I&#8217;ve just taken for granted for too long. In fact, if you&#8217;re like me, you&#8217;ve even begun to forget features &#8211; only to &#8220;rediscover&#8221; them later! The Snippet panel is one such feature. At [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>While I&#8217;m really loving <a title="Dreamweaver Product Page" href="http://www.adobe.com/products/dreamweaver/">Dreamweaver CS5</a> and all of its new features, it&#8217;s funny that there are so many features that I&#8217;ve just taken for granted for too long. In fact, if you&#8217;re like me, you&#8217;ve even begun to forget features &#8211; only to &#8220;rediscover&#8221; them later! The Snippet panel is one such feature.</p>
<p>At a recent conference, I had the chance to ask a former Dreamweaver user why he&#8217;d begun using Coda instead. One of the reasons he cited was Coda&#8217;s snippets feature (called Clips in Coda). I couldn&#8217;t help but laugh &#8211; and point out that Dreamweaver not only has a snippets panel, it&#8217;s been in the program for over 10 years!</p>
<p>Used properly, the Snippets panel becomes one of Dreamweaver&#8217;s most productivity-enhancing features. Let&#8217;s take a closer look&#8230;</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/snippets.jpg" rel="lightbox[372]"><img class="alignnone size-full wp-image-520" title="Snippets Panel" src="http://blog.assortedgarbage.com/wp-content/2010/09/snippets.jpg" alt="" width="119" height="143" /></a></p>
<p>Depending upon your current workspace layout, the Snippets panel may or may not be visible. The easiest way to access it (without clicking through the various panel groups) is simply to use the Window&gt;Snippets command. By default, Dreamweaver comes with 8 predefined folders of snippets, providing various pieces of functionality. But honestly, 7 of these are completely useless unless you are an absolute noob. The 1 folder that I actually have found a use for is the Javascript folder. There are actually some really useful snippets in there. <span id="more-372"></span>For example, I had a recent project that needed a random image displayed. Of course, that meant that I needed a random number to be generated to pick the lucky image from my array. I could have done this with PHP, but wanted to offload the task for client-side processing. And, guess what? There&#8217;s a random number script right there in the folder.</p>
<p>I do most of my Javascripting these days with <a title="jQuery - Write less. Do More." href="http://jquery.com">jQuery</a>. And, anyone who uses jQuery will tell you how quickly they tire of writing &#8220;$(document).ready(function () {&#8230;});&#8221; Of course, before you even get that far, you&#8217;ve got to write the &lt;script&gt; block. After about the 4313th time of writing it myself, I &#8220;remembered&#8221; the Snippets panel. Simply write out the desired code once and then highlight it in the Code View. In the Snippets panel, select the desired folder (or create a new folder) to save the new snippet into, then click the new Snippet button at the bottom of the panel.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/new-snippet.jpg" rel="lightbox[372]"><img class="alignnone size-medium wp-image-522" title="New Snippet Dialog" src="http://blog.assortedgarbage.com/wp-content/2010/09/new-snippet-300x216.jpg" alt="" width="300" height="216" /></a></p>
<p>The code which you highlighted is copied into the dialog automatically. All you need to do is give the new Snippet a name, and decide how you want the snippet applied. You have two choices, you can either wrap code around a selected element (in this case, you would need to write or copy/paste some additional code into the Insert After field), or chose the Insert Block option to simply insert the block of code in the current cursor location.</p>
<p>Now, the next time you need it, you can simply double click the snippet in the Snippet Panel &#8211; or, even better, use a keyboard shortcut!</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/keyboard.jpg" rel="lightbox[372]"><img class="alignnone size-full wp-image-524" title="Keyboard Shortcuts" src="http://blog.assortedgarbage.com/wp-content/2010/09/keyboard.jpg" alt="" width="103" height="109" /></a></p>
<p>Simply choose the Keyboard Shortcuts command from the Dreamweaver menu on the Mac or the Help menu on Windows (I believe &#8211; sorry, I&#8217;m a Mac guy). You&#8217;ll need to duplicate the standard keyboard shortcut set. Once you&#8217;ve done this, you can choose Snippets from the Commands drop-down menu.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/snippets-shortcut.jpg" rel="lightbox[372]"><img class="alignnone size-full wp-image-525" title="Snippets Shortcuts" src="http://blog.assortedgarbage.com/wp-content/2010/09/snippets-shortcut.jpg" alt="" width="172" height="112" /></a></p>
<p>Select your newly created snippet, and then simply press the keys that you want to use as the keyboard shortcut. If you accidentally chose a key combination that is already assigned to a command, you&#8217;ll be warned and have the option to either choose a new combination, or wipe out the shortcut on the other command and assign it to your new snippet.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/custom-shortcut.jpg" rel="lightbox[372]"><img class="alignnone size-full wp-image-526" title="Custom Shortcut" src="http://blog.assortedgarbage.com/wp-content/2010/09/custom-shortcut.jpg" alt="" width="273" height="269" /></a></p>
<p>Now, all I have to do is use the keyboard shortcut to insert my script block which also contains my initial jQuery code. The biggest challenge now, is simply remembering all of your new shortcuts! I hope this helps you become a bit more productive&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2010/09/the-snippet-panel-forgotten-dreamweaver-feature-321/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Dreamweaver Quick Tip: Optimizing Screen Real Estate</title>
		<link>http://blog.assortedgarbage.com/2010/09/dreamweaver-quick-tip-optimizing-screen-real-estate/</link>
		<comments>http://blog.assortedgarbage.com/2010/09/dreamweaver-quick-tip-optimizing-screen-real-estate/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 16:00:41 +0000</pubDate>
		<dc:creator><![CDATA[Greg]]></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Creative Suite]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[techniques]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://blog.assortedgarbage.com/?p=511</guid>
		<description><![CDATA[If you&#8217;re like me, your screen is never big enough. When I&#8217;m working in Dreamweaver, I want to see my code, my design (in Live View) and my CSS panel. The first time I fired up CS5, I created my own customized workspace which you can see below. Basically, it&#8217;s just my CSS panel that [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re like me, your screen is never big enough. When I&#8217;m working in <a title="Dreamweaver CS5" href="http://adobe.com/products/dreamweaver">Dreamweaver</a>, I want to see my code, my design (in Live View) and my CSS panel. The first time I fired up CS5, I created my own customized workspace which you can see below. Basically, it&#8217;s just my CSS panel that I have left open. The other couple of panels that I use on a regular basis (Files, Snippets and Insert) I&#8217;ve collapsed to their button state.</p>
<p class="pic"><a href="http://blog.assortedgarbage.com/wp-content/2010/09/workspace.jpg" rel="lightbox[511]"><img class="alignnone size-medium wp-image-514" title="My default workspace" src="http://blog.assortedgarbage.com/wp-content/2010/09/workspace-300x177.jpg" alt="my own custom workspace" rel="lightbox" width="300" height="177" /></a></p>
<p>I&#8217;ve been using this workspace so long now, that I tend to forget what the default DW workspace even looks like! The only issue that I&#8217;ve had is that I still find myself toggling the panels on/off using the F4 keyboard shortcut so that I can see more of the design.</p>
<p>Well, I just found out, that I can keep them toggled close &#8211; and still get to what I need quickly! <em>(Head slap here)</em> First, use F4 to toggle your panels off. Now, when you need them, simply move your mouse all the way to the edge of the screen that you&#8217;ve hidden the panels &#8211; and, viola, there they are! Click back in your page and they hide themselves again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.assortedgarbage.com/2010/09/dreamweaver-quick-tip-optimizing-screen-real-estate/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
