Skip to main content

Search and Top Navigation

Ticket #4626: code.js
File code.js, 0.4 KB (added by kristiandamian, June 22, 2009 06:21PM UTC)

this is the code who create the dialog

function Dialogo()
	{
	    $("#dialog").dialog( {width: 650, 
			height: 210 , modal:true,
			/*show: 'slide',*/ hide: 'slide',
			resizable: false, autoOpen: true, 			
			closeOnEscape:false,draggable:false,
			buttons:{ "Aceptar": function() { 							
					if($("#user").attr("value").length>0 && $("#password").attr("value").length>0) 
					{						
						$(this).dialog('destroy'); 
					}
				}}
			}		
		);
	}

Download in other formats:

Original Format