Gaming Community
Forum
 
Go Back   D3scene > General > Entertainment > Funny stuff
Register Blogs Live view Downloads Marketplace FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Slow computer?

This is a discussion on Slow computer? within the Funny stuff forum part of the Entertainment category; I dont see what's so funny with this.. Code: // Timer Bar - Version 1.0 // Author: Brian Gosselin of ...


Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 70000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 09-10-2009, 06:51 PM
DarkRudolph's Avatar
Addict

 
Join Date: Mar 2008
Location: Why do you want to know? O.o
Posts: 69
Thanks: 8
Thanked 8 Times in 5 Posts
Reputation: 50
Rep Power: 2
DarkRudolph will become famous soon enough
I dont see what's so funny with this..
Code:
// Timer Bar - Version 1.0
// Author: Brian Gosselin of http://scriptasylum.com
// Script featured on http://www.dynamicdrive.com

var loadedcolor='blue' ;       // PROGRESS BAR COLOR
var unloadedcolor='lightgrey';     // COLOR OF UNLOADED AREA
var bordercolor='navy';            // COLOR OF THE BORDER
var barheight=30;                  // HEIGHT OF PROGRESS BAR IN PIXELS
var barwidth=400;                  // WIDTH OF THE BAR IN PIXELS
var waitTime=20;                   // NUMBER OF SECONDS FOR PROGRESSBAR

// THE FUNCTION BELOW CONTAINS THE ACTION(S) TAKEN ONCE BAR REACHES 100%.
// IF NO ACTION IS DESIRED, TAKE EVERYTHING OUT FROM BETWEEN THE CURLY BRACES ({})
// BUT LEAVE THE FUNCTION NAME AND CURLY BRACES IN PLACE.
// PRESENTLY, IT IS SET TO DO NOTHING, BUT CAN BE CHANGED EASILY.
// TO CAUSE A REDIRECT TO ANOTHER PAGE, INSERT THE FOLLOWING LINE:
// window.location="http://redirect_page.html";
// JUST CHANGE THE ACTUAL URL OF COURSE :)

var action=function()
{
alert("Download Complete!");
//window.location="http://www.dynamicdrive.com
}

//*****************************************************//
//**********  DO NOT EDIT BEYOND THIS POINT  **********//
//*****************************************************//

var ns4=(document.layers)?true:false;
var ie4=(document.all)?true:false;
var blocksize=(barwidth-2)/waitTime/10;
var loaded=0;
var PBouter;
var PBdone;
var PBbckgnd;
var Pid=0;
var txt='';
if(ns4){
txt+='<table border=0 cellpadding=0 cellspacing=0><tr><td>';
txt+='<ilayer name="PBouter" visibility="hide" height="'+barheight+'" width="'+barwidth+'" onmouseup="hidebar()">';
txt+='<layer width="'+barwidth+'" height="'+barheight+'" bgcolor="'+bordercolor+'" top="0" left="0"></layer>';
txt+='<layer width="'+(barwidth-2)+'" height="'+(barheight-2)+'" bgcolor="'+unloadedcolor+'" top="1" left="1"></layer>';
txt+='<layer name="PBdone" width="'+(barwidth-2)+'" height="'+(barheight-2)+'" bgcolor="'+loadedcolor+'" top="1" left="1"></layer>';
txt+='</ilayer>';
txt+='</td></tr></table>';
}else{
txt+='<div id="PBouter" onmouseup="hidebar()" style="position:relative; visibility:hidden; background-color:'+bordercolor+'; width:'+barwidth+'px; height:'+barheight+'px;">';
txt+='<div style="position:absolute; top:1px; left:1px; width:'+(barwidth-2)+'px; height:'+(barheight-2)+'px; background-color:'+unloadedcolor+'; font-size:1px;"></div>';
txt+='<div id="PBdone" style="position:absolute; top:1px; left:1px; width:0px; height:'+(barheight-2)+'px; background-color:'+loadedcolor+'; font-size:1px;"></div>';
txt+='</div>';
}

document.write(txt);

function incrCount(){
window.status="Loading...";
loaded++;
if(loaded<0)loaded=0;
if(loaded>=waitTime*10){
clearInterval(Pid);
loaded=waitTime*10;
setTimeout('hidebar()',100);
}
resizeEl(PBdone, 0, blocksize*loaded, barheight-2, 0);
}

function hidebar(){
clearInterval(Pid);
window.status='';
//if(ns4)PBouter.visibility="hide";
//else PBouter.style.visibility="hidden";
action();
}

