6 Star 11 Fork 5

RockYang / JWindow-webos云桌面插件

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
demo.html 1.48 KB
Copy Edit Web IDE Raw Blame History
RockYang authored 2017-08-18 11:32 . docs: 添加 README 文件
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JWindow插件测试</title>
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href="src/css/JWindow.css" rel="stylesheet" type="text/css" />
<style>
body {background:url(img/bg_1.jpg) repeat;}
</style>
</head>
<body>
<div class="container" style="text-align: center; padding-top: 10px;">
<button onclick="addWindow();" class="btn btn-primary btn-lg">添加任务</button>
</div>
<div id="testdiv" style="display:none">
<h4>
GIT项目地址: <a href="https://git.oschina.net/blackfox/JWindow">https://git.oschina.net/blackfox/JWindow</a>
</h4>
</div>
<!--<iframe width="100%" scrolling="no" frameborder="0" src="http://www.baidu.com" style="background-color: transparent; height: 619px;"></iframe>-->
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script language="javascript" src="src/js/JWindow.js" ></script>
<script language="javascript">
function addWindow() {
//窗体配置
var config = {
helper : 'resize_helper',
title : '测试窗口',
content : document.getElementById('testdiv').innerHTML,
skin : 'default',
width : 80,
height :80,
task_title : "test task",
desk_id : 1,
icon_src : 'img/mid.png'
};
var _t = new Task(config);
JTaskBar.addTask(_t);
}
//addWindow();
</script>
</body>
</html>
JavaScript
1
https://gitee.com/blackfox/JWindow.git
git@gitee.com:blackfox/JWindow.git
blackfox
JWindow
JWindow-webos云桌面插件
master

Search

10d9f8b4 4838521 8bde8327 4838521