Skip to main content
Participant
Mar 16, 2016 12:16 PM UTC
Answered

Change the text in the popup box?

What's the best / easiest way to change the text in a popup box? I've got a click box interaction to execute Javascript with an alert box, but the title of it is "Adobe Captivate". I know that a regular Javascript alert box title cannot be changed, but I'm wondering if, because it's styled, there is a strain I can tweak. I appreciate any help!

This topic is closed to new replies. Start a new post to keep the conversation going.
TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
Mar 16, 2016 4:07 PM UTC

Execute this JavaScript:

cp.alert("message", "title")

5 replies

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
Mar 16, 2016 4:07 PM UTC

Execute this JavaScript:

cp.alert("message", "title")

Translate
ohhh_danAuthor
Participant
Mar 16, 2016 4:27 PM UTC

This is awesome, thanks so much! I hate to use this thread as a Javascript how-to,  but any easy way to either up the font size and/or fix the word wrapping?

Translate
TLCMediaDesign
Inspiring
Mar 16, 2016 4:50 PM UTC

Not sure. I think you would be better off using Sweetalert.

SweetAlert

Translate
Lilybiri
Legend
Mar 16, 2016 2:13 PM UTC

You can style it using the Object style for Runtime Dialog in the Object Style manager, but a JS-expert should pop in to have the title of the message box changed. For  a popup box I don't use JS.

Translate