Gradualfader.js
À propos
- Type de fichier
- Fichier JS de 2 Ko (text/plain)
- Confidentialité
- Fichier public, envoyé le 18 juin 2011 à 11:37, depuis l'adresse IP 41.204.x.x (MG)
- Sécurité
- Ne contient aucun Virus ou Malware connus - Dernière vérification: 2 jours
- Statistiques
- La présente page de téléchargement a été vue 824 fois depuis l'envoi du fichier
- Page de téléchargement
-
Aperçu du fichier
$(document).ready(function(){
$(".gradualfader").fadeTo("fast", 0.5); // This sets the opacity of the thumbs to fade down to 50% when the page loads
$(".gradualfader").hover(function(){
$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("fast", 0.5); // This should set the opacity back to 50% on mouseout
});
});
$(document).ready(function(){
$("#text p").fadeTo("fast", 0.5); // This sets the opacity of the thumbs to fade down to 50% when the page loads
$("#text p").hover(function(){
$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("fast", 0.5); // This should set the opacity back to 50% on mouseout
});
});
$(document).ready(function(){
$("#div").fadeTo("fast", 0.5); // This sets the opacity of the thumbs to fade down to 50% when the page loads
$("#div").hover(function(){
$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("fast", 0.5); // This should set the opacity back to 50% on mouseout
});
});
Partager le fichier
Télécharger Gradualfader.js
Télécharger Gradualfader.js