• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Change the text in the popup box?

Community Beginner ,
Mar 16, 2016 Mar 16, 2016

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!

dialogue box.png

TOPICS
Advanced

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Mar 16, 2016 Mar 16, 2016

Execute this JavaScript:

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

Votes

Translate

Translate
Community Expert ,
Mar 16, 2016 Mar 16, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 16, 2016 Mar 16, 2016

Copy link to clipboard

Copied

Execute this JavaScript:

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 16, 2016 Mar 16, 2016

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?

2016-03-16_09-25-47.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 16, 2016 Mar 16, 2016

Copy link to clipboard

Copied

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

SweetAlert

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources