PDA

View Full Version : Mini Mods - Forumhome Loading Please Wait


pooffck1
07-27-2008, 10:00 PM
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
07-28-2008, 08:23 AM
Added more loading images, please change the name of the gif images and dont forget to size it properly.

TimberFloorAu
07-28-2008, 08:42 AM
Got a demo, good idea !

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

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

pooffck1
07-28-2008, 10:36 AM
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
07-28-2008, 11:27 AM
i mean never minded, it wont work on my board.

pooffck1
07-28-2008, 11:33 AM
i mean never minded, it wont work on my board.

any error? why wont it work? it should.

AzaDiyaR
07-28-2008, 12:33 PM
thank you very much this code working perfect :D

Q-v-n-s-Q
07-28-2008, 01:44 PM
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
07-28-2008, 03:26 PM
Nice, but only if you have a slow server.

pooffck1
07-28-2008, 05:23 PM
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
07-28-2008, 08:11 PM
Great Idea !!!

Nice, but only if you have a slow server.

It's good for members with slow web connection.

Saudi Zoom
07-28-2008, 11:00 PM
Great mod, Thanks

waiting for the other tabs mod in your board :)

SHANE-D-PAIN
07-31-2008, 01:20 PM
Demo?

vwdforum
07-31-2008, 05:12 PM
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-10-2008, 03:13 PM
dont work at me, loading picture dont go away after complete loading at opera und google chrome browser

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

sjb
10-15-2008, 03:50 AM
tnx man

bond010007
10-21-2008, 05:35 AM
how i can putswf file pls :) i wish you have that way thanks nice post

Alfa1
10-24-2008, 02:04 AM
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
01-05-2009, 02:51 PM
the css is missing for
id="loading" id="pageIsLoading"