Wednesday, March 31st, 2010
Hi, we’re pleased to provide you another great freebie, this time it’s a very cool vCard Site template based upon the Photoshop interface, it comes with some cool options like a draggable interface, background changer and working contact form. This Photoshop vCard was made available by Callum Chapman and Benjamin Reid
Included:
Please use the following resouces for expanding and understanding the basic funtionality of the jQuery plugins used:
You’re allowed to use it for all your projects for free and without any restrictions. You may modify the theme as you wish. However, the set may not be resold, sub licensed, transferred or otherwise made available for use. In case you like the set, we would appreciate a link to this article in return, somewhere on your site or inside your themes description.
Learn web designing with Testking 70-648 online course! Download Testking 642-456 guide and Testking 650-195 tutorials to learn photoshop and become expert using our expert resources.
Tags: download, jQuery, Photoshop, resource, vcard, web design
Posted in Resources | 23 Comments »
Monday, March 29th, 2010
Today we’re going to be creating a single page portfolio design that can be used to showcase your design work and allow people to get in touch with you. You can use this design as your full blown portfolio, or as your personal web page (I may even be switching my personal blog to a modified version of this design).
I will be as detailed as possible in the tutorial, but if you have any questions, feel free to let me know in the comments and I’ll do my best to answer them.
Lets do it!
The first thing we’ll be doing is setting up our photoshop document. We’ll start by making the width 1000 and the height 1500.
Now you’re going to fill your background layer with #ebebeb. After you’ve done this, make sure you download the 960 grid from 960.gs and open up the 12 column photoshop grid, placing it in a new layer in our portfolio design.
As you can see, it doesn’t properly from top to bottom, so what I like to do is duplicate the grid layer two times, dragging one of the layers to the bottom and one to the top, making it appear as it’s one long grid. After I’ve got them lined up, I select each each layer and merge them into one layer, naming it “Grid”.
The last thing we’re going to do is give our background a bit of texture. Create a new layer under our grid layer and name it “texture”. select the entire document (ctrl+a) and fill it with the texture from the image below (it’s a default texture in photoshop cs4).
Now, change the blending mode to MULTIPLY and we’re all set to start adding in our web design elements.
This part is going to be the most critical as it is going to help showcase who you are right off the bat and allow people to know the name of your site/company by viewing your logo
What I want to do is create a logo that’s going to stand out and be noticeable when people view the site, so what I am going to do is grab the font tool, get the CHUNK FIVE font (download from the League of Moveable Type), set the font size to 48.4pt and #7fccd6 for the color, placing the text 20 pixels from the top of the document and lining it up with the furthest left grid line.
You’ll notice that the text spans the entire width of 5 grid lines. This was done for a reason. What I’m going to do now is help showcase the font a bit and the structure of the grid is going to help things move along a bit quicker.
Make a new layer and name it “underline” and then make a selection 380 pixels wide and 32 pixels tall, right under the title text.
Now, grab your gradient tool and have one color #000000 and the other be transparent. You’re going to drag and make a gradient from top to bottom in your selection like this:
Change the opacity of the gradient to 10% and add a layer mask. Now, you’re going to grab your gradient tool set it to be black to white and add a gradient to the layer mask like below.
Next, we’re going to do the same thing on the right side of the gradient layer, ending up with something very similar to the item below.
Duplicate the ‘underline’ layer, move it up two pixels and select the original underline layer (clicking the picture of the image layer like below).
What we’ll be doing with this selection is deleting it from the copy layer.
First, you’re going to want to create a new folder inside the HEADER folder and name it “NAVIGATION” so you can keep it separate from the rest of the header files. Create a new layer and name it “navigation”. Grab the text tool, still using the Chunk Five font, making it 18pt and #e9e9e9.
Add a drop shadow to the text layer with the following settings.
In order to make sure we know which items are hovered over, we’ll grab the Rounded Rectangle Tool, setting it to be a 5px radius and make a selection in a new layer named “hover”, giving it a color of #dedede.
The next step is to create a new folder, naming it Welcome and adding a new text layer inside of it, using the following character settings in the image below.
We’ll be adding the same drop shadow that we added to the navigation text, which will now make the text look like the below image.
Now that we’ve got the header and welcome text out of the way, lets add in some portfolio items.
Create a new folder, name it “Portfolio” and head over to the designers toolbox to download their safari window PSD file so we can can set the portfolio items inside of it to give it a bit of better appeal.
We’ll be adding their PSD into our document, centering it and resizing it to 72% of it’s original size.
Now, duplicate the folder that the above image is in, renaming it to “left portfolio” and resizing it to 80%. Now, move it to the far left of the grid, 20 pixels from the bottom of the large portfolio box. Do the same thing again but name the new folder “right portfolio” and move it to the right side of the grid. You’ll end up with something like below.
The last thing we’ll be doing here is adding a bit of a shadow under the portfolio pieces, so grab your Elliptical Marquee tool and make a selection like below and fill it with black.
Now, deselect the circle and to go FILTER > BLUR > GAUSSIAN BLUR. Add in the information from the image below.
For this section, we’re going to keep it clean since it’s just going to give the visitor a bit of background information about you. First, we’ll be using the same font we used for the title of the site and giving our section a title. Notice that we utilized the same drop shadow as the rest of the font’s on the site.
Next, we’re going to create two layers – on the first layer, make a selection that’s 940px wide and 1px tall and fill it with #FFF. On the second layer, make a selection just like above, but 1px above the white line and fill it with #c9c9c9.
Next, grab your text tool, changing your font to Tahoma, size 12 and make a selection spanning 6 columns of the grid, filling it with some text about yourself. For the below sample, we’re going to use lipsum text.
Now, we’ll duplicate this layer and move it to the right side, making a newspaper style text reading.
First, we’ll duplicate the About folder and move it down below the original about layers.
Next, we’ll make the two text boxes a bit smaller in width, similar to the image below, adding in two more text boxes to fill out the row.
First, we’ll duplicate the about folder again, moving it down below the services section. Remove both text layers and you should end up with something like below.
Next, head on over to Function and grab their free icons (or you can use other icons if you’d like) and set them up under the get in touch text, like the image below.
Next, make a text box selection next to the social media icons, three columns wide and add in some text, like the image below.
Duplicate this text layer, move it to the right and add in three more forms of contact. I chose AIM, Twitter and Facebook. You can add in whatever you’d like here.
One thing I noticed afterward was that the text looked a bit flat, so I went back and added in the white text shadow on all of the text, even the about and services text, giving it a bit more ‘umph’. I also added in a couple of my own designs into the portfolio section so they weren’t left white during the final view.
See the final result below (click the image to view it in it’s full size.
Join professional testking HP0-J36 training course to learn how to create single page profile in photoshop and become expert in web designing using testking 000-086 photoshop tutorials and testking HP2-E24 demos.
Tags: business, Photoshop, portfolio, tutorial, web design
Posted in Tutorials | 8 Comments »
Saturday, March 27th, 2010
While I keep on trying to push web developers to start experimenting and exploring HTML 5 and CSS3 technologies, I will keep introducing you to them. Today we will experiment with HTML5 local JavaScript databases, a new feature lots of web developers are excited to start using. You will be walked through on how to create a simple to-do list with jQuery and local storage.
Click Image to Download
For the sake of your time and the length of the tutorial I have provided a starting template for you. It contains just a basic page with a 3 tab system (not working yet), and some simple CSS to make the page look nice. Later on we will be adding more to the markup and CSS though.
The first thing to accomplish is how to switch the tabs. The script is quite easy to write. First, on document load we want to show the first area with the to-do items to show and the navigation tab to be highlighted. Then, when we click another tab we want to hide all div elements with the “.content” class to become hidden, and remove the’ highlight from the current active tab. Finally, we want to highlight the new tab and show the new content.
$('#tabs li').click(function() { //Clear All Content Areas $('.content:not(#new) ul').empty(); //Load Items if($(this).text() == 'todo') { loadItems(0); //Will learn later } else{ loadItems(1); //Will learn later } //Remove Highlighting, Hide Elements $('.active').removeClass('active'); $('.content').hide(); //Add Highlighting, Show Element with Id of Text $(this).addClass('active'); $('#' + $(this).text()).show(); });
Now that we have all of our basics done it is time to start working with are database, and the first things to do is to open it. We will assign the database to a variable so we can call it over and over. Be aware that only browsers that support “window.openDatabase” can use local databases, we will check that in our code.
//Database Instance var database; try { //Check Browser Support if(window.openDatabase) { database = openDatabase( 'To-Do List', //Database Name '1.0', //Database Version (1.0) 'To-Do List by TutToaster', //Database Description 200000 //Database Size (max: 200000) ); //Check for Opened if(!database) { alert('Database failed to open. Please reload.'); } else { //Initialized initialize(); } } else { alert('Your browser does not support local databases.'); } } catch(error) { if(error == 2) { //Version Mismatch alert('Database Version Mismatch'); } else{ //Other Error alert(error); } }
Now that we have our database working we need to make a function to start our to-do list. We need to check if it is their first time using the to-do list or if they are returning. If it is the first time we need to create a new table to hold the to-do items. If it is not their first time visiting the to-do list then we can just load the items that are not done for the ‘#todo’ div.
function initialize() { //New Database Transaction database.transaction(function(data) { //Look if table is there data.executeSql('SELECT COUNT(*) FROM todos', [], function(data, result) { loadItems(0); }, function(data, error) { //No Table, Create One data.executeSql('CREATE TABLE todos(id INTEGER PRIMARY KEY, item VARCHAR(24), date VARCHAR(24), done INTEGER DEFAULT 0)', [], function(data, result) { loadItems(0); }, function(data, error) { alert('Database table failed to open/create. Try reloading?'); } ); } ); }); }
So, now we have the database open, our table is created and our to-do list initialize function is just about done, but we need to load the items. For this we will create a function that has a parameter passed through with a value of 0 if it is not done and 1 if it is done. The function will find the to-do items with the said parameter and append them to the correct div (“#todo” or “#done”).
function loadItems(type) { //New Database Transaction database.transaction(function(data) { //Get Items with type (todo[0] or done[1]) data.executeSql('SELECT * FROM todos WHERE done = ? LIMIT 10', [type], function(data, result) { //Determine the Container var container = (type == '0') ? 'todo' : 'done'; //Filter through each result for(i = 0; i < result.rows.length; ++i) { //Each Items Array var row = result.rows.item(i); //Create a Element for Result, Append it $('<li />', { id: row['id'], html: row['item'] + '<p>' + row['date'] + '</p>', click: function() { if(container == 'todo') { itemFinished($(this).attr('id')); } } }).appendTo('#' + container + ' ul'); //AppendTo Container(#todo or #done) ul } }, function(data, error) { //There was a problem. :[ alert('There was a problem with our query. Please reload.'); } ); }); }
Once you finish an item from your to-do list you are going to want to make it change from the list of to-do items to the list of done items. This will be done by getting the “id” of the list item and searching for a row with that “id” and setting the “done” column from “0” to “1”.
function itemFinished(id) { //New Database Transaction database.transaction(function(data) { //Find and Set Item (column: done) to 1 data.executeSql('UPDATE todos SET done = 1 WHERE id = ?', [id], function(data, results) { //Slide Up Clicked Div $('#' + id).slideUp(); } ); }); }
Now onto one of the most important parts, creating new to-do items for your list. In the template you downloaded you will find the items I refer to on the “#new” page or div. What we are going to do is when the “#create” button is clicked we create strings of the inputted variables then create new entries into the database with the information from those strings. Once it successfully is entered a pretty message box will appear.
$('#create').click(function() { //Inputed Variables var item = $('#item').val(); var date = $('#month').val() + ' ' + $('#day').val(); //Sql Statement var sql = 'INSERT IGNORE INTO todos (item, date) VALUES (?, ?)'; //New Database Transaction database.transaction(function(data) { data.executeSql(sql, [item, date], function(data, results) { //Show Success Message $('#message').text('Todo successfully added!').addClass('success').show(); }, function(data, error) { //Show Error Message $('#message').text('There was a error! Please retry!').addClass('error').show(); } ) }); });
Here are just a couple other small things to add to the JavaScript. The first part to show “#todo” on default and highlight its tab. The second to hide the success and error message on click.
//Show #todo on default $('#todo').show(); $('#tabs:first-child').addClass('.active'); //Fade Out #Message onClick $('#message').click(function() { $(this).fadeOut(); });
Finally, we are done. You might have been able to tell interacting with the database is very similar to interacting with a PHP MySQL database, just not as much configuration. Currently local databases only works in WebKit browsers, hopefully in the near future more browsers will catch on.
I hoped you enjoyed this tutorial, and that you will explore further into HTML5 Databases and someday show us what you are capable of with this new technology!
The testking offers an exceptional training program for designer/developers. Learn the best web designing practices through the use of self paced testking HP0-Y26 tutorials and testking 000-076 study guide.
Tags: css3, database, html5, tutorial, web design
Posted in Tutorials | 20 Comments »
Tuesday, March 23rd, 2010
The possibilities for color in web design in 2010 are a long way from the limitations of the Web Safe Palette of a few years ago. Rather than being limited to 216 colors as we once were, we now have millions to choose from. But sometimes, distancing ourselves from all those options and designing in good old Black & White can result in some striking work.
The sites featured here don’t necessarily stand out just because of their limited color palette, as they are all expertly designed and laid out in different ways; but I think it’s most certainly a factor in the success of each and every one.
Obviously these sites don’t all stick to just black and white; the Marc Ecko site, for example, uses dashes of yellow to highlight new content, while the Buckenmeyer & Co. site has a pink roundel to highlight the fact that it’s a new site.
Because these dashes of color are used sparingly, they arguably have more impact and draw the eye wherever necessary. Also, since websites typically feature much more color in their designs, the few sites that are largely limited to black and white (or grayscale) have more impact, and are arguably more memorable, for their limited palette.
With testking 642-736 web designing course, you will learn how to design web page. Become professional web designer using testking 642-972 demos and testking EC0-349 DIY guide.
Tags: black, CSS, portfolio, web design, white
Posted in Inspiration | 4 Comments »
Recent Comments