Wednesday, 31 December 2008

Super elastic effect to design high impact web menu

This tutorial explais how to design an high impact elastic effect to make original web menu using some lines of Javascript code and MooTools framework. The effect is simple to develope and reuse in your web projects changing only HTML code and CSS. Take a look!

The effect I want to realize is the following. I have a "layer cloud" with some layer overlapped to the others. On "mouse over" the select layer goes down with a nice animation effect and when you release the element this goes up with an elastic effect:


Take a look at this live preview to see this script in action.


Download source code Live Preview


1. HTML code
Create a layer which contains all elements in the "cloud" (in this case I used DIV elements):

<div id="container">
<div id="contact">This is the layer about me.</div>
<div id="about">Contact me? <a href="mailto:myemail@email.com">My Email</a></div>
<div id="profile">This is my <a href="http://woork.blogspot.com">website</a></div>
</div>


2. CSS Code
Use CSS to stylize previous elements how you prefer. In this tutorial I used this CSS code:

#about {
width: 200px;
padding: 8px;
background: #DEDEDE;
color: #333;
position: absolute;
z-index: 1;
left: 31px;
top: 66px;
border:solid 4px #CCC;
}

#about {
width: 200px;
padding: 8px;
background: #DEDEDE;
color: #333;
position: absolute;
z-index: 1;
left: 80px;
top: 37px;
border:solid 4px #CCC;
}
...

The result is something like this, a "layer cloud" with some layer overlapped to others:




You can add other overlapped layers simply adding new <div> elements in step (1) with the related CSS stlye in step 2. To overlap layer I use CSS properties "position:absolute" and "z-index" for each element.


3. JavaScript code
In order to obtain our elastic effect I used MooTools framework and some lines of Js code.
No fear... it's very simple! In the <head> tag of the page add a link to MooTools:

<script type="text/javascript" src="mootools.svn.js"> </script>


Now, copy and paste this code below the previous line of code in the <head> tag of the page (if you prefer you can also copy this code in a separated .js file and import it in your page):

<script type="text/javascript">
window.addEvent('domready', function(){
var zindex = 2;
$('#container div').each(function(item){
var o = item.id
var fx = new Fx.Style(o, 'margin-top', {
duration: 1000,
transition: Fx.Transitions.Back.easeInOut,
wait: true
});
item.addEvents({
'mouseenter' : function(e){
fx.stop()
fx.start(0,100);
zindex = zindex + 1;
$(o).setStyle('z-index', zindex)
},
'mouseleave' : function(e){
fx.stop()
fx.start(0);
zindex = zindex - 1;
$(o).setStyle('z-index', zindex)
}
});
})
});
</script>

In this code I used a MooTools basic knowledge. In the past week I already dedicated several lessons about that. I suggest you to take a look at these post:


Download source code Live Preview

It's all! Do you have some suggest? Add a comment!

Read More

Sunday, 21 December 2008

5 Awesome free PHP web hosting services

In this post I want to suggest you five interesting free web hosting services (totally Ad-Free) which offer a lot of advanced features such as FTP access, PHP and MySql support, custom domain and free subdomains.

Take a look at these services and if you want to suggest another one please add a comment.

1. 000WebHost
000WebHost provides one of the most reliable and feature-rich web hosting service without advertising. All accounts come with 500 MB disk space, 100 GB data transfer and PHP and MySql database support.




Main service features
Here is detailed list of what hosting service supports:

- 500 MB Disk Space
- 100 GB Data Transfer
- PHP with MySQL Database Support
- Instant Activation
- FTP Support
- 99.9% Uptime
- No Advertisements

000WebHost


2. Zymic
Zymic.com offers one of the most reliable and feature packed free web hosting services on the net. Service include PHP/MySQL, free domain names, Ad-free hosting and an overly generous disk and transfer allowance.




Main service features
Here is detailed list of what hosting service supports:

- 5 GB
- 50 GB Data Transfer
- PHP 5 Support, 5 mySQL databases
- FTP access
- 99.9% Uptime
- No Advertisements

Zymic


3. 110MB Hosting
110MB Hosting is another Ad-free web hosting service which offers a lot of interesting features for your websites such as PHP and MySql support:



Main service features
Here is detailed list of what hosting service supports:
- 5 GB Space
- PHP 5 and MySql Support
- FTP (chmod enabled)
- Your Own Domain Hosting
- Free subdomain (yourdomain.110mb.com)
- 99.9% Uptime
- No Advertisements

110MB Hosting


4. Sitesfree
Sitesfree is another good free hosting services which offers some interesting basic features to host your website for free (included PHP and MySql support).



Main service features
Here is detailed list of what hosting service supports:

