Jump to content
Sign in to follow this  

Loading Page

Recommended Posts

in exemplul dat de tine, acolo nu este folosit un script ce site-ul este facut in flash.

dar uite si un script numit PreLoad Wait care s-ar putea sa te ajute. ce face el ?

Afiseaza mesajul 'Loading - please wait' pana cand pagia se incarca complet.

Mesajul de 'Loading - please wait' va disparea cand pagina s-a incarcat complet.

E destul de simplu de instalat, urmeaza pasii indicati mai jos.



Coopiza codul de mai jos dedesubtul tagului <HEAD> in pagina pe care vrei sa folosesti scriptul.


<script TYPE="text/javascript" LANGUAGE="javascript">

<!-- PreLoad Wait - Script -->
<!-- http://pctroubleshooting.ro -->

function waitPreloadPage() { //DOM
if (document.getElementById){
if (document.layers){ //NS4
document.prepage.visibility = 'hidden';
else { //IE4
document.all.prepage.style.visibility = 'hidden';
// End -->
</SCRIPT>[/code] ============================================================ PARTEA II. Adauga codul de mai jos intre tagurile <BODY> </BODY>: ============================================================
[code]<BODY onLoad="waitPreloadPage();">
============================================================ PARTEA III. Copiaza codurile de ,mai jos imediat dupa tagul <BODY> ============================================================
<DIV id="prepage" style="position:absolute; font-family:arial; font-size:16; left:0px; top:0px; background-color:white; layer-background-color:white; height:100%; width:100%;"> 
<TABLE width=100%><TR><TD><B>Loading ... ... please wait!</B></TD></TR></TABLE>
</DIV>[/code] sau uite un alt script care afiseaza un pop-up atunci cand intri pe pagina respectiva, fereastra se poate redimensiona, si el afiseaza mesajul "Page Loading - please Wait ... " [b]Pasul 1.[/b] Copiaza codul de mai jos in pagina pe care vrei sa apara mesajul.
[code]<script language="javaScript">
var processing =
Pasul 2. Intre tagurile <body> </body> adauga acest cod:
<body onload="processing.close()">
Creaza o pagina numita preview htm, sau html dar trebuie sa modifici in primul script lina asta:
unde scrie preview.htm, daca pagina ta este hmtl mai adaugi un l. in pagina creata adauta urmatoarele coduri:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
.style1 {
color: #FFFFFF;
font-weight: bold;
body {
background-color: #000000;
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>
<span class="style1">Page Loading - please Wait ...</span>

Bineinteles ca poti modifica dupa bunul plac. Succes :*

Share this post

Link to post
Share on other sites

fast_and_furios las-a aici cum ai vrea sa fie si cum am putin timp liber. Til fac eu ;)

I have been on this forum since 2007

Driving jill61-603505-albums-emoticons-pic45408-driving-smiley.gifBMW 318i and Dacia 1310 Sport


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...