zoukankan      html  css  js  c++  java
  • 提示框

    代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Messager</title>
    <script src="../jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="../jquery.easyui.min.js" type="text/javascript"></script>

    <link href="../themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../themes/icon.css" rel="stylesheet" type="text/css" />
    <script>
    function show1() {
    $.messager.show({
    title: '提示信息1',
    msg: '信息1',
    showType: 'show'
    });
    }
    function show2() {
    $.messager.show({
    title: '提示信息2',
    msg: '信息5分钟后消失.',
    timeout: 5000,
    showType: 'slide'
    });
    }
    function show3() {
    $.messager.show({
    title: '渐进显示信息3',
    msg: '渐进显示信息3',
    timeout: 0,
    showType: 'fade'
    });
    }
    </script>
    </head>
    <body>
    <h1>信息提示</h1>
    <div>
    <a href="javascript:void(0)" onclick="show1()">显示</a> |
    <a href="#" onclick="show2()">滑动</a> |
    <a href="#" onclick="show3()">渐进显示</a> |
    </div>
    </body>
    </html>

    效果

  • 相关阅读:
    利用ssh传输文件
    linux 终端常用快捷键
    ubuntu 下关闭apache服务自动启动
    linux ps命令介绍
    virtualenv 使用
    startuml 2.6注册
    三代组装小基因组研究综述
    畅想未来的测序
    测序简史
    纳米孔测序技术介绍
  • 原文地址:https://www.cnblogs.com/zhao365845726/p/4185989.html
Copyright © 2011-2022 走看看