A little something about everything

internet marketing and website development made simple..

Adding Banner ads to Community Server - Simple Javascript

Here is an example of a simple Javascript you can use to add banner ads in Community Server: 

Advanced Banner Ads with JavaScript

This script allows you to rotate ads every x/1000 of a second:

<script language="JavaScript" type="text/JavaScript">
var linkArray = new Array(4);
var imageArray = new Array(4);
var counter = 1;
var url = "

linkArray[0] = "http://area51.mn";
linkArray[1] = "
linkArray[2] = "
linkArray[3] = "
linkArray[4] = "

  for(i = 0; i < 9; i++)
    imageArray[i] = new Image(468, 60);
    imageArray[i].src = "
http://area51.mn/banners/banner-468x60_00" + (i+1) + ".png";
  for(i = 9; i < 99; i++)
    imageArray[i] = new Image(468, 60);
    imageArray[i].src = "
http://area51.mn/banners/banner-468x60_0" + (i+1) + ".png";
  for(i = 99; i < 999; i++)
    imageArray[i] = new Image(468, 60);
    imageArray[i].src = "
http://area51.mn/banners/banner-468x60_" + (i+1) + ".png";

function changeBanner()
  if(counter > 4) //restart after this many ads displayed
   counter = 0;

  document.banner.src = imageArray[counter].src;

  url = linkArray[counter];

var timer = window.setInterval("changeBanner()", 3500); // change how often in x/1000 of a second, currently set at 3.5 seconds


<a href="http://shawnhyde.com/controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost§ionid=4#" mce_href="http://shawnhyde.com/controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost§ionid=4#" onClick="window.open(url,'BannerWin');">
<img src="
http://area51.mn/banners/banner-468x60_001.png" width=468 height=60 border=0 name="banner"></a>

Driving Traffic to your Business Site

I've recently put together a Minnesota small business community site where small business owners can write articles that feature their own business, communicate with other business owners in Minnesota and develop long lasting partnerships. My goal for this site is to help Minnesota businesses grow and strive in todays economy because a healthy Minnesota business economy is good for everyone.

Here's a list of a few benefits this site offers to business owners and their businesses.

  • Put your business in the spotlight with media articles for sales, new products, new services, employee changes, management change, grand opening, new look, special events, company meetings or just about anything that highlights your company because the more links and news featuring your business and site the more clients will be driven to you.
  • Communication with other business owners in Minnesota will help you to forge long lasting and profitable relationships with other businesses. Working with other business owners will provide you and them with increased customer traffic over your competition.
  • Drive traffic to your site by creating articles and posts on this community site, every link from another site is like a vote for your site to the search engines and the more votes the higher your site is valued. Google calls this "Page Rank" and is the first search engine to implement this sort of rating system. 
  • An image is worth a thousand words and so is your business. What I mean by this is posting a few photos of you business, staff and products in the gallery section can go a long ways in showing what you do. You can even do things like post coupons and fliers in the downloads section.

Eventually I'll be adding other things to this site like a free classifieds section, community calendar and more. Right now the site already features some pretty cool stuff like local news, open discussion forums for all of Minnesota, free personal galleries to upload photos for your business, free file uploads for the community, and your own personal blog/news section.

To get going with http://downtown.mn all you need to do is click the "join" link at the http://downtown.mn site.

Good luck with your business ventures and remember good communication is the key to success.