Cheers for that, I'll run the idea past our designers. Can you be more specific how you did it? I'm trying to remove the need for developers in our team to have to add an onClick to each link, so I'd like to encapsulate it in a component.
I can't see how to add an onclick to my PageLink component subclass. Thanks, Tim. On Thursday 20 July 2006 03:58, Jesse Kuhnert wrote: > I did something similar yesterday but chose the cowardly way out and just > flashed up a "progress dialog" instead using a dojo modal dialog widget. > > ie onClick="somefunction.you.defined.showProgress()" > > It seemed to do everything I needed it to do cross-browser, which was: > > -) present a "loading" sort of graphic to users when transititioning to > another page > -) Disables all other links/buttons/etc on page while waiting for next page > -) Not make me write a bunch of pain in the ass code > > It only cost me about 8 lines of javascript to have the global loader > thinger defined and 40 minutes of my time :) > > On 7/19/06, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'd like to modify PageLink so that it calls a javascript function in > > onClick. > > This function would disable all of the links on the page before following > > the > > ultimate link to the page defined. > > > > I can write the function, and I've used it successfully with LinkSubmit, > > but > > I'm having trouble working out how to add the onsubmit call into my > > subclass > > of PageLink. > > > > Can someone point me in the right direction please? > > > > thanks, > > > > Tim. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]