Revision: 14434
Updated Code
at June 3, 2009 22:33 by kstetson
Updated Code
// The div #fader will fade in on load <style type="text/javascript" /> $(function(){ $('#fader').hide(); $('#fader').fadeIn() }); }); </script> // The div #fader will fade in when clicked <style type="text/javascript" /> $(function(){ $('#fader').click(function(){ $('#fader').fadeIn() }); }); </script> // The div a#fader will fade in when clicked. use return false for anchor tags <style type="text/javascript" /> $(function(){ $('a#fader').click(function(){ $('#fader').fadeIn() return false; }); }); </script>
Revision: 14433
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 3, 2009 22:26 by kstetson
Initial Code
// The div #fader will fade in on load <style type="text/javascript" /> $(function(){ $('#fader').hide(); $('#fader').fadeIn() }); }); </script> // The div #fader will fade in when clicked <style type="text/javascript" /> $(function(){ $('#fader').click(function(){ $('#fader').fadeIn() }); }); </script>
Initial URL
Initial Description
Div will fade in on load or fade in on click
Initial Title
Div Fade in on Load / Div Fade in on Click
Initial Tags
jquery, load
Initial Language
jQuery