2010-09-04 | AMB首頁

Archive

2009年9月 的Archive

New & Free Social Media Icon Set For Your Blog

2009年9月30日
回應關閉


In this post we release a new and free Social Media Icon Set: A Custom Icon Set, specially designed in a high quality and unique style for our readers that will hopefully meet your expectations and will come in handy in your projects.
6 beautiful and clean icons: New RSS, Twitter, Del.icio.us, Stumble Upon, Facebook and Email. This set was designed by IconShock and released exclusively for Noupe and its readers.

Social Media Icon Set

The files are transparent PNGs, and the source file (.psd) is available for download as well (see the links below). The set is completely free and may be used for any private or commercial project without any restrictions.

Download the set (.zip, including .psd & .ai source files, 5.9 Mb)

Download the set (.zip, including .png source files, 1.2 Mb)

Related posts:

  1. 40 (NEW) High-quality and Free Icon Sets
  2. 50 Most Beautiful Icon Sets Created in 2008
  3. 50 Free High-Quality and “New” (X)HTML/CSS Templates

noupe

Desktop Wallpaper Calendar: October 2009

2009年9月30日
回應關閉

  


Desktop wallpapers can serve as an excellent source of inspiration. However, if you use some specific wallpaper for a long period of time, it becomes harder to draw inspiration out of it. That’s why we have decided to supply you with smashing wallpapers over 12 months.

And to make them a little bit more distinctive from the usual crowd, we’ve decided to embed calendars for the upcoming month. So if you need to look up some date, isn’t it better to show off a nice wallpaper with a nice calendar instead of launching some default time application?

This post features 50 free desktop wallpapers, created by designers across the globe. Both versions with a calendar and without a calendar can be downloaded for free.

Please notice:

  • all images can be clicked and lead to the preview of the wallpaper;
  • you can feature your work in our magazine by taking part in our desktop wallpaper calendar series. We are regularly looking for creative designers and artists to be featured on Smashing Magazine. Are you one of them?

So what wallpapers have we received for October 2009?

Learn more about the Smashing Book!

Want to learn more about CSS coding and web design? Take a look at our upcoming Smashing Book ($23.90 $29.90, available worldwide). Pre-order now with 20% discount!

Fairytale Land

Designed by Monica Corduneanu from Romania.

Smashing Wallpaper - october 09

Hummingbird

Designed by Vlad Gerasimov from Irkutsk, Russia.

Smashing Wallpaper - october 09

Hope

"As autumn arrives here in the northern hemisphere, we are reminded of the fragility and brevity of life. Yet the brilliant colors of nature, even in death, are a beacon of HOPE — a sure sign that after the cold and death of winter we will experience a new beginning." Designed by Abigail Paul from USA.

Smashing Wallpaper - october 09

Trick or Treat 2000

"It is the year 2000, and robots rule the world. This is a photo of a recently completed fully-functional rod puppet, approx. 10″ tall, set within a digital halloween scene via Photoshop. 0000101011001! (robot translation: Trick or treat!)" Designed by Out of the Chair Design from Canada.

Smashing Wallpaper - october 09

Beautiful Prague

"Last month I visited Prague – a beautiful city.I re-did my wallpaper with Sibiu from May, now with Prague." Designed by Anca Varsandan from Romania.

Smashing Wallpaper - october 09

Escape of Red Riding Hood

"Escape of Red Riding Hood" Designed by Monica Corduneanu from Romania.

Smashing Wallpaper - october 09

Kill your boss (Do not take it seriously)

(Editorial Team) Yes, this is a controversial wallpaper. Please do not take it seriously and consider it to be a funny and scary Halloween wallpaper. Some bosses can be quite harsh sometimes, but that’s definitely no the reason to kill anybody. So we do not take any legal responsibilities for the side effects of you having this wallpaper on your desktop. Happy Halloween!

"When your boss yells that you are too immature to be a designer you are morally obliged to stop whatever youare doing, go to him and have an encounter." Designed by Milana Adamov from Serbia.

Smashing Wallpaper - october 09

Caring for planet

