<?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>redeyeops.com</title>
	<atom:link href="http://redeyeops.com/content/feed/" rel="self" type="application/rss+xml" />
	<link>http://redeyeops.com/content</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 26 Jun 2010 07:56:30 +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>Flashy Intro pt.2 (handling multi page loads)</title>
		<link>http://redeyeops.com/content/flashy-intro-pt-2-handling-multi-page-loads/</link>
		<comments>http://redeyeops.com/content/flashy-intro-pt-2-handling-multi-page-loads/#comments</comments>
		<pubDate>Mon, 31 May 2010 18:16:37 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[Web TUTS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[intro]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[pop]]></category>
		<category><![CDATA[up]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=265</guid>
		<description><![CDATA[need to overcome the problem of multiple page refreshes. In this blog we are going to use javascript, and more specifically cookies. We can code this out in pure Javascript, but if your using jQuery already why not take a short cut (write less do more). So im going to attach a jQuery plugin that optimizes the creation and checking of cookies. The name it is called cookies.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="computer user" src="http://data-pile.com/Computer-user-roots-resized.jpg" alt="" width="223" height="224" />Im sorry it has taken me so long to put up this second blog. If you are reading this and you have not read the first blog you might want to  go and check it out. <a href="http://redeyeops.com/content/make-a-flashy-http://redeyeops.com/content/make-a-flashy-intro-overlay-with-jquery/">Make a Flashy IntroOverlay with jQuery</a>. Well first things first take the codes we used in the first blog.</p>
<h1><a href="http://redeyeops.com/previews/intro/introPlusCookiePreview.php">Demo</a></h1>
<p>Now we need to overcome the problem of multiple page refreshes. In this blog we are going to use javascript, and more specifically cookies. We can code this out in pure Javascript, but if your using jQuery already why not take a short cut (write less do more). So im going to attach a jQuery plugin that optimizes the creation and checking of cookies. The name is cookies.</p>
<h2><a href="http://plugins.jquery.com/project/cookie" target="_blank">Download jQuery.cookies.js</a></h2>
<p>Take a bit to read over the API its a pretty simple plugin to use. After attaching this plugin below jQuery we are ready to code out some Javascript. First we need to create the cookie.</p>
<pre class="brush: jscript;">
//create cookie
$.cookie('introCookie', 'viewed', {expires: 0});
</pre>
<p>First we need to name the cookie(for this example we used introCookie). Then the next parameter is what we want the cookie to say, we are going to use viewed because it seems appropriate. For this use Im going to make the cookie delete when the browser window is closed, which is represented by 0. If I were to use a larger number the number would represent the number of days.</p>
<p>Now we need a way to checks if the cookie is properly working. So to check if the cookie is stored I am going to add a conditional statement that checks if we made the cookie, and then I am going to add an alert inside to run if true.</p>
<pre class="brush: jscript;">//create cookie
$.cookie('introCookie', 'viewed', {expires: 0});

if($.cookie('introCookie') === 'viewed'){
    alert('cookie is working now clear you cookies');
}
</pre>
<p>If you are checking the sample multiple times I suggest finding out how to delete cookies rather then actually closing your browser window.</p>
<p>Now lets add everything together. Im going to modularize everything into functions so that we can keep the code neater and easily  editable. Also we need to flip our conditional statement because we are only interested if the statement is false.</p>
<pre class="brush: jscript;">$(function(){

if($.cookie('introCookie') !== 'viewed'){
    intro();
}    

function intro(){
    var introCon = $('div#introContainer');

    introCon.show();

    introCon.click(function(){
        $(this).fadeOut(500);
    });

    window.setTimeout(function() {
        introCon.fadeOut(3000);
    }, 2000);

    createCookie();

}

function createCookie(){
    $.cookie('introCookie', 'viewed', {expires: 0});
}

});
</pre>
<p>Now you should have a working intro. Note that in this sample I added the createCookie function in the bottom of the intro function because I only want to create the cookie if the intro shows. Also I added in a variable, sorry if it has confused anyone, its just habit. <img src='http://redeyeops.com/content/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>If you are having any problems go ahead and talk to me in the comments about them. Let me know what you think about the tutorial. Also I am developing a plugin that will take care of your intro needs while also doing many other things if you have any suggestions for that plugin leave them in the comments below.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/flashy-intro-pt-2-handling-multi-page-loads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Rounded Inside Corners</title>
		<link>http://redeyeops.com/content/css3-rounded-inside-corners/</link>
		<comments>http://redeyeops.com/content/css3-rounded-inside-corners/#comments</comments>
		<pubDate>Mon, 10 May 2010 18:48:29 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[Web TUTS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[corners]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[fix hack]]></category>
		<category><![CDATA[fixx]]></category>
		<category><![CDATA[inner]]></category>
		<category><![CDATA[rounded]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=218</guid>
		<description><![CDATA[CSS3 round corners has to be one of the easiest and coolest styles to implement. Throw in the two codes, for mozilla and webkit, and you have rounded corners (on the browsers that matter). I have used these corners in many of my projects, but have alway found that when I try to butt two divs together the outcome is unfavorable....]]></description>
			<content:encoded><![CDATA[<p>CSS3 round corners has to be one of the easiest and coolest styles to implement. Throw in the two codes, for mozilla and webkit, and you have rounded corners (on the browsers that matter).  I have used these corners in many of my projects, but have alway found that when I try to butt two divs together the outcome is unfavorable. I could settle with a square corner, or have a awkward inward curve against the edge of the divs. I have used the absolute positioned image at the corner, but it still show a harsh line on macintosh computers (or a least mine). The most popular application of this style is  Vimeos navigation bar.</p>
<p><img class="aligncenter size-full wp-image-227" title="vimeoInsideCorners" src="http://redeyeops.com/content/wp-content/uploads/2010/05/vimeoInsideCorners.jpg" alt="" width="575" height="75" /></p>
<h1><a href="http://redeyeops.com/demos/218.html">DEMO</a></h1>
<h4>Lets Start With The CSS</h4>
<pre class="brush: css;">        .topContainer{
            width: 300px;
            height: 30px;
            margin: 10px 10px 0 10px;
            padding: 10px;
            background-color: #006666;
        }

        .bottomContainer{
           position:relative;
           width: 100px;
           height: 100px;
           padding: 10px;
           margin: 0px 0px 0px 100px;
           background-color: #006666;
        }

        .topLeftCorner{
            position: absolute;
            top: -10px;
            left: -20px;
            width: 10px;
            height: 10px;
            border-top: 10px solid #006666;
            border-right: 10px solid #006666;
            border-bottom: 10px solid transparent;
            border-left: 10px solid transparent;
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
        }

        .topRightCorner{
            position: absolute;
            top: -10px;
            right: -20px;
            width: 10px;
            height: 10px;
            border-top: 10px solid #006666;
            border-left: 10px solid #006666;
            border-bottom: 10px solid transparent;
            border-right: 10px solid transparent;
            -webkit-border-top-left-radius: 20px;
            -moz-border-radius-topleft: 20px;
        }

        .rAll{
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
        }
</pre>
<p>To make or corner pieces I making a div that is transparent but has a solid border which can be any height. Im making mine 10px because that is the size of my padding for my divs so it will fit in nicely and will also cover up the old round corner. Im positioning the div by using the position: relative, position: absolute method. I place them inside my bottomContainer and they will move to the corners of that div. I am using negative numbers in the top, left , and right parameters so that the divs get pushed outside the box that contains them. The top is set to -10px because I have a ten pixel border that I want to flow into the top div. Then I use -20px on the left and right because I need to push out the transparent border, and div out side of the div so that the only part in the container is now part of the opaque border. The setback to this is that there is an area of 20px where you can not put a link (which you should not be putting one there anyways). The  border radius is set to 20px because the outside radius of the colored border is 20px so the inside is 10px just like my divs border radius. I have the width set to ten because the div has to have width for mozilla to register the div has a radius (webkit will work with 0px).</p>
<h4>The HTML layout</h4>
<pre class="brush: xml;">&lt;div class=&quot;topContainer rAll&gt;
    Sample Text that should be more creative
&lt;/div&gt;
 &lt;div class=&quot;bottomContainer rAll&quot;&gt;
    &lt;div class=&quot;topLeftCorner&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;topRightCorner&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p><a href="http://redeyeops.com/content/wp-content/uploads/2010/05/neonSeaCorners1.jpg"><img class="alignright size-full wp-image-260" title="neonSeaCorners" src="http://redeyeops.com/content/wp-content/uploads/2010/05/neonSeaCorners1.jpg" alt="neonSeaCorners" /></a>The only thing here I want to point out is that there is still a dot that will show up between the divs. All you ned to do to fix it is to remove the top radius for the div. Have fun with this method and post cool ways you have used this method in a project in the comments. Also in the picture to the right is a sample of how I used these corners in a WordPress theme that Im designing. You can see that this is not the same positioning as the provided in the example but the codes are very similar.</p>
<h4>Benefits For Using This Method</h4>
<p>Why not just use the img method rather then this method? Well there is many reasons. Lets say you are using css3 rounded corners then you use the img rounded corners for the inner corners. When an IE user visits the page the a have a square box with rounded inner corners. Of course you can hack them out but thats already two steps too many. In this method the corners will lay flat and the sign of these divs will relatively disappear. Also it is a light weight solution. Lets say your using them like I am for comments in a post. If there are a hundred comments that equals 200 images 10px 10px to load. They are small but at that scale pack a punch compared to this method. Still, the most important point is that you can change the color numerous time without have to re-upload images. This can speed up the process of a color change, and will also have no color difference in any computer.</p>
<p>Tested on: Safari 4.0.3, FireFox 3.6.3, Chrome 5.0 beta, Chrome 4.1</p>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/css3-rounded-inside-corners/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make a flashy Intro overlay with jQuery</title>
		<link>http://redeyeops.com/content/make-a-flashy-intro-overlay-with-jquery/</link>
		<comments>http://redeyeops.com/content/make-a-flashy-intro-overlay-with-jquery/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 02:21:15 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[Web TUTS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[fade]]></category>
		<category><![CDATA[intro]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=165</guid>
		<description><![CDATA[Ever have a client want a Flash Intro. Since you do not have Adobe Flash or do not even know what actionscript is, let alone the third one, your searching for a light solution. Well here is a simple intro overlay solution that is easy to implement and will feed your clients urges for an intro page...]]></description>
			<content:encoded><![CDATA[<p>Ever have a client want a Flash Intro. Since you do not have Adobe Flash or do not even know what actionscript is, let alone the third one, your searching for a light solution. Well here is a simple intro overlay solution that is easy to implement and will feed your clients urges for an intro page. The best part is not having to open up a single flash file. Now this does take a little bit of an understanding of jQuery, and css. No plugin is required just a couple lines of code.</p>
<div id="btn"><a href="http://redeyeops.com/previews/intro/introPreview.php">Demo</a></div>
<p>First were going to want to set up a <strong>HTML</strong> file that has a couple of divs in it. The mark up im going to use for this sample is.</p>
<pre class="brush: xml;">
&lt;div id=&quot;introContainer&quot;&gt;
    &lt;div id=&quot;introContent&quot;&gt;
         &lt;p&gt;//this is the content &lt;/p&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>This need to go below all the content before the ending html tag.</p>
<p>Now to style the divs, with some <strong>css</strong> so that the divs will overlay the page.</p>
<pre class="brush: css;">
#introContainer{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    display: none;
}

#introContent{
    position: absolute;
    width: 100%;
    top: 30%;
    text-align: center;
    height: auto;
}
</pre>
<p>This is all fully customizable. Make it yours.<br />
Notice that I put a display:none on the introContainer. I hide the container at first so that browsers with JavaScript disabled do not find themselves stuck on a intro page. In the JavaScript the first thing Ill do is display it. The scripting is pretty simple I added a timer to the intro so that it fades out after a certain amount of time. Plus I added a click function that will fade the intro for the people who want to skip it.</p>
<pre class="brush: jscript;">
jQuery(document).ready(function($){

 $('div#introContainer').show();

 $(&quot;div#introContainer&quot;).click(function(){
     $('div#introContainer').fadeOut('slow');
 });

 window.setTimeout(function() {
     $('div#introContainer').fadeOut('slow');
   }, 5000);

});
</pre>
<p>Note that this will not hide flash movies. You need to hide the player for the time being. I suggest using JavaScript. Make the player appear after the intro has timed out and add a short timer in the .click function.</p>
<p>I try to use ajax loaded pages all the time so this works flawlessly with them, but if your page has multiple page loads it might be a problem. On my next blog I can explain how this can work on multiple loading pages, and themes like in WordPress till then experiment with this and show examples of what kind of things you can do with your intro overlay.</p>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/make-a-flashy-intro-overlay-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulating depth with Spatial Perspective</title>
		<link>http://redeyeops.com/content/emulating-depth-with-spatial-perspective/</link>
		<comments>http://redeyeops.com/content/emulating-depth-with-spatial-perspective/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 09:00:53 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[Design TUTS]]></category>
		<category><![CDATA[depth]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[eye]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[perspective]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[spatial]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=88</guid>
		<description><![CDATA[First off, many of my readers may not know what spatial perspective is. The simple ways to explain it is to think of spatial perspective as transparent layers of atmosphere. It is actually visible because of layers of atmospheric molecules in the air...]]></description>
			<content:encoded><![CDATA[<h4><em>Why should you use spatial perspective?</em></h4>
<p><img style="float: right; margin: 10px;" src="http://www.wisdomcommons.org/system/images/virtues/photos/46/medium/Excellence%20-%20874918_swiss_mountains.jpg" alt="distant mountains" />First off, many of my readers may not know what spatial perspective is. The simple ways to explain it is to  think of spatial perspective as transparent layers of atmosphere. It is actually visible because of layers of atmospheric molecules in the air, and that is why a lot of people know it by the term of atmospheric perspective. This can be an array of colors due to the different chemical compounds in the air. In a clear sky it would be blue but a smoggy sky it would be more of a gray. To get a better visual of what spatial perspective think of some mountains, or a large city in the distance. Our eyes have evolved to use this perspective to registrar a field of depth. So when using it in a design aspect you can trick the eye to see depth. Which can be useful in many different ways.</p>
<h4><em>Usage</em></h4>
<p>Using spatial perspective in a web page can give a user an extra dimension of depth. There are some elements that would be better when pushed to the furthest point in vision, while some need to be in the foreground to get the users attention. There are different ways to emulate this. One is just to use contrast. Things that are in the background should not contain a deep black or a pure white if you want to push it to the back of the users attention. For a the font of the main content you would want to use a midnight black or a pure white. In the example below I illustrate how using this method can add depth to a webpage.</p>
<p><img src="http://redeyeops.com/images/tuts/88/grayscale.jpg" alt="grayscale" /></p>
<p>In the example I used only gray scale colors ,but another way to use spatial perspective it to pick an atmospheric color other than grey. This is usually characterized by the background, but also can be used with any other various element. When making a link, text or graphic that you want to be pushed back into the background simply layer on the atmospheric color. If its a font color pick a color that is in between the main context color. If its a graphic use you graphic editing program and put a transparent layer of that color over  the graphic. I recommend around 20% opacity so that most of the detail is still preserved but the contrasted line are now more subtle. There are many places In the webpage this can be executed to add depth to your webpage.</p>
<p><img src="http://redeyeops.com/images/tuts/88/examples.jpg" alt="example" /></p>
<p>There is always content you want more noticeable then other content, and spatial perspective is a perfect way to execute the effects wanted. This can be used links, headings, content, and logos. Also you can make a the content of you blog stand out more then your navigation bar, footer, header, and sidebar using spatial perspective. If you were to look at an well designed webpage you would see that different sections of the page use a spatial perspective to emphasize an element of a page.</p>
<h4><em>Using Multiple Atmospheres </em></h4>
<p>Since this is the web we can creatively use spatial perspective in ways that you would not see in everyday reality. You can use multiple atmospheres in a small area. Lets say we have a red div were the rest of the atmospheric color is a medium gray. Its easy to think of that red div as its own atmosphere and that all the content inside that div uses that atmospheric color rather than the medium gray.</p>
<p><img src="http://redeyeops.com/images/tuts/88/multicolor.jpg" alt="example" /></p>
<p>This can be used in any diverse ways, and will work with any colors. See how far you can stretch this idea. Maybe add in other perspectives to this one and mash them together for a larger field of depth.</p>
<blockquote><p>Also can you let me know what you think of this tut. This is my first tut and I am eager to better myself through critizism. Thanks</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/emulating-depth-with-spatial-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unveiling Sale</title>
		<link>http://redeyeops.com/content/unveiling-sale/</link>
		<comments>http://redeyeops.com/content/unveiling-sale/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 08:43:45 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[25%]]></category>
		<category><![CDATA[eye]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flier]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[sale]]></category>
		<category><![CDATA[scope]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=77</guid>
		<description><![CDATA[Woot. Woot. Sale]]></description>
			<content:encoded><![CDATA[<p><--------retweet or share on Facebook Please</p>
<p style="text-align: center;"><img class="aligncenter" src="../../fliers/saleflier.jpg" alt="sale sale sale" width="400" height="550" /></p>
<p> Glad to see you made it.</p>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/unveiling-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Eye is now on the InterWebs</title>
		<link>http://redeyeops.com/content/red-eye-is-now-on-the-interwebs/</link>
		<comments>http://redeyeops.com/content/red-eye-is-now-on-the-interwebs/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 07:57:38 +0000</pubDate>
		<dc:creator>Jacob Lowe</dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[eye]]></category>
		<category><![CDATA[first]]></category>
		<category><![CDATA[operations]]></category>
		<category><![CDATA[ops]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[suggestions]]></category>

		<guid isPermaLink="false">http://redeyeops.com/content/?p=13</guid>
		<description><![CDATA[Hey everybody, Red Eye Ops is offically up and running. We have been a business for a little over six months. Right now we are a small collective of people who have been working on things like simple websites and...]]></description>
			<content:encoded><![CDATA[<p>Hey everybody, Red Eye Ops is offically up and running. We have been a business for a little over six months. Right now we are a small collective of people who have been working on things like simple websites and Myspace pages. We are now going to expand our horizon by taking website jobs from all over the world. We have some examples of our work up on our Web Portfolio page.</p>
<p>We are going to put up tons of information up here. First off we are going to put up alot of tuts. We have alot of design work under our belts as well as years of css. So subscribe to our feed and you will see tons of useful information flowing out of here.</p>
<p>Also we will be have our usual updates that we will post. It will usually be client work that we have just finished. In putting these up I would love to hear all of your feed back. We also will be taking request if you have any questions on how we had done something in the coding or design aspects. Just ask for the tut and we will hopefully have it up a week or so after that.</p>
<p>We love criticism so let the creative juices flow.</p>
<p>_Jacob Lowe</p>
]]></content:encoded>
			<wfw:commentRss>http://redeyeops.com/content/red-eye-is-now-on-the-interwebs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
