加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

dojo简单Dialog示例

发布时间:2020-12-16 21:50:27 所属栏目:百科 来源:网络整理
导读:!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" html head titledojofirst.htm/title meta http-equiv="keywords" content="keyword1,keyword2,keyword3" meta http-equiv="description" content="this is my page" meta http-equiv="conte

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>dojofirst.htm</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<style type="text/css">
@import "dojoroot/dijit/themes/nihilo/nihilo.css";
@import "dojoroot/dojo/resources/dojo.css"
</style>
<style type="text/css">
html,body{
margin:0px;
font-size: 12px;
}
</style>
<script type="text/javascript" src="dojoroot/dojo/dojo.js" djConfig="parSEOnLoad: true,isDebug: false"></script>
<script type="text/javascript">
dojo.require("dijit.form.Button");
dojo.require("dijit.Dialog");
dojo.require("dojo.parser");
</script>
</head>

<body class="nihilo">
<button dojoType="dijit.form.Button" id="loginbtn">DialogDemo
<script type="dojo/method" event="onClick">
dijit.byId('loginDialog').show();
</script>
</button>

<div dojoType="dijit.Dialog" id="loginDialog" title="DialogDemo" onClose="alert('yyyy');">在这里输入HTML在这里输入HTML在这里输入HTML在这里输入HTML<br>在这里输入HTML在这里输入HTML在这里输入HTML在这里输入HTML<br>在这里输入HTML在这里输入HTML在这里输入HTML在这里输入HTML<br></div></body></html>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读