views:

113

answers:

0

When I try to open window from a another window it not found.

jQuery-Windows-Engine-Plugin

Thanks!

<html>
<head>
<title>Test</title>

<link type="text/css" rel="stylesheet" href="jquery.windows-engine.css" />
<script type="text/javascript" src="jquery.js"></script> 
<script type="text/javascript" src="jquery.windows-engine.js"></script>
<script type="text/javascript">

$(document).ready(function() {
 $("#menu").newWindow({
   windowTitle:"menu",
   content: "<ahref='#' id='example2' >Example 2</a>           Here",
   width:160,height:230,posx:10,posy:120,
 }); 
 $("#example2").newWindow({
  windowTitle:"Example1", 
  content: "example2",
  posx:200,posy:100,
  resizeable:false, maximizeButton:false,
 });   
});
</script>
</head>
<body>
<div>
 <ahref="#" id="menu" >menu</a><br/> 
 <ahref="#" id="example2" >Example 2</a><br/>
</div>
</body>
</html>