$(document).ready(function(){ $(".button_1").hover(function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20121011021904_submit_active.png"); }, function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20121011021904_submit_inactive.png"); }); $(".button_3").hover(function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20111117105655_search_active.jpg"); }, function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20111117105655_search_inactive.jpg"); }); $(".button_4").hover(function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20121011021925_register_active.png"); }, function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20121011021925_register_inactive.png"); }); $(".button_5").hover(function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20120316095539_continue.jpg"); }, function() { $(this).attr("src","http://www.itac.org.za/upload/button_style_images/20120316095539_continue.jpg"); }); });