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]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to