client/player/test/emission_fichiers/rollover.js
changeset 27 c73981bd7519
parent 26 b2492d3a3b2b
child 29 d283ffaa7791
--- a/client/player/test/emission_fichiers/rollover.js	Fri Feb 11 13:43:55 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-  $(document).ready(function(){  
-    
-	    $('.rollover').hover(function(){
-        if($(this).attr("src").indexOf("-hover") == -1) {
-			var newSrc = $(this).attr("src").replace(".png","-hover.png");
-			$(this).attr("src",newSrc);}},
-	function(){
-            if($(this).attr("src").indexOf("-hover.png") != -1) {
-					var oldSrc = $(this).attr("src").replace("-hover.png",".png");
-					$(this).attr("src",oldSrc);}
-                                        });
-            
-            $('input[type="text"]').addClass("idleField");  
-            $('form:not([id="user-profile-form"]) input[type="text"]').focus(function() {
-        $(this).removeClass("idleField").addClass("focusField");  
-        if (this.value == this.defaultValue){  
-            this.value = '';  
-         }
-        if(this.value != this.defaultValue){  
-            this.select();  
-        }  
-    });  
-    $('input[type="text"]').blur(function() {  
-        $(this).removeClass("focusField").addClass("idleField");  
-        if (this.value == ''){  
-            this.value = (this.defaultValue ? this.defaultValue : '');  
-        }  
-    });   
-});