Copy link to clipboard
Copied
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!
Execute this JavaScript:
cp.alert("message", "title")
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Execute this JavaScript:
cp.alert("message", "title")
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Not sure. I think you would be better off using Sweetalert.
Copy link to clipboard
Copied
any tips on how to use SweetAlert to show a popup on click of a btn?