Sunday, 14 October 2007

Javascript

Towards the end of 2006 one of my friends on statcounter forum asked if someone could write a bit of code that would rotate ads on his website pagez.co.uk. Although I had never written in Javascript before from what I had seen I thought it would be fairly easy and it was. In the end I wrote 2 ad rotation scripts as Neil changed his mind and instead of having the ad change on page load he wished it to change after a preset time interval. I was quite pleased to be able to get this working. Although I have never returned to javascript, I now concentrate on PHP and MySQL.

I offered the 2 javascripts to anyone to freely use although to be fair I now know that there are many similar scripts around but if you still want them you'll find all the details here:

http://247mgf.co.uk/forum/viewforum.php?f=32

I've also put up demo's here:

http://www.always24-7.co.uk/test/scriptsdemo.php

No comments: