<?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>BeCreative Magazine &#187; Coding</title>
	<atom:link href="http://becreativemagazine.com/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://becreativemagazine.com</link>
	<description>Powered By Coffee Alone!</description>
	<lastBuildDate>Fri, 30 Jul 2010 03:35:54 +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>Buttons: Creating The PSD Then Going To CSS3</title>
		<link>http://becreativemagazine.com/2010/06/buttons-creating-the-psd-then-going-to-css3/</link>
		<comments>http://becreativemagazine.com/2010/06/buttons-creating-the-psd-then-going-to-css3/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 18:53:05 +0000</pubDate>
		<dc:creator>Seb Kay</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://becreativemagazine.com/?p=1024</guid>
		<description><![CDATA[Download &#124; Demo Step 1: Getting Started Setting Up The Layers So lets get on with the tutorial. First thing to do is open up PS, (yes that&#8217;s short for Photoshop), and make a new image, sized at: 590&#215;200. Then create a new group named Dark Button. This is obviously where the dark button is [...]]]></description>
			<content:encoded><![CDATA[<p><center><br />
<h2><a href="http://becreativemagazine.com/wp-content/uploads/2010/downloads/buttons-psd-css3/SourceFiles.zip">Download</a> | <a href="http://becreativemagazine.com/wp-content/uploads/2010/demos/buttons-psd-css3/demo_page.html">Demo</a></h2>
<p></center></p>
<h2>Step 1: Getting Started</h2>
<h3>Setting Up The Layers</h3>
<p>So lets get on with the tutorial. First thing to do is open up PS, (yes that&#8217;s short for Photoshop), and make a new image, sized at: <strong>590&#215;200</strong>. Then create a new group named <strong>Dark Button</strong>. This is obviously where the dark button is going to be placed. A new layer is now needed called <strong>BG</strong>. You can now delete the original Background layer that photoshop adds to every new file. Then fill in the BG layer, (which should be inside of the Dark Button group), with <strong>#1b1b1b</strong>.</p>
<p>Another new layer is now needed. First create the layer &#8216;Button&#8217;; this is where the actual button will be designed&#8230;But wait!&#8230;How will we position it? Well that&#8217;s where the helpful guides come in. Grab a guide from the top and place it <strong>50px from the top</strong>. Another one <strong>50px from the left</strong> then just continue with the right and bottom.</p>
<h2>Step 2: The Button Design</h2>
<p>So for the button we need to grab the <strong>Rounded Rectangle</strong> tool, (right click the Rectangle Tool. Keyboard shortcut is U). Make a selection inside of the guides like so:<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/06/step_1.jpg" alt="Creating A Button In Photoshop: Step #1" title="Creating A Button In Photoshop: Step #1" width="590" height="249" class="alignnone size-full wp-image-1025" /></p>
<h3>The Layer Styles</h3>
<p>Now the fun part happens. Making it look good. So for this we&#8217;ll use layer styles. The colours are: <strong>#474747</strong> to <strong>#262626</strong>. Below I&#8217;ve included an image that demonstrates how to apply each layer style.<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/06/step_2.jpg" alt="Creating A Button In Photoshop: Step #2" title="Creating A Button In Photoshop: Step #2" width="590" height="1545" class="alignnone size-full wp-image-1026" /></p>
<h2>Step 3: The Text</h2>
<p>It&#8217;s time to give our button some text. I&#8217;ve decided to go for a nice light colour with some drop shadow and a nice gradient. The first thing to do is to make a new text layer by either choosing it in the <strong>Text Tool </strong>or by hitting the shortcut key T. Now make a selection inside of the guides, it should be roughly <strong>65px-70px</strong> in height. Here are the font options I chose:</p>
<ul>
<li>Typeface: Myriad Pro</li>
<li>Font-Weight: Bold</li>
<li>Size: 50px</li>
<li>Anti-Aliasing: Crisp</li>
<li>Align: Center</li>
<li>Colour: #f1f1f1 (Colour doesn&#8217;t really matter since we&#8217;ll be using a Gradient Overlay)</li>
</ul>
<p>Next thing to do to our text is to add the gradient and outer-glow. Just double click the layer and the layer styles box will appear. The colours used for the gradient are: <strong>#c6c6c6</strong> to <strong>#ffffff</strong>. Here are the options I chose:<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/06/step_3.jpg" alt="Creating A Button In Photoshop: Step #3" title="Creating A Button In Photoshop: Step #3" width="590" height="1040" class="alignnone size-full wp-image-1027" /></p>
<h2>Step 4: The HTML &#038; CSS3 Awesomeness</h2>
<p>Let&#8217;s get this show on the road, shall we? So the first thing to do is set up our files, we need an <strong>index.html</strong> and that&#8217;s pretty much it. Next it&#8217;s the code.</p>
<h3>The HTML</h3>
<p>Let me explain. The HTML is all pretty basic, to be perfectly honest I wanted the HTML to take a back seat in this tutorial so all I&#8217;ve done is the following few lines:</p>
<pre class="brush: html">
&lt;div id=&quot;container&quot;&gt;
     &lt;div class=&quot;button&quot;&gt;
          &lt;a href=&quot;#&quot;&gt;CSS3 Button Baby!&lt;/a&gt;
     &lt;/div&gt;&lt;!--end .button--&gt;
&lt;/div&gt;&lt;!--end #container--&gt;
</pre>
<p>The container is just used to center our fancy CSS3 button on the page; Then we have the actual button. If you&#8217;re going to use a selection of buttons, (like we have in our new design), then I would suggest using an <strong>Unordered List</strong> but for this a simple div will do. Inside of the Div we have an <strong>Anchor link</strong> to hold our text, this will also be the actual element to be selected in the CSS.</p>
<h3>The CSS&#8230;With Added CSS3</h3>
<p>This is where the tutorial actually gets interesting. Below I&#8217;ve included all the code used for the button. It may seem like quite a chunk to get through but if you keep reading then It&#8217;ll be planted firmly in your brain in no time at all!</p>
<h4>Non-Commented Version</h4>
<pre class="brush: css">
.button a {
    font-size:50px;
    font-weight:bold;
    color:#f1f1f1;
    text-decoration:none;
    padding:20px;
    display:inline-block;
    text-shadow:0px 0px 5px #000000;
    -moz-box-shadow:0px 0px 15px #000000;
    -webkit-box-shadow:0px 0px 15px #000000;
    border:1px solid #525252;
    -moz-border-radius:20px;
    -webkit-border-radius:20px;
    background:#262626;
    background:-moz-linear-gradient(#474747 60%, #262626);
    background:-webkit-gradient(linear, 0 0, 0 100%, from(#474747), to(#262626))
}

.button a:hover {
     border:1px solid #5e5e5e;
     background:-moz-linear-gradient(#525252 60%, #303030);
     background:-webkit-gradient(linear, 0 0, 0 100%, from(#525252), to(#303030));
 }
 .button a:active {
     background:-moz-linear-gradient(#262626, #474747 60%);
     background:-webkit-gradient(linear, 0 0, 0 100%, from(#262626), to(#474747));
 }
</pre>
<h4>Commented Version</h4>
<pre class="brush: css">
.button a {
    /*Font Values*/
    font-size:50px;
    font-weight:bold;
    color:#f1f1f1;
    text-decoration:none; 

    /*Fundamental Properties*/
    padding:20px;
    display:inline-block; 

    /*Shadow*/
    text-shadow:0px 0px 5px #000000;
    -moz-box-shadow:0px 0px 15px #000000;
    -webkit-box-shadow:0px 0px 15px #000000; 

    /*Border And Background Properties*/
    border:1px solid #525252;
   -moz-border-radius:20px;
   -webkit-border-radius:20px;
    background:#262626;
    background:-moz-linear-gradient(#474747 60%, #262626);
    background:-webkit-gradient(linear, 0 0, 0 100%, from(#474747), to(#262626));
}

.button a:hover {
     border:1px solid #5e5e5e;
     background:-moz-linear-gradient(#525252 60%, #303030);
     background:-webkit-gradient(linear, 0 0, 0 100%, from(#525252), to(#303030));
 }

 .button a:active {
     background:-moz-linear-gradient(#262626, #474747 60%);
     background:-webkit-gradient(linear, 0 0, 0 100%, from(#262626), to(#474747));
 }
</pre>
<h3>Explaining The Code</h3>
<p>Since this is an advanced tutorial aimed at people with some experience handling CSS then I won&#8217;t go through explaining the #body and #container styling.</p>
<p>To start off with we have set a font-size for our button, this is very important because it will make our button more liquid than fixed, especially helpful if you want it to be flexible. Following the other basic font values, I&#8217;ve given it some padding to help give the text some breathing room.</p>
<p>We&#8217;ve also added a display:inline; property to the button. This now allows it to to be manipulated, as you would with a Div.</p>
<h3>The Shadowy Effects</h3>
<p>Now comes the CSS3! The first thing I&#8217;ve done is add some shadow, to the actual text and the outside of the button. We have to use the special code for Mozilla Firefox, (-moz-) and Google Chrome/Safari, (by using the WebKit property, -webkit-). If you&#8217;re wondering what the values of <strong>0px 0px 15px #000000</strong> mean then let me explain:</p>
<ul>
<li><span class="li_number">1.)</span> <strong>0px</strong> = The placement of shadow of the X Axis. That means left and      right. It can also accept negative, aswell as positive values, (-3px, 3px).</li>
<li><span class="li_number">2.)</span> <strong>0px</strong> = The placement of the shadow on the Y Axis. That means up      and      down. It can also accept negative, aswell as positive values, (-3px, 3px).</li>
<li><span class="li_number">3.)</span> <strong>5px/15px</strong> = This is referring to the amount of blur on the shadow.</li>
<li><span class="li_number">4.)</span>As you may have guessed, the <strong>#000000</strong> is the colour of the shadow. If you didn&#8217;t know that, then      please stop reading this tutorial and <a href="http://www.planetlabelblog.com/2010/01/understanding-rgb-color-and-hexadecimal-values/"> go and learn what #HEX values are.</a></li>
</ul>
<h3>The Border Radius</h3>
<p>You may notice that the border properties are targeted the same here as with the shadow effects, by using <strong>-moz-</strong> and <strong>-webkit-</strong>. Even though I&#8217;ve only given one parameter here, (20px, which means round the corners by 20px on each side), you can also have a custom radius on each corner. Try pasting <strong>20px 10px 5px 30px</strong> in the place of the single 20px value. You&#8217;ll notice that each corner now has a different radius. The first 20px value is for the top left, the second the top right, the third the bottom right and the fourth the bottom left. Just like using the margin property.</p>
<h3>The Awesome CSS3 Gradients!</h3>
<p>We finally get to the part you&#8217;ve been waiting for, the gradients! First we have the Firefox specific gradient. Here&#8217;s a run down of everything included for FF.</p>
<ul>
<li><span class="li_number" >1.)</span> <strong>-moz-linear-gradient</strong> &#8211; This can be used to specify whether our gradient is going to be either Linear or Radial. In this case I&#8217;ve used linear.
<ul>
<li><span class="li_number">1.)</span> We start with the lighter colour at the top of the gradient. We make it so it covers a little more of the button, (60%), than the darker colour used.</li>
</ul>
</li>
<li><span class="li_number">2.)</span> <strong>-webkit-gradient</strong> &#8211; This one can look a little tricky at first, but no worries, in just a few seconds it&#8221;ll be embedded into your brain. Also this property does not disclose the type of gradient in the value name.
<ul>
<li><span class="li_number">1.)</span> Firstly we declare that it will be a linear gradient.</li>
<li><span class="li_number">2.)</span> We then declare where it will be placed. In this example we have <strong>0 0</strong> (from the left and from the top &#8211; top left).</li>
<li><span class="li_number">3.)</span> Next is giving the size of the gradient. Here we have <strong>0 100%</strong> which means start at the very top, (0), and go to the very bottom, (100% of the element).</li>
<li><span class="li_number">4.)</span> After that I think the rest is pretty self-explanitory. Just which colours we&#8217;re using.</li>
</ul>
</li>
</ul>
<h2>Final Thoughts</h2>
<p>In conclusion I would like to say a big thank you to those people who have stuck around through-out this tutorial. If you have any thoughts, be sure to share them below.</p>
]]></content:encoded>
			<wfw:commentRss>http://becreativemagazine.com/2010/06/buttons-creating-the-psd-then-going-to-css3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Weird Float/Height Problems and How To Solve Them!</title>
		<link>http://becreativemagazine.com/2010/02/weird-floatheight-problems-and-how-to-solve-them/</link>
		<comments>http://becreativemagazine.com/2010/02/weird-floatheight-problems-and-how-to-solve-them/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 12:44:07 +0000</pubDate>
		<dc:creator>Seb Kay</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[floating problems]]></category>
		<category><![CDATA[height problems]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://becreativemagazine.com/?p=654</guid>
		<description><![CDATA[Please Note: This has only been tested in FireFox because I work with FireFox the most. However I&#8217;ve had the same problem with Safari and Opera. I know this trick works, I&#8217;ve used it many times. I&#8217;d like to take this chance to explain to the younger-in-mind CSS coders out there, (It means your at [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Please Note: This has only been tested in FireFox because I work with FireFox the most. However I&#8217;ve had the same problem with Safari and Opera. I know this trick works, I&#8217;ve used it many times.</strong></p>
<p>I&#8217;d like to take this chance to explain to the <em>younger-in-mind</em> CSS coders out there, (It means your at the beginner/intermediate level), how to solve the strange no-height issue when floating child elements. I&#8217;ve seen this problem affect many advanced coders as well as the newbies, and this is it:</p>
<div class="big_quote">
<p>I set my Child Divs&#8217; to Float and now the Parent Div has lost it&#8217;s height&#8230;WTF?!</p>
</div>
<p>Or</p>
<div class="big_quote">
<p>I set my Child Divs&#8217; to Float and now the Parent Div&#8217;s height is only as high as the Child elements Paragraph tags&#8230;WTF?!</p>
</div>
<p>Yes, We&#8217;ve all been there. It&#8217;s a problem where the Parent element doesn&#8217;t recognise the Child elements, only the Child element&#8217;s Paragraph tags. Your code will look something like this:</p>
<h2>The Problem</h2>
<h3>(x)HTML</h3>
<pre class="brush: html">
&lt;div id=&quot;parent_element&quot;&gt;
	&lt;div class=&quot;child_element&quot;&gt;
		&lt;p&gt;Left&lt;/p&gt;
	&lt;/div&gt;
	&lt;div class=&quot;child_element2&quot;&gt;
		&lt;p&gt;Right&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre class="brush: css">
#parent_element {
	width:600px;
	padding:20px;
	border:1px solid #ccc;
	background:#e6e6e6;
}
.child_element {
	width:260px;
	height:50px;
	float:left;
	background:#666;
}
.child_element2 {
	width:260px;
	height:50px;
	float:right;
	background:#666;
}
</pre>
<h3>The Result:</h3>
<p><img src="http://becreativemagazine.com/wp-content/uploads/2010/02/img_1.jpg" alt="Not Displaying Correctly" title="Not Displaying Correctly" width="590" height="123" class="alignnone size-full wp-image-665" /><br />
Not Pretty, Is It?</p>
<h2>Solving The Problem With Display:Inline-Block;</h2>
<p>We only need to add one thing. Take a look, I think I&#8217;ve made it pretty obvious <img src='http://becreativemagazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  :</p>
<h3>CSS</h3>
<pre class="brush: css">
#parent_element {
	width:600px;
	padding:20px;
    /***Right Here***/ display:inline-block; /***That&#039;s Right!***/
	border:1px solid #ccc;
	background:#e6e6e6;
}
</pre>
<h3>The Magic At Work:</h3>
<p><img src="http://becreativemagazine.com/wp-content/uploads/2010/02/img_2.jpg" alt="Displaying Properly With Display Inline-Block" title="Displaying Properly With Display Inline-Block" width="590" height="123" class="alignnone size-full wp-image-659" /></p>
<h2>Final Thoughts &amp; Wise Words</h2>
<p>All I can say is that it works perfectly. However you can&#8217;t center the Div using <code>margin:0px auto;</code> so just add another wrapper. I also realize that there are other ways to fix this issue. However this one works best for me because I&#8217;m used to using it. If you enjoyed this or think I&#8217;ve failed epically, leave a comment below!</p>
]]></content:encoded>
			<wfw:commentRss>http://becreativemagazine.com/2010/02/weird-floatheight-problems-and-how-to-solve-them/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tutorial &#8211; How to Install &amp; Use The Syntax Highlighter Website Plugin</title>
		<link>http://becreativemagazine.com/2010/02/how-to-install-use-the-syntax-highlighter-website-plugin/</link>
		<comments>http://becreativemagazine.com/2010/02/how-to-install-use-the-syntax-highlighter-website-plugin/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:13:27 +0000</pubDate>
		<dc:creator>Seb Kay</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[syntax highlighter plugin]]></category>

		<guid isPermaLink="false">http://becreativemagazine.com/?p=615</guid>
		<description><![CDATA[Syntax Highlighter? If you are a web developer and have never seen a Syntax Highlighting plugin before then here are the basics: They&#8217;re mainly used for highlighting syntax, (showing the code), that would otherwise be interpreted by the browser as normal code. In short it stops the browser from outputting the code. Most Syntax Highlighters [...]]]></description>
			<content:encoded><![CDATA[<h2>Syntax Highlighter?</h2>
<p>If you are a web developer and have never seen a Syntax Highlighting plugin before then here are the basics:</p>
<ul>
<li>They&#8217;re mainly used for highlighting syntax, (showing the code), that would otherwise be interpreted by the browser as normal code. In short it stops the browser from outputting the code.</li>
<li>Most Syntax Highlighters can output many different languages such as <code>(x)HTML, CSS, PHP, javaScript</code> etc&#8230;</li>
</ul>
<p>So lets take a look at the best Highlighter I personally know of: <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter by Alex Gorbatchev</a>. Yes i know that page with the bright yellow looks very intimidating right now but not to worry that&#8217;s why I&#8217;m here <img src='http://becreativemagazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Step #1: Downloading The Source Files</h2>
<p>So lets go over and <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Download">download the source files that we need</a> to get the highlighting working.</p>
<p>You should have this:<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/02/step1.jpg" alt="Syntax Highlighter - Step #1" title="Syntax Highlighter - Step #1" width="590" height="472" class="alignnone size-full wp-image-618" /></p>
<h2>Step #2: Creating Our HTML File</h2>
<p>Now we need to make a HTML page to test our new toy, (yes I am still talking about the Highlighter <img src='http://becreativemagazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).<br />
So set up a page with the following values and Divs etc&#8230;</p>
<pre class="brush: html">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
	&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;The SyntaxHighlighter Tutorial Files - By KayRoseDesign&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div id=&quot;wrap&quot;&gt;
		&lt;div id=&quot;container&quot;&gt;
			&lt;h2&gt;Everybody Was &#039;Syntax Highlighting&#039;!&lt;/h2&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Just a pretty basic html page.</p>
<h2>Step #3: Setting Up All Of The Files</h2>
<p>It&#8217;s time to get everything in place so that we can link to them the next step; your folder should look as follows:<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/02/step2.jpg" alt="Syntax Highlighter - Step #2" title="Syntax Highlighter - Step #2" width="590" height="472" class="alignnone size-full wp-image-619" /></p>
<p>So we need to add the files named <code>shBrushXml.js</code> and <code>shCore.js</code> into our JS folder. The we need to add the <code>shCore.css</code> and <code>shThemeDefault.css</code> in our CSS folder.</p>
<h3>Linking To The Files</h3>
<p>In the header section below the <code>title</code> tag, add the following links:</p>
<pre class="brush: html">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/shCore.js&quot;&gt;&lt;/script&gt;
&lt;!-- At least one brush, here we choose XML. You need to include a brush for every language you want to highlight --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/shBrushXml.js&quot;&gt;&lt;/script&gt;

&lt;!-- Include *at least* the core style and default theme --&gt;
&lt;link href=&quot;css/shCore.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;link href=&quot;css/shThemeDefault.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
</pre>
<p>As you can see each part has been described very well be Alex Gorbatchev.</p>
<h2>Step #4: Adding Some JavaScript</h2>
<p>Now we&#8217;re onto the last step, yay!<br />
So we only need to add one more piece of javaScript, and here it is:</p>
<pre class="brush: javascript">
&lt;script type=&quot;text/javascript&quot;&gt;
	SyntaxHighlighter.all()
&lt;/script&gt;
</pre>
<p>Just put it below the links to our javaScript file and Voila!</p>
<h3>Outputting Some HTML!</h3>
<p>Lets show our code shall we?<br />
Well all we need to do is out in some <code>pre</code> tags, like so:</p>
<pre class="brush: html">
&lt;pre class=&quot;brush: xhtml&quot;&gt;
&lt;h2&gt;Hello, World!&lt;/h2&gt;
	&lt;p&gt;
		Paragraph Tags!
	&lt;/p&gt;
	&lt;p&gt;
		&lt;strong&gt;Strong Tags within Paragraph Tags!&lt;/strong&gt;
	&lt;/p&gt;
&lt;/pre&gt;
</pre>
<p>And the output will looks like so:<br />
<img src="http://becreativemagazine.com/wp-content/uploads/2010/02/step4.jpg" alt="Syntax Highlighter - Step #4" title="Syntax Highlighter - Step #4" width="590" height="232" class="alignnone size-full wp-image-620" /></p>
<p>I hope you enjoyed this quick tutorial. If you did then leave a comment telling me why you liked or telling what I did wrong! <img src='http://becreativemagazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://becreativemagazine.com/2010/02/how-to-install-use-the-syntax-highlighter-website-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screencast &#8211; How To Create An &#8216;Easy Gallery&#8217; jQuery Plugin</title>
		<link>http://becreativemagazine.com/2010/02/tutorial-how-to-create-an-easy-gallery-jquery-plugin/</link>
		<comments>http://becreativemagazine.com/2010/02/tutorial-how-to-create-an-easy-gallery-jquery-plugin/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 15:43:56 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[jquery plugin tutorial]]></category>
		<category><![CDATA[jquery tutorial]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[video tutorial]]></category>

		<guid isPermaLink="false">http://becreativemagazine.com/?p=626</guid>
		<description><![CDATA[Video Tutorial: Final Code /** * Easy Gallery jQuery Plugin * Author: Drew Douglass * Version: 0.1 * * */ (function($){ $.fn.easyGallery = function(settings) { //setup some options var opts = $.extend({}, $.fn.easyGallery.defaults,settings); return this.each(function(setting){ var options = $.extend({}, opts, $(this).data()); $(this).hover(function(){ $(this).siblings().stop().animate({ opacity: options.opacity },options.duration); }, function(){ $(this).siblings().stop().animate({ opacity: options.originalOpacity },options.duration); }); }); } [...]]]></description>
			<content:encoded><![CDATA[<h2>Video Tutorial:</h2>
<p><embed src="http://blip.tv/play/AYHD6B8C" type="application/x-shockwave-flash" width="590" height="406" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<h2>Final Code</h2>
<pre>
<pre class="brush: javascript">
/**
  * Easy Gallery jQuery Plugin
  * Author: Drew Douglass
  * Version: 0.1
  *
  *
  */
(function($){
  	$.fn.easyGallery = function(settings) {

  		//setup some options
  		var opts = $.extend({}, $.fn.easyGallery.defaults,settings);
  		return this.each(function(setting){
  			var options = $.extend({}, opts, $(this).data());
  			$(this).hover(function(){
  				$(this).siblings().stop().animate({
  					opacity: options.opacity
  				},options.duration);
  			}, function(){
  				$(this).siblings().stop().animate({
  					opacity: options.originalOpacity
  				},options.duration);
  			});
  		});

  	}
  	$.fn.easyGallery.defaults = {
  		duration: 500,
  		opacity: 0.5,
  		originalOpacity: 1
  	}
})(jQuery);
</pre>
</pre>
<h2>Helpful Resources</h2>
<ul>
<li><a href="http://www.learningjquery.com/2007/10/a-plugin-development-pattern" title="A Plugin Dev Pattern">A Plugin Development Pattern &#8211; Learning jQuery</a></li>
<li><a href="http://github.com/DrewDouglass/Easy-Gallery-Focus-" title="Easy Gallery Focus Plugin Files">Plugin Files/Github Repo</a></li>
</ul>
<p>Thank to Jarel Remick for providing the <a href="http://picasaweb.google.com/EnvatoMarketplaceAssets" title="">free demo images</a>.</p>
<p><center>
<p><a href="http://tutsplus.com/amember/go.php?r=5482&#038;i=b46"><img src="http://miscfiles.s3.amazonaws.com/banners/nettuts_468x60.jpg" border=0 alt="Net Premium: web dev education from the professionals." width=468 height=60></a></p>
<p></center></p>
]]></content:encoded>
			<wfw:commentRss>http://becreativemagazine.com/2010/02/tutorial-how-to-create-an-easy-gallery-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