"In October 15 is celebrated the Environmental Education Day in Brazil so i made this illustration to remember the date." Designed by Marcelo Henrique from Brazil.

Smashing Wallpaper - october 09

Metropolitain

Designed by amandinelle from France.

Smashing Wallpaper - october 09

Diwali

Designed by Aman Behl from India.

Smashing Wallpaper - october 09

pop girl

Designed by Jennifer Rodriguez from Spain-Tenerife.

Smashing Wallpaper - october 09

Stamps

Designed by Nikola Lazarevic from Serbia.

Smashing Wallpaper - october 09

Sad Eyes

"I take and edit the picture." Designed by Nuno Silva from Portugal.

Smashing Wallpaper - october 09

Pixel Glass

Designed by Khristian Mendoza from Australia.

Smashing Wallpaper - october 09

Pumpkin Time

"After watching ‘Pulp Fiction’ for the nth time, I decided that October is a bad-ass month. This wallpaper is a representation of (what I imagine as) Samuel L. Jackson’s take on October. Badass." Designed by Tessa Pahkamaa from California, United States.

Smashing Wallpaper - october 09

Harvest

"The colors of Autumn revealed in a harvest of fallen leaves." Designed by Charles Godewyn from United States of America.

Smashing Wallpaper - october 09

Movement of Bodies

"I came across a picture of the dancer who inspired me to give him some more movement." Designed by Rhoda Ndirangu from USA.

Smashing Wallpaper - october 09

Vintage

"The past is never dead, it is not even past. ~William Faulkner" Designed by Lety Gidea from Romania.

Smashing Wallpaper - october 09

Cinderella

"Inspired from Cinderella fairy tale chracater and created by using free clip art image of cinderella." Designed by NarjisNaqvi from Pakistan.

Smashing Wallpaper - october 09

The moons glow

"It is a full moon tonight. The fall wind blows the clouds. The leaves have fallen from the trees and a happy pumpkin sits beneath a spooky tree. The tree and the pumpkin both welcome in the month of October." Designed by Allison S. Hoge from USA.

Smashing Wallpaper - october 09

Scary Pumpkin

"Halloween is my favorite holiday. This calendar shows my desire to make Halloween a darker holiday than it has been in the past for me." Designed by Rachel Cobb from USA.

Smashing Wallpaper - october 09

This is how I pass my time

"I was at il Biennale in Venice this August. The Russian house was my favorite, and one of the exhibits had this great “haunted house” set up–plastic baby hands hanging from the ceiling, cramped walking space in darkness. My friend snapped this photo in a hurry and it turned out great considering the low light. I think it’s a bit creepy without overdoing it." Designed by Heather Van De Mark from USA.

Smashing Wallpaper - october 09

After the Fire

"I drove past these burnt houses several times on my way home from work and knew I wantedto try and capture the vision that came to me every time I drove by. With the help of my friends daughter, Kylah, wemanaged to get some great photos and we all really liked this one.I am new at graphics and design but have a very strong passion for anything creative and decided to give it a trythis month as I felt the photo would be a good fit for an October wallpaper." Designed by Flori Chaykowski from Canada.

Smashing Wallpaper - october 09

Zombie’s Grafitti

"A mystical month like October diserve an trash art contribution so the dead can go back to life and haunt the living people. This wallpaper was made for terror e thriller lovers. Download and enjoy it!" Designed by Vinicius Ervilha from Brazil.

Smashing Wallpaper - october 09

Autumn Colors

"Demonstrating the warm, dark colors of fall." Designed by Kari Andresen from USA.

Smashing Wallpaper - october 09

On The Road Again

"Here you have a calendar design. I think that was a pleasant evening to take pictures especially since it was a beautiful sky. Hope you like it." Designed by Adrian Hasmasan from Romania.

Smashing Wallpaper - october 09

Autumnal

Designed by Christine Theis from Germany.

Smashing Wallpaper - october 09

Energy of water

"My wallpaper illustration Energy of water was inspired by terrible ecological problems in Ukraine and round the world." Designed by Egor Kosten from Ukraine.

Smashing Wallpaper - october 09

