Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Walter Lee Davis
Off the top of my head, I would say observe clicks on a temporary element placed over the top of the page and cause them to die, rather than trying to disable clicks where you are. By the time your clicks bubble from the element they were made on up to the outer shell, it's already too

Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Jane Hunter
Thanks very much, Walter. I'm inclined to try your approach, but I have a couple of questions that,if you could answer them, will help me understand it better. First, what is the difference between observe...evt.stop() and stopObserving? And why would a new div catch the clicks, when

Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Jane Hunter
Thanks, but that won't work. Everything I make is in divs,but I can't hide these divs or there'd be little to show on the page. On Fri, Sep 17, 2010 at 2:48 PM, Phil Petree phil.pet...@gmail.com wrote: place the buttons in a div and show/hide the div On Fri, Sep 17, 2010 at 2:26 PM, Jane

Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Walter Lee Davis
Answers inline below... On Sep 17, 2010, at 3:37 PM, Jane Hunter wrote: Thanks very much, Walter. I'm inclined to try your approach, but I have a couple of questions that,if you could answer them, will help me understand it better. First, what is the difference between

Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Jane Hunter
Thank you so much! This is very helpful. I hate using code that I don't understand. I'm bemused that I never understood z-index's behavior in bubbling, but glad that I now do! On Fri, Sep 17, 2010 at 4:24 PM, Walter Lee Davis wa...@wdstudio.comwrote: Answers inline below... On Sep 17, 2010,

Re: [Proto-Scripty] Looking for a way to disable buttons, inputs while images load

2010-09-17 Thread Walter Lee Davis
IE doesn't understand position:fixed. thats where i would start looking. if (Prototype.BrowserIE){ cover.setStyle('position:absolute'); //do something here to make cover the same height as the entire page } walter On Sep 17, 2010, at 6:40 PM, Jane Hunter wrote: Walter, Again my