ToolBook: Going to the Next Page on Ctrl + Page Down

I had this question from one of our Learning & Mastering ToolBook CD customers this morning and thought it would be a good post.

I am trying to get a learner to click Ctrl + Page Down to get to the next screen. Where can I find instructions on how to do that? 

My response: I would try adding an Action at the page level and handling the keyDown event. The first task is to figure out the keyCode for Page Down. Put in an alert on the keyCode parameter as shown below.

Go to reader mode and press the Page Down key. You’ll see an alert with 34 as shown below:

Next, you need to figure out how to go to the next page. Easiest is to trigger the next page button on the background. However, if you are using SmartPages, the Actions Editor can only “see” the group and not the buttons. But there is a LiveXtension for this as shown below:

You can now Trigger the next page button as shown. This has the advantage of NOT working if that button is disabled, such as when you disable it while they are watching a video.

Note that you probably want to put this on the background so that it works on all pages using that background. Be sure to publish to HTML and then test there as sometimes things work differently in the browser.

Advertisements

About Jeff Rhodes
Jeff Rhodes is the Chief Technical Officer and owner of Platte Canyon Multimedia Software Corporation, a leader in developing commercial software that Improves the Lives of Training Developers. He graduated at the top of his class at the Air Force Academy, where he earned a Bachelor of Science in Electrical Engineering. Jeff received a Masters degree in Economics from the London School of Economics, which he attended under a British Marshall Scholarship. Jeff is the author of "Programming for e-Learning Developers: ToolBook, Flash, JavaScript, & Silverlight" and "VBTrain.Net: Creating Computer and Web Based Training with Visual Basic .NET." He also co-wrote "The ToolBook Companion." He has had numerous articles on training development published and is a frequent presenter at conferences both in the U.S. and Europe. Jeff lives in Colorado Springs with his wife Sue and sons Derek and Michael.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: