new tutorials New Listings popular tutorials Most Popular Listings top viewed tutorials Top Ranked Link To Us Search tutorials sitemap Sitemap
Design and Programming Tutorials
Home Add a Link Modify a Link Login Register Advertise About Us


Categories
3D Studio Max
ASP
ASP.NET
C
C#
C++ & MFC
CGI & Perl
CSS
Dreamweaver
Fireworks
Flash
General
HTML & XHTML
Illustrator
Java
JavaScript and DHTML
Libraries
LINQ
Photoshop
PHP
Promotion & SEO
Silverlight
VB & VBScript
VB.NET
VS & VS.NET
WCF
WPF
XML & XSL

Partner Links
DVD Software

Most Popular This Week
Create an Adrotator1
Creating a simple ad rotating system using ASP1

Home : ASP : Articles, Tips & Tutorials : Ad Management : Rotate sponsor banners in random order
Rotate sponsor banners in random orderHits: 449

Visit Rotate sponsor banners in random order`s Website Refer
Write a Review! Report This Link
Description: See that extra content on the right of this page? Refresh the page and you'll see that different items are displayed in a different order each time. (Actually, the one or two top items may not change - they are reserved for advertisers)
This shows a good use (maybe the only one) of JavaScript's Math.random() function. Using this and a couple of arrays it's a snap to provide functionality like this...

tr>
Resource Specification
  
Date Added:02/06/2004
Last Updated:02/06/2004
Author:James Shaw

Average Visitor Rating: 5 (out of 5)
Number of Ratings: 1 Votes

Visitor Voting

Average Member Rating: Not yet reviewed by any member...
You can be the first one to write a review for Rotate sponsor banners in random order!
Featured Sponsors

Sponsored Listings




Tutorial Maniacs - C#, PHP, ASP, .NET, Photoshop, Flash, Fireworks, & other design and programming tutorials...
The most comprehensive collection of QUALITY hand picked design and programming tutorials and articles...(C) 2003