Archive for September, 2011

How To Create An Interactive Web Background With CSS

Thursday, September 29th, 2011

There are a lot of flat, boring web sites out there, but there are also a lot that are interactive and sometimes even include fun little surprises. Today, I’m going to show you one way to create a fun little interactive surprise in your web page design. David, a regular reader, pointed me to this page and asked how they accomplished the effect with the footer image that changes (click the link and watch the bottom of the page while scrolling down slowly). The effect is what I tried to illustrate below.

Background CSS trick example

Pretty cool, right? The best part is that this is super easy to achieve. Below, I’ll walk you through a few easy steps I completed to create my own interactive background.

Step 1: Create your images

To make this trick really work you want at least two images. The first is a two-toned image that represents the before and after imagery. For my example, I used grey on top and black on bottom. The second image is the gradient that creates the illusion. The gradient should fade in from the same top color to the same bottom color as your before/after image. Try to make both images close to the same height, but experiment with the positions of your artwork. Also, this works better if the two pieces of artwork don’t overlap each other. Just as important is the format. GIF files may work, but generally, PNG images are best.

Step 2: Create HTML

The HTML is really very simple. Inside your body tag, you want a div element with a class of “wrapper” and inside this, another div element with a class of “push”. Below those, you need a div element with a class of “footer”. You can use different names, as long as they match the CSS when you’re done. Be sure to fill up the “wrapper” div with enough content to make the visitor scroll.

Here’s my HTML:

Step 3: Create your CSS

The final step is to create your CSS. This can be inside your HTML page or in its own .css file that the page loads. Either way, set up the CSS for the body and each div element you created as seen below. Of course, the height and margin values may be different for your usage.

With the third step done, the only thing left to do is check it in a browser and adjust as needed. Here’s the rough example I threw together here . I didn’t spend a lot of time on it, but for my example, I created a before/after image using a circuit diagram I found online and a one-color version of my logo. I also kept the skulls image for my demo because I liked it.

Quick Start Kit

I breezed through the steps a little, but it shouldn’t be too hard to accomplish if you have some knowledge of web page development. In any case, the easiest way to try this out is to create a new before/after image and play with what I’ve already done. For this reason, I packaged up the code, images, and a layerd PSD of my before/after image to get you started. Try it out for yourself and if you put it online, link to it in the comments so we can see.

Why iPhone 5 Features Will Break Sales Records

Sunday, September 25th, 2011

In just a couple weeks, the world is anxiously expecting to have access to Apple’s latest model (or models) from the incredibly popular iPhone line. Each previous iPhone launch has been met with swarms of orders, long lines, and even people camping out for days. When I bought my iPhone 4 three weeks after launch, I still waited four hours in line and some people behind me went home empty handed. There’s no question that the iPhone 5 launch will produce similar results. Despite the vast array of Android devices on the market, the iPhone 5 is poised to sell better than any previous model, and the features will make it happen.

iPhone 5
(concept image from macrumors.com)

A5 Processor

This next-generation iPhone is going to boast the A5 processor, which is what the sleek iPas 2 runs on. The A5 contains a dual-core ARM Cortex-A9 CPU with NEON SIMD accelerator and a dual core PowerVR SGX543MP2 GPU. This means you’ll be able to get twice as much done, working twice as fast.

Better iPhone Display

One of the clear differences between my old iPhone 3G S and the iPhone 4 was the gorgeous Retina display. A lot of sources are saying the new iPhone could ship with a 3.7″ to 4″ display and better resolution compared to the iPhone 4′s 3.5″ display. It may not seem like a lot, but it feels like a big difference with the increasing access to TV and movies through apps from providers like Hulu and Netflix.

Increased iPhone Camera Resolution

To keep up with the competition, Apple is expected to increase the camera resolution with up to 8MP images. This isn’t huge, but it’s pretty good for a phone and will be a nice improvement to the already great images the iPhone 4 produces. There was also talk of an Apple patent for 3D camera technology which could make an appearance in an iPhone, although this hasn’t been confirmed.

IOS 5 and iCloud

With Apple’s new iMessage instant messaging service, Twitter integration, tabbed browsing, and more, IOS 5 promises over 200 new features and updates to help you use your iPhone 5 faster and more intuitively. A few of the features I’m looking forward to are the updated notifications system, faster photos with a physical shutter release and wireless sync with iTunes. Surely, many older iPhone models won’t be able to upgrade to IOS 5 and some long-awaited features may even convert Android users.

Clouds are so popular these days. With iCloud, you can access photos, videos and more across all of your IOS devices and it’s integrated naturally throughout IOS 5.

Buying An iPhone 5?

Weather you plan on buying a Vodafone iPhone 5 or one from another network, you’ll want to think ahead. The announcement is expected October 4th and the iPhone 5 will begin selling soon after. Have your time off request form ready to go and set aside some cash in your upgrade budget if you’re going to be an early adopter. Additionally, plan ahead for accessories and budget accordingly. You can also avoid long lines and frustration by ordering online. How ever you order, I’m guessing you’ll likely be a part of record breaking sales for Apple.

Get A Sneak Peak At Your New Facebook Timeline Profile And Get Yours Early

Thursday, September 22nd, 2011

Nothing creates progress like competition. Of course, when we’re talking about all the changes Facebook continues to roll out, many just grumble and shake an angry fist. Sometimes I agree, but today I was actually impressed with a rather large update Facebook is about to roll out to your profile page.

Facebook Timeline
(click to see it full size)

This new Timeline view has things rearranged to display all your posts in a timeline. The cool part about this is that you can jump to any spot on the timeline with the timeline navigation bar on the right of the profile. When in your own profile you can more easily hide content that you don’t want to show up and feature an item by making it span the full width of the timeline.

Another obvious change is the personalization updates, starting with the large header picture at the top. For my profile, I chose a picture I took of Phoenix at night but you can use any image from your uploaded photos or upload a new one.

Additional customization includes the ability to pick and choose what applications, etc to display. Although I need more quality time with this update, I like what I see so far. I don’t spend a lot of time looking at my own profile but I see some usefulness to this layout when viewing other profiles.

Get your new profile early

Want your update early? If you do, there’s a back door in to start playing with it before Facebook rolls it out to everybody next week. One of my favorite YouTubers, Household Hacker made this how-to video.

If you update your profile, be sure to comment below with your Facebook link.