Click to toggle dark text on white

JavaScript Radio Station Switcher with a Flash Object

Show Code
var a=document.getElementById("radio-stations").getElementsByTagName("a");
for(var i = 0; i < a.length; i++) {
a[i].onclick = function() { var station = document.getElementsByTagName("object")[0]; = this.href; return false; //stops link from being followed when clicked } }


Most Recent Blog Post: jQuery Mapbox Updated

Privacy Policy | Click Here | jQuery Plugins by Wayfarer | Freelance Jobs Available | Random JavaScript Code Samples | Share a Random Link | JavaScript Jobs