> > On Dec 21, 2007 10:40 PM, Per Newgro <[EMAIL PROTECTED]> wrote: > > On one panel there is a button. If this is > clicked a long running task is executed. > The problem is that the cursor is > still a pointer and the browser seems to do nothing. >
If there's a long time interval between button click and submission to server, you could use javascript. For example: <button onclick="this.style.cursor='wait';">. To make a "fog" you need to overlay your button with a <div id="fog"> with the following properties: #fog { opacity: .8; /* Gecko */ filter: alpha(opacity=80); /* IE */ width: 100%; display: none; position: absolute; ...other options, putting your overlaying element to where it's supposed to be } Then <button onclick="document.getElementById ('fog').style.display='block';">. If you're using a javascript framework you should check it for handy solutions like $() instead of getElementById() or toggle() instead of addressing to style.display, etc. -- sp