+zNowkid Posted August 2, 2007 Report Share Posted August 2, 2007 As dori si eu un tutorial pt un loading page de exemplu atunci cand arata cat la suta sa incarcat din site si apoi intra (un exemplu mai bun aici http://www.dj-project.ro/romana.html - in genu asta ). Quote Link to comment Share on other sites More sharing options...
gaby Posted August 2, 2007 Report Share Posted August 2, 2007 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. ============================================================ PARTEA I. 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){ document.getElementById('prepage').style.visibility='hidden'; }else{ 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 = window.open("preview.htm","processing","width=80,height=40") </script> 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: window.open("preview.htm","processing","width=80,height=40") 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"> <head> <style type="text/css"> <!-- .style1 { color: #FFFFFF; font-weight: bold; } body { background-color: #000000; } --> </style> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head> <body> <center> <span class="style1">Page Loading - please Wait ...</span> </center> </body> </html>[/code] Bineinteles ca poti modifica dupa bunul plac. Succes Quote Te-ai inregistrat? Ne-ar placea sa te prezinti. Cum pot sustine forumul? Cumpara de la eMag folosind acest link. -------------------- Link to comment Share on other sites More sharing options...
+zNowkid Posted August 2, 2007 Author Report Share Posted August 2, 2007 ms mult si inca ceva....pot face cum vreau eu de ex loading in genu la http://www.dj-project.ro/romana.html Quote Link to comment Share on other sites More sharing options...
gaby Posted August 2, 2007 Report Share Posted August 2, 2007 pai, poti face dar trebuie sa faci un intro in flash, sau pur si simplu tot site-ul in flash... Quote Te-ai inregistrat? Ne-ar placea sa te prezinti. Cum pot sustine forumul? Cumpara de la eMag folosind acest link. -------------------- Link to comment Share on other sites More sharing options...
+zNowkid Posted August 2, 2007 Author Report Share Posted August 2, 2007 doar introducerea as vrea in flash si nu ma prea pricep un pic de ajutor daca se poate Quote Link to comment Share on other sites More sharing options...
+lolek Posted March 8, 2008 Report Share Posted March 8, 2008 fast_and_furios las-a aici cum ai vrea sa fie si cum am putin timp liber. Til fac eu Quote I have been on this forum since 2007 Driving BMW 318i and Dacia 1310 Sport Link to comment Share on other sites More sharing options...
+zNowkid Posted March 8, 2008 Author Report Share Posted March 8, 2008 topic mort...si tu il aduci la viata.te-ai gandit ca din august 2007 pana in martie 2008 n-am invatat si eu?ms oricum.dar uitate si tu la data . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.