This example describes the jquery plug-in Easyui implementation Layout frames page pop-up form to the top effect. Share to everyone for your reference, specific as follows:
function Opentopwindow (URL, title, width, height) {
title = title = = undefined? ": title;
width = width = undefined? 800:width;
Height = height = = undefined? 300:height;
if (url!= undefined) {
var content = ' <iframe name= ' eui-open-page ' scrolling= ' auto ' frameborder= ' 0 ' src= ' + URL + ' "style=" width:100%;height:100%; " ></iframe> ';
parent.$ (' #openWindow '). Window ({
title:title,
width:width,
height:height,
content:content,
modal:true,
animate:true,
minimizable:false
});
}
Next you need to place a div area on the layout main page:
<!--open Window begin-->
<div id= "Openwindow" ></div>
<!--Open window end-->
More interested readers of jquery-related content can view the site topics: "jquery Extended Tips," "jquery common Plug-ins and Usage summary", "jquery drag-and-drop effects and tips summary", "jquery table (table) Operation Tips Summary", " A summary of Ajax usage in jquery, a summary of common classic effects in jquery, a summary of jquery animation and special effects usage, and a summary of jquery selector usage
I hope this article will help you with the jquery program design.