<?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>DWcourse: Adobe Dreamweaver Blog &#187; Tutorials</title>
	<atom:link href="http://www.dwcourse.com/dreamweaver/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dwcourse.com</link>
	<description>Tutorials, Tips &#38; Help Adobe Creative Suite CS3 through CS6</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using Google Fonts with Dreamweaver</title>
		<link>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php#comments</comments>
		<pubDate>Thu, 02 Feb 2012 18:53:42 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=2533</guid>
		<description><![CDATA[Since the dawn of the web, designers have been frustrated by the lack of font choices. There were work-arounds, such as using images rather than html text or font replacement scripts such as sIFR or Cufón for display fonts. But they weren’t very satisfactory. Today, a number of solutions exist including Google Fonts, Typekit (recently [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignright size-full wp-image-2544" title="google-fonts" src="http://www.dwcourse.com/wp-content/uploads/2012/02/google-fonts.jpg" alt="Google Fonts Logo" width="100" height="100" />Since the dawn of the web, designers have been frustrated by the lack of font choices. There were work-arounds, such as using images rather than html text or font replacement scripts such as sIFR or Cufón for display fonts. But they weren’t very satisfactory.</p>
<p>Today, a number of solutions exist including Google Fonts, Typekit (recently acquired by Adobe) and the CSS @font-face property.  In this article I’ll explain how you can use Google Fonts (which actually implements @font-face for you) in your Dreamweaver page.<span id="more-2533"></span></p>
<h2> Adding Google Fonts to Your Site</h2>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2535" title="Google Fonts Listings" src="http://www.dwcourse.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-02-at-12.10.30-PM-21.png" alt="Google Fonts Listings" width="600" height="375" /> <em>Figure 1: Google Fonts listings page</em></p>
<p>Visit the Google Font listings (fig. 1.) at <a href="http://www.google.com/webfonts#ChoosePlace:select">http://www.google.com/webfonts#ChoosePlace:select</a> and choose the font(s) you wish to use on your page. <em></em></p>
<p><em>For this example we will use the font Asap.</em></p>
<p>You can narrow you font search by using the search function or the various filters in the left sidebar.</p>
<p>Many of the fonts have multiple styles (bold, italic, etc) associated with them. You can show or hide the styles by toggling the <strong>See all styles/Hide all styles</strong> button to the right of the font listings.</p>
<p>When you find a font you want to use, select the Quick-use button. You will be taken to a new page verify your settings and copy the code needed to load the font into your page.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2536" title="Google Fonts verify and copy code" src="http://www.dwcourse.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-02-at-12.14.19-PM-2.png" alt="Google Fonts verify and copy code" width="600" height="375" /><em>Figure 2: Verify your setting and copy the code</em></p>
<ol>
<li><strong>Choose the styles you want:</strong> If there is more than one style (Asap has four) associated with your font, make sure only the styles you wish to use are selected. <em>For our font, Asap, we’ll choose Normal 400 and Bold 700.<br />
</em><strong>Note:</strong> As with any other resource (such as images), fonts take time to download so it’s best not to include any styles you won’t be using on the page and to use all downloadable fonts with discretion. Google’s Page Load Indicator will give you an indication of the impact your font choices will have on your page load time.</li>
<li><strong>Choose the character sets you want:</strong> In some cases additional character sets (foreign language or extended character sets) will be available. Again, choose only the character sets you will actually use. <em>For Asap both Latin and Latin Extended are available. We’ll only use Latin.</em></li>
<li><strong>Add the code to your website</strong>(choose one of the two options below)</li>
<ol type="A">
<li><strong>To embed the font in a single HTML page</strong><em><br />
Google offers three ways for you to add fonts to your website. The default choice is the Standard method, which we’ll use here.</em></li>
<ol>
<li>With the <strong>Standard</strong> tab selected, copy the code from the “Add this code to your website:” box to your clipboard.</li>
</ol>
</ol>
</ol>
<pre> &lt;link href='http://fonts.googleapis.com/css?family=Asap:400,700' rel='stylesheet' type='text/css'&gt;</pre>
<ol>
<ol>
<ol start="2">
<li> In Dreamweaver open the HTML document where you wish to use the font.</li>
<li>Paste the code from your clipboard into the &lt;head&gt; of the HTML document. The location within the &lt;head&gt; is not critical but for consistency, I prefer to paste the code directly below the &lt;title&gt; tag.</li>
</ol>
</ol>
</ol>
<ol>
<ol type="A" start="2">
<li><strong>To embed the font in a style sheet<br />
</strong><em>This will allow the font to be accessed by multiple pages.</em></li>
<ol>
<li>On the Google Fonts Quick-use page under “Add this code to your website:” select the @import tab.</li>
<li>Copy the code from the “Add this code to your website:” box to your clipboardA</li>
</ol>
</ol>
</ol>
<pre>@import url(http://fonts.googleapis.com/css?family=Asap:400,700);</pre>
<ol>
<ol>
<ol start="3">
<li>In Dreamweaver open the CSS document where you wish to add the font.</li>
<li>Paste the code from your clipboard into the top of the page directly below the “@charset "UTF-8";” declaration.</li>
</ol>
</ol>
</ol>
<h2><strong>Using the fonts in your CSS:</strong></h2>
<p><strong></strong>You can now use the font in your CSS style rules as you would any other font.  The simplest method is to copy and paste the code provided directly into your CSS.</p>
<pre>font-family: Asap, sans-serif;</pre>
<h3><strong>Notes:</strong></h3>
<ul>
<li>Google fonts <strong>will not</strong> display in Dreamweaver’s Design View but will display in Live View or when previewed in the Browser.</li>
<li>Some font names (those with spaces or special characters in the name – such as ‘Times New Roman’) must be surrounded by single or double quotes.</li>
<li>It is important to provide a fall-back font option (we used sans-serif above) in case the Google font fails to load.</li>
<li>Dreamweaver does not automatically add your Google Fonts to its font selection menus (although they can be added using the <strong>Edit Font List</strong> option in the font selection menu). So, wherever you specify Google Fonts, you’ll need to type in the name.</li>
<li>If you do not specify a font-weight, the default (regular) weight will be used. You can specify the font weight using words or numbers as below.</li>
</ul>
<pre>font-family: Asap, sans-serif; font-weight: regular;
font-family: Asap, sans-serif; font-weight: 400;
font-family: Asap, sans-serif; font-weight: bold;
font-family: Asap, sans-serif; font-weight: 700;</pre>
<h3><strong>Google Fonts tip</strong></h3>
<ul>
<li>You can save a collection of fonts for future review by clicking the <strong>Add to Collection</strong> button to the right of the font display.</li>
<li>To review your collection, click the <strong>Review</strong> button at the bottom right of the page.</li>
<li>To save you collection for future reference click the <strong>Bookmark your Collection</strong> link at the upper-right of the font-listing page. Then copy the link and save it so that you can use it to access your collection in the future.</li>
</ul>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Using+Google+Fonts+with+Dreamweaver+http%3A%2F%2Fbit.ly%2FArtBSG" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/using-google-fonts-with-dreamweaver.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Images and Photoshop Smart Objects in Dreamweaver</title>
		<link>http://www.dwcourse.com/dreamweaver/images-photoshop-smart-objects.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/images-photoshop-smart-objects.php#comments</comments>
		<pubDate>Mon, 21 Nov 2011 15:00:23 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dreamweaver CS5 and CS5.5]]></category>
		<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[smart objects]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=2368</guid>
		<description><![CDATA[I've had a number of questions about web images and Dreamweaver recently so I thought I would share this video from my Dominate Dreamweaver Course. Inserting Photoshop Smart Objects into web pages with Dreamweaver and using the Image Preview dialog to explore the JPEG, GIF and PNG image formats and the related options. Duration 17:12 [...]]]></description>
			<content:encoded><![CDATA[<p></p><video controls width="640">  
    <!-- if Firefox -->  
    <source src="http://d2r7wo7pwusrky.cloudfront.net/dwcourse_18.Mod04-Images.ogg" type="video/ogg" />  
    <!-- if Safari/Chrome-->  
    <source src="http://d2r7wo7pwusrky.cloudfront.net/dwcourse_18.Mod04-Images.mp4" type="video/mp4" />  
   <div style="width:640; height:400; overflow:hidden; margin:0 auto;"><a href="http://d2r7wo7pwusrky.cloudfront.net/dwcourse_18.Mod04-Images" style="display:block;width:640;height:400;" id="rtmpPlayer"><img src="/flowplayer/dominate-dreamweaver.jpg" alt="Dominate Dreamweaver Video" height="400"/></a> </div>
<script language="javascript">
flowplayer("rtmpPlayer", "/flowplayer/flowplayer-3.2.6.swf", {
	plugins:  {
		rtmp: {
			url: "/flowplayer/flowplayer.rtmp-3.2.3.swf",
			netConnectionUrl: "rtmp://sy5i8pcpnwwk5.cloudfront.net/cfx/st"
		}
	},
	clip: {
		provider: "rtmp"
	}
});
</script> 
</video>  

<p><em>I've had a number of questions about web images and Dreamweaver recently so I thought I would share this video from my Dominate Dreamweaver Course.</em></p>
<p>Inserting Photoshop Smart Objects into web pages with Dreamweaver and using the Image Preview dialog to explore the JPEG, GIF and PNG image formats and the related options. Duration 17:12</p>
<p>(And yes I have trouble deciding whether to pronounce GIF with a hard or soft G!)</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Web+Images+and+Photoshop+Smart+Objects+in+Dreamweaver+http%3A%2F%2Fbit.ly%2FtbXHgE" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/images-photoshop-smart-objects.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile-friendly web pages with Dreamweaver CS5.5</title>
		<link>http://www.dwcourse.com/dreamweaver/dreamweaver-multiscreen.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/dreamweaver-multiscreen.php#comments</comments>
		<pubDate>Thu, 11 Aug 2011 17:33:34 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dreamweaver CS5 and CS5.5]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[media queries]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[multiscreen]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=2270</guid>
		<description><![CDATA[Lately I've been working the CSS3 media queries in order to provide a better user experience for folks viewing my sites on mobile devices. My first effort was a Free Dreamweaver Multiscreen Template and I've followed that up with Creating a mobile-friendly web page with Dreamweaver CS5.5 which was just posted at DreamweaverClub.com. I hope you'll [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Lately I've been working the CSS3 media queries in order to provide a better user experience for folks viewing my sites on mobile devices. My first effort was a <a href="/dreamweaver/free-dreamweaver-multiscreen-template.php">Free Dreamweaver Multiscreen Template</a> and I've followed that up with <a href="http://www.dreamweaverclub.com/mobile-friendly.php" target="_blank">Creating a mobile-friendly web page with Dreamweaver CS5.5</a> which was just posted at DreamweaverClub.com. I hope you'll check it out.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Mobile-friendly+web+pages+with+Dreamweaver+CS5.5+http%3A%2F%2Fbit.ly%2FuTmhNq" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/dreamweaver-multiscreen.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Colorbox jQuery slideshow in Dreamweaver</title>
		<link>http://www.dwcourse.com/dreamweaver/colorbox-jquery-slideshow.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/colorbox-jquery-slideshow.php#comments</comments>
		<pubDate>Mon, 21 Mar 2011 02:45:15 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dreamweaver Content Editing]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=1899</guid>
		<description><![CDATA[Click logo above to play video… Clarifications: 1. Colorbox may not preview correctly in Live View in some versions of Dreamweaver. In that case use Preview in Browser instead. It should dispaly correctly in all browsers. 2. Colorbox comes with five example files which demonstrate various appearance settings. In step 2 below, choose the example [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
	var flashvars = {};
	flashvars.urlIncludesFMSApplicationInstance = "true";
	flashvars.optimizeBuffering = "true";
	flashvars.src = "rtmp://sy5i8pcpnwwk5.cloudfront.net/cfx/st/colorbox-tut";
	flashvars.controlBarMode = "docked";
	flashvars.poster = "/flowplayer/dd-poster.jpg";
	var params = {};
	params.allowfullscreen = "true";
	params.allowscriptaccess = "always";
	var attributes = {};
	swfobject.embedSWF("http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf", "videoDiv", "640", "400", "10.1.0", "/expressInstall.swf", flashvars, params, attributes);
	</script>

	
<div id="videoDiv">
	<video controls="controls" height="400px" width="640px" poster="/flowplayer/dd-poster.jpg">
		<source src="http://d2r7wo7pwusrky.cloudfront.net/colorbox-tut.mp4" type="video/mp4" />
		<source src="http://d2r7wo7pwusrky.cloudfront.net/colorbox-tut.ogg" type="video/ogg" />
	</video>
</div><br />
<em>Click logo above to play video…<br />
</em><br />
<h2>Clarifications:</h2>
<p><strong>1. Colorbox may not preview correctly in Live View</strong> in some versions of Dreamweaver. In that case use Preview in Browser instead. It should dispaly correctly in all browsers.</p>
<p><strong>2. Colorbox comes with five example files</strong> which demonstrate various appearance settings. <strong>In step 2 below</strong>, choose the example file you wish to mimic and copy the colorbox.css and images folder from that example.</p>
<p><strong>3. Each color box example demostrates a variety of settings</strong> (Elastic Transition, Fade Transition, etc.). <strong>These correspond to the rel=&quot;exampleX&quot; attribute</strong> you add your link in <strong>step 10 below</strong>. Here is a list of the possible rel attributes and the corresponding Colorbox effect:</p>
<ul>
<li><strong>example1</strong>: elastic transition (popup smoothly transitions to match size of image)</li>
<li><strong>example2</strong>: fade transition between image</li>
<li><strong>example3</strong>: no transition with container set to 75% of screen size</li>
<li><strong>example4</strong>: auto playing slide show</li>
<li>additional examples are available for non-image content but that is beyond the scope of this tutorial.</li>
</ul>
<hr />
<h2>Summary of the video:</h2>
<p><strong>Before you begin</strong>: Download the Colorbox zip file at <a href="http://colorpowered.com/colorbox/">http://colorpowered.com/colorbox/</a>. When the file is unzipped, it will create a c<em>olorbox</em> folder containing the following folders:</p>
<ul>
<li><em>colorbox</em></li>
<li><em>colorbox.ai</em></li>
<li><em>content</em></li>
<li><em>example1</em></li>
<li><em>example2</em></li>
<li><em>example3</em></li>
<li><em>example4</em></li>
<li><em>example5</em></li>
</ul>
<p>Plus the files <em>colorbox.ai</em> and <em>README</em>.</p>
<ol>
<li><strong>In Windows or the Mac Finder</strong> (not Dreamweaver) locate your local site folder and create a new folder <em>colorbox</em> inside it.</li>
<li>Copy the following downloaded files into the new <em>colorbox</em> folder in your website that you created in step 1:
<ul>
<li>From the <em>colorbox</em> folder:<br />
<em>jquery.colorbox-min.js</em></li>
<li>From the <em>exampleX</em> folder (X is the example you are trying to emulate):<br />
<em>colorbox.css</em><br />
the complete <em>images folder</em></li>
</ul>
</li>
<li><strong>In Dreamweaver</strong>, create and save the file that will contain your Colorbox slide show (I called mine colorbox.html).</li>
<li>Create a folder (I called mine <strong>slides</strong>) in your local site  to hold the images for your slide show and place your web-formatted images in it.</li>
<li><strong>In the code, in the &lt;head&gt; of your of your document:</strong> In the Insert palette, click the script icon and insert the link to the jQuery file hosted by Google at:<br />
<input id="textfield" style="width: 500px;" name="textfield" type="text" value="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" /></li>
<li><strong>In the code, in the &lt;head&gt; of your of your document immediately following the script tag you inserted above</strong>: In the Insert palette, click and link to the <em>jquery.colorbox-min.js</em> file.</li>
<li>In the CSS Styles palette, click the Attach Style Sheet (link) icon and link to the <em>colorbox.css</em> file.</li>
<li>Cut and paste the javascript code below into the &lt;head&gt; of your document <strong>BELOW</strong> the scripts added above (<em>Colorbox will not function properly if the scripts do not appear in the correct order in the code.</em>):<br />
<textarea id="textarea" cols="80" rows="30" name="textarea"><script>
		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$("a[rel='example1']").colorbox();
			$("a[rel='example2']").colorbox({transition:"fade"});
			$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
			$("a[rel='example4']").colorbox({slideshow:true});
			$(".example5").colorbox();
			$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$(".example7").colorbox({width:"80%", height:"80%", iframe:true});
			$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
			$(".example9").colorbox({
				onOpen:function(){ alert('onOpen: colorbox is about to open'); },
				onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
				onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
				onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
				onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
			});
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});
</script></textarea></li>
<li>Insert the link(s) to your images.</li>
<li>Add the<br />
<textarea>rel="example1"</textarea><br />
 attribute to your links using the Quick Tag Editor (right click on the &lt;a&gt; tag in the status bar). <em>You can use any value (not just example1) but be sure to give each link the same rel attribute so that they are all part of the same slide show.</em></li>
<li>Give each link a title (which will be used as the caption in Colorbox) by selecting the link and typing the title into the Title field in the properties inspector.</li>
<li>Switch to Live View and test your slide show.</li>
</ol>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Adding+a+Colorbox+jQuery+slideshow+in+Dreamweaver+http%3A%2F%2Fbit.ly%2Fw4psnO" title="Post to Twitter"><img class="nothumb" src="http://www.dwcourse.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dwcourse.com/dreamweaver/colorbox-jquery-slideshow.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

