Ext.QuickTips.init()提示信息类似于title

cscscssjsp 2012-03-05

<HTML>

<HEAD>

<TITLE>测试环境</TITLE>

<linkrel="stylesheet"type="text/css"href="Ext/resources/css/ext-all.css"/>

<scripttype="text/javascript"src="Ext/ext-base.js"></script>

<scripttype="text/javascript"src="Ext/ext-all.js"></script>

<scripttype="text/javascript"src="Ext/ext-lang-zh_CN.js"charset="utf-8"></script>

</HEAD>

<scripttype="text/javascript">

functionstart(){

//Ext.MessageBox.alert("测试","看我漂亮不!");

Ext.QuickTips.init();

}

Ext.onReady(start);//所有的程序都是从这里开始执行,里面写函数名

</script>

<BODY>

<ahref="http://www.baidu.com"ext:qtip="baidu">baidu</a>

</BODY>

</HTML>

相关推荐

zmjzhangmj / 0评论 2020-01-07