- 500Mb
- 7 GB Data Transfer
- PHP 5 Support, 5 mySQL databases
- Free sub domain (yourname.sitesfree.com)
- Ability to host your own domains
- FTP access
- 99.9% Uptime
- No Advertisements

Sitesfree


5. Your Free Hosting
YourFreeHosting.net is a new and fast provider of free web hosting. All accounts come with a easy to use control panel that makes it very simple to manage your web site and files. Your free account comes with PHP, 5 MySQL databases, 5GB of disk space & 50GB of bandwidth and more. You have the choice of using your own domain name if you wish or you can choose a free subdomains.

Main service features
Here is detailed list of what hosting service supports:

- 5GB Disk Space
- 50GB Bandwidth
- PHP 4 Support, 5 mySQL databases
- Instant activation
- Domain Name Support
- Custom subdomain: yourname.yourfreehosting.net
- File Manager
- 24/7 Technical Support
- Full FTP Access
- 99.9% Uptime
- No Advertisements

Your Free Hosting

Read More

Saturday, 20 December 2008

One application for six social web services: EventBox

Are you looking for an application to aggregate all your social web services in one place? Take a look at EventBox (Beta) for Mac.

EventBox is a useful Mac application (in beta) which integrates your social web profiles in one place. EventBox actually supports Facebook, Flickr, Reddit, Twitter, Digg (at this moment this service is suspended) and RSS aggregation features but in the coming months will be added new features, services, RSS syncing and support for del.icio.us, Last.fm and Orkut.

Interface is clean, flexible and intuitive:




EventBox version is available for a 15 days free tryout, after this period you have to buy a license. During the beta, license price is 15US$ (instead of 20US$ for the coming definitive version.)

Download EventBox here

Read More

Wednesday, 17 December 2008

10 Gorgeous portfolio websites

Are you looking for inspiration for your next portfolio website? Take a look at this list of 10 gorgeous portfolio sites from SubmitCss.com.


