Dialog

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
barsyr
 
 
Posts: 5
Joined: Mon Apr 07, 2025 8:36 am

Dialog

Post by barsyr »

Hello,
I'm using the dialog-component and set it to Type 'bootstrap'.
When you set it to 'jQuery UI', I can change the title in javascript:
$("#Dialog01").dialog('option', 'title', 'ChangedTitle');
But how can this be done if I set Type to 'bootstrap'.

I want to do this, because I want to change the language of the title according to the visitor's language.
So this should be done in javascript (in 'jQuery UI' -> OK, 'bootstrap' -> how do I change it ?

Thanks for helping me out with this.

Regards
Bart
User avatar
Pablo
 
Posts: 23564
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dialog

Post by Pablo »

This may be helpful:
https://getbootstrap.com/docs/5.3/components/modal/

Note that this is not specific to WWB. Any code that work elsewhere will also work in WWB.
barsyr
 
 
Posts: 5
Joined: Mon Apr 07, 2025 8:36 am

Re: Dialog

Post by barsyr »

Super, thank you very much!
Exactly what I needed.
Post Reply