合作授權書(上??评眨?/h1>
$(function () {
var contentWidth = parseInt($('#smv_tem_25_25').css("width"));
///長圖自適應屏幕
$('#smv_tem_25_25 img').each(function () {
$(this).load(function () {
var width = $(this).width();
if (width > contentWidth){
$(this).css("cssText", 'max-width:' + contentWidth + 'px !important;height:auto !important;');
}
});
});
$('#smv_tem_25_25 table').each(function () {
$(this).removeAttr("width");
if ($(this).width() > contentWidth) {
$(this).css("width", "100%");
}
});
var splitLength = $('#tem_25_25_txt').find("div").html().split("_ueditor_page_break_tag_");
if (splitLength.length > 1) {
pagination('tem_25_25_txt', "首頁", "末頁", "上一頁", "下一頁", function (hisHeight) {
if (typeof hisHeight == 'undefined')
{
$('#smv_tem_25_25').smrecompute();
}
else
{
var tabContentHeight = $('#tem_25_25_txt').height();
$('#smv_tem_25_25').smrecompute("recomputeTo", [tabContentHeight, hisHeight]);
}
$('#smv_tem_25_25 img').each(function () {
var src = $(this).attr("src");
if (typeof src != 'undefined' && src != "") {
$(this).attr("src", "");
$(this)[0].onload = function () {
$('#smv_tem_25_25').smrecompute();
};
$(this).attr("src", src);
}
});
showBigImg_tem_25_25();
});
}
else
{
$('#smv_tem_25_25 img').each(function () {
var src = $(this).attr("src");
if (typeof src != 'undefined' && src != "") {
$(this).attr("src", "");
$(this)[0].onload = function () {
$('#smv_tem_25_25').smrecompute();
};
$(this).attr("src", src);
}
});
showBigImg_tem_25_25();
}
xwezhan.cssUeditorTale();
});
function showBigImg_tem_25_25()
{
if (false)
{
var bigImageArray = [];
$('#smv_tem_25_25 img').each(function () {
if ($(this).parents("a").length == 0) {
var srcStr = $(this).attr("src");
$(this).lzpreview({
cssLink: '/Content/css/atlas-preview.css',
pageSize: 1,//每頁最大圖片數
imgUrl: [srcStr],
imgAlt: [''],
imgLink: ['javascript:void(0)'],
imgTarget: [''],
itemSelect: $(this),
arrow: false,
thumbnail: false
});
}
});
}
}