var jericho = {
showLoader: function() {
$('#divMainLoader').css('display', '');
},
removeLoader: function() {
$('#divMainLoader').css('display', 'none');
},
buildTabpanel: function() {
$.fn.initJerichoTab({
renderTo: '#Maintd',
uniqueId: 'myJerichoTab',
contentCss: { 'height': $('#Maintd').height() - 50 },
tabs: [{
tid: "main",
title: '我的工作台',
closeable: false,
iconImg: 'images/jerichotab.png',
data: { dataType: 'iframe', dataLink: 'DeskTop.aspx' }
}],
activeTabIndex: 1,
loadOnce: true
});
}
}
$(document).ready(function()
{
var left_height = $('#Left').height();
var left_width = $('#Left').width(); jericho.showLoader();
var w = $(document).width();
var h = $(document).height();
framePageWidth = w - left_width;
iframe_height = left_height - 35; jericho.buildTabpanel(); $('#jericho_tab').css('width', ((w - left_width) + 'px'));
$('#jerichotab_main').loadData(); jericho.removeLoader();
})
showLoader: function() {
$('#divMainLoader').css('display', '');
},
removeLoader: function() {
$('#divMainLoader').css('display', 'none');
},
buildTabpanel: function() {
$.fn.initJerichoTab({
renderTo: '#Maintd',
uniqueId: 'myJerichoTab',
contentCss: { 'height': $('#Maintd').height() - 50 },
tabs: [{
tid: "main",
title: '我的工作台',
closeable: false,
iconImg: 'images/jerichotab.png',
data: { dataType: 'iframe', dataLink: 'DeskTop.aspx' }
}],
activeTabIndex: 1,
loadOnce: true
});
}
}
$(document).ready(function()
{
var left_height = $('#Left').height();
var left_width = $('#Left').width(); jericho.showLoader();
var w = $(document).width();
var h = $(document).height();
framePageWidth = w - left_width;
iframe_height = left_height - 35; jericho.buildTabpanel(); $('#jericho_tab').css('width', ((w - left_width) + 'px'));
$('#jerichotab_main').loadData(); jericho.removeLoader();
})
解决方案 »
- 百度地图坐标点的偏移纠正
- 求教!怎么让这段jquery代码自动滚动?!
- googlemap api根据指定地址得到经纬度问题
- 关于prototype的问题-prototype属性是浏览器(如IE)内置的吗
- 关于在Asp.Net 2.0中使用jquery的问题
- 让firefox支持outerHTML的代码,外围标签怎么改为小写?
- jquer attri()方法在firefox和chrome下的问题
- 请帮忙看看一个关于type="file"的提交问题
- 实现翻页功能!!!
- 如何使用jQuery实现图片慢速移动到鼠标单击后的位置,并且双击图片变大,3秒后回到原始大小
- js如何判断数组里的连续相同内容
- 在线等,急急急急,iframe在线编辑器,获得光标前面一个字
<script type="text/javascript" src="js/jquery.jerichotab.js"></script>
,其中jerichotab基于jQuery开发的一款Tabpanel插件。
求高手给指点!!!