JavaSript tutorial add snow flakes to your site

January 16 2012

This is a simple tutorial that will help you to add snow flakes to your site just like these on this page. This period of the year we’re celebrating Christmas and The New Year. Australia is celebrating the New Year on beach with ice cocktails but not all of the visitors of our Blog are from Australia. We’re glad that our blog have visitors from all around the world, and this post is dedicated to the visitors from the North Hemisphere where there is snow in this period of the year.

It’s not an obligation to add snow flakes, you can replace the pictures of snowflakes with your logo or your hottest product for example and than add a link that will lead to the page of your top product.

JavaSript tutorial add snow flakes to your site

JavaScript

The script is very easy for implementation because you have to include the script and place the snow-falke images in the appropriate folder on your server (in our example “/images”).

<script src="http://www.yourdomain.com/scripts/snow.js">script>

Click to » Download the JavaScript file «

If you open and view snow.js you can see that every functionality is placed there, so if you want to modify the script you should make the changes in this file.

The file is starting with these lines of code:

var X = 20;	   /// set the number of different snowflakes to be shown, ///
                   ///write 1  if you want only one type of snowflake ///
var SNOW_no = 20;  /// set the number of snowflakes to be shown at once ///

These lines of code enables to show showflakes with random size:

SNOW_RANDOM1 = Math.floor(Math.random()*100);
	SNOW_RANDOM = Math.floor(Math.random()*SNOW_RANDOM1);
	if (SNOW_RANDOM1 >= 50)
	{
		SNOW_RANDOM2= 70 + SNOW_RANDOM+"%";
	}
	else if(SNOW_RANDOM1 < 50)
	{
		SNOW_RANDOM2= 100 - SNOW_RANDOM+"%";
	}

where the minimum is 50% and the maximum is 170% of the image.

This line of the JavaScript file makes randomisation of the snow flakes:

SNOW_Picture = "http://www.yourdomain.com/scripts/images/snow-flakes-"+Math.floor(Math.random()*X+1)+".gif";

If you want to add more snow flakes you should increase the number of the var X = 20; and name the image according to this pattern snow-flakes-number_of_the_image.gif and don’t forget to upload it in the /images folder on you server.

I hope that you’ll like and enjoy the script.

Click » JavaSript tutorial add snow flakes to your site « to DOWNLOAD the EXAMPLE

The Best Web Design Sydney Solutions for Unique Web Site

January 12 2012

The Best Web Design Sydney Solutions for Unique Web Site

web design sydney solutions for unique websiteThe Internet has become an interactive place where you can sell and buy products & services and it’s a medium for communicating business benefits with clients, customers and associates and it’s a place where your business gets visible online. When choosing a Web Design Sydney agency, the first step that you make is to check their portfolio and some of the web sites recently done. See if their work suits your desires and go well with the features and tools that you want to be used on your web site: screens, forms, links, navigation, colours and themes that you prefer and need.

A high-quality website design combines a variety of futures and elements to make the website successful and it represents the reflection of technology and creative revelation. Having an eye catching web site is not difficult however prior to hiring a professional Web Design Sydney agency few basic factors that contribute to a classy web site should always be kept in your mind.

 

Unique web site

Why having a unique web site is important to you? A unique custom web site with good graphics and visual effects can bring many benefits to your business. You need a unique place to advertise your business in this overcrowded market. As the web site is your online representative and offers your product or service 24/7, the exclusivity and the uniqueness can build value to your product or service, it can inform potential customers and help them choose wisely, it can create easier way to get in contact with you and finally can set you apart from the competition, can burst out your business to the top and open new gates for your business success.

Website design Sydney

A good website design is the first and the most important. The design aspects, aesthetics and its functionalities are the base for creating a web site and for that reason intent consultation with the Web Design Sydney agency is needed during the website building process hence down the road changes will be easier and less expensive. A web site with one of a kind looking web design, strong and persuasive content, high-quality information architecture and efficient futures provides excellent first impression and contributes to generate a great online presence and experience.

Content and information architecture

web design sydney solutions for unique web siteContent is King. Content is the most vital part of your website. It attracts traffic to your site, it retains potential customers on site and helps your web site to increase and hold on to a good position in the search engines. High-quality information architecture is produced by competently labeled content in order to accomplish best usability and accessibility.

Creating a successful website is a blend and crystallization between the company goals -their web strategy and on the other the needs and the requirements of the audience. This is accomplished after extensive research and an efficient well-organized strategy. Placing all of this in one may seem a bit difficult, but taking it down step by step in the web design creating process it can give you a web site that is fast and easy to navigate and efficient to bring in the preferred online traffic.

A user friendly and creative website with unique and innovative appearance is the key to a successful business, but unless you’ve put a lot of energy, time, vision, devotion and creativity into making your web site you will not see any results in near future. With such fierce competition on the net the web design has become an area that requires specialization so if you want to survive your business go for Web Design Sydney agency with professional approach, strong portfolio, satisfied clientele and years of experience.

Search for: