<?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>Atalaya Studio &#187; tips</title>
	<atom:link href="http://atalayastudio.com/info/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://atalayastudio.com</link>
	<description></description>
	<lastBuildDate>Mon, 08 Feb 2010 19:21:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Working with CSS Collapsing Menus and NAVT</title>
		<link>http://atalayastudio.com/archives/36</link>
		<comments>http://atalayastudio.com/archives/36#comments</comments>
		<pubDate>Tue, 13 May 2008 07:37:54 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[General Info]]></category>
		<category><![CDATA[NAVT]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tips/Hints]]></category>
		<category><![CDATA[code insertion]]></category>
		<category><![CDATA[flyout menu]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://atalayastudio.com/?p=36</guid>
		<description><![CDATA[A discussion in the NAVT forum has promoted me to sit down and explain how you can use CSS collapsing menus with the NAVT plugin. This article assumes you have some working knowledge of Cascaded Style Sheets used to style your Word Press theme and some experience with NAVT.  The article explains where and [...]]]></description>
			<content:encoded><![CDATA[<p>A discussion in the NAVT forum has promoted me to sit down and explain how you can use CSS collapsing menus with the NAVT plugin. This article assumes you have some working knowledge of Cascaded Style Sheets used to style your Word Press theme and some experience with NAVT.  The article explains where and how to begin integrating a collapsing menu into your web site using NAVT to construct the correct tag structure.  This article applies to NAVT version 1.0.23 and above. <span id="more-36"></span></p>
<h3>Example Menu</h3>
<p>Below is an example of the type of menu we&#8217;re going to create using NAVT and two cascaded style sheets. The navigation elements shown in the menu are arbitrary items I put together from this web site.</p>
<div style="margin-left:40%;margin-bottom:40px;"></div>
<p>These types of menus are relatively easy to construct. However, the tricky part is making them work with IE6 and most of this article deals with the IE6 solution.</p>
<h3>Getting Started</h3>
<p>Examples of CSS style sheets that contain rules for formatting horizontal, vertical, fly-out, drop-down, and cascading menus can be found all over the Internet. When asked, I usually send people to <a title="CCS Play" rel="nofollow external" href="http://www.cssplay.co.uk/index" target="_blank">CSS Play</a> which is owned by Stuart Nicholls. CSS Play has dozens of examples of pure CSS menus that you can freely use on your non-commercial web site provided you leave the copyright statements intact that appear in the CSS file. These can also be used on Commercial web site&#8217;s provided you <a title="Copyright Permissions" rel="nofollow external" href="http://www.cssplay.co.uk/menus/drop_examples.html" target="_blank">obtain permission</a> from CSS Play.  For this tutorial, I&#8217;m going to use <a title="CSS Play Flyout menu" href="http://www.cssplay.co.uk/menus/flyoutt.html" target="_blank">this CSS Play flyout menu</a> to demonstrate the process of integrating the CSS into your web site in concert with NAVT.</p>
<p>You will, of course, need to change the menu text and background colors, adjust the menu width and heights and make any other style alterations to make the menu look right with the theme you intend to use the menu with.</p>
<h3>The !DOCTYPE</h3>
<p>Before I begin, it&#8217;s important to understand that your Word Press theme MUST use a <a title="!DOCTYPE" rel="nofollow" href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" target="_blank">standards compliant !DOCTYPE</a>, and for Internet Explorer this MUST be the first line of your (x)html. Using <code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;</code> will switch IE into quirks mode and your menu will not work correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://atalayastudio.com/archives/36/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Controlling Code Insertions with NAVT</title>
		<link>http://atalayastudio.com/archives/39</link>
		<comments>http://atalayastudio.com/archives/39#comments</comments>
		<pubDate>Tue, 13 May 2008 07:26:46 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[NAVT]]></category>
		<category><![CDATA[Tips/Hints]]></category>
		<category><![CDATA[code insertion]]></category>
		<category><![CDATA[codeblock]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://atalayastudio.com/?p=39</guid>
		<description><![CDATA[NAVT version 1.0.23 (and above) introduces the ability to add your own HTML between items within a navigation list. This feature was primarily added to support the injection of IE6 conditional statements into a list of items. However, it can be used to add titles, paragraphs, or other items inside navigation lists built by the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NAVT version 1.0.23</strong> (and above) introduces the ability to add your own HTML between items within a navigation list. This feature was primarily added to support the injection of IE6 conditional statements into a list of items. However, it can be used to add titles, paragraphs, or other items inside navigation lists built by the NAVT plugin. Version 1.0.23 also introduces a new navigation item called a <strong>code block</strong>. A code block is yet another way to add your own HTML to a navigation list. Code blocks, like other items, can be used as part of a list hierarchy.</p>
<p><span id="more-39"></span></p>
<h3>Code Between Items</h3>
<p>Each navigation item now contains a <strong>code panel</strong> button that is used to open and close the item&#8217;s code panel. Clicking the code panel button will transform the opened options box to the illustration shown in the right.</p>
<div style="text-align:center;"><img src="http://gbellucci.us/images/codepanel-1.gif" alt="code panel" /></div>
<p>The code panel is divided into two sections. The top section containing the controls:</p>
<ul>
<li>Insert before item,</li>
<li>Insert above item and,</li>
<li>Upper Code block</li>
</ul>
<p>These controls are used to determine where the upper code block is to appear in the list relative to the item. The lower section that contains the controls:</p>
<ul>
<li>Insert below item</li>
<li>insert after item</li>
<li>Lower Code block</li>
</ul>
<p>These controls are used to determine the lower code block is to appear in the list relative to the item.</p>
]]></content:encoded>
			<wfw:commentRss>http://atalayastudio.com/archives/39/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to&#8230; Word Press, Themes and NAVT</title>
		<link>http://atalayastudio.com/archives/22</link>
		<comments>http://atalayastudio.com/archives/22#comments</comments>
		<pubDate>Sun, 30 Mar 2008 15:03:59 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[NAVT]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tips/Hints]]></category>
		<category><![CDATA[theme integration]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[xpath expressions]]></category>

		<guid isPermaLink="false">http://atalayastudio.com/?p=22</guid>
		<description><![CDATA[Introduction
This topic has been written about many times by many people but this article has a NAVT slant. The information presented here is not intended to teach the basics of the PHP programming language, programming logic or WordPress template construction. It is designed to provide sensible help to the do it your-selfer who would like [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This topic has been written about many times by many people but this article has a <em>NAVT slant</em>. The information presented here is not intended to teach the basics of the PHP programming language, programming logic or WordPress template construction. It is designed to provide sensible help to the <em>do it your-selfer</em> who would like to use the NAVT Plugin for WordPress and isn&#8217;t afraid to do a little template hacking to make it happen. <em>However there are at least three different ways you can integrate the NAVT plugin into your theme. <span style="text-decoration: underline;">Two of them don&#8217;t require programming</span>.</em><span id="more-22"></span></p>
<h3>The Theme Hack Method</h3>
<p>Template or theme hacking is the very thing I hope to prevent you from doing. Adding the necessary function call to your WordPress template for the NAVT plugin doesn&#8217;t take very long to do but you need to understand the following:</p>
<ul>
<li>Where the NAVT PHP interface call needs to be placed in your WordPress template,</li>
<li>How to correctly write the function call and,</li>
<li>How to style the resulting navigation list.</li>
</ul>
<h4>WordPress Theme Basics</h4>
<p>WordPress templates are not very mysterious if you understand some basic information. The content of your WordPress theme directory is composed of one large PHP script that is executed every time someone visits your blog. The theme script is divided into small files and each file name provides a clue to its intended use.</p>
<p>The typical WordPress theme usually contains (at a minimum) the following files:</p>
<ul>
<li>index.php</li>
<li>header.php</li>
<li>sidebar.php</li>
<li>footer.php</li>
</ul>
<p>The <em>index.php</em> file is the start of the PHP script and code execution begins with the very first line at the top of the index.php file and ends on the very last line. index.php is responsible for assembling all of the information that produces the pages of your WordPress blog. Page assembly (or production) is accomplished by making PHP function calls that are designed to create the HTML code that is, in turn, interpreted and displayed by the viewer&#8217;s web page browser. If you already know this, bear with me; it gets more interesting later.</p>
<p>There is a method to the madness of producing web pages by your WordPress theme. The method is simply the <em>loading and execution of known PHP files in a predetermined order</em>. The PHP files come from your theme&#8217;s directory. Specifically, the files named: <em>header.php, sidebar.php and footer.php</em>. If your theme is missing any one of these files, the file of the <em>same name will be used from the default theme directory in your WordPress installation.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://atalayastudio.com/archives/22/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
