Ticket #5880: index.html

File index.html, 1.6 KB (added by paramiliar, 10 years ago)

Source code of example, need redmond css file

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5<title>Untitled Document</title>
6<link href="css/redmond/jquery-ui-1.8.2.custom.css" rel="stylesheet" type="text/css" />
7<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
8<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>
9<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
10<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script>
11<script type="text/javascript" language="javascript">
12        var $jq = jQuery
13//      var $jq = jQuery.noConflict();
14        $jq(function() {
15                // browse dialog
16                $jq("#testupload").dialog({
17                        autoOpen: false,
18                        height: 500,
19                        width: 800,
20                        modal: true, 
21                        buttons: {
22                                'Close': function() {
23                                        $jq(this).dialog('close');
24                                } 
25                        }, 
26                        close: function(){
27                                $('testupload').innerHTML = '<p align="center">Please wait while retrieving file lists...<br /><img id="theimagepreview" src="/admin/images/processbar.gif" /></p>';
28                        }
29                });
30        });
31</script>
32
33</head>
34
35<body>
36<input type="button" value="test" id="testbutton" onclick="$jq('#testupload').dialog('open');" />
37<div id="testupload" title="test"><p>testing</p></div>
38</body>
39</html>