> I'd like to use block ui to delay access clicking on links until page > has loaded completely. > > The examples I've seen all include the push of a button. I need the > overlay to start as soon as early as possible even can anyone please > point me in the right direction? Thanks a bunch.
I think I would try to do that without blockUI. blockUI really won't be reliable until the DOM has loaded. But you could try something like this: <html> ... <script type="text/javascript"> document.write('<style type="text/css">#block { '); document.write('width:100%; height:100%; position:absolute;'); document.write('z-index:100; background:black; opacity: .1'); document.write('} </style>'); </script> </head> <body> <script type="text/javascript"> document.write('<div id="block"></div>'); $(function() { $('#block').remove(); }); </script> ... </body></html>