LigerUI的系统主界面

LigerUI的系统主界面

<%@ page contentType=”text/html;charset=UTF-8″ language=”java” %><%String path = request.getContextPath();String basePath = request.getScheme() + “://” + request.getServerName() + “:” + request.getServerPort() + path + “/”;%><!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><base href=”<%=basePath%>”><script src=\’#'” /backui/jquery/jquery-1.3.2.min.js” type=”text/javascript”></script><link href=”<%=path%>/backui/ligerUI/skins/Aqua/css/ligerui-all.css” type=”text/css”/><script src=\’#'” /backui/ligerUI/js/ligerui.all.js” type=”text/javascript”></script><script src=\’#'” /backui/json2.js” type=”text/javascript”></script><script type=”text/javascript”>var mytab;function addtab(id, atext, aurl) {if (!mytab) return;mytab.addTabItem({tabid: id, text: atext, url: aurl})}//var height = $(“.l-layout-center”).height();$(function () {$(“#main”).ligerLayout({topHeight: 40, leftWidth: 240});//alert(height);//$(“#left”).ligerAccordion({height: height});var data = [];data.push({ id: 1, pid: 0, text: ‘1’ });data.push({ id: 2, pid: 1, text: ‘1.1’ });data.push({url: ‘top.html’, id: 4, pid: 2, text: ‘第一个页面’ });data.push({url: ‘top.html’, id: 5, pid: 2, text: ‘第二个页面’ });data.push({url: ‘http://www.baidu.com’, id: 10, pid: 8, text: ‘wefwfwfe’ })var tree1 = $(“#tree1”).ligerTree({data: data,checkbox: false,slide: false,textFieldName: ‘text’,idFieldName: ‘id’,parentIDFieldName: ‘pid’,onSelect: function (node) {if (!node.data.url) return;var tabid = $(node.target).attr(“tabid”);if (!tabid) {tabid = new Date().getTime();$(node.target).attr(“tabid”, tabid)}f_addTab(tabid, node.data.text, node.data.url);}});mytab = $(“#home”).ligerTab({width: “100%”, height: “100%”,showSwitchInTab: true,showSwitch: true,dblClickToClose: true,dragToMove: true,contextmenu: true });function f_addTab(tabid, text, url) {mytab.addTabItem({tabid: tabid,text: text,url: url,callback: function () {//addFrameSkinLink(tabid);}});}function onSelect(note) {alert(‘onSelect:’ + note.data.text);}})</script></head><body><div><div position=”top”><h2>后台管理</h2></div><div position=”left”><ul/></div><div position=”center”><div tabid=”a1″ title=”首页”><iframe src=”http://www.baidu.com” frameborder=”0″></iframe></div></div></div></body></html>

本文出自 “熔 岩” 博客,,转载请与作者联系!

寂寞的人总是记住生命中出现的每一个人,

LigerUI的系统主界面

相关文章:

你感兴趣的文章:

标签云: