afallingpanda Posted December 18, 2013 Share Posted December 18, 2013 so ive got some text on my site and i was wondering how i would make that text fade in when the page is loaded. i dont mind if its jquery or js thanks in advanced. Link to comment https://forums.phpfreaks.com/topic/284839-jsjquery-fade-in-effect/ Share on other sites More sharing options...
afallingpanda Posted December 18, 2013 Author Share Posted December 18, 2013 UPDATE: Ive added this code to make the fade in happen: <script> $(document).ready(function(){ $(document).ready(function(){ $("#div1").fadeIn(5000); $("#div11").fadeIn(5000); $("#div12").fadeIn(5000); $("#div13").fadeIn(5000); $("#div2").fadeIn(7000); $("#div22").fadeIn(7000); $("#div23").fadeIn(7000); $("#div24").fadeIn(7000); $("#div3").fadeIn(9000); }); }); </script> and it fades in my images AND text in google chrome, but in internet explorer only my text fades in, my images wont fade in. HOW do i make it work on internet explorer too? Link to comment https://forums.phpfreaks.com/topic/284839-jsjquery-fade-in-effect/#findComment-1462656 Share on other sites More sharing options...
possien Posted December 23, 2013 Share Posted December 23, 2013 Why do you have 2 document.ready functions? You may try this: $(document).ready(function(){ $('#div').hide().fadeIn(5000); // same for the rest. }); Link to comment https://forums.phpfreaks.com/topic/284839-jsjquery-fade-in-effect/#findComment-1463026 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.