Thanks Dave. That sounds like a smart way to go. :-) I'll look at that.

Greg

On 1/12/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > Has anyone heard of a tag or a way to keep users from
> > submitting forms or clicking print buttons (our own print
> > buttons, menubars aren't displayed usually) before the
> > page completely loads? I'm sure there are ways to code this,
> > but I'm looking at going back and implimenting on alot of
> > old reports and forms.
> >
> > Our clients complain when a user prints a report and it
> > wasn't done loading. Any ideas?
>
> Normally, you can enable buttons (that would be disabled by default)
> within
> a JavaScript function, then bind that function to your BODY tag's onload
> attribute. But since you want to retrofit this functionality to existing
> pages, I think your best bet might be to capture all clicks before the
> onload event handler has fired, and cancel them:
>
> http://www.quirksmode.org/js/events_order.html
>
> Read the "W3C model" section.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266461
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to