Cassie Mod

Cassie Mod

  • NA
  • 488
  • 71.2k

change size of buttons dialog jquery

Aug 23 2017 6:01 AM
HI ive got the following dialog.
However i want to change the size of the buttons that are shown in the dialog ( only the size of the buttons, maybe if its needed olso the text in the buttons but thats it. How can i do that ????
 
thnx
 
here is my code
  1. function ApplyJQueryUI() {  
  2.   
  3.             $("#<%= callForwardingAlwaysOption.ClientID %>").buttonset();  
  4.               
  5.            $("#callForwardingAlwaysDialog").dialog({  
  6.                 resizable: false,  
  7.                 modal: true,  
  8.                 autoOpen: false,  
  9.                 show: "fade",  
  10.                 closeOnEscape: false,  
  11.                 hide: "fade",  
  12.                 buttons: {  
  13.                     "> Ok"function () {  
  14.                         $("#<%= callForwardingAlwaysButton.ClientID %>").click();                          
  15.                     },  
  16.                     "> Annuleren"function () {  
  17.                         $("#<%= callForwardingAlwaysOption.ClientID %>_0").attr("checked""checked");  
  18.                         $("#<%= callForwardingAlwaysOption.ClientID %>").buttonset("refresh");  
  19.                         $(this).dialog("close");  
  20.                     }  
  21.                 }  
  22.            });  
  23.             $('#callForwardingAlwaysDialog').keypress(function(e) {  
  24.                     if (e.keyCode == $.ui.keyCode.ENTER) {  
  25.                         $("#<%= callForwardingAlwaysButton.ClientID %>").click();   
  26.                     }  
  27.             });  
  28.   
  29.             $("#callForwardingAlwaysDialog").parent().appendTo($("#<%= callForwardingAlwaysUpdatePanel.ClientID %>:first"));  
  30.               
  31.               if (isPostBack){   
  32.               $(dialogInstance).dialog("close");  
  33.               }  
  34.         } 
 
 
 

Answers (2)