<!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>
<title>Drag n Drop Modules Demo by Niko @2006-12-28</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="Niko" />
<meta name="keywords" content="Drag n Drop">
<meta name="description" content="Drag n Drop Modules">
<link rel="stylesheet" type="text/css" href="css/demo_globe.css" />
<link rel="stylesheet" type="text/css" href="css/demo_default.css" id="demo_theme" />
<script type="text/javascript" src="../jsvm2/jsre.js" classpath="demo_lib_110.js"></script>
<script type="text/javascript">
//<![CDATA[
_import("com.bluepower.ui.DemoPage");
/**
* 默认模块队列,形如 A1,A2,A3|B1,B2,B3|...
* 本例最多支持四个分栏 AAA|BBB|CCC|DDD
*/
var sDefault = "profile,news,forum|photo,weather,favorite|video,blog,music";
var dp = new DemoPage();
var sCookie = dp.getCookie("modules");
if(!sCookie || sCookie == ''){
sCookie = sDefault;
dp.setCookie("modules", sDefault);
}
window.onload = function(){
dp.init(sCookie);
}
//]]>
</script>
</head>
<body>
<noscript>
<ul class="noScript">
<li>您需要启用JavaScript!</li>
<li>请勿禁用Cookie!</li>
</ul>
</noscript>
<!-- START Navigation Bar -->
<div id="nav_area" class="cB navBar">
<span class="fR">
[ <a href="javascript:dp.swapDisplay('set_module_area')" title="添加删除模块">增删模块</a> ]
<a href="javascript:dp.setColumn(1)" title="1栏:::Column1">1栏</a>
<a href="javascript:dp.setColumn(2)" title="2栏:::Column2">2栏</a>
<a href="javascript:dp.setColumn(3)" title="3栏:::Column3">3栏</a>
<a href="javascript:dp.setColumn(4)" title="4栏:::Column4">4栏</a>
<a href="javascript:dp.setTheme('default')" title="主题1:::Theme1">主题1</a>
<a href="javascript:dp.setTheme('blue')" title="主题2:::Theme2">主题2</a>
<a href="javascript:dp.setTheme('xmas')" title="主题3:::Theme3">主题3</a>
</span>
</div>
<!-- END Navigation Bar -->
<!-- START Notice Bar -->
<div id="notice_area" class="cB noticeBar" style="display: none">
<table class="cB fC">
<tr>
<td>通过拖动、关闭来对您的Portal首页进行自定义。简单拖放就可以重新排列模块,若要应用更改、请单击"<strong>保存</strong>"按钮。</td>
<td><input type="button" value=" 保 存 " onclick="dp.saveSetting()" /></td>
<td> </td>
<td><input type="button" value=" 取 消 " onclick="dp.hideEl('notice_area')" /></td>
</tr>
</table>
</div>
<!-- END Notice Bar -->
<!-- START Set Module Area -->
<div id="set_module_area" class="cB setModuleArea" style="display: none">
<table cellspacing="6" class="cB fC bcS">
<tr>
<td colspan="4" class="f1">备注:本例中默认模块不可删除,新增的模块会直接加到最后一列...</td>
</tr>
<tr>
<td>
<input type="checkbox" id="module_profile" value="profile" />
<label for="module_profile">简介(Profile)</label>
</td>
<td>
<input type="checkbox" id="module_news" value="news" />
<label for="module_news">新闻(News)</label>
</td>
<td>
<input type="checkbox" id="module_forum" value="forum" />
<label for="module_forum">论坛(Forum)</label>
</td>
<td>
<input type="checkbox" id="module_photo" value="photo" />
<label for="module_photo">照片(Photo)</label>
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="module_weather" value="weather" />
<label for="module_weather">天气(Weather)</label>
</td>
<td>
<input type="checkbox" id="module_favorite" value="favorite" />
<label for="module_favorite">收藏(Favorite)</label>
</td>
<td>
<input type="checkbox" id="module_video" value="video" />
<label for="module_video">视频(Video)</label>
</td>
<td>
<input type="checkbox" id="module_blog" value="blog" />
<label for="module_blog">博客(Blog)</label>
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="module_music" value="music" />
<label for="module_music">音乐(Music)</label>
</td>
<td>
<input type="checkbox" id="module_note" value="note" />
<label for="module_note">便笺(Note)</label>
</td>
<td>
<input type="checkbox" id="module_sport" value="sport" />
<label for="module_sport">体育(Sport)</label>
</td>
<td>
<input type="checkbox" id="module_game" value="game" />
<label for="module_game">游戏(Game)</label>
</td>
</tr>
</table>
<table class="cB fC">
<tr>
<td><input type="button" value=" 确 定 " onclick="dp.setModule()" /></td>
<td> </td>
<td><input type="button" value=" 取 消 " onclick="dp.hideEl('set_module_area')" /></td>
</tr>
</table>
</div>
<!-- END Set Module Area -->
<a href="www.80nian.net">本代码由CETM提供</a>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
js动态div操作.rar (19个子文件)
example (for JSVM2)
jsvm2
bin
kernel.js 12KB
runtime.js 3KB
jsre.js 7KB
lib
demo_lib_110.js 13KB
demo
css
demo_xmas.css 2KB
demo_default.css 2KB
demo_blue.css 2KB
demo_globe.css 807B
img
ico_loading.gif 771B
bg_white.gif 35B
bg_xmas.jpg 126KB
ico_close.gif 96B
Thumbs.db 15KB
ico_min_max.gif 65B
ico_avatar.jpg 2KB
bg_blue.gif 1KB
_res
demo_data.htm 4KB
demo_data.xml 4KB
demo_20070110_fetch_page.htm 5KB
共 19 条
- 1
hellenren12345
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页