Skip to main content

Search and Top Navigation

Ticket #6150: test.html
File test.html, 1.2 KB (added by seb835, October 22, 2010 01:55PM UTC)

html to reproduce continuing problem

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head> 
	<title>Dialog test</title> 
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<link rel="stylesheet" href="/jquery_themes/smoothness/jquery-ui-1.8.5.custom.css" type="text/css" media="screen" /> 
	<script type="text/javascript" src="/js/jquery/jquery-1.4.2.min.js"></script> 
	<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.5.custom.min.js"></script> 
	<script type="text/javascript"> 
		$(document).ready(function() {
			$("#test_dialog").dialog({
				height: 'auto',
				open: function(){
					$(this).append("\
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
						<p>This is the test dialog</p> \
					");
				}
			});
		});
	</script> 
</head> 
<body> 
<div> 
	<p>This is the main body</p> 
</div> 
<div id="test_dialog" style="display:none"> 
	<p>Test</p>
</div> 
</body> 
</html>

Download in other formats:

Original Format