extjs tips

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ext.toolbar.Toolbar工具栏</title>
    <link href="ext-4.0.7-gpl/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
    <script src="ext-4.0.7-gpl/bootstrap.js" type="text/javascript"></script>
     <script type="text/javascript" defer>  
        Ext.onReady(function(){     
            Ext.QuickTips.init();  
            Ext.QuickTips.register({  
                target : 'lwc',//给哪个DOM元素注册提示信息  
                title : '第一型',  
                text : '从外部注册到DOM里面的提示信息'  
            });  
       });    
    </script>  
    
</head>
<body>
<input type = 'button' id ='lwc' value='鼠标放在上面看提示'/> </body>
</html>

 

posted @ 2013-10-11 11:41  yufenghou  阅读(245)  评论(0编辑  收藏  举报