Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 25th, 2012  |  syntax: None  |  size: 0.42 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. want to decrease the size of the div which is added in dialog
  2. $(function() {
  3.         $( "#maincontainer" ).dialog({
  4.             autoOpen: false,
  5.             width:50%,
  6.             height:400,
  7.             autoClose: false,
  8.             show: "fold",
  9.             hide: "core"
  10.         });
  11.  
  12.         $( "#previewBtn").click(function() {
  13.             $( "#maincontainer" ).dialog( "open" );
  14.             return false;
  15.         });
  16. });