<?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; spry</title>
	<atom:link href="http://www.dwcourse.com/dreamweaver/tag/spry/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>Creating an Image Gallery Using Spry Tabbed Panels</title>
		<link>http://www.dwcourse.com/dreamweaver/spr-image-gallery-using-spry-tabbed-panels.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/spr-image-gallery-using-spry-tabbed-panels.php#comments</comments>
		<pubDate>Wed, 19 Jan 2011 15:35:53 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dominate Dreamweaver]]></category>
		<category><![CDATA[Dreamweaver CSS]]></category>
		<category><![CDATA[Spry Menubars]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[spry]]></category>
		<category><![CDATA[tabbed panels]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=1770</guid>
		<description><![CDATA[Duration 7 minutes Dreamweaver has a number of built-in Spry widgets that allow you to create pop-out menus, sortable lists and a variety of other interactive features. In this video from Module 7 of my online Dominate Dreamweaver course, I demonstrate how Spry Tabbed Panels can be used to create an interactive image gallery. Spry [...]]]></description>
			<content:encoded><![CDATA[<p></p><div style="width:545px; height:383px; overflow:hidden; margin:0 auto;"><a href="http://dwcourse_22.Mod07-Spry" style="display:block;width:545px;height:383px;" id="rtmpPlayer"><img src="/flowplayer/dominate-dreamweaver.jpg" alt="Dominate Dreamweaver Video" height="383px"/></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>
<p style="text-align: center;">Duration 7 minutes</p>
<p>Dreamweaver has a number of built-in Spry widgets that allow you to create pop-out menus, sortable lists and a variety of other interactive features. In this video from Module 7 of my online Dominate Dreamweaver course, I demonstrate how Spry Tabbed Panels can be used to create an interactive image gallery. Spry widgets are just one of the many advanced Dreamweaver functions covered in the course. For a full course outline visit my <a href="http://www.dwcourse.com/dreamweaver-forum/showthread.php?426-Dominate-Dreamweaver-Course-Outline">Dreamweaver Forum</a>.</p>
<hr />
<p>If you enjoyed the information in this article, you may be interested in <a href="http://www.dwcourse.com/open-enroll">Dominate Dreamweaver</a>. My 12-week online course which will take you from the basics of Dreamweaver through complex topics such as Spry and on to building complete interactive websites. The cost for the course is $397 (or three payments of $149.99).</p>
<p><em>Click here for <a href="http://www.dwcourse.com/open-enroll">more information</a> or use the button below to register now.</em></p>
<p><a href="http://dwcourse.com/amember/signup.php"><img class="aligncenter size-full wp-image-515" title="order-button" src="http://dwcourse.com/wp-content/uploads/2009/09/order-button.jpg" alt="order-button" width="263" height="159" /></a></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Creating+an+Image+Gallery+Using+Spry+Tabbed+Panels+http%3A%2F%2Fbit.ly%2FrZZe79" 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/spr-image-gallery-using-spry-tabbed-panels.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Highlight the Current Page in a Spry Menu with CSS</title>
		<link>http://www.dwcourse.com/dreamweaver/highlight-current-page-spry-menu.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/highlight-current-page-spry-menu.php#comments</comments>
		<pubDate>Mon, 10 Jan 2011 02:25:05 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dreamweaver CSS]]></category>
		<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Spry Menubars]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[highlight current page]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menubar]]></category>
		<category><![CDATA[spry]]></category>

		<guid isPermaLink="false">http://www.dwcourse.com/?p=1738</guid>
		<description><![CDATA[duration: 7:38 How to use CSS to highlight the link to the current page in your menus (including Spry menubars). As an example, the "Home" link will be highlighted on the Home page, the "Contact" link on the contact page, etc. If you enjoyed the information in this article, you may be interested in Dominate [...]]]></description>
			<content:encoded><![CDATA[<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/dwcourse_87.Highlight-current-page-Spry";
	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/dwcourse_87.Highlight-current-page-Spry.mp4" type="video/mp4" />
		<source src="http://d2r7wo7pwusrky.cloudfront.net/dwcourse_87.Highlight-current-page-Spry.ogg" type="video/ogg" />
	</video>
</div>
<p style="text-align: center;">duration: 7:38</p>
<p>How to use CSS to highlight the link to the current page in your menus (including Spry menubars). As an example, the "Home" link will be highlighted on the Home page, the "Contact" link on the contact page, etc.</p>
<hr />
<p>If you enjoyed the information in this article, you may be interested in <a href="http://www.dwcourse.com/open-enroll">Dominate Dreamweaver</a>. My 12-week online course which will take you from the basics of Dreamweaver through complex topics such as Spry menubars and on to building complete interactive websites. The cost for the course is $397 (or three payments of $149.99).</p>
<p><em>Click here for <a href="http://www.dwcourse.com/open-enroll">more information</a> or use the button below to register now.</em></p>
<p><a href="http://dwcourse.com/amember/signup.php"><img class="aligncenter size-full wp-image-515" title="order-button" src="http://dwcourse.com/wp-content/uploads/2009/09/order-button.jpg" alt="order-button" width="263" height="159" /></a></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Highlight+the+Current+Page+in+a+Spry+Menu+with+CSS+http%3A%2F%2Fbit.ly%2FrAJFSu" 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/highlight-current-page-spry-menu.php/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Ten Commandments for Editing Dreamweaver’s Spry Menubars</title>
		<link>http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#comments</comments>
		<pubDate>Wed, 21 Apr 2010 17:28:43 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Dominate Dreamweaver]]></category>
		<category><![CDATA[Dreamweaver CSS]]></category>
		<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Spry Menubars]]></category>
		<category><![CDATA[menubars]]></category>
		<category><![CDATA[spry]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=1097</guid>
		<description><![CDATA[See also: Creating and Customizing Horizontal Spry Menu Bars and Creating and Customizing Vertical Spry Menu Bars Adapted from my Dominate Dreamweaver online training course. Back in the day, the Hebrews had a habit of getting themselves into trouble in spite of their favored status with God. So he decided to try to make it [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>See also: Creating and <a href="/dreamweaver/spry-menu-bars.php">Customizing Horizontal Spry Menu Bars</a> and Creating and <a href="/dreamweaver/more-spry-menu-bars.php">Customizing Vertical Spry Menu Bars</a></p>
<p><em>Adapted from my Dominate Dreamweaver online training course.</em></p>
<p><a href="http://dwcourse.com/wp-content/uploads/2010/04/10commandments-e1271369129866.jpg"><img class="alignright size-full wp-image-1100" title="Moses 10 Commandments iPad" src="http://dwcourse.com/wp-content/uploads/2010/04/10commandments-e1271369129866.jpg" alt="" width="279" height="373" /></a>Back in the day, the Hebrews had a habit of getting themselves into trouble in spite of their favored status with God. So he decided to try to make it easy on them by reducing the rules to Ten Commandments.</p>
<p>In search of similar guidance from a lesser deity (Adobe), I ventured to the top of our local equivalent of Mount Sinai where I received these Ten Commandments for Editing Dreamweaver’s Spry Menubars on a stone iPad.<br />
<span id="more-1097"></span></p>
<blockquote>
<ol>
<li><a href="#one">Thou shalt not edit the style sheet without reading the comments.</a></li>
<li><a href="#two">Thou shalt not edit the styles haphazardly.</a></li>
<li><a href="#three">Verily, rules for some selectors are defined in two locations.</a></li>
<li><a href="#four">Thou shalt not edit the position or display properties within the menubar styles.</a></li>
<li><a href="#five">Thou shalt not use the height property within menubar styles.</a></li>
<li><a href="#six">Thou shalt not apply padding, borders or margins to menubar list items &lt;li&gt;.</a></li>
<li><a href="#seven">Thou shalt not set widths for links &lt;a&gt; within menubars.</a></li>
<li><a href="#eight">Thou shalt not edit the browser hacks.</a></li>
<li><a href="#nine">Thou shalt not edit the menubar JavaScript file.</a></li>
<li><a href="#ten">Verily I say unto you, a new style shall appear to define the appearance of submenus.</a></li>
</ol>
</blockquote>
<p><em>Click a commandment above to view the related commentary.</em></p>
<h3 id="one">I. Thou shalt not edit the style sheet without reading the comments.</h3>
<blockquote><p>Some very clever person at Adobe (God bless them) hath taken the time to insert extensive comments into the code of the menubar CSS file. Open the CSS file and read those comments and you shall be enlightened (and save a lot of wasted effort).</p></blockquote>
<h3 id="two">II. Thou shalt not edit the styles haphazardly.</h3>
<blockquote><p>Adobe hath joined the various styles rules together to function in harmony. Editing them without a clear plan and understanding of their purpose is guaranteed to create more problems than solutions.</p>
<p>A good plan is to edit styles according to the structure of the HTML page (and for that matter the order the styles appear in the css file).</p>
<ol>
<li>Overall list (ul.MenuBarVertical or ul.MenuBarHorizontal)</li>
<li>Top-level list items (ul.MenuBarVertical li or ul.MenuBarHorizontal li)</li>
<li>Overall sub-menus (ul.MenuBarVertical ul or ul.MenuBarHorizontal ul – notice the second ul)</li>
<li>Sub-menu list items (ul.MenuBarVertical ul li or ul.MenuBarHorizontal ul li)</li>
<li>Links (styles related to the &lt;a&gt; tag including hover, focus, etc. states)</li>
</ol>
</blockquote>
<h3 id="three">III. Verily, rules for some selectors are defined in two locations.</h3>
<blockquote><p>Adobe hath divided the LAYOUT INFORMATION from the DESIGN INFORMATION (not a bad idea) so rules using the same style selectors may appear in both locations. You can edit them in either place but make sure the properties you set in the layout section aren’t overwritten in the design section.</p></blockquote>
<h3 id="four">IV. Thou shalt not edit the position or display properties within the menubar styles.</h3>
<blockquote><p>Those who have not yet eaten the fruit from the tree of CSS knowledge are often tempted to edit the position and display properties within the menubar styles. While some sins go unpunished, this one rarely does. It WILL break your menu. And, while we’re on the subject, don’t go adding position or display properties to the style rules that don’t have them either.</p></blockquote>
<h3 id="five">V. Thou shalt not use the height property within menubar styles.</h3>
<blockquote><p>It’s very tempting to try to “force” your menubar to conform to your design by defining a CSS height property for one or more of the menu elements and you might get away with it. But the odds are that, under some conditions, one of your menu items will wrap to a second line and the height properties you so meticulously set will be ignored or your links partially obscured.</p>
<p>To be delivered from this evil, the best practice is to allow the height of your menu and menu items to be determined by a combination of the text-size and padding of your menu link &lt;a&gt; style.</p></blockquote>
<h3 id="six">VI. Thou shalt not apply padding, borders or margins to menubar list items &lt;li&gt;.</h3>
<blockquote><p>Set the width of your menubar “buttons” using the list item &lt;li&gt; rules. Since, as it is written, padding, borders and margin add to the width of HTML elements, applying those properties to list items will likely break your design.</p>
<p>Apply padding and borders to your buttons using the link &lt;a&gt; rules.</p></blockquote>
<h3 id="seven">VII. Thou shalt not set widths for links within menubars.</h3>
<blockquote><p>In the commentary for Commandment VI we learned the width of our buttons should be set using the list item style rules. Any attempt to set a width for the links will likely conflict with those settings. But be not afraid, because the display: block property in the link style rule guarantees the link will completely fill its parent li tag.</p></blockquote>
<h3 id="eight">VIII. Thou shalt not edit the browser hacks.</h3>
<blockquote><p>What CSS hacks Adobe hath joined together, let no man set asunder.</p></blockquote>
<h3 id="nine">IX. Thou shalt not edit the menubar JavaScript file.</h3>
<blockquote><p>Yeah though you walk through the valley of Javascript, you shall fear no evil (if you just leave it alone).</p></blockquote>
<h3 id="ten">X. Verily I say unto you, a new style shall appear and it shall define the appearance of submenus.</h3>
<blockquote><p>And God said, “let the styling for the sub-menus be separated from the styling of the main menu.” And it was, with the addition of a new style rule, so.</p>
<p>By creating a new style rule (ul.MenuBarVertical ul li or ul.MenuBarHorizontal ul li for submenu list items and ul.MenuBarVertical ul a or ul.MenuBarHorizontal ul a for submenu links – notice the second ul in the selectors) you can define CSS properties that apply only to submenus (or more precisely to unordered lists that are themselves within an unordered list). And, by the way, you only have to define the properties that you want to be different from the main menu. The rest of the properties will be inherited.</p></blockquote>
<p><strong><em>Now, go forth and sin no more.</em></strong></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=The+Ten+Commandments+for+Editing+Dreamweaver%E2%80%99s+Spry+Menubars+http%3A%2F%2Fbit.ly%2FsbExR1" 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/ten-commandments-spry-menubars.php/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Borders on Horizontal Spry Menus</title>
		<link>http://www.dwcourse.com/dreamweaver/spry-menus-borders.php</link>
		<comments>http://www.dwcourse.com/dreamweaver/spry-menus-borders.php#comments</comments>
		<pubDate>Wed, 27 May 2009 14:20:02 +0000</pubDate>
		<dc:creator>dwcourse</dc:creator>
				<category><![CDATA[Spry Menubars]]></category>
		<category><![CDATA[Tip of the Day]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[spry]]></category>
		<category><![CDATA[spry menus]]></category>

		<guid isPermaLink="false">http://dwcourse.com/?p=299</guid>
		<description><![CDATA[Chris Tordesillas recently asked via the contact form how to: …make a simple horizontal spry menu where the sections are divided by a neat 1 pixel border all around.  My problem is when I place the border on the "ul.MenuBarHorizontal a" selector it places a 1 pixel border around each cell.  The end result is [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Chris Tordesillas recently asked via the contact form how to:</p>
<blockquote><p>…make a simple <a href="http://www.dwcourse.com/dreamweaver/spry-menu-bars.php">horizontal spry menu</a> where the sections are divided by a neat 1 pixel border all around.  My problem is when I place the border on the "ul.MenuBarHorizontal a" selector it places a 1 pixel border around each cell.  The end result is the border between 2 cells ends up becoming 2 pixels.</p>
<p>I just want a simple 1 pixel border in between my "buttons"</p></blockquote>
<p>There are probably many ways to accomplish this but the one that occurs to me is to wrap three sides of the ul.MenuBarHorizontal a selector with a border:</p>
<p>border-top: 1px solid #F00;<br />
border-right: 1px solid #F00;<br />
border-bottom: 1px solid #F00;</p>
<p>And then create a special class style to provide the missing left border for the first "cell":</p>
<p>.leftBorder {<br />
border-left: 1px solid #F00;<br />
}</p>
<p>You'll then need to apply the class to the proper link &lt;a&gt; tag:</p>
<p>&lt;li&gt;&lt;a class="leftBorder" href="#"&gt;Item 1&lt;/a&gt;</p>
<p>As I said, there are probably other solutions. If you have one, please feel free to leave it in the comments below.</p>
<p><em>And, as always, feel free to <a href="mailto:%20jcook@DWcourse.com">email me</a> with your questions, comments and suggestions. And please follow me on Twitter (<a href="http://twitter.com/dwcourse">DWcourse</a>) for additional Dreamweaver news and tips.</em></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Borders+on+Horizontal+Spry+Menus+http%3A%2F%2Fbit.ly%2FuKdQLY" 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/spry-menus-borders.php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

