 |
 |
 |
 |
 |
| Author |
Message |
SpAwN Newbie


Joined: Sep 01, 2003 Posts: 12
|
Posted: Mon Sep 08, 2003 4:31 pm Post subject: "Loading" script |
|
|
Hi ! where can i get that Loading script or whatever it is... ? |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
Disipal L Moderator


Joined: May 18, 2003 Posts: 2 Location: Athens (Greece)
|
Posted: Wed Sep 10, 2003 3:22 am Post subject: |
|
|
Just Click Here
Remember to backup, before changing anything |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
SpAwN Newbie


Joined: Sep 01, 2003 Posts: 12
|
Posted: Wed Sep 10, 2003 7:17 am Post subject: |
|
|
Thanks ! Now... hot to put in on the center of the page ? because it's a little on the left... (i am extremly n00b at php ) |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
VinDSL Site Admin


Joined: Apr 03, 2003 Posts: 68 Location: Arizona (USA) Admin/mod: Disipal Designs Admin/mod: Nuke Cops
|
Posted: Fri Sep 12, 2003 4:24 am Post subject: |
|
|
| SpAwN wrote: |
Thanks ! Now... hot to put in on the center of the page ? because it's a little on the left... (i am extremly n00b at php ) |
Here's the code I use for my preloader, SpAwN. If nothing else, it will show you how I got it centered. Ignore the script tags. I had to add dashes 'cause Nuke won't let you put Javascript tags in posts for security reasons...
| Code: |
// SCREEN PRELOADER
//--><S-C-R-I-P-T>";
echo "
<DIV id=waitDiv style=position:absolute;left:38%;top:42%;visibility:hidden>
<center>
<table cellpadding=6 cellspacing=0 border=1 bgcolor=#3A3A3A bordercolor=#000000>
<tr>
<td align=center>
<font color=#ffffff face=Arial size=4>
<b>Loading</b></font>
<br>
<br>
<img src=./images/await.gif border=1>
<br>
<font color=#ffffff face=Arial size=2>Please wait...<font></td></tr></table></center></DIV>
<S-C-R-I-P-T><!--
var DHTML = (document.getElementById || document.all || document.layers);
function ap_getObj(name) {
if (document.getElementById)
{ return document.getElementById(name).style; }
else if (document.all)
{ return document.all[name].style; }
else if (document.layers)
{ return document.layers[name]; }
}
function ap_showWaitMessage(div,flag) {
if (!DHTML) return;
var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden'
if(! document.getElementById) if(document.layers) x.left=280/2; return true; } ap_showWaitMessage('waitDiv', 1);
//--></S-C-R-I-P-T>";
|
_________________ .::Buds not bombs::. |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
oudie Newbie


Joined: Dec 18, 2003 Posts: 3
|
Posted: Thu Mar 04, 2004 7:03 pm Post subject: |
|
|
where would I put that code? in the index.php
if so, where? |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
oudie Newbie


Joined: Dec 18, 2003 Posts: 3
|
Posted: Thu Mar 04, 2004 8:44 pm Post subject: |
|
|
| nevermind |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
bigboy177 Newbie


Joined: Jun 21, 2004 Posts: 10
|
Posted: Tue Jun 22, 2004 6:53 am Post subject: |
|
|
Great work...  |
|
| Back to top |
|
|
 |
 |
 |
 |
| |
 |