Mossy Pavement

"Last October we were wandering in the beautiful old section of town Sopron, Hungary, while I took a picture of this pattern at a courtyard. One year later the season is in the right mood to make a wallpaper from the photo." Designed by Balazs Kereskenyi from Hungary.

Smashing Wallpaper - october 09

Pumpkin -Surprise

"Grab your pointy hat and get ready for some magic." Designed by Chris Alexander (Yipori) from England.

Smashing Wallpaper - october 09

Oktoberfest

"Theme “Oktoberfest” is written on the hot dog with mustard, served with a beer. All made by modeling clay, photographed, and adjusted in Photoshop." Designed by Begum Burian from Turkey.

Smashing Wallpaper - october 09

October Canvas

Designed by Hashem Gamal Ahmed from Egypt.

Smashing Wallpaper - october 09

The only thing

"This is Spack, my “little” dog (just three years old…!)! I love dogs, don’t leave them alone." Designed by Riccardo Medana from Italy.

Smashing Wallpaper - october 09

Marcha Zaragoza

"This is a composition we made for an event thats going to take place in Zaragoza next 24 October, to join people all over the world to take a stand for a safe climate future, claiming atention from governments of Copenhagen United Nations conference. We are going to ride our bicycles around the city (Zaragoza, Spain)." Designed by Pablo Jimeno Pérez from Spain.

Smashing Wallpaper - october 09

Diwali

"Also called the festival of lights, Diwali is one of the most popular festivals celebrated in India. Diwali or Deepavali is an occasion which is celebrated with lot of enthusiasm in most parts of the country. The day of Diwali witnesses celebrations of the highest magnitude as the entire country is lit with beautiful lights and lot of fireworks are used to celebrate Diwali, a victory of light over darkness.The magnificent five days long jubilation of Diwali celebrations is marked by multi-colored Rangoli designs, special pooja ceremonies, lines of lamps, floral decorations, fireworks, exchange of Diwali Sweets and Diwali Gifts that lend grandeur to the Occasions." Designed by Supriya Kunal Dcunha from India.

Smashing Wallpaper - october 09

Halloween

Designed by Rumake Web Agency from Russia.

Smashing Wallpaper - october 09

Smash Type

"Just a typographically artistic display indedication to smashing magazine." Designed by Two six eight design from United States.

Smashing Wallpaper - october 09

Burnt Orange

"For this wallpaper I wanted to use orange, but not with traditional imagery of pumpkins and Hallowe’en. I did however want to celebrate that October is national breast cancer awareness month, that apple day takes place on the 21st, and I of course had to make a note of Hallowe’en!" Designed by Ducky Design from Canada.

Smashing Wallpaper - october 09

Vintage October

"True colour – casual look. A classical vintage label that becomes all PCs. A must have for all autumn designistas." Designed by Dannci from Slovakia.

Smashing Wallpaper - october 09

Leaves

"simple, calm, quiet and relaxed like some Italian landscape views in the month of October; if you would like this wallpaper in a different resolution just drop me an e-mail. Enjoy!" Designed by Federica Sibella from Italy.

Smashing Wallpaper - october 09

Love-of-October

"”October is a month full of endless questions about creativity. Should I be Jason from Friday the 13th or Michael Myers from Halloween for the costume party. Is this too much for my front yard (while looking upon a extremely detailed macabre with realistic CGI ghosts, goblins, and pyrotechnics)? Designed completely with paint.net. “" Designed by Ian Patrick Buss from United States of America.

Smashing Wallpaper - october 09

Praying Mantis

"My neighbourhood has recently been invaded by hundreds of beautiful praying mantis and this one decided to pose for a while." Designed by Antonio Bustamante Mirayo from Spain.

Smashing Wallpaper - october 09

Moorland

"Have a nice autumn" Designed by John Kichote from Poland.

Smashing Wallpaper - october 09

A Halloween Theme, Go Figure.

"It’s orange. It has a spider and some crazy eyes, so yup, sounds like Halloween to me. Hopefully it is still fun enough to be enjoyed by all of our friends that are not celebrating Halloween. Looks great with or without the calendar. Enjoy!" Designed by Steve Mullen from USA.

