Explore the community Forums Lectora Tips and tricks Changing Pop Up title in Lectora Reply To: Changing Pop Up title in Lectora

#361904 Score: 0
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

If you do not want to use the root title text (default behavior) you can use JavaScript (jQuery) to easily add your own text.

  1. Add jQuery in a header scripting HTML Extension.
  2. Add an action (Run JavaScript) after the process question action on a submit button with the following script:

$(“.DLG_titleText”).text(“Whatever you want in the title”);

Replace “Whatever you want in the title” with your own text (leave the quotes).

Note: If you plan on copying and pasting the above code you must replace the quotes as they do not copy and paste correctly.