View Full Version : problem with loading bar...

05-11-2011, 05:50 AM
Hi guys,

I need help with loading bar in asp.net :).
I use master page in my project. My loading bar doesn't show on first but after the picture show. I have been using 4 different logic javascript but it's not working. This is my sample code using html :

<title>Untitled Document</title>
<script language="javascript" type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
<style type="text/css">
body{padding:0px; margin:0px;}
opacity:0.5; position:fixed;
margin:0px; padding:0px; width:500px;
#img_loading{position:fixed; z-index:1;}
<script language="javascript">
// demo...
setTimeout('showLoad()',1000); // 1 detik
setTimeout('hideLoad()',3000); // 3 detik


function setPos(){

function showLoad(){
function hideLoad(){

<div id="bg_loader" style="display:none;"></div>
<img src="loading.gif" id="img_loading" style="display:none;" />

correct my code, please...

Thanks a lot....

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum