parsifal
13 Jun 2007, 11:42 AM
Hi all,
Here's my page (below). When I view it in IE, it shows what's supposed to be a message box, but is actually just two pieces of text and a button, off the screen to the bottom. Why doesn't this work? What can I do to get it working? This is remarkably simple and I don't understand why it doesn't work.
<!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 runat="server">
<title>Untitled Page</title>
<script src="Javascript/ExtJS/adapter/jquery/jquery.js" type="text/javascript"></script>
<script src="Javascript/ExtJS/adapter/jquery/jquery-plugins.js" type="text/javascript"></script>
<script src="Javascript/ExtJS/adapter/jquery/ext-jquery-adapter.js"></script>
<script src="Javascript/ExtJS/ext-all.js" type="text/javascript"></script>
<script type="text/javascript">
Ext.onReady(function(){
Ext.MessageBox.show({
title: "hi!",
msg: "Whuddup?",
buttons: Ext.MessageBox.OK});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<p id="hi">this is a test</p>
</div>
</form>
</body>
</html>
Here's my page (below). When I view it in IE, it shows what's supposed to be a message box, but is actually just two pieces of text and a button, off the screen to the bottom. Why doesn't this work? What can I do to get it working? This is remarkably simple and I don't understand why it doesn't work.
<!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 runat="server">
<title>Untitled Page</title>
<script src="Javascript/ExtJS/adapter/jquery/jquery.js" type="text/javascript"></script>
<script src="Javascript/ExtJS/adapter/jquery/jquery-plugins.js" type="text/javascript"></script>
<script src="Javascript/ExtJS/adapter/jquery/ext-jquery-adapter.js"></script>
<script src="Javascript/ExtJS/ext-all.js" type="text/javascript"></script>
<script type="text/javascript">
Ext.onReady(function(){
Ext.MessageBox.show({
title: "hi!",
msg: "Whuddup?",
buttons: Ext.MessageBox.OK});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<p id="hi">this is a test</p>
</div>
</form>
</body>
</html>