Skip to main content

Search and Top Navigation

Ticket #5880: index.html


File index.html, 1.6 KB (added by paramiliar, July 30, 2010 11:41AM UTC)

Source code of example, need redmond css file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="css/redmond/jquery-ui-1.8.2.custom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script>
<script type="text/javascript" language="javascript">
	var $jq = jQuery
//	var $jq = jQuery.noConflict();
	$jq(function() {
		// browse dialog
		$jq("#testupload").dialog({
			autoOpen: false,
			height: 500,
			width: 800,
			modal: true, 
			buttons: {
				'Close': function() {
					$jq(this).dialog('close');
				} 
			}, 
			close: function(){
				$('testupload').innerHTML = '<p align="center">Please wait while retrieving file lists...<br /><img id="theimagepreview" src="/admin/images/processbar.gif" /></p>';
			}
		});
	});
</script>

</head>

<body>
<input type="button" value="test" id="testbutton" onclick="$jq('#testupload').dialog('open');" />
<div id="testupload" title="test"><p>testing</p></div>
</body>
</html>

Download in other formats:

Original Format