Ever need to launch several files out of one slide as a pop-up window in Articulate Presenter? I have that need and so do a few of the Instructional Designers I work with. So after some research and review, I’ve modified the player.html file in C:\Program Files\Articulate\Presenter\players 5.0\core and I can now publish content with abandon with custom flash pieces that can launch nice, clean pop-up windows.
When creating your Flash content, you’ll call a popup like this:
getURL( "javascript:popUpWindow('your_file.html',left,top,width,height);" );
where…
- left = a number indicating how many pixels off the left edge of the screen you want the popup to be placed (use 0 for the edge)
- top = a number indicating how many pixels off the top edge of the screen you want the popup to be placed (use 0 for the edge)
- width = a number indicating how wide you want the popup
- height = a number indicating how tall you want the popup.
Sandra Charan
| 30-Oct-07 at 2:11 pm | Permalink
I think this is a great idea. However, I’m not a techie. How do I get the your_file.html (described above) incorporated into the articulate zip. Also, can you give us examples of values you use for left, top, width and height as ballpark figures to start experimenting with.
Many thanks,
Sandra Charan
Aaron
| 30-Oct-07 at 2:26 pm | Permalink
Sure thing, Sandra.
First… don’t publish Articulate as a .zip file. You’ll want to put in whatever .html file you want to pop-up from a given link inside the content package.
You can .zip up the content package when you’re all done.
If you want a 400 x 400 pixel pop-up window to show up on the far left side and top of your monitor (assuming your monitor is set to 1024 x 768), try this out for size:
getURL( "javascript:popUpWindow('your_file.html',624,0,400,400);" );
The width and height are the number of pixels you want to set your pop-up to. The left value is how many pixels from the left side of your screen you want to place the upper-left hand corner of your pop-up window. Top… is how many pixels from the top do you want to place the pop-up.
Try it out.
Sandra Charan
| 31-Oct-07 at 5:44 am | Permalink
Thanks Aaron,
For some reason my articulate file won’t save with the new player.
I wondered whether I needed to personalise the script with my ID somewhere but can’t see where.