Digital Workshop
http://forum.digitalworkshop.co.uk/

Sample 'pop-up dialogue window for 'Yes' 'No' Exit-publicati
http://forum.digitalworkshop.co.uk/viewtopic.php?f=13&t=3045
Page 1 of 1

Author:  Lar_123 [ December 21st, 2007, 3:27 pm ]
Post subject:  Sample 'pop-up dialogue window for 'Yes' 'No' Exit-publicati

I wrestled with this a bit.

Trying to create the usual type of pop-up window that has the 'No' button defaulted... so that hitting 'Enter' cancels that prompt. Returns you to the application.

Part of the set-up is to use the Right and Left arrow-keys, or Tab key, to change the highlighted button from 'no' to 'yes'.

So if you're looking for a confirming dialog box, this example is set up for Exit-publication... launches a small, separate pop-up window. Maybe will save you some time.

ps. uses basic page and button actions, with a small amount of script. That script logic probably could be built using non-script approach.

Lar

Attachments:
ExitDialog_sample.zip [20.27 KiB]
Downloaded 1334 times

Author:  Lar_123 [ December 21st, 2007, 3:41 pm ]
Post subject:  How to override 'esc' key

While this is not the support section, there is a minor note to the sample file included above.

If the User hits 'Esc' when the Exit Page is displayed, he will fully exit the publication. (Normally on a dialog box, 'esc' will execute a 'cancel this request' )

If there is a way to override 'Esc' just for a particular page, would be useful here.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/