<?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; text with side graphic</title>
	<atom:link href="http://atalayastudio.com/info/text-with-side-graphic/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>Text with Side Graphic Anchors</title>
		<link>http://atalayastudio.com/archives/16</link>
		<comments>http://atalayastudio.com/archives/16#comments</comments>
		<pubDate>Sun, 30 Mar 2008 14:56:16 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[NAVT]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Word Press]]></category>
		<category><![CDATA[graphic anchors]]></category>
		<category><![CDATA[text with side graphic]]></category>

		<guid isPermaLink="false">http://atalayastudio.com/?p=16</guid>
		<description><![CDATA[Introduction
In the article NAVT and Graphic Anchors, I explained how the NAVT plugin supported three anchor types that can be used on your web site. The new graphic anchor styles are for those who want to use graphics or a mixture of graphics and text as anchors.
In this article I&#8217;ll explain how NAVT creates the [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>In the article <a title="NAVT and Graphic Anchors" href="http://atalayastudio.com/archives/18" target="_self">NAVT and Graphic Anchors</a>, I explained how the NAVT plugin supported three anchor types that can be used on your web site. The new graphic anchor styles are for those who want to use graphics or a mixture of graphics and text as anchors.</p>
<p>In this article I&#8217;ll explain how NAVT creates the Text with Side Graphic anchors and what you need to know about the required CSS.<span id="more-16"></span></p>
<h3>Anatomy of a Text Anchor with a Side Graphic</h3>
<p>Perhaps you&#8217;ve seen them. This is a anchor that has a graphic positioned somewhere near it. The graphic can be above, to the right or left or below the anchor text. Often they are used to show a small teaser of a much larger graphic. The construction of these anchors separates the graphic from the anchor. By making the <strong>position </strong>of the anchor <strong>absolute, </strong>the anchor can generally be placed anywhere around the graphic.</p>
<p>The graphic used to provide the background image is obtained from a class that you provide from your stylesheet. You supply the name of the class at the time the link type is configured.<br />
The graphic below shows the configuration of a category using text with side graphic. The Anchor type is set to <span style="color: #888888;">Text with side graphic</span> and the user CSS class <span style="color: #888888;">worldgraphic </span>has been entered into the text box.</p>
<div style="text-align:center"><img src="http://atalayastudio.com/wp-content/uploads/2008/03/twsg.png" alt="" /></div>
<p>The NAVT output for the navigation group would appear as:</p>
<pre class="brush: html">
&lt;ul class=&#039;menu example&#039;&gt;
&lt;li class=&#039;erow example_item page_item world-news-cat categorytab&#039;&gt;
&lt;div class=&#039;navt_twsg worldgraphic&#039;&gt;&amp;nbsp;&lt;/div&gt;
&lt;a href=&#039;http://example.com/world-news&#039; title=&#039;World News&#039;&gt;World News&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>Notice that the <strong>DIV </strong>is<strong> </strong>assigned the user defined class <strong>worldgraphic </strong>and contains only a non-breaking space as a place holder. The anchor appears outside of the <strong>DIV </strong>so it can be moved using absolute positioning relative to the LI parent container.</p>
<p><em>Here is a CSS example that would place the anchor to the right of the graphic:</em></p>
<pre class="brush: css">
li.world-news-cat { /* parent container must be relative */
position:relative;
}

ul li.world-news-cat div.worldgraphic { /* set size of background and image */
background: transparent url(images/world.jpg) no-repeat left top;
width: 100px;
height: 100px;
}

ul li.world-news-cat a { /* set for absolute positioning */
position: absolute;
top: 50%;
right: 0;
z-index: 50;
}
</pre>
<h3>Other Types</h3>
<p>Each type of navigation item: pages, categories, URI anchors, etc) is constructed the same way and each is provided with a unique set of classes similar to the example shown above.</p>
]]></content:encoded>
			<wfw:commentRss>http://atalayastudio.com/archives/16/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
