<?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>SimcoMedia Professional Web Design &#187; Tutorials</title>
	<atom:link href="http://www.simcomedia.com/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simcomedia.com</link>
	<description>Custom Designs And Ecommerce Specialists</description>
	<lastBuildDate>Sun, 18 Jul 2010 20:21:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS Ribbon Titles</title>
		<link>http://www.simcomedia.com/css-ribbon-titles</link>
		<comments>http://www.simcomedia.com/css-ribbon-titles#comments</comments>
		<pubDate>Mon, 26 Apr 2010 23:43:15 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=868</guid>
		<description><![CDATA[In a quest to use something different for my sidebar titles I started looking at some of the options for creating those cool looking 3D style ribbons where the edges fold neatly on the outside of the container holding the text. There&#8217;s a bazillion examples of this and most of the tutorials I saw were [...]]]></description>
			<content:encoded><![CDATA[<p>In a quest to use something different for my sidebar titles I started looking at some of the options for creating those cool looking 3D style ribbons where the edges fold neatly on the outside of the container holding the text. There&#8217;s a bazillion examples of this and most of the tutorials I saw were leaning toward CSS3 to do all the work.<span id="more-868"></span>The problem is&#8230; CSS3 just ain&#8217;t quite ready for prime-time since it&#8217;s not fully supported across all browsers and would consequently require even more code to make it work like it&#8217;s supposed to. So, I took the simple way out and instead of using the radius selectors that CSS3 provides (which aren&#8217;t supported in most versions of IE, if any) I created a three image method of creating the sidebar boxes.</p>
<p>So, the three images consist of:</p>
<ol>
<li>the top including the ribbon</li>
<li>the repeatable middle section</li>
<li>the bottom</li>
</ol>
<p>These were all created in Photoshop as one image then sliced against a transparent background and saved in PNG format. Pretty simple stuff.</p>
<p>Then it was time to create the container and divs that would hold the info. We&#8217;ll start with just the container div:</p>
<p><br class="spacer_" /></p>
<pre class="[brush:css]"> 

.ribbonBox {

 width: 190px;

 float: left;

 margin-bottom: 15px;

 }

 
</pre>
<p><br class="spacer_" /></p>
<p>Now, you can adjust everything to your dimensions but my sidebar is a little skinny and the main container div had to allow for some margins so it didn&#8217;t hit the left and right borders. The margin-bottom is there so I can stack the boxes on top of each other and there will be some space in between them. Now we do the 3 inner divs that hold the images:</p>
<p><br class="spacer_" /></p>
<pre class="[brush:css]"> 

.ribbonTop {

 width: 190px;

 background: transparent url('../images/ribbons_top.png') no-repeat;

 height: 52px;

 }

.ribbonTop h2 {

 color: #fff;

 font-weight: normal;

 font-size: 18px;

 padding: 15px 0 0 10px;

 }

.ribbonMid {

 width: 190px;

 background: transparent url('../images/ribbons_mid.png') repeat-y;

 float: left;

 }

.ribbonMid p {

 margin: 0 10px;

 }

.ribbonBot {

 width: 190px;

 background: transparent url('../images/ribbons_bot.png') no-repeat;

 height: 14px;

 float: left;

 }

 
</pre>
<p>And, last but not least, the HTML</p>
<p>
<pre class="[brush:html]">
    <!--adding ribbon box-->
<div class="ribbonBox">
<div class="ribbonTop">
<h2>Recall News::</h2>
</div>
<div class="ribbonMid">

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis ligula lorem, consequat eget, tristique nec, auctor quis, purus. Vivamus ut sem. Fusce aliquam nunc vitae purus. Aenean viverra malesuada libero. Fusce ac quam. Donec neque. Nunc venenatis enim nec quam. Cras faucibus, justo vel accumsan
</div>
<div class="ribbonBot">        </div>
</div>

	<!--end of ribbon box -->
</pre>
<p><br class="spacer_" /></p>
<p>Notice I also gave some formatting to the H2 title so it would display in the right location and look good against the color of the ribbon background.</p>
<p>The end result would produce a box like so:</p>
<p><a href="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons.png"><img class="aligncenter size-full wp-image-873" title="ribbons" src="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons.png" alt="" width="190" height="77" /></a>The three pieces are as so (right click, Save As if you wish to use them:</p>
<p><a href="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_top.png"><img class="aligncenter size-full wp-image-876" title="ribbons_top" src="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_top.png" alt="" width="190" height="52" /></a></p>
<p><a href="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_mid.png"><img class="aligncenter size-full wp-image-875" title="ribbons_mid" src="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_mid.png" alt="" width="190" height="11" /></a></p>
<p><a href="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_bot.png"><img class="aligncenter size-full wp-image-874" title="ribbons_bot" src="http://www.simcomedia.com/wp-content/uploads/2010/04/ribbons_bot.png" alt="" width="190" height="14" /></a>By using repeat-y on the middle section it will automatically repeat downward as the content increases or decreases. Using this 3 image method cut out the need to have literally dozens of CSS3 statements and used about half the code to get the same effect. Going this route assured me that the look would be the same across browsers. As much as i&#8217;d like to be a &#8216;purist&#8217; and try to do everything with strict code and no images, the world just isn&#8217;t quite ready for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-ribbon-titles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery Toggle Panel</title>
		<link>http://www.simcomedia.com/jquery-toggle-panel</link>
		<comments>http://www.simcomedia.com/jquery-toggle-panel#comments</comments>
		<pubDate>Tue, 16 Mar 2010 21:10:36 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ajax scripts]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=828</guid>
		<description><![CDATA[Sometimes we&#8217;re convinced that certain special effects we see in web pages are some sort of cult voodoo and appear mysterious. The &#8216;slide toggle&#8217; effect is one of those. We&#8217;re going to show you just how easy it is to use this cool feature for revealing hidden content. We&#8217;re going to make a simple panel [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes we&#8217;re convinced that certain special effects we see in web pages are some sort of cult voodoo and appear mysterious. The &#8216;slide toggle&#8217; effect is one of those. We&#8217;re going to show you just how easy it is to use this cool feature for revealing hidden content.<span id="more-828"></span></p>
<p>We&#8217;re going to make a simple panel slider using the JQuery toggle function. Here&#8217;s how the code will look:</p>
<pre class="[brush:javascript]">
<script type="text/javascript">
$(document).ready(function() {
	$(".trigger").click(function(){
	$(".panel").slideToggle("slow");
	});
});
</script>
</pre>
<h3>Code Explanation</h3>
<p>Let&#8217;s break this down to show how simple it is using JQuery</p>
<dl>
<dt>$(document).ready(function() {</dt>
<dd>Our standard JQuery statement declaring that when the document is fully loaded we can execute the following</dd>
<dt>$(&#8220;.trigger&#8221;).click(function(){</dt>
<dd>Here we are stating that our page element with the class &#8216;trigger&#8217;  is going to do something when it&#8217;s clicked on</dd>
<dt>$(&#8220;.panel&#8221;).slideToggle(&#8220;slow&#8221;);</dt>
<dd>Here we see the details of our instructions for when the &#8216;trigger&#8217; is clicked. Essentially telling the div with the class name &#8216;panel&#8217; to &#8216;slide &#8211; Toggle&#8217; open. The &#8216;Toggle&#8217; part means that it will open when clicked then close when clicked again.</dd>
</dl>
<h3>The HTML</h3>
<p>The HTML is relatively simple. First, though, we need a little styling for our elements</p>
<pre class="[brush:css]">
<style type="text/css">
div.panel,p.trigger {
width: 500px;
padding: 20px;
background-color: #EAEAEA;
border: 1px #000 dashed;
font: normal normal Arial, Helvetica, sans-serif/1.2em;
}

div.panel {
height: 200px;
display: none;
}
</style>
</pre>
<p>Followed by our HTML which is entirely up to you how you want it to look. For our demo purposes we&#8217;re using just the standard Lorem Ipsum text jargon:</p>
<pre class="[brush:html]">
<div class="panel">

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Section 1.10.32 of de Finibus Bonorum et Malorum, written by Cicero in 45 BC

</div>
<p class="trigger">The standard Lorem Ipsum passage, used since the 1500s
</pre>
<h3>Live Demo</h3>
<p>To get a live view of the sliding/toggling panel <a href="http://www.simcomedia.com/jquery-toggle.html" target="_blank">Click Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/jquery-toggle-panel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using JQuery&#8217;s Ajax Functions</title>
		<link>http://www.simcomedia.com/using-jquerys-ajax-functions</link>
		<comments>http://www.simcomedia.com/using-jquerys-ajax-functions#comments</comments>
		<pubDate>Tue, 16 Mar 2010 18:58:42 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=810</guid>
		<description><![CDATA[AJAX methods can be way over used but at the same time can provide a great way to consolidate related content into a confined space. JQuery provides an easy way to use their AJAX functionality with some simple code and, of course, the JQuery library. Here&#8217;s a simple example.First we have to understand the way [...]]]></description>
			<content:encoded><![CDATA[<p>AJAX methods can be way over used but at the same time can provide a great way to consolidate related content into a confined space. JQuery provides an easy way to use their AJAX functionality with some simple code and, of course, the JQuery library. Here&#8217;s a simple example.<span id="more-810"></span>First we have to understand the way JQuery works. Once we&#8217;ve done that then modifying this code becomes much simpler.JQuery is a library of functions that you can call upon to perform various tasks. The ones we will be working with today are the &#8216;load&#8217; and &#8216;onClick&#8217; functions. Our goal is to summon an external file ( .txt, .html, etc.) into an element in our page, preferably a div element. The functions will be called when someone clicks on a hyperlink (or, an image could be used or even a button). Here&#8217;s the basic code:</p>
<pre class="[brush:javascript]">
$(document).ready(function(){
  $("#link1").click(function() {
  $('#text').load('latin.txt');
});
  $("#link2").click(function() {
  $('#text').load('latin2.txt');
});
  $("link3").click(function() {
  $('text').load('latin3.txt');
  });
});
</pre>
<p>Ok, what we&#8217;ve created here is a series of functions that specify the id&#8217;s of 3 hyperlinks (shown below) that, when clicked, will &#8216;load&#8217; the external pages referenced (latin.txt, latin2.txt and latin3.txt) into the same div element with the id of &#8216;text&#8217;. Here&#8217;s the HTML:</p>
<pre class="[brush:html]">
<html>
<head>
<script src="jquery.js" type="text/javascript"></script>
</head>
<body>
<div id="text">This text will be replaced when you click the hyperlinks below</div>

<a href="#" id="link1">Link One</a>
<a href="#" id="link2">Link Two</a>
<a href="#" id="link3">Link Three</a>

</body>
</html>
</pre>
<h3>Explaining The Code</h3>
<p>JQuery is pretty easy to learn once you get the hang of how the functions flow. Here&#8217;s some tidbits about this simple AJAX call:</p>
<dl>
<dt>$(document).ready(function(){</dt>
<dd>JQuery uses the $(document).ready(function() { to ensure that the document is fully loaded and ready to provide you with the ability to execute your code</dd>
<dt>$(&#8220;#link1&#8243;).click(function(){</dt>
<dd>We are stating here that the hyperlink with the #id of link1 should perform a function when it is clicked. So, basically, if you read it like a sentence it states &#8220;when someone clicks on the #link1 do the following&#8221;.</dd>
<dt>$(&#8216;#text&#8217;).load(&#8216;latin.txt&#8217;);</dt>
<dd>The function we want to perform is to insert content into a specific div element in our page. The first part, $(&#8216;#text&#8217;) identifies the element by using it&#8217;s id tag #text, the id of our target div. The second part, .load(&#8216;latin.txt&#8217;);,  tells what content to load into that location. So, reading it like a sentence it says: &#8220;find the div with the id of &#8216;text&#8217; and load this file into that location&#8221;.</dd>
</dl>
<p>I&#8217;ve repeated the process three times in order to identify the 3 different links. The hyperlinks can be placed anywhere on your page and point to your target div. The content you summon can be a wide variety of formats including txt, html, images, etc..</p>
<p>For our external files they reside in my public folder and contain the standard Lorem Ipsum text for this demo. Here is the &#8216;live&#8217; example of how this would look when arriving at your page. </p>
<p>
<a href="#" id="link1">Link One</a> | <a href="#" id="link2">Link Two</a> | <a href="#" id="link3">Link Three</a>
</p>
<div id="text" style="width: 500px; padding: 10px; border: 1px #ccc solid;">This text will be replaced when you click the hyperlinks below</div>
<p>Clicking on the links will summon the different content without having to refresh the page. This saves on load time and at the same time allows you to designate a specific area for as much content as you&#8217;d like to cycle through instead of having a new page for each one.</p>
<h3>Live Demo</h3>
<p>To see this work <a href="http://www.simcomedia.com/simple-ajax.html" target="_blank">Click Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/using-jquerys-ajax-functions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Rollover Images</title>
		<link>http://www.simcomedia.com/css-rollover-images</link>
		<comments>http://www.simcomedia.com/css-rollover-images#comments</comments>
		<pubDate>Tue, 09 Mar 2010 21:52:19 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=784</guid>
		<description><![CDATA[Image rollovers are fun and can add both life and functionality to a web page. Most often they are used in menus but we find they are useful for hyperlinked images as well. This is a simple tutorial on how you can create fast loading rollovers throughout your website giving it that slick look. Methods [...]]]></description>
			<content:encoded><![CDATA[<p>Image rollovers are fun and can add both life and functionality to a web page. Most often they are used in menus but we find they are useful for hyperlinked images as well. This is a simple tutorial on how you can create fast loading rollovers throughout your website giving it that slick look.<span id="more-784"></span></p>
<h3>Methods</h3>
<p>There&#8217;s 3 basic ways you can create a rollover effect:</p>
<p style="text-align: left;">Flash animation</p>
<p style="text-align: left;">Javascript</p>
<p style="text-align: left;">CSS</p>
<p style="text-align: left;"> </p>
<p style="text-align: left;">For our purposes we&#8217;re going to skip the first two and use strictly CSS and a tad bit of HTML to make it all work. We&#8217;re going to be using a sprite in order to accomplish this. If you don&#8217;t know what a sprite is it&#8217;s basically a single image with all of your different colored effects self contained. The fact we use a single image means that there&#8217;s no additional preloading that has to be done which, when using multiple images, can cause a flicker or pause in the initial display of the mouseover event. Here&#8217;s an example of a sprite image which consists of two identical designs but with different colored backgrounds:</p>
<p style="text-align: left;"><a href="http://www.simcomedia.com/wp-content/uploads/2010/03/compare-sprite.jpg"><img class="aligncenter size-full wp-image-785" title="compare-sprite" src="http://www.simcomedia.com/wp-content/uploads/2010/03/compare-sprite.jpg" alt="" width="200" height="80" /></a>The goal here is to use this image in a rollover event for a hyperlink.</p>
<h3 style="text-align: left;">CSS</h3>
<p>Here&#8217;s the CSS Code we&#8217;ll be working with:</p>
<p><br class="spacer_" /></p>
<pre class="[brush:css]">#imageLink
{
  display: block;
  width: 200px;
  height: 40px;
  background: url("compare-sprite.jpg") no-repeat 0 0;

}

#imageLink:hover
{
  background-position: 0 -40px;
}

#imageLink span
{
  display: none;
}
</pre>
<p>First, keep in mind that we are creating a hyperlink. Therefore we are going to utilize this code when we create our link by assigning the id to the hyperlink like you would a class. We&#8217;re going to explain the code just a bit.</p>
<ul>
<li>the height and width represent the single button, not the entire image. So, if the entire image is 80px tall and divided perfectly  between the two versions then we set our height at 40px.</li>
<li>On the :hover we want the background position to move down 40px. Therefore we set the position to -40px to make the effect. Same image, just showing a different portion of it.</li>
<li>The use of the span tag is to complete our hyperlink since the background image isn&#8217;t really creating a link. Therefore, something tangible has to be there. But, the trick is, we set the display to none which makes it invisible to the viewer and all they see is the image</li>
</ul>
<h3>The HTML</h3>
<p>Here&#8217;s the HTML:</p>
<pre class="[brush:html]"><a id="imageLink" href="#"><span>Some text here</span></a>
</pre>
<p>You can have as many rollovers on one page or throughout your site as you wish using this code. But, you have to copy the code and assign each one its own unique ID. And, of course, their own images if applicable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-rollover-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Hyperlinks With Icons</title>
		<link>http://www.simcomedia.com/css-hyperlinks-with-icons</link>
		<comments>http://www.simcomedia.com/css-hyperlinks-with-icons#comments</comments>
		<pubDate>Wed, 17 Feb 2010 00:30:40 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=736</guid>
		<description><![CDATA[A neat way to spice up your pages and provide very precise navigation help is to use the little known &#8220;attributes&#8221; capabilities of CSS. What this does is provide a way for you to attach certain effects to specific types of elements. For instance, say you&#8217;d like to place the Adobe PDF  icon next to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A neat way to spice up your pages and provide very precise navigation help is to use the little known &#8220;attributes&#8221; capabilities of CSS. What this does is provide a way for you to attach certain effects to specific types of elements. <span id="more-736"></span>For instance, say you&#8217;d like to place the Adobe PDF  icon next to every link that ends with .pdf:</p>
<pre class="[brush:css]">/* For PDFs */
a[href $= '.pdf']{
    padding-left:20px;
    background: transparent url(pdf.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Let&#8217;s take a look at this to see how it works:</p>
<ul>
<li>The a[href $='.pdf'] aspect is stating that all &#8216;a href&#8217; tags where the suffix is .pdf to attach the following formatting to it</li>
<li>The padding-left: 20px; allows for the room needed to place the icon (you can pad left or right depending on where you want the icon displayed)</li>
<li>The background: tag outlines the parameters for how and where and location of the icon using standard CSS</li>
</ul>
<p style="text-align: left;">You’ll notice the $ before the =, this is specifying that we want what is at the end of the href.  There are more tags like this to specify different locations.</p>
<ul>
<li>$=   End of String </li>
<li>^=   Beginning of String </li>
<li>~=  String contains the word and is separated from other words by spaces. </li>
<li>*=   String contains the word. (doesn’t have to be separated by spaces) </li>
</ul>
<p><br class="spacer_" /></p>
<p style="text-align: left;">So, armed with this you can make one modification to your CSS file and affect many elements of your pages. Another example of this would be to add an icon to all &#8216;mailto&#8217; links. Like this:</p>
<pre class="[brush:css]">/* For Emails */
a[href ^= 'mailto']{
    padding-left:20px;
    background: transparent url(mail.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Here, the ^ symbol means to search for the &#8216;mailto&#8217; at the beginning of the href string. Then, attach the icon to all the links that qualify only.</p>
<p style="text-align: left;">Let&#8217;s say you want to add an icon to all links that are scheduled to open in a new window:</p>
<pre class="[brush:css]">/* For external links */
a[target = '_blank']{
    padding-left:20px;
    background: transparent url(external.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Notice that instead of &#8216;href&#8217; it states &#8216;target&#8217; which is the method used for determining if a hyperlink is going to open in a new window or in the same window, etc. This CSS command applies just to those hyperlinks that state target=&#8221;_blank&#8221;.</p>
<p style="text-align: left;">You can also specify a certain class in the event that you have different styles set up for your various hyperlinks. This method lets you do the following:</p>
<pre class="[brush:css]">/* For popups */
a[class ~= 'popup']{
    padding-left:20px;
    background: transparent url(popup.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Even if you don&#8217;t create different classes for your hyperlinks but would like to have icons next to some of them you can simply assign the class tag to the hyperlink and it will merely add the icon without changing any of the other formatting.</p>
<p style="text-align: left;">For best results we recommend you use very small icons of 16 x 16 or less. Otherwise they could cause messy looking text lines if your hyperlinks are located within paragraphs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-hyperlinks-with-icons/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Navlist With Pointer</title>
		<link>http://www.simcomedia.com/css-navlist-with-pointer</link>
		<comments>http://www.simcomedia.com/css-navlist-with-pointer#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:53:57 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=732</guid>
		<description><![CDATA[Using CSS to create your site&#8217;s navigation is becoming increasingly popular since it allows you to minimize code and create fast loading menu systems. Here is a basic horizontal navlist using one image for a downward pointer that you can use in any situation where you need a simple menu.First we need to start with [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Using CSS to create your site&#8217;s navigation is becoming increasingly popular since it allows you to minimize code and create fast loading menu systems. Here is a basic horizontal navlist using one image for a downward pointer that you can use in any situation where you need a simple menu.<span id="more-732"></span>First we need to start with the basic HTML code for your navlist.  This can be inserted in two ways.</p>
<ol style="text-align: left;">
<li style="text-align: left;">Use the id=&#8221;nav&#8221; in the &lt;ul&gt; tag</li>
<li style="text-align: left;">Create a &lt;div&gt; wrapper to contain the &lt;ul&gt; and assign the id=&#8221;nav&#8217; to the div</li>
</ol>
<p style="text-align: left;">Here&#8217;s the HTML:</p>
<pre class="[brush:html]" style="text-align: left;">
<ul id="nav">
<li><a href="home.php">Home</a></li>
<li><a href="photos.php">Photos</a></li>
<li><a href="videos.php">Videos</a></li>
<li><a href="add.php">Add a Restaurant</a></li>
<li><a href="delete.php">Delete a Restaurant</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</pre>
<p style="text-align: left;">Notice it&#8217;s just a standard HTML unordered list. Nothing fancy nor is it hard to reproduce. The magic occurs in the CSS formatting to give it the look and feel you want.</p>
<p style="text-align: left;">Here&#8217;s the CSS:</p>
<pre class="[brush:css]" style="text-align: left;"><!--

#nav{margin:0px; background-color:#646464; padding:12px; }

#nav li{list-style:none; display:inline; margin:0px; padding:0;padding:22px; padding-right:0; padding-left:0;}

#nav li a{font-family:Arial, Helvetica, sans-serif;font-weight:bold; text-transform:uppercase; text-decoration:none; color:white;padding:12px; }

#nav li a:hover{background-color:#545454;}

#nav li:hover{background:transparent url(images/test.png) no-repeat scroll center bottom;  margin:0;}

-->
</pre>
<p style="text-align: left;">Let&#8217;s explain this simple code so you understand how these particular selectors change the appearance of the typical list:</p>
<ol style="text-align: left;">
<li>First the navigation bar is created with #nav, margins and background color</li>
<li>Next we have to set the li to list-style: none; to get rid of the bullets</li>
<li>At the same time we use display:inline; to force the list items to go horizontal</li>
<li>Some padding it also added in order to move the boundaries of the nav bar to equal proportions above and below the text</li>
<li>The font family, size, weight, color and style is chosen</li>
<li>We add the &#8216;hover&#8217; effect to the actual hyperlink by having a color change</li>
<li>Now we add the &#8216;hover&#8217; effect to the entire padded link</li>
<li>Last we add the &#8216;hover&#8217; effect to the </li>
<li> element itself which produces the downward pointer image</li>
</ol>
<p style="text-align: left;">The final output will look like this:</p>
<ul style="text-align: left;">
<li><a title="Horizontal Navlist Demo" rel="fancybox" href="horizontal-navlist.html">Horizontal Navlist Demo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-navlist-with-pointer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shopper Press &#8211; WordPress eCommerce Plugin</title>
		<link>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin</link>
		<comments>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin#comments</comments>
		<pubDate>Sun, 24 Jan 2010 02:29:20 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[shopperpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=723</guid>
		<description><![CDATA[Shopper Press is a quick, easy and full featured way to turn your WordPress into a robust storefront complete with product management and automated payments via Paypal and others. This amazing plugin transforms your site into a multi-purpose store and blog combined. If you have products to sell, a catalog to display or digital downloads [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Shopper Press is a quick, easy and full featured way to turn your WordPress into a robust storefront complete with product management and automated payments via Paypal and others. This amazing plugin transforms your site into a multi-purpose store and blog combined. If you have products to sell, a catalog to display or digital downloads to offer then Shopper Press could be your ticket to online sales!<span id="more-723"></span></p>
<p style="text-align: left;"> </p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div id="attachment_724" class="wp-caption aligncenter" style="width: 246px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2010/01/shopperpress.jpg"><img class="size-medium wp-image-724 " title="ShopperPress WordPress Plugin" src="http://www.simcomedia.com/wp-content/uploads/2010/01/shopperpress-236x300.jpg" alt="ShopperPress WordPress Plugin" width="236" height="300" /></a><p class="wp-caption-text">ShopperPress WordPress Plugin</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<h2 style="text-align: left;">View The Demo</h2>
<p style="text-align: left;"><a title="ShopperPress WordPress Plugin" href="https://secure.avangate.com/affiliate.php?ACCOUNT=&amp;AFFILIATE=10648&amp;PATH=" target="_blank">ShopperPress Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent Ajax Projects</title>
		<link>http://www.simcomedia.com/recent-ajax-projects</link>
		<comments>http://www.simcomedia.com/recent-ajax-projects#comments</comments>
		<pubDate>Sat, 12 Dec 2009 19:46:59 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=645</guid>
		<description><![CDATA[Two recent projects involved extensive use of Ajax for displaying content. One of the great features about using Ajax is the ability to pull in external pages that can be pre-formatted with any time of content into the containing div using a common menu. Here are examples of how we&#8217;ve deployed Ajax in different ways [...]]]></description>
			<content:encoded><![CDATA[<p>Two recent projects involved extensive use of Ajax for displaying content. One of the great features about using Ajax is the ability to pull in external pages that can be pre-formatted with any time of content into the containing div using a common menu. Here are examples of how we&#8217;ve deployed Ajax in different ways to assist with the navigation of client websites:<span id="more-645"></span></p>
<h3>Example #1 &#8211; Using Ajax in the Main Menu</h3>
<p>When we say &#8216;main menu&#8217; we are referring to the main method of navigation for the website. This is usually a horizontal or vertical menu (in this case a vertical unordered list styled with CSS) that is present on every page of the site. This image below illustrates how the site was laid out to accommodate the display of the external content into the container div (click to enlarge):</p>
<p style="text-align: center;"> </p>
<p><br class="spacer_" /></p>
<div id="attachment_647" class="wp-caption aligncenter" style="width: 310px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2009/12/myers-ajax.jpg"><img class="size-medium wp-image-647" title="Ajax menu by SimcoMedia" src="http://www.simcomedia.com/wp-content/uploads/2009/12/myers-ajax-300x212.jpg" alt="Ajax menu by SimcoMedia" width="300" height="212" /></a><p class="wp-caption-text">Ajax menu by SimcoMedia</p></div>
<p><br class="spacer_" /></p>
<h3>Example #2 &#8211; Using Ajax in a Sub-menu</h3>
<p>In this example the site has a main menu horizontally to provide navigation to all the various sections of the site. Within those sections are sub-menus that allow the related content to be displayed via Ajax into a container div located to the right of the sub-menu. This is extremely helpful in keeping the visitor &#8216;on topic&#8217; while reviewing your site content. The image below illustrates the layout (click to enlarge):</p>
<p><br class="spacer_" /></p>
<div id="attachment_648" class="wp-caption aligncenter" style="width: 310px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2009/12/svps-ajax.jpg"><img class="size-medium wp-image-648" title="Ajax menu by SimcoMedia" src="http://www.simcomedia.com/wp-content/uploads/2009/12/svps-ajax-300x212.jpg" alt="Ajax menu by SimcoMedia" width="300" height="212" /></a><p class="wp-caption-text">Ajax menu by SimcoMedia</p></div>
<p><br class="spacer_" /></p>
<p>Ajax can be used in a variety of ways to improve the speed and ease of navigation for your website. Overuse of Ajax can be a site killer. For more information on how Ajax could be integrated into your website please <a href="http://www.simcomedia.com/contact">contact us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/recent-ajax-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Block Hover Links</title>
		<link>http://www.simcomedia.com/css-block-hover-links</link>
		<comments>http://www.simcomedia.com/css-block-hover-links#comments</comments>
		<pubDate>Sun, 06 Dec 2009 21:20:14 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=562</guid>
		<description><![CDATA[One of the coolest effects for hyperlinks is to have an entire paragraph or block change background color on mouseover. Whatever is inside the block area remains the same, though. Just the background color changes. Here&#8217;s a look at how it looks while using some thumbnails that would represent the topic of each link at [...]]]></description>
			<content:encoded><![CDATA[<p>One of the coolest effects for hyperlinks is to have an entire paragraph or block change background color on mouseover. Whatever is inside the block area remains the same, though. Just the background color changes. Here&#8217;s a look at how it looks while using some thumbnails that would represent the topic of each link at the same time. The thumbnails, however, do not have any hover effect themselves.<br />
<span id="more-562"></span><br />
<br/><br/><br/></p>
<div id="linkwrapper">
<div id="linkpics"><img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /><br />
<img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /><br />
<img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /></div>
<div id="links">
<ul>
<li><a title="Text" href="#">Link Title One<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Two<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Three<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
</ul>
</div>
</div>
<div style="clear: both;"></div>
<p>The HTML is pretty straight forward and the heights and widths can be adjusted to whatever you&#8217;d like them to be. My example shows the thumbnails at 80 x 87 in order to match the height of the block they represent. There&#8217;s no set height for the blocks themselves so you&#8217;ll need to judge your thumbnails based upon the amount of text you place into your blocks.</p>
<p>The trick with this is the &#8216;link&#8217; is the entire block or li tag. Therefore, when you mouse over it, the hover effect covers the entire block</p>
<p>Here&#8217;s the HTML:</p>
<pre class="[brush:html]">
<div id="linkwrapper">
<div id="linkpics">
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" />
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" />
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" /></div>
<div id="links">
<ul>
<li><a title="Text" href="#">Link Title One
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Two
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Three
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
</ul>
</div>
</div>
</pre>
<p>Here&#8217;s the CSS from the example:</p>
<pre class="[brush:css]">#links ul {
        list-style-type: none;
        width: 400px;
		float: left;
		margin: 0px;
		padding: 0px;
} 

#links li {
        border: 1px dotted #999;
        border-width: 1px 0;
        margin: 5px 0;
}

#links li a {
        color: #990000;
        display: block;
        font: bold 120% Arial, Helvetica, sans-serif;
        padding: 5px;
        text-decoration: none;
}

 * html #links li a {  /* make hover effect work in IE */
	width: 400px;
	float: left;
}

#links li a:hover {
        background: #FCD5AD
}

#links a em {
        color: #333;
        display: block;
        font: normal 85% Verdana, Helvetica, sans-serif;
        line-height: 125%;
}

#links a span {
        color: #125F15;
        font: normal 70% Verdana, Helvetica, sans-serif;
        line-height: 150%;
}

#linkwrapper {
width: 550px;
border: 0;
}

#linkpics {
width: 80px;
float: left;
padding: 5px;
margin-right: 10px;
}

.linksimage {
float: left;
width: 80px;
margin-bottom: 5px;
border: 1px #CC3300 solid;
padding: 3px;
background: #FF9900;

}</pre>
<p>Notice that there&#8217;s a div that wraps around the entire set of blocks. This is done so the other two divs will reside side by side when using the float: left; selector on each. The width of the wrapping div needs to be wide enough to accommodate both child divs plus their margins, borders and padding.</p>
<p>Another note, the IE special instruction is there since IE requires that the link itself be the same width of the div. Otherwise it won&#8217;t work in IE.</p>
<p>Obviously you can make this example as wide as you need it and add additional li&#8217;s to the mix. This type of setup would make a nice navigation system for a product page. You could even use Ajax to load content into another div on the page when these hyperlink blocks are clicked on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-block-hover-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Rounded Corners With Images</title>
		<link>http://www.simcomedia.com/css-rounded-corners-with-images</link>
		<comments>http://www.simcomedia.com/css-rounded-corners-with-images#comments</comments>
		<pubDate>Sat, 21 Nov 2009 21:51:02 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=545</guid>
		<description><![CDATA[Rounded corners are widely used as a way to isolate certain content on your webpages and, at the same time, get away from the block-ish look of everything having 90 degree right angles. Even though CSS3 has some relief coming for using simpler methods to attain the rounded corners look, it&#8217;s not supported in all [...]]]></description>
			<content:encoded><![CDATA[<p>Rounded corners are widely used as a way to isolate certain content on your webpages and, at the same time, get away from the block-ish look of everything having 90 degree right angles. Even though CSS3 has some relief coming for using simpler methods to attain the rounded corners look, it&#8217;s not supported in all browsers (especially IE) and it could be years before all the people surfing the web update their software to accommodate it. So, in the interim, we use methods like these.<span id="more-545"></span>The difference in which of these methods you use depends upon what you want your rounded corner box to do. In most cases it&#8217;s going to expand vertically as you add content. Therefore, we&#8217;ll assume it&#8217;s going to be a fixed width horizontally. But, option #1 could expand both directions while option #2 would not expand horizontally without modifying the images.</p>
<p>Option #1 &#8211; using corner images</p>
<p>This option requires you create the corner images with all four being exactly equal in size and named according to the code sample.</p>
<pre class="brush:[html]">
<div>
<div>

<img style="display: none;" src="tl.gif" alt="" width="15" height="15" /></div>

CONTENT Goes In here
<div>

<img style="display: none;" src="bl.gif" alt="" width="15" height="15" /></div>
</div>
</pre>
<p>And the CSS being:</p>
<pre class="brush:[css]">
.roundcont {

width: 250px;

background-color: #f90;

color: #fff;

}

.roundcont p {

margin: 0 10px;

}

.roundtop {

background: url(tr.gif) no-repeat top right;

}

.roundbottom {

background: url(br.gif) no-repeat top right;

}

img.corner {

width: 15px;

height: 15px;

border: none;

display: block !important;

}</pre>
<p>Option #2 &#8211; fixed width</p>
<p>The other option requires just three images, the top, middle and bottom. This method uses three div&#8217;s with the middle one being your content container. Each div has a background which is your top, middle and bottom. The middle div, though, is where your content goes and is expandable vertically depending upon that content. The nice part about this setup is you can style your borders for your box any way you wish and have uneven dimensions on the top or bottom. The center or middle is simply a div with some margins to position your text.</p>
<pre class="brush:[html]">
<div id="content">
<div id="contentcontainer">

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lectus magna, consectetur eu
eleifend sit amet, condimentum ac massa. Maecenas at diam eu est scelerisque facilisis id sit amet
ligula. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Sed vitae risus cursus dui pulvinar rhoncus at et velit. Cras nulla velit, pellentesque ut ultricies
eget, sodales eget arcu. Morbi sed nunc quis urna condimentum imperdiet. Ut nec justo sed ligula
interdum egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
himenaeos. Nullam non est vel odio hendrerit dignissim at quis dui. Fusce laoreet erat non urna
lacinia porta. Maecenas ac metus lacus, nec convallis ligula. Cras in eros in felis rutrum varius
vel eu dolor. Nunc lorem erat, adipiscing non aliquam elementum, accumsan sed mi. Mauris urna eros,
suscipit sit amet tristique rhoncus, venenatis a nunc. Cras eget nunc quam, a mattis libero. Etiam
sit amet auctor dolor. Vivamus pretium iaculis justo vitae faucibus. Nulla orci nisi, accumsan sed
semper ac, bibendum id erat.</div>

<!-- end of content container --></div>

<!-- end of content --></pre>
<p>And, the CSS for this:</p>
<pre class="brush:[css]">
#content-top {
background-image: url('images/content-top.png');
background-repeat: no-repeat;
width: 670px;
height: 20px;
float: left;
}
#content {
background-image: url('images/content-bg.png');
background-repeat: repeat-y;
width: 670px;
min-height: 300px;

float: left;
}

#contentcontainer {
width: 650px;
margin-left: 10px;
float: left;
}

#content-bottom {
background-image: url('images/content-bottom.png');
background-repeat: no-repeat;
width: 670px;
height: 20px;
float: left;
}</pre>
<p>Option #2 was used in a recent project for the main content area. This content holder was also the target div for the Ajax display of content from page to page. The div expands vertically without breaking in order to allow as much space as needed for the various pages being summoned into the content area.</p>
<p>You can view it at <a href="http://www.myerschiro.com" target="_blank">Myers Chiropractic Center</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-rounded-corners-with-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
