hi!
do you have any code in php to transfer data from server to client phase wise.
if you are not getting what i mean
just open http://www.gmail.com and see how it diaplays
LOADING... first then loads the page.
please suggest any code.
sending optput from server to clients phase wise
Moderator: General Moderators
-
nirmal.shukla
- Forum Newbie
- Posts: 1
- Joined: Thu Jun 09, 2005 11:37 pm
I dont know how google works but you can try using Javascript to display a table after the page has loaded.
Code: Select all
<head>
<script type="e;text/javascript"e;>
function DisplayPage()
{
document.getElementById("e;LoadingTable"e;).style.display = "e;none"e;;
document.getElementById("e;MainTable"e;).style.display = "e;"e;;
}
</script>
</head>
<body onload="e;DisplayPage()"e;>
<table id="e;LoadingTable"e;>
// Loading...
</table>
<?php
flush(); // Send the HTML data on top immediately
?>
<table id="e;MainTable"e; style="e;display:none"e;>
// Other data
<table>
</body>