Button to close a popup
July 16, 2009 12:00 AM
Scott: Depending on how you want your pop-up to look, why not just use a text box that's initially hidden (Put a nice background color and border on it so it really looks like a pop-up), then put a "Show" action on the button to show the text box. I wil usually put a little graphic or some text on the pop-up that says close (i.e, x close). Be sure to put an On-Click action on the actual text box so it hides when clicked.
Another thing you can do is create a page at the very bottom of your course (after your exit page) and resize just that page to the size you want you're pop-up. Disinherit all the parent object while you're at it. Then with your button create the OnClick/Go To/Chapter,Section, or Page actions and be sure to check the Open in New Window option. This will open a nice pop-up.
Another thing you can do is use the OnClick / Display Message option. This works sort of like an alert, but I've used them in courses to display information.
I hope this helps. Happy developing.
Discussions have been disabled for this post