raihanhbh Posted August 7, 2009 Share Posted August 7, 2009 Hi, I want to load all text contents of a page first then I want to load videos and images.. When my webpage started..browser triying to load all videos,images,text at a time as a result the page become blank or trying to load image first...and text are used to display after long time...so the site become very much boring and useless... So I want to display my banner first then important text to my visitors...then other videos and images will be load and displayed. Can any one help me about this? Thanks in advance. //Raihanhbh Link to comment https://forums.phpfreaks.com/topic/169188-load-text-first-then-videos-and-images/ Share on other sites More sharing options...
The Little Guy Posted August 7, 2009 Share Posted August 7, 2009 I'm thinking your going to want to use some javascript, and use the onload event. Link to comment https://forums.phpfreaks.com/topic/169188-load-text-first-then-videos-and-images/#findComment-892693 Share on other sites More sharing options...
raihanhbh Posted August 7, 2009 Author Share Posted August 7, 2009 Hi The Little Guy, Thanks for your reply. Do you thing it will help me to reduce page loading time? Thanks in advance. //Raihanhbh Link to comment https://forums.phpfreaks.com/topic/169188-load-text-first-then-videos-and-images/#findComment-892699 Share on other sites More sharing options...
The Little Guy Posted August 7, 2009 Share Posted August 7, 2009 No, It WILL take longer, loading one thing at a time. To speed it up, load less images, videos, scripts, css, anything that needs to be loaded into the page. Another thing to speed up the load time would be to downsize the file sizes. Link to comment https://forums.phpfreaks.com/topic/169188-load-text-first-then-videos-and-images/#findComment-892703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.