473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can a web page be made to appear instantly?

14
Can a web page be made to appear in one shot, without seeing bits and pieces appear one after another? I realize this could be detrimental, especially for slow connections, but there are times when the load isn't that great, and a random order of page load can detract from a certain intended effect or purpose.

Here's an example: http://www.dermatiquelaserandskin.com

The page appears all together. I just can't figure out how it's being done. The CSS doesn't initially hide any of the container DIVS. I've also tried buffering page content in PHP with the ob_start function before sending to the browser, but it still draws everything a piece at a time.

Thanks in advance.
Apr 11 '10 #1
4 1474
Dormilich
8,658 Expert Mod 8TB
well, for me the page’s images took a while to load, while the page text was displaying.

ob_start() does not affect the load since it is strictly server side. (it may work, if you have slow processes, but that’s rather rare). a web page usually renders the faster, the better HTML you write (including preset dimensions (like image width/height))
Apr 12 '10 #2
chathura86
227 100+
you can use a wrapper div as the most outter div and use inline css to hide it

and use js to make it visible after the page loading

Regards
Apr 12 '10 #3
tarek01
14
@Dormilich: That's odd. I viewed it in 3 different environments to check consistency. Windows Vista with Firefox 3.6 and IE7, and also a Mac with Firefox 3.6, and all 3 show the site appearing instantly, after about 1 second of lag.

@chathura: I'm aware the container DIV can be hidden beforehand, but this site doesn't seem to be using that technique, and I would be reluctant to use that method myself.

I've never seen a site, other than the example in my post, do this without hiding the root DIV. Any other ideas? Thanks.
Apr 12 '10 #4
Dormilich
8,658 Expert Mod 8TB
@tarek01
it may be due to me surfing with JavaScript disabled.
Apr 12 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
37
by: ajay | last post by:
How to make a web page getting refreshed after a given time interval automatically. HTML Code plz. Tx Ajay
4
by: cjl | last post by:
Hey all: I am preloading a large number of images for my web application, and I want to display something indicating progress. So I am simply swapping the visibility of an animated gif (which...
8
by: Workgroups | last post by:
I've got a page where the nature of the beast is such that the user clicks a submit button to ransomize some data in somewhat rapid succession (once per second, give or take). The page generates a...
9
by: Daniel Walzenbach | last post by:
Hi I am faced with the following problem: I have a page (let’s call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let’s call this page page2.aspx)...
6
by: wizard04frms | last post by:
I have an ASP.NET page on a remote server that takes about 60 seconds to load from my Windows XP Pro SP2 computer with IE 6.0, but my local copy opens instantly. If I load the page from my...
5
by: John A Grandy | last post by:
is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a certain URL, and then pre-populate some of the...
9
by: Gummy | last post by:
Hello, I created a user control that has a ListBox and a RadioButtonList (and other stuff). The idea is that I put the user control on the ASPX page multiple times and each user control will...
42
by: smerf | last post by:
Using javascript, is there a way to trap an external page inside a frame? I've seen scripts to break out of frames, but nothing to keep a page trapped in a frame.
5
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Have another thread going on in scripting.jscript trying to work around some deficiencies in the way IE and IIS interact. The nub of it is this: ASP.Net explicitly sets an output...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.