//THIS FUNCTION BY MIKE HALL OF BRAINJAR.COM
function findlayer(name,doc){
var i,layer;
for(i=0;i<doc.layers.length;i++){
layer=doc.layers[i];
if(layer.name==name)return layer;
if(layer.document.layers.length>0)
if((layer=findlayer(name,layer.document))!=null)
return layer;
}
return null;
}

function progressBarInit(){
PBouter=(ns4)?findlayer('PBouter',document):(ie4)?document.all['PBouter']:document.getElementById('PBouter');
PBdone=(ns4)?PBouter.document.layers['PBdone']:(ie4)?document.all['PBdone']:document.getElementById('PBdone');
resizeEl(PBdone,0,0,barheight-2,0);
if(ns4)PBouter.visibility="show";
else PBouter.style.visibility="visible";
Pid=setInterval('incrCount()',95);
}

function resizeEl(id,t,r,b,l){
if(ns4){
id.clip.left=l;
id.clip.top=t;
id.clip.right=r;
id.clip.bottom=b;
}else id.style.width=r+'px';
}

window.onload=progressBarInit;
Thats the code for the loading bar...
Still find it funny? It dosent even download anything. At least i had expected a virus or some spyware from such a site..
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #12  
Old 09-10-2009, 07:00 PM
Flying Panda's Avatar
My Mommy Says Im Special

 
Join Date: Jan 2009
Location: Serbia,Europe.
Posts: 348
Thanks: 55
Thanked 86 Times in 38 Posts
Reputation: 433
Rep Power: 3
Flying Panda is just really niceFlying Panda is just really niceFlying Panda is just really niceFlying Panda is just really niceFlying Panda is just really nice
Send a message via MSN to Flying Panda Send a message via Skype™ to Flying Panda
Lol Rud,it's just a site for the lulz.Read the bottom of the page,it says it's just made for making us laugh or sth along those lines.And ofc it doesnt dl anything,you can't dl hardware o.o..yeah I tought that first too lol.
Reply With Quote
  #13  
Old 09-10-2009, 07:18 PM
DarkRudolph's Avatar
Addict

 
Join Date: Mar 2008
Location: Why do you want to know? O.o
Posts: 69
Thanks: 8
Thanked 8 Times in 5 Posts
Reputation: 50
Rep Power: 2
DarkRudolph will become famous soon enough
I still dont find this funny.
I usually dont laugh when i see a loading bar...
Reply With Quote
  #14  
Old 09-12-2009, 10:44 AM
Wannabe Member

 
Join Date: Feb 2009
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 2
Rep Power: 1
gapoxd is an unknown quantity at this point
hehe
Reply With Quote
  #15  
Old 09-28-2009, 05:45 AM
mdawg's Avatar
Wannabe Member

 
Join Date: Sep 2009
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 1
mdawg is an unknown quantity at this point
Yess now i can play some hardcore pacman!!!!!
Reply With Quote
  #16  
Old 10-11-2009, 12:57 AM
Wannabe Member

 
Join Date: Sep 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 1
doctor_pepper is an unknown quantity at this point
lol it actually looks real but every1 knos that you cant dl ram
Reply With Quote
  #17  
Old 11-12-2009, 10:47 PM
Wannabe Member

 
Join Date: Aug 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 1
snypa is an unknown quantity at this point
omg thought it was for real! lol
Reply With Quote
  #18  
Old 11-13-2009, 12:05 AM
Tracky's Avatar
Sexy in Pink now :D



 
Join Date: Dec 2007
Location: Germany
Posts: 809
Thanks: 124
Thanked 86 Times in 53 Posts
Reputation: 440
Rep Power: 4
Tracky is just really niceTracky is just really niceTracky is just really niceTracky is just really niceTracky is just really nice
Wuahaaaa
I got around 12000000000000 GB RAM!
I'm the king! :>
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memoirs of World of Warcraft Hallowsend WoW Patches 6 07-12-2009 07:52 AM
Tutorial: How to hack someone by knowing his IP. GrafVladDrakula Development 25 06-13-2009 11:52 AM
Tired of a slow computer at the startup? Reinn Computer guides 5 09-07-2008 10:22 AM
[Guide] Complete CS:S Mouse Optimization Guide Visionary CS Guides 2 08-20-2008 08:28 PM
How to teach someone to use a computer dog_keeper Computer guides 1 06-24-2008 03:50 AM


All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
vBulletin style developed by Transverse Styles