Welcome to Oh-Vintage.co.uk, a resource and blog site, which is owned by an English girl. Oh-Vintage contains a large amount of tutorials and a wide range of content, ranging from layouts, to icons, and more!

Search

Since : 17/11/07
Posts: 79
Comments: 1,090
Last Post: Ew. My eye.
Last Commentator: Allison
November 2008
M T W T F S S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930
» All questions


 



Apply
Aliyah · Anna · Anna · Connie · Fatima · Jack · Jay · Jay · Jessica · Kiandra · Kiara · Laura · Marvin · Megan · Mona · Nina · Peter · Sarah · Sarah · Shellz · Tika · Tori · Vibeke · Winnie
View all · Apply

Button Rotation

ONE. Button rotations are cute adverting thing which changes the button once the page is refreshed, this works best with PHP, since it will change and change as the vistor goes though the site.

TWO. Heres the simple code to need to put where you would like the rotation


THREE. Where it says var how_many_ads = 2; this is how many ads there will be shown, so if you want to add more ads, use this code and put it right under the last ad.

Where it says # change this to, 3, 4, 5 ect.

FOUR. Where it says url="URL";, change the URL bit to the Url you want the button to navagate to.
Where it says banner="BUTTONURL";, change the BUTTONURL bit to the link button that you want to show.
Where it says width="88"; height="31";, this is the width and height of the button, if the linkg button isn't 88x31, you will need to change it so it fits.

FIVE. Then your done! Refresh your page a few times and watch the buttons change!

Tutorial by oh-vintage.co.uk