Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=no">
- <meta name="description" content="">
- <meta name="keywords" content="">
- <!-- CSS -->
- <link type="text/css" rel="stylesheet" href="css/style.css" media="all">
- <link href="//fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
- <style>
- #note {
- position: fixed;
- z-index: 101;
- top: 0;
- left: 0;
- right: 0;
- background: rgba(4, 115, 184, 0.9);
- color: #fff;
- font-size: 16px;
- font-weight: 700;
- text-align: center;
- line-height: 2.5;
- overflow: hidden;
- display: none;
- }
- </style>
- <!-- JS -->
- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script type="text/javascript" src="js/script.js"></script>
- <script type="text/javascript" src="js/newsTicker.js"></script>
- <script type="text/javascript" src="jsapi/keyword.js"></script>
- <script type="text/javascript" src="jsapi/utils.min.js"></script>
- </head>
- <body>
- <div>
- <div id="note">
- Keyword saved.
- </div>
- <div class=btn_Grp>
- <button onclick="upadateKeyword()">apple</button>
- </div>
- <div id="dialog">Dialog Content</div>
- <style>
- .myTitleClass .ui-dialog-title {
- white-space: normal;
- }
- .myTitleClass .ui-dialog-titlebar {
- background: rgba(4, 115, 184, 0.9);
- color: #fff;
- font-size: 16px;
- height: 40px;
- }
- </style>
- <head>
- <meta charset="utf-8">
- <title>dialog demo</title>
- <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
- <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
- </head>
- <body>
- <button id="opener">Register Keyword</button>
- <script>
- $("#dialog").dialog({
- autoOpen: false,
- γγheight: 300,
- width: 1000,
- dialogClass: 'myTitleClass',
- modal: true,
- closeOnEscape: false,
- open: function (event, ui) {
- $(".ui-dialog-titlebar-close", ui.dialog | ui).hide();
- },
- buttons: {
- "Yes": function () {
- $(this).dialog("close");
- }
- , "No": function () {
- $(this).dialog("close");
- }
- }
- });
- $("#opener").click(function () {
- $("#dialog").dialog("open");
- });
- </script>
- </body>
- </div>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment