NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: oggy on July 01, 2014, 11:37:39 PM
-
Another question for more experienced folks...
Is ti possible to disable resizing of any popup window? I need to disable popup windows so the users always have exactly the same, predefined
windows height and widht?
-
You can check on jQuery site on this example.
http://jqueryui.com/dialog/#modal-form
(see source code)
dialog = $( "#dialog-form" ).dialog({
autoOpen: false,
resizable: false,
height: 300,
width: 350,
modal: true,
/Robert
-
Thanks, I will try this...
-
Thanks for inputs, works like a charm... I just add extra code in Before dialog option on form(s) and voila, I have an popup form(s) without resizable options.
Thanks again
Regards, Oggy
-
Ok, question for Mr. Bruce. Can you... ???. Would you ;) put these options somewhere in template for popup forms:
loc:options = p_web.SetOption(loc:options,'autoOpen','false')
loc:options = p_web.SetOption(loc:options,'resizable:','false')
loc:options = p_web.SetOption(loc:options,'modal','true')
Regards, Oggy
[attachment deleted by admin]
-
There are a lot of options for all the API widgets. I've deliberately not put all the options into the template because the template is crowded enough already I think.
There is always an embed point where you can set the options for any widget call, so I think you did it right.
cheers
Bruce
-
Good point, but I love lots of options ;)
Kinda adventure of searching for another nice option...
Regards, Oggy