1. Jamie Gregory (http://www.jamiegregory.co.uk/)
Jamie Gregory is a Freelance Graphic Designer based in Southampton, Hampshire, UK. Jamie has over 10 years experience of making things look nice, working together with small businesses.

2. Vitor Lourenco (http://www.vlourenco.com/)
A 21 year old guy from São Paulo, Brazil passionate about everything related to design & the web.

3. Mike Precious (http://www.mikeprecious.com/)
Mike is a multimedia designer offering design and strategic consulting services for the interactive (web) and print mediums.

4. Matt Bango (http://www.mattbango.com/)
Matt is a 22 year Web Developer working at The New York Times in New York City.

5. Brynn Shepherd (http://brynnshepherd.com/)
Brynn is a 23 year old who is currently a junior at the University of Pennsylvania in Philadelphia, Pennsylvania, where she is pursuing a dual degree in Digital Media Design and Fine Arts.

6. Danny Blackman (http://dannyblackman.com/)
Danny Blackman is a 3rd year BA Communications & New Media student at University of Leeds, UK and a freelance designer & developer for the likes of Brahm, Swamp, Teabag Studios and Fluid Creativity.

7. Tim Van Damme (http://timvandamme.com/)
Tim is a 23 year old interface designer, based and raised in Belgium, who designs interfaces as a freelancer at Made by Elephant.

8. Josh Smith (http://www.joshsmith.ca/)
Josh is a recent graduate of ACAD's Bachelor of Design Program, who is a graphic designer interested in everything creative.

9. Robbie Manson (http://www.robbiemanson.com)
Robbie has been a "design obsessive since" he was a sniveling carpet crawler, brewed up by "cackling hags out on a hillside" in Linlithgow, Scotland all of 23 years ago.

10. Rik Catlow (http://www.rikcatindustries.com/)
Rik Catlow currently lives with his wife Wassa, daughter Becca, and a fat tabby cat named Bo in Charlotte, NC. He currently works for Bank of America as Senior Visual Designer. He advocates for web standards, the user and visual design simplicity.

Guest author

Submit Css is a website which showcases only the best web site designs on the web and allows you (the web designer) to submit your css-based designs.

Read More

Wednesday, 10 December 2008

Useful resources to improve the look and features of HTML Forms

Are you looking for some useful tips to improve the look and features of your standard HTML FORM elements? In this post I suggest you some interesting resources about this topics.

Take a look around and add a comment to suggest new links. Thanks!

1. Niceforms 2.0
Niceforms is a script developed from Lucian Slatineanu that will replace the most commonly used form elements with custom designed ones. You can either use the default theme that is provided or you can even develop your own look with minimal effort. The script will basically transform standard form into this:



Using this script is very simple. You have to add a link to niceforms.js script in the <head> tag of the page:

<script language="javascript" type="text/javascript" src="niceforms.js"></script>

...so adding the following link for the default CSS theme:

<link rel="stylesheet" type="text/css" media="all" href="niceforms-default.css" />

...and add the attribute class="niceform" in your form:

<form action="index.php" method="post" class="niceform">
...
</form>

The script is fully compatible and has been tested with most major browsers, with the exception of IE6.

Take a look at the Emblematic/Niceforms website


2. Spry Validation Form Widget
This widget provided from Adobe Labs uses Spry to implement easily validation features in your custom Forms. If you use Dreamweaver CS3 and Spry framework it's a quick choice to implement this kind of feature in your forms.

Spry Validation Widget


3. JavaScriptKit form articles
In this section of JavaScriptKit website you can find a lot of interest JavaScript example ready to use in your projects to enrich features of your forms such as Check required elements, Drop down date select, Limit number of checked checkboxes, Strip HTML tags...

Javascriptkit HTML Form articles


4. Zend_Form (Zend Framework)
If you are a PHP programmer I suggest you to take a look at Zend_Form, a component of the Zend Framework which gives you all the tools necessary to create forms and form elements via PHP code. Zend_Form helps you by simplifying the creation of these form elements as well as adding programmatic controls for validation, ordering, filtering, and grouping.

Take a look at Zend_Form


5. Customselect with icons
Paul from Adelaide Web Design released this jQuery plug-in (beta version) in order to design custom SELECT form which contains a specific icon for each element contained in the menu.

Take a look at this Cusomselect jQuery plug-in


6. JotForm
JotForm is an interestig web based WYSIWYG form builder. Its intuitive drag and drop user interface makes form building a breeze. Using JotForm, you can create forms, integrate them to your site and collect submissions from your visitors. JotForm now integrates with PayPal, Google Checkout, WorldPay, 2CheckOut, ClickBank and OneBip payment gateways, so you can collect payments from your users. Basic feauture is for free for basic usage.

JotForm


7. Secure AJAX / mootools contact form
This contact form uses the mootools 1.1 framework to check the form fields and give immediate feedback if the entered values are correct. The name only allows normal chars, the email is checked with regex for a correct syntax and the message field doesn't allow to enter web addresses as many spam emails would be send off that way. Furthermore any potentially dangerous characters will be removed from the input as < > and others.

MooTools Secure AJAX

Related Post
FORM elements design using CSS and list (ul and dl)
Beautiful CSS Form
Clean and pure CSS FORM design
Useful tips to enrich your HTML Forms

Read More

Saturday, 6 December 2008

10 Free Christmas fonts

Christmas is coming and what is better then a collection of ten free Christmas fonts? Take a look at this list with some of my favorite Christmas fonts which you can download and use on your design projects.

This collection includes: St. Nicholas, Grinched Regular, Porcelain, Snowballs, Christmas on crack, Body MF Holly!, Alaskan Nights, Holly Handwritten, Frosty, Humbug.

Do you want to suggest any font or resource to this collection? Please add a comment!


1. St. Nicholas
St. Nicholas is nice and elegant Christmas font for personal use:



Download St. Nicholas


2. Grinched Regular
Grinched Regular was designed by Dennis Ludlow and it's free for non-commercial use only.



Download Grinched Regular


3. Porcelain
Porcelain was created by Eduardo Recife. It's a freeware typeface, so you can share it with other people and use it for free:



Download Porcelain



4. Snowballs
Snowballs is a funny font to design big titles or headers:



Download Snowballs


5. Christmas on crack
This font was created by Parallax. Its intended for free distribution and use in any medium or format, but is not to be re-sold, or for commercial use:



Download Christmas on crack


6. Body MF Holly!
This handwritten-like font was created by Richard William Mueller. For more information take a look at the Richard's website.



Download Bodie MF Holly


7. Alaskan Nights
Alaskan Nights is a classic Christmas font, free for personal use:



Download Alaskan Nights


8. Holly Handwritten
Holly is another handwritten-like nice font. Best result in medium and small size:



Download Holly Handwritten


9. Frosty
Frosty was designed by Fontalicious. This font is totally free, whether it be for commercial purposes or not:



Download Frosty


10. Humbug
Humbug is a nice "bold" typeface, useful to design big text element such as big titles or headers:



Download Humbug


 
10 Beautiful and free must have Serif Fonts10 Awesome typewriter fonts for web designers10 Interesting fonts for web designers10 Delicious Free Fonts with commercial-use license10 Beautiful and free fonts for web designers5 Beautiful pen-style fonts10 Fonts to design original logos10 Handwritten fonts you can't miss

Read More