PDA

View Full Version : Mini Mods - Forumhome Loading Please Wait


pooffck1
28 Jul 2008, 10:22
Ok this is my second template edit, what this template modifications does it blacks out the forumhome and lowers the opacity of the forumhome with a black overlay with a loading image in the middle UNTIL the forumhome is fully loaded.

Demo: (i dont have a demo at the moment, if the person who wants there demo here then please just post your link in this thread and i will put it up)


Template Change

FORUMHOME

At the top of the forumhome place this

<body onLoad="init()">
<div id="loading" align="center" id="pageIsLoading" style=" position:absolute; height:642; top:0;display:block; width:1047;background: #333333;
z-index:10000; -moz-opacity:.8; opacity:.8; filter:alpha(opacity80); left:10; padding-left:0; padding-right:0; padding-top:220px; padding-bottom:10px; background-color:#333333">
<img src="forum/images/YOURSTYLE/loader.gif" border=0 width="32" height="32"></div>
<script>
var ld=(document.all);

var ns4=document.layers;
var ns6=document.getElementById&&!document.all;
var ie4=document.all;

if (ns4)
ld=document.loading;
else if (ns6)
ld=document.getElementById("loading").style;
else if (ie4)
ld=document.all.loading.style;

function init()
{
if(ns4){ld.visibility="hidden";}
else if (ns6||ie4) ld.display="none";
}
</script>


I have put the change you need to make on your own style in bold. Upload the image attached at the bottom and upload it your own server and then write the image path.

Enjoy, please install as this is my second template modifications

pooffck1
28 Jul 2008, 10:23
Added more loading images, please change the name of the gif images and dont forget to size it properly.

TimberFloorAu
28 Jul 2008, 10:42
Got a demo, good idea !

Q-v-n-s-Q
28 Jul 2008, 11:56
here demo: http://www.highrankforum.com/ template code, thanks

never doesn't work good on my board!!!

pooffck1
28 Jul 2008, 12:36
here demo: http://www.highrankforum.com/ template code, thanks

never doesn't work good on my board!!!

it wont work on my board as my board is on like a dedicated server, it takes 1 milisecond to load so u cant see the image :(

Q-v-n-s-Q
28 Jul 2008, 13:27
i mean never minded, it wont work on my board.

pooffck1
28 Jul 2008, 13:33
i mean never minded, it wont work on my board.

any error? why wont it work? it should.

AzaDiyaR
28 Jul 2008, 14:33
thank you very much this code working perfect :D

Q-v-n-s-Q
28 Jul 2008, 15:44
any error? why wont it work? it should.


it's effected my tab button, i can't see the text, by the way it work fine :)

M-Tuning
28 Jul 2008, 17:26
Nice, but only if you have a slow server.

pooffck1
28 Jul 2008, 19:23
Nice, but only if you have a slow server.

well it works on my whole forum, just placed the coding on the HEADER TEMPLATE and then it just does it while loading.

Leo Brazil
28 Jul 2008, 22:11
Great Idea !!!

Nice, but only if you have a slow server.

It's good for members with slow web connection.

Saudi Zoom
29 Jul 2008, 01:00
Great mod, Thanks

waiting for the other tabs mod in your board :)

SHANE-D-PAIN
31 Jul 2008, 15:20
Demo?

vwdforum
31 Jul 2008, 19:12
I tried adding this to the header template as suggested but it didn't work well. It didn't black out the rest of the forum, any advice?

This is what appeared on my forum home and what stayed on there even when the page fully loaded.

84867

codershark
10 Oct 2008, 17:13
dont work at me, loading picture dont go away after complete loading at opera und google chrome browser

SALIMUS
11 Oct 2008, 00:54
thanks installe and working fine .
how i can i get the same than forumhome when usr's click on last message ??
thanks

sjb
15 Oct 2008, 05:50
tnx man

bond010007
21 Oct 2008, 07:35
how i can putswf file pls :) i wish you have that way thanks nice post

Alfa1
24 Oct 2008, 04:04
If you need this modification, then it is probably a good idea to review if you are on the right host.

Other than that; it looks very nice.

ViciousCode
05 Jan 2009, 16:51
the css is missing for
id="loading" id="pageIsLoading"