在jquery中编写一个插件,弹出一个对话框 [英] Write a plug-in in jquery, pop up a dialog box

查看:119
本文介绍了在jquery中编写一个插件,弹出一个对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调用方法必须是$(#content)。所以myMialog()请求你可以指定参数设置对话框的新大小

周围,对话框是一种灰色掩码,就像我们常用的对话框一样,当弹出对话框时,除了对话框内容外,所有被HTML元素遮挡的都无法操作

,兼容性,最低兼容性:Chrome,Firefox

,如$( #content)。这样的myMialog(),在执行这个myDialog()函数时,必须是内容的内容

右上角,弹出对话框应该有一个关闭按钮,

界面效果看起来更好

解决方案

(#content)。所以myMialog()请求你可以指定参数设置对话框的新大小

周围,对话框是一种灰色掩码,就像我们常用的对话框一样,当弹出对话框时,除了对话框内容外,所有被HTML元素遮盖的都无法操作

,兼容性,最低兼容性:Chrome,Firefox

,如

(#content)。这样的myMialog(),在执行这个myDialog()函数时,必须是内容的内容

右上角,弹出对话框应该有一个关闭按钮,

界面效果看起来更好


问题的第一行已经毫无意义,所以我真的不想阅读其余部分;而你的帖子的其余部分看起来并不好看。表达式如


Call a method must be $(" # content "). So myMialog () request you can specify parameters set the new size of the dialog box
Around, the dialog is a way of gray mask, just like our common dialog box, when the pop-up dialog box, in addition to the dialog content, all the obscured by the HTML element can not be operating
, compatibility, minimum compatible: Chrome, Firefox
, such as $(" # content "). Such myMialog (), in the execution of this myDialog () function, must be the content of the content
The top right-hand corner, pop-up dialog box should have a close button,
Interface effect look better

解决方案

(" # content "). So myMialog () request you can specify parameters set the new size of the dialog box
Around, the dialog is a way of gray mask, just like our common dialog box, when the pop-up dialog box, in addition to the dialog content, all the obscured by the HTML element can not be operating
, compatibility, minimum compatible: Chrome, Firefox
, such as


(" # content "). Such myMialog (), in the execution of this myDialog () function, must be the content of the content
The top right-hand corner, pop-up dialog box should have a close button,
Interface effect look better


The first line of the question already makes no sense, so I don't really want to read the rest of it; and the rest of your post does not look better. The expression like


这篇关于在jquery中编写一个插件,弹出一个对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