Skip to main content
Participant
March 16, 2016
Answered

Change the text in the popup box?

  • March 16, 2016
  • 2 replies
  • 1989 views

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 has been closed for replies.
Correct answer TLCMediaDesign

Execute this JavaScript:

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

2 replies

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
March 16, 2016

Execute this JavaScript:

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

ohhh_danAuthor
Participant
March 16, 2016

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?

Inspiring
December 5, 2018

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

SweetAlert


any tips on how to use SweetAlert to show a popup on click of a btn?

Lilybiri
Legend
March 16, 2016

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.