Smashing Wallpaper - october 09

Matterhorn

"This picture was taken from Zermatt, Switzerland at the beginning of October 2007. The summit of the Matterhorn peak was on fire and reminded me of the colors of Autumn." Designed by Vincent Prat from France.

Smashing Wallpaper - october 09

Sarajevo

"Sarajevo is capital city of (the state of) Bosnia and Herzegovina and it is wll known with name “City of east and west” I used old postcards which were popular during Austro – Hungarian period to make this digital greeting and to promote this beatuful city. Greetings / Gruss / Selam" Designed by Azra Crneta from Bosni and Herzegovina.

Smashing Wallpaper - october 09

Be Present

"We are here, and it is now. What else is there? Enjoy the moment." Designed by Marlaine Weber from Canada.

Smashing Wallpaper - october 09

Doodletober

"Doodletober celebrates the spontaneous creativity that can come with the long drawn out nights of the month of October (especially in the UK). When your stuck inside and it’s raining on the outside, why not whip out your finest sharpie and a sheet of paper and get doodling!" Designed by Rob Hampson from United Kingdom.

Smashing Wallpaper - october 09

Godfather

"This is a wallpaper I made mostly for myself, As some of you might have noticed it is very similar to last month’s one, and sorry for that i will be bringing more original wallpapers later on. But the wallpaper itself is about my all-time favourite movie the godfather and contains one of my favourite quotes out of the movie." Designed by Luka Dadiani from UK.

Smashing Wallpaper - october 09

Will-o’-the-Wisp

"This design celebrates the spooky side of October by showing a cloud of Will-o-the-wisps under a tree in the moonlight. A passage from my favorite poem by English poet Samuel Taylor Coleridge reminds me of these ghostly lights, so I thought it appropriate to include." Designed by 3 Roads Media from United States.

Smashing Wallpaper - october 09

Falling Leaves

Designed by Rita Pereira from Portugal.

Smashing Wallpaper - october 09

Autumn Leaves

Designed by Kevin Wolstenholme from UK.

Smashing Wallpaper - october 09

Wavular

"Design KompanyÕs ÒwavularÓ series is about possibility. Our title is inspired by the Greek letter lambda, which signifies wavelength in the famous equation E=hc/l. In quantum theory, energy (E), is indirectly proportional to wavelength; and it is in the implied spaces, rather than those we discern most readily with our senses, which inspire our “wavular” drawings. Energy is also directly proportional to c, the speed of light, and h, a coefficient determined by physicist Max Planck, who said: ÒWhen we change the way we look at things, the things we look at change.Ó “Wavular” invokes and invites you to turn a thing on its side, move it a bit here, shift it there, flip it inside out, and consider the negative space it implies, to investigate what else is really there. —DK" Designed by Design Kompany from USA.

Smashing Wallpaper - october 09

Boxter

"Adam Plitt’s Porsche Boxster on the way to the deer camp. Created with Photoshop CS4." Designed by Adam Plitt from USA.

Smashing Wallpaper - october 09

Autumn Waves

"Abstract illustration representing the month october." Designed by Angelika Omer from Austria, Vienna.

Smashing Wallpaper - october 09

That’s CMYK’s Show

"I’m not used to described my own wallpapers. I prefer when spirit do the job. So – What do you think? -" Designed by Lechaftois Boris (Bš) from France.

Smashing Wallpaper - october 09

More Behind

"Websites can look very simple, beautiful and clean, but there is much more behind it, starting in a sheet of paper." Designed by Diego Homem from Brazil.

Smashing Wallpaper - october 09

OctoTypo

"Display typography is a potent element in graphic design, where there is less concern for readability and more potential for using type in an artistic manner. OctoTypo design Inspired by various existing online designs and typographic posters." Designed by DKumar M. from USA.

Smashing Wallpaper - october 09

Cognac

"It’s the VMAs. Something had to happen. Big shout out to Mr. West for the inspiration. We’re not mad at you. We got nothing but love for you." Designed by Umer Tahir from Canada.

