About
F.A.Q.
Staff
Credits
Contact
Panda
Bunny
Squirrel
Bunny

Menu

x Avatars

x Layouts

x LJ Layouts

x phpBB3 Skins

x Textures

x Tutorials

x Quizzes

x Emoticons

x Pixel Dump

x Buttons

x Fonts

x Interactive
Your Cute Design Resource~
Your Cute Design Resource~ ♥
Log in to download layouts, skins, and emoticons. Register?

Bookmark This Site | Updates Livejournal | Facebook | RSS Feed

Javascript Tutorial: Button Rotation Script

So you want to implement your own button rotation - or banner rotation! In the old days, people used to do it with CGI. Nowadays, a lot of people do it with PHP or with complex programs. But you can do it in a much more simple way with Javascript. If you want a button rotation on your site like the one I have, then you can follow the directions below. It's really simple!

First, save this script (right click and save as): rotation.js

Follow the directions in the script / code to make the appropriate edits inside. You can open .js files with WordPad. Then upload it to your server.

Now, put this code where you want the rotation to display:

<script type="text/javascript" src="http://YOURURL/rotation.js"></script>

And you have a button rotation. Edit the .js file with updates. It's that simple!

Latest Forum Topics [+]

x needs some advice
x Neskaya Tokyo Meet-Up 2009
x What is this? I don't even
x downloading
x Emotional Issues

Newest Avatar

Cute Icon

Featured!

x RO Character Quiz
x 88x31 Button Maker
x Button Rotation Script
x Alcoholic Drink Quiz
x Flash CS3 Tutorials

Newest Cute Design

Free Layout


eXTReMe Tracker

Neskaya is © Strawbee 2008-2009, all rights reserved. [ Best viewed in Firefox ] [Cute Web Design Resource ]
IconsLayoutsLJphpBB3 SkinsEmoticonsPixelsButtonsFontsTutorialsQuizzesRotationTopsites