CodeForge QQ客服 CodeForge 400电话 客服电话 4006316121

radioTree_demo.html ( 文件浏览 )

  • 发布于2010-08-06
  • 浏览次数:7
  • 下载次数:1
  • 下载需 1 积分
  • 侵权举报
			<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>

<link type="text/css" rel="stylesheet" href="js/xtree.css" />
<script language="javascript" src="js/xtree.js"></script>
<script language="javascript" src="js/radioTreeItem.js"></script>
</head>

<script language="javascript">
webFXTreeConfig.setImagePath("js/images/");

var tree = new WebFXTree("所有权限","");//WebFXTree
var L1 = new WebFXRadioTreeItem("公路路况","gl", tree);
     L11 = new WebFXRadioTreeItem("路基","lj", L1,null,null);	 
	 L111 = new WebFXRadioTreeItem("新增路基","xzlj");
	 L11.add(L111);
	 L112 = new WebFXRadioTreeItem("修改路基","xglj");
	 L11.add(L112);
	 L113 = new WebFXRadioTreeItem("删除路基","sclj", L11,null,null);

var L2 = new  WebFXRadioTreeItem("桥梁管理","ql", tree);
   L21 = new WebFXRadioTreeItem("新增桥梁","xzql", L2, null,null, false, true); 
</script>
<body>
<input type="button" value="button" onclick="test()"><br>
<div id="div_test"></div>
</body>
<script>
//tree.expand();
  document.write(tree);
  tree.expand();
</script>
<script language="JavaScript">
<!--
function test(){

   var value = getCheckValue();
   var text = getCheckText(); 

   var obj = getCheckObject();
   if(obj != null){
 
      alert(obj);
   
} else{

       alert("提醒! 您没有选择!");
   
}

}

L1.onchange = doClickNodeRadio;
L11.onchange = doClickNodeRadio;
L111.onchange = doClickNodeRadio;
L112.onchange = doClickNodeRadio;

var preValue;
function doClickNodeRadio(name, value, checked){

       if(preValue != null){

	      alert("你取消了节点选择:" +  preValue);
	   
}
	   preValue =  name + "-" + value;
	   alert("你选中了节点:" + preValue);	

}

//setRadioChecked("xzlj", true);
//setRadioChecked("xzql", true);
//disableRadio("lj",true,true);
//-->
</script>
</html>
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
免费下载源码
Sponsored links

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
allItemTree.html1.50 kB18-02-05 15:32
checkboxTree_demo.html2.21 kB12-05-06 17:19
checkbox_xloadtree.html2.18 kB12-05-06 10:13
err_item.xml627.00 B12-05-06 10:52
help.html10.16 kB15-05-06 17:04
index.html444.00 B15-05-06 14:51
itemb.xml192.00 B30-11-05 17:05
items.xml883.00 B15-05-06 16:25
checkboxTreeItem.js10.85 kB12-05-06 14:39
checkboxXLoadTree.js11.82 kB12-05-06 08:47
blank.png144.00 B13-06-02 17:51
file.png251.00 B13-06-02 17:51
foldericon.png229.00 B13-06-02 17:51
I.png148.00 B13-06-02 17:51
L.png153.00 B13-06-02 17:51
Lminus.png219.00 B13-06-02 17:51
Lplus.png224.00 B13-06-02 17:51
new.png251.00 B13-06-02 17:51
openfoldericon.png232.00 B13-06-02 17:51
pspbrwse.jbf5.54 kB13-06-02 17:51
T.png152.00 B13-06-02 17:51
Thumbs.db14.50 kB12-05-06 10:23
Tminus.png207.00 B13-06-02 17:51
Tplus.png222.00 B13-06-02 17:51
vssver.scc240.00 B21-09-04 09:40
<images>0.00 B19-06-08 11:38
map.js1.60 kB29-03-06 16:47
radioTreeItem.js7.83 kB13-05-06 17:59
radioXLoadTree.js11.77 kB12-05-06 08:47
xloadtree.js12.05 kB15-05-06 14:51
xmlextras.js3.87 kB05-02-02 20:39
xtree.css1.04 kB01-12-04 17:13
xtree.js29.21 kB15-05-06 17:06
<js>0.00 B19-06-08 11:38
largeCheckBoxTree.html1.78 kB18-02-05 15:33
left.html1.55 kB15-05-06 14:53
map.html1.06 kB05-02-05 10:24
no_item.xml60.00 B12-11-04 09:53
radioTree_demo.html1.83 kB12-05-06 10:04
radio_xloadtree.html1.85 kB12-05-06 10:04
ReadMe.txt5.33 kB15-05-06 17:03
web.xml426.00 B03-12-04 09:01
<WEB-INF>0.00 B19-06-08 11:38
xloadtree.html2.14 kB13-05-06 17:46
<xTree>0.00 B29% 03-12-04
xtree.html2.04 kB15-05-06 15:54
<eXtree>0.00 B19-06-08 11:38
Sponsored links

radioTree_demo.html (52.66 kB)

需要 1 积分
您持有 积分

CodeForge积分(原CF币)全新升级,功能更强大,使用更便捷,不仅可以用来下载海量源代码马上还可兑换精美小礼品了 了解更多

您的积分不足

支付宝优惠套餐快速获取 30 积分

订单支付完成后,积分将自动加入到您的账号。以下是优惠期的人民币价格,优惠期过后将恢复美元价格。

更多付款方式:网银PayPal

上传代码,免费获取

您本次下载所消耗的积分将转交上传作者。

同一源码,30天内重复下载,只扣除一次积分。

登录 CodeForge

还没有CodeForge账号? 立即注册
关注微博
联系客服

Switch to the English version?

Yes
CodeForge 英文版
No
CodeForge 中文版

完善个人资料,获价值¥30元积分奖励!

^_^"呃 ...

Sorry!这位大神很神秘,未开通博客呢,请浏览一下其他的吧
好的