Smashing Wallpaper - october 09

Animal Day

"This month we celebrate the international school library month and the world animal day integrating it all with a playful use of typography, you may find a hidden message, enjoy." Designed by Ana Laura Diosdado from mexico.

Smashing Wallpaper - october 09

Minimal

"Development of typography and light in a minimalist and quiet scene." Designed by Tarik AMAR from France.

Smashing Wallpaper - october 09

October Sentense

"Just motivating sentence for October :) " Designed by Temeshi from Poland.

Smashing Wallpaper - october 09

Join in next month!

Please notice that we respect the ideas and motivation behind artists’ work which is why we’ve given artists full freedom to explore their creativity and express emotions and experience through their works. And this is also why the themes of the wallpapers weren’t anyhow influenced by us, but designed from scratch by the artists themselves.

Thanks to all designers for participation. Join in next month!

What’s your favorite?

What’s your favourite theme or wallpaper for this month? Please let us know in the comments! And have a smashing October, folks!


© Smashing Editorial for Smashing Magazine, 2009. |
Permalink |
86 comments |
Add to del.icio.us | Digg this | Stumble on StumbleUpon! | Tweet it! | Submit to Reddit | Forum Smashing Magazine

Post tags: ,

Smashing

The CSS Awards – Recognition, Prestige & Media Presence

2009年9月30日
回應關閉

The CSS Awards select the best websites developed with CSS from around the world. The awards are given to only the best desigerns, agencies and bloggers in the online community. The awards are selected daily under a strict system of valoration.

Websites are selected for the Site of the Day and Site of the Month by the international panel of judges. Winners of the awards receive cash prizes, technological equipment, and most importantly, the promotion, press releases and exposure of your website through their vast network of blogs, collaborators, directories and international forums related to web design and creativity.

CSS Award

Source: http://www.thecssawards.com/


Sponsors

Dreamhost: Get $50 Off with Coupon Code: WEBAPPERS

Wix – A Free Flash Website Builder

Webappers

AppBank: Facebook App Template and Cash For Non-Developers

2009年9月30日
回應關閉

appbank_facebook_sept09a.jpgEight years ago job titles like “social media marketer” and even “community manager” were few and far between. As netizen and social networking populations have grown over the years, so too have the number of opportunities to earn money online. Enter AppBank – the first crowd-sourced paid content service for Facebook. With AppBank, users build quizzes, polls and games and earn money by getting their friends involved in their creations.

Sponsor

appbank_facebook_sept09b.jpgReadWriteWeb has written articles on sponsored social media in the past, including sponsored Tweets and sponsored blog posts. However, AppBank takes a slightly different approach. Users have the creative freedom to experiment and create actual Facebook apps using a basic quiz-based template. The company is less interested in the content and messaging of the application as it is in the people it engages.

To become an App Designer, users add the AppBank App Designer Application in Facebook. From here they are asked to choose between creating a personality quiz, trivia quiz, name decoder and gift. Users then create their project, add it to the Facebook Developer site and apply for AppBank payment verification.

It took me approximately 30 minutes to create my 5 question movie quiz and see it indexed next to other Facebook quizzes. We’re also given the opportunity to track our application traffic via a basic analytics dashboard. It will be interesting to see if AppBank’s template-based quizzes can compete with more robust developer-built applications. In any case, the company has huge opportunities to expand its template as well as tailor content for the Facebook mobile experience. To build your own application, visit AppBank.com

Discuss


ReadWriteWeb

10 Easy jQuery Tricks for Designers

2009年9月30日
回應關閉

There are plenty of jQuery tricks and techniques out there, and the vast and powerful jQuery library can meet almost anyone’s JavaScript’ing needs. Since jQuery makes JavaScript accessible to designers who want to add simple interaction and visual techniques into their design without knowing extensive programming knowledge, it’s worth a few moments to explore this excellent library.

As any designer knows, adding small bits of extra visual detail and user-friendliness can add professionalism and appeal to any web design. In addition, for designers that sell templates, WordPress themes, and other types of web designs, the use of jQuery in a design can be a great selling point.

