/    Sign up×
Community /Pin to ProfileBookmark

problem with rendering time by divs

Hi all,

i’ve created a page which needs long time to load. For this i’ve insert two divs.
First div: the page is loading – please wait…
Second div: the big page…

So, normaly the first div is displayed directly, and if the whole page is loaded the second div will be displayed.

This stuff works fine by one page i’ve created – by another one, it didn’t work, and i don’t know why.
Both divs will be displayed exactly at the same time, and not one div after the other.

Has anybody some idea why??

Thanks in advance

Cu Daniel

Here is my sourcecode:

<%@ taglib uri=”core” prefix=”c”%>
<%@ taglib uri=”sql” prefix=”sql”%>
<%@ taglib uri=”format” prefix=”fmt”%>
<%@ include file=”inc_conf.jsp” %>

<html>
<head>
<title>Proxy Daten Statistik</title>
<link href=”/cc/css/default.css” rel=”stylesheet” type=”text/css” />
<script language=”JavaScript” src=”date-picker.js”></script>
<script language=”JavaScript” type=”text/javascript”>

//hide the animated load gif
function hideLoadGif() {
if(document.getElementById)
document.getElementById(“load”).style.visibility = “hidden”;
}

</script>
</head>

<body marginwidth=”0″ marginheight=”0″ onLoad=”hideLoadGif()”>

<div id=”load” style=”position:absolute; visibility: visible;”>
<table>
<tr><td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td class=”head1″>Die Seite wird geladen. <br>Bitte gedulden Sie sich einen Augenblick.</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td><img src=”/cc/img/bar6.gif”/></td>
</tr>
</table>
</div>

<div style=”position:absolute; visibility: visible;”>

<jsp:include page=”inc_statisticSql.jsp”/>

<form name=”crStatistic” method=”post” action=”/cc/jsp/crStatistic.jsp”>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”3″ vspace=”0″ hspace=”0″ class=”nav2_text”>
.
.
.
.the big page
.
.

</table>
</form>
</div>
</body>

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonJul 11.2003 — Check out [URL=http://forums.webdeveloper.com/showthread.php?s=&threadid=12768]this thread[/URL].
×

Success!

Help @dbanhardt spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...