24 Oct 2014
Lenon.com
Home Account Forums Downloads Web Links

"Loading" script
 
       Lenon.com Forum Index » This Site     View previous topic :: View next topic  
Author Message
SpAwN
Newbie
Newbie


Joined: Sep 01, 2003
Posts: 12

Posted: Mon Sep 08, 2003 4:31 pm    Post subject: "Loading" script Reply with quote

Hi ! where can i get that Loading script or whatever it is... Smile ?
Back to top
View user's profile
Author Message
Disipal
L Moderator
L Moderator


Joined: May 18, 2003
Posts: 2
Location: Athens (Greece)

Posted: Wed Sep 10, 2003 3:22 am    Post subject: Reply with quote

Just Wink Click Here
Remember to backup, before changing anything
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Author Message
SpAwN
Newbie
Newbie


Joined: Sep 01, 2003
Posts: 12

Posted: Wed Sep 10, 2003 7:17 am    Post subject: Reply with quote

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 Smile)
Back to top
View user's profile
Author Message
VinDSL
Site Admin
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: Reply with quote

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 Smile)


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
View user's profile Visit poster's website
Author Message
oudie
Newbie
Newbie


Joined: Dec 18, 2003
Posts: 3

Posted: Thu Mar 04, 2004 7:03 pm    Post subject: Reply with quote

where would I put that code? in the index.php
if so, where?
Back to top
View user's profile
Author Message
oudie
Newbie
Newbie


Joined: Dec 18, 2003
Posts: 3

Posted: Thu Mar 04, 2004 8:44 pm    Post subject: Reply with quote

nevermind
Back to top
View user's profile
Author Message
bigboy177
Newbie
Newbie


Joined: Jun 21, 2004
Posts: 10

Posted: Tue Jun 22, 2004 6:53 am    Post subject: Reply with quote

Great work... Smile
Back to top
View user's profile Visit poster's website
Display posts from previous:   
       Lenon.com Forum Index » This Site All times are GMT - 5 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB 2.0.19 © 2002, 2007 phpBB Group
FlowControl Forums Theme by Disipal Designs

Copyright 1996-2014 - Lenon.com - All Rights Reserved.

This Website is Powered by an Enhanced Version of PHP-Nuke
The Most Advanced Content Management System in the World.

Script generation time: 0.9254 seconds  (PHP 99% - MySQL 1%)
Queries: 24 | Views last 5 mins: 69 | Server load: Perfect  (0.53)
Disipal Designs