Let’s take a look at ten simple, effective, and useful tricks and techniques from several excellent jQuery developers and sites around the web that leverage the library to take your designs to another level.

1. Equal-Height Columns

Equal-Height Columns

Columns with equal heights have always been a problem for designers using divs, although now, there are quite a few solutions. Among the solutions available to you is using jQuery. This technique only requires a very small JavaScript function to handle everything, then some basic integration with the main layout to make the magic happen.

The function and snippets for this approach is from CSSNewbie. If anyone would like more insight to how the function works, it’s all there.

To solve this problem with jQuery, just add this function to your pages you wish to have equal heights (or include it as a JavaScript file – which is better for maintainability).

function equalHeight(group) {
  tallest = 0;
  group.each(function() {
    thisHeight = $(this).height();
    if(thisHeight > tallest) {
      tallest = thisHeight;
    }
  });
  group.height(tallest);
}

To get equal-height columns, link to the script that contains the function, and put the following code block below in the <head> tags of your pages.

<script type="text/javascript">
$(document).ready(function(){
  equalHeight($(".col1"));
  equalHeight($(".col2"));
  equalHeight($(".col3"));
});
</script>

The code will execute as soon as the DOM is ready to be utilized, ($(document).ready(function()) and then uses the equalHeight function to accurately calculate the height of all the columns. As one can see, all a designer needs to do is use divs with classes of col1, col2, and col3 to make this example work properly.

2. Rounded corners without the HTML mess

Fortunately, CSS3 has come out with a way to create rounded corners automatically without using images, but on the other hand, many popular browsers (such as Internet Explorer) may take a while before it fully/partially supports CSS3 W3C recommendations.

Rounded corners without the HTML mess

Many designers know how to create rounded corners using CSS, HTML, and a bunch of images, but these techniques cause a lot of HTML/CSS clutter.

Below is an example of some cluttered HTML used to create rounded corners.

<div class="roundedbox">
  <div class="hd">
  <div class="c"></div>
</div>
<div class="bd">
  <div class="c">
    <div class="s">
      <-- main content goes here -->
    </div>
  </div>
</div>
<div class="ft">
  <div class="c"></div>
</div>
</div>

That’s quite a lot of code for one rounded box. Most designers know that it can be difficult to sift though HTML code like this, especially when trying to alter a page that use several rounded corners.

A solution to our problem is simple though – instead of writing all of the extra HTML divs each time we need a new rounded box, we can simply have jQuery do all the work for us (by way of DOM manipulation).

This useful technique is from Day 13 of the 15 Days of jQuery site. For a full tutorial or more detail on how it works, head on over there.

By utilizing the script below, we can automatically add the extra divs where needed.

<script type="text/javascript">
$(document).ready(function(){
    $("div.roundbox").wrap('
      <div class="roundedbox">'+
      ' <div class="bd">'+
      '   <div class="c">'+
      '     <div class="s">'+
      '     </div>'+
      '  </div>'+
      ' </div>'+
      '</div>');
});
</script>

The use of div.roundbox in the snippet above is key. Now, instead of writing out all of those divs every time we need to create a new rounded box, all we have to do is use the class roundbox; jQuery will traverse the DOM to find all elements that has that class value and will automatically wrap it around div’s.

Here’s a sample div HTML structure:

<div class="roundbox">
  <-- main content goes here -->
</div>

Of course, you’ll still have to use some CSS to get the rounded corner images to work, and Jack Born of 15 Days of jQuery provides you with a downloadable package that includes the auxiliary source files you’ll need.

3. Scrolling Content

Animated scrolling in jQuery can be used to create image carousels and to simplify a design by being able to display more content in a smaller space.

Below is an example of a jQuery plugin called Scrollable (check out the demo on that page to see the plugin in action).

Scrolling Content

There are tons of plugins and tutorials on the web for how to create scrollable content, the Scrollable plugin being one of them.

To help you scroll up and down a web page in an animated way, check out the tutorial called Scroll window smoothly in jQuery on Freelancer ID Blog.

In order to tell jQuery to scroll, we need a section in a web page to scroll up or down to (ScrollTarget).

<div class="ScrollTarget">
  <p>After a scroll button is clicked, jQuery will animate the
  page to this point.</p>
</div>

Next, we can use any HTML element to use as a trigger to call a function called scroll(), such as an image or input button to tell the browser to scroll to the above div when clicked.

Example of a input button:

<input onclick="scoll();" type="button" value="Scroll" />

Example of an image:

<img onclick="scoll();" src="images/scroll.jpg" alt="Scroll" />

Here is the code for the scroll() function.

function scroll(){
  $('html, body').animate({
    scrollTop: $(".ScrollTarget").offset().top
  }, 2000);
}

The downside to this technique is that it uses an onclick property which is bad practice if you’re interested in obeying unobtrusive JavaScript principles. So, you can modify the element’s markup in such a way that it has a class property value of, for example, scrollTrigger:

<input class="scrollTrigger" type="button" value="Scroll" />

And then simply replace the above scroll() function to this script below:

$('.scrollTrigger').click(function(){
  $('html, body').animate({
    scrollTop: $(".ScrollTarget").offset().top
  }, 2000);
});

4. CSS Style Switcher

Switching themes is a great way to vary the theme and look of a web page. Switching stylesheets may be necessary to accommodate different screen resolutions, or perhaps to allow users to pick a light background alternative to a dark design.

CSS Style Switcher

It’s quite easy to do (really). Include the following jQuery script to the <head> of your HTML file.

<script type="text/javascript">
  $(".styleswitch").click(function() {
    $('link[rel=stylesheet]').attr('href' , $(this).attr('rel')); 
  });
</script>

To give options to the user for switching styles, just assign the styleswitch class to an HTML element (a elements would be good candidates), using the rel attribute to reference the location of your stylesheets.

<a href="#" class="styleswitch" rel="dark.css">Dark</a>
<a href="#" class=" styleswitch " rel="light.css">Light</a>

For example, if this is how you reference your default stylesheet:

<link rel="stylesheet" href="dark.css" type="text/css">

Clicking on the second link above will modify the DOM in such a way that the href attribute will take on the value of light.css.

5. Resizing text dynamically

This common trick among designers can make it easy for users to control how big or small they see the text on a web page without having to modify their web browser settings.

Resizing text dynamically

Using links to increase, decrease, or reset the text size of a webpage can easily be implemented using jQuery.

The following snippet from Queness will do the trick.

<script type="text/javascript">
$(document).ready(function(){
  var section = new Array('span','.section2'); 
  section = section.join(',');

  // Reset Font Size
  var originalFontSize = $(section).css('font-size');
  $(".resetFont").click(function(){
    $(section).css('font-size', originalFontSize); 
  });

  // Increase Font Size
  $(".increaseFont").click(function(){
    var currentFontSize = $(section).css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*1.2;
    $(section).css('font-size', newFontSize);
    return false;
  });

  // Decrease Font Size
  $(".decreaseFont").click(function(){
    var currentFontSize = $(section).css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*0.8;
    $(section).css('font-size', newFontSize);
    return false;
  });
});
</script>

In the code above, you will notice an array called section. This defines which HTML elements can be resized.

From there, we can use basic HTML to create text-resizing links.

<a class="increaseFont">+</a> | <a class="decreaseFont">-</a>
| <a class="resetFont">=</a>

<span>Font size can be changed in this section</span>
<div class="section1">This won't be affected</div>
<div class="section2">This one is adjustable too!</div>

6. Animated accordions for interactive content displays

Accordions that use jQuery can take on many forms, from displaying only necessary content, to creating expandable/collapsible navigation menus.

Designers can create accordion menus with some pretty cool animation effects using jQuery.

Animated accordion.

To view a demo of an accordion in action, check out the accordion over on WebDesignerWall.

Using the jQuery script below, we can use a mixture of <h3> and <p>  elements to hide and show the paragraphs below the heading tags.

<script type="text/javascript">
$(document).ready(function(){
  $(".accordion p").hide();
  $(".accordion h3").click(function(){
    $(this).next("p").slideToggle("slow")
     .siblings("p:visible").slideUp("slow");
    $(this).toggleClass("active");
    $(this).siblings("h3").removeClass("active");
  });
});
</script>

Note: If you’d like a faster animation movement, modify the slideToggle and slideUp methods so that it passes either the strings 'normal' or 'fast', or simply use an integer in millisecond units (such as .slideUp(500) for a half -second transition).

Below is the HTML we need to use. As you can see, it’s pretty straightforward and all we need to have is the div.accordion element, and <h3>/<p> pairs inside it.

<div class="accordion">
  <h3>Item One</h3>
  <p>Lorem ipsum dolor sit amet.</p>
  <h3>Item Number Two</h3>
  <p>Lorem ipsum dolor sit amet.</p>
  <h3>Here is Item Three</h3>
  <p>Lorem ipsum dolor sit amet.</p>
</div>

Take a closer look at this and some other jQuery tricks over at WebDesignerWall.

7. Tooltips to convey contextual messages on an element of interest

Tooltips are an easy way to give users more information when they hover on a particular page element. By hovering over an element of choice, the user can view a simple tooltip that pops up displaying links, content, a larger image, and other contextual information that they might find useful.

Tooltips to convey contextual messages on an element of interest

The image above is actually an example of a demo page in action (from CSSGlobe). To download this script set, head on over to their write-up of it called Easiest Tooltip and Image Preview Using jQuery.

Here is the HTML markup you need, which, as you can see follows unobtrusive JavaScript best practices by using a class (.preview)to indicate which elements will have tooltips.

<a href="image.jpg" class="preview" title="Image">Preview</a>

8. Modal windows to replace pop-up windows

Modal windows can be used to display images, content, and even iFrames.

Modal windows to replace pop-up windows

A dialog box like this takes more than just a few snippets of code, it takes an entire tutorial.  Above is an image of what the NetTuts+ tutorial for creating a modal dialog box can do. It is a great tutorial to follow if you would like to make your own, and customize it along the way.

jQuery Plugins for Modal Windows

Instead of creating your own jQuery script for modal windows, there are plenty of plugins that you can use to get the job done; below are just a few of them.

FancyZoom

FancyZoom

Wordpress jQuery Lightbox Plugin

Wordpress jQuery Lightbox Plugin

SimpleModal

SimpleModal

9. Tabbed interfaces for displaying content

Tabs are a great way to save space, just like an accordion. With a rise in minimalist designs, designers need new ways to decrease the space that web page content can take up. Tabs are also a great way to organize information on a web page, making the design much more user-friendly. The image below showcases a tabbed area demonstration using the jQuery UI tabs.

Tabbed interfaces for displaying content

10. Using  jQuery UI for easy widget implementation

The last "trick" for designers is easy: take a look at (and learn about) the jQuery User Interface (jQuery UI).

Using jQuery UI for easy widget implementation

Basically, jQuery UI extends the jQuery core library to give you access to useful and common UI components (widgets) such as date pickers, accordion, tabs, sliders, and more.

To make things easier for designers wanting to save time and coding requirements, they have provided a nifty tool for quickly testing and creating your own jQuery UI themes, aptly called ThemeRoller, (which is also available as a Firefox bookmarklet).

Needless to say that there are plenty of features that come from jQuery UI that let designers "Code Less, Do More."

Wrapping Up

Many visual effects and impressive interaction can be achieved using jQuery. The above ten tips may be common and incredibly useful, but the power of jQuery does not stop there. I hope that this post has gotten you interested enough to keep exploring and learning more about this designer-friendly JavaScript library.

Please share any additional plugins, tutorials, and jQuery tricks that may help your fellow web designers in the comments.

Related Content

About the Author

Kayla Knight is a 20 year old college student, part-time web developer, freelancer, and blogger. In her spare time she maintains Webitect.net, a resource blog for webmasters. She also writes for top blogs like Smashing Magazine and Web Designer Depot. You can get a hold of her through her blog, or follow her on twitter@Webitect

Six Revisions