Skip to main content

Search and Top Navigation

Ticket #3973: ui-versions.html
File ui-versions.html, 1.6 KB (added by scottgonzalez, February 01, 2009 02:34AM UTC)

demo showing 1.5 and 1.6 working together

<!doctype html>
<head>
	<meta charset="utf-8" />
	<title>UI Versions</title>
	
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.5.3/jquery-1.2.6.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.5.3/ui/ui.core.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.5.3/ui/ui.dialog.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.5.3/ui/ui.draggable.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.5.3/ui/ui.resizable.js"></script>
	<script type="text/javascript">
	var old = $.noConflict(true);
	</script>
	
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.6rc6/jquery-1.3.1.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.6rc6/ui/ui.core.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.6rc6/ui/ui.dialog.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.6rc6/ui/ui.draggable.js"></script>
	<script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/1.6rc6/ui/ui.resizable.js"></script>
	
	<script type="text/javascript">
	old(document).ready(function() {
		old('#dialog-1-5').dialog({
			position: ['left', 'center']
		});
	});
	
	$(document).ready(function() {
		$('#dialog-1-6').dialog({
			position: ['right', 'center']
		});
	});
	</script>
</head>
<body>

<div id="dialog-1-5">I'm a 1.5 dialog!</div>
<div id="dialog-1-6">I'm a 1.6 dialog!</div>

</body>
</html>

Download in other formats:

Original Format