function wp_multilingual_changeLang(id)
{
$.ajax({
type:'POST',
url:parseToURL('multilingual','changeLang'),
data:"id="+id,
success:function(js_code){
eval(js_code);
},
error:function(response){
wp_alert("Choose the language.
请求失败");
}
});
}
$('#layer2B7D0AB2299225591893090FA281CA24').layer_ready(function(){
setTimeout(function(){
$("#layer2B7D0AB2299225591893090FA281CA24").find('.wp-diy-selectedb-outside').remove();
},100);
$("#layer2B7D0AB2299225591893090FA281CA24").find('select').cstselect({selectclass:'wp-diy-selectedb'});
})
$(function(){
if ($('div.wp-diy-selecteda-outside').length || $('div.wp-diy-selectedb-outside').length || $('div.wp-diy-selectedc-outside').length || $('div.wp-diy-selectedd-outside').length) {
$('#scroll_container').scroll(function(){
$('body').children('div.wp-diy-selecteda-content').remove();
$('body').children('div.wp-diy-selectedb-content').remove();
$('body').children('div.wp-diy-selectedc-content').remove();
$('body').children('div.wp-diy-selectedd-content').remove();
});
}
});
$('#layer2B7D0AB2299225591893090FA281CA24').layer_ready(function(){
var custom_css = '';
var langstyle = 'custom2';
var $curlayer = $('#layer2B7D0AB2299225591893090FA281CA24');
var custom_a_font_size = $curlayer.find('.wp-content .custom_dom_class').css('font-size');
var custom_a_color = $curlayer.find('.wp-content .custom_dom_class').css('color');
if(custom_a_font_size){
$curlayer.find('.wp-content .custom_dom_class a').css('font-size',custom_a_font_size);
}
if(custom_a_color){
$curlayer.find('.wp-content .custom_dom_class a').css('color',custom_a_color);
}
if((langstyle == 'default' || langstyle == 'yellow') && custom_css == ''){
$curlayer.find('.wp-content p.custom_dom_class a').css('color','red');
}
var time=100;
if(langstyle == 'custom5' || langstyle == 'custom6') time=500;
$curlayer.find('.aout_over').unbind('click.toggle').bind("click.toggle",function(){ $curlayer.find(".text-a").slideToggle(time);});
setTimeout(function(){
var text_a_font_size = $curlayer.find('.wp-content .custom_dom_class a').css('font-size') || '12px';
var text_a_color = $curlayer.find('.wp-content .custom_dom_class .aout').css('color') || '#ffffff';
var text_a_bgcolor = $curlayer.find('.wp-content .custom_dom_class').css('background-color') || '#ffffff';
var text_a_border_radius = $curlayer.find('.wp-content .custom_dom_class .aout').css('border-radius') || '5px';
var $text_a = $curlayer.find('.wp-content .custom_dom_class .text-a');
if(text_a_font_size){ $text_a.find('a').css('font-size',text_a_font_size);}
if(text_a_color){ $text_a.find('a').css('color',text_a_color);}
if(text_a_bgcolor){ $text_a.css('background-color',text_a_bgcolor);}
if(text_a_border_radius){ $text_a.css('border-radius',text_a_border_radius);}
},400);
});
if ("listStyle" === "skin3") {
$(function(){
$('#layer369CF47148C9432A3D04DC649F2AB012').find("ul li").hover(function(){
$(this).removeClass("lihout").addClass("lihover");
},function(){
$(this).removeClass("lihover").addClass("lihout");
});
});
}
layer_img_lzld('layer369CF47148C9432A3D04DC649F2AB012');
(function(){
var param={"layer_id":"layer369CF47148C9432A3D04DC649F2AB012","article_category_more":"","artliststyle":{"artname_underline":"none","artcate_underline":"none","artcate_txtcolor":"#0064d4","artdate_txtsize":"11","artdate_txtcolor":"#acacac","_txtsize":"12","_txtcolor":"#929292","_txtbold":" normal","_underline":" none","artborder_linesize":"1","artborder_linetype":"dashed","artborder_linecolor":"#c6c6c6","skin":"listStyle","waterfall_display":"0","artnamed_display":"inline-block","artdated_display":"inline-block","artintrod_display":"inline-block","artdetialtips_display":"inline-block","artname_display":"inline-block","artcate_display":"inline-block","arttimes_display":"none","artdate_display":"inline-block","artintro_display":"inline-block","picartborder_display":"inline-block","articon_display":"inline-block","artborder_display":"inline-block","timeformatd":"0","stick_id":"","artnamed_txtfamily":"SimSun","artdated_txtfamily":"SimSun","artintrod_txtfamily":"SimSun","artdetialtips_txtfamily":"SimSun","artname_txtfamily":"SimSun","artcate_txtfamily":"SimSun","arttimes_txtfamily":"SimSun","artym_txtfamily":"SimSun","artdate_txtfamily":"SimSun","artintro_txtfamily":"SimSun","artnamed_txtsize":"18","artdated_txtsize":"12","artintrod_txtsize":"12","artintrod_padtop_txtsize":"0","artdetialtips_txtsize":"12","artname_txtsize":"15","artname_padleft_txtsize":"0","artname_lineheight_txtsize":"50","artname_pad_txtsize":"0","artcate_txtsize":"12","arttimes_txtsize":"12","arttimes_pad_txtsize":"0","artym_txtsize":"11","artdate_rpad_txtsize":"48","artbg_width_txtsize":"60","artbg_height_txtsize":"59","artdate_pad_txtsize":"0","artintro_txtsize":"12","artintro_pad_txtsize":"0","artintro_lingheight_txtsize":"16","artintro_padbot_txtsize":"20","artintro_padleft_txtsize":"60","artintro_padright_txtsize":"60","picartborder_pad_txtsize":"0","pictxt_pad_txtsize":"8","articon_padleft_txtsize":"22","artlistmg_txtsize":"0","artlistmg_column_txtsize":"","artlistpg_txtsize_top":"12","artlistpg_txtsize_bottom":"12","artlistpg_txtsize_margin_right":"40","artlistpg_txtsize":"0","artborder_txtsize":"0","artnamed_txtcolor":"#048bcd","artnamed_hover_txtcolor":"#0064d4","artdated_txtcolor":"#5A5A5A","artintrod_txtcolor":"#7D7D7D","artdetialtips_txtcolor":"#CF0202","hartdetialtips_txtcolor":"#ff0000","artname_txtcolor":"#5A5A5A","artname_hover_txtcolor":"#0064D4","artname_def_txtcolor":"#38cc70","artname_sel_txtcolor":"#2ba659","arttimes_txtcolor":"#929292","artdate_txtcolorfont":"#fff","artdate_txtcolorbg":"#198ede","artintro_txtcolor":"#5A5A5A","artintro_def_txtcolor":"#eee","artintro_sel_txtcolor":"#eee","artborder_color":"#5A5A5A","artborderh_color":"#5A5A5A","artnamed_txtbold":"normal","artdated_txtbold":"normal","artintrod_txtbold":"normal","artdetialtips_txtbold":"normal","artname_txtbold":"normal","artcate_txtbold":"normal","arttimes_txtbold":"normal","artym_txtbold":"normal","artdate_txtbold":"normal","artintro_txtbold":"normal","artnamed_underline":"none","artdated_underline":"none","artintrod_underline":"none","artdetialtips_underline":"none","arttimes_underline":"none","artym_underline":"none","artdate_underline":"none","artintro_underline":"none","artname_align":"","artdate_align":"","artintro_align":"","articon_url":"","artline_top_marginsize":"5","artline_bottom_marginsize":"5","artskin_filter":"yes","prec_display":"inline","timeformat":"0","artskin_lineheight":"28","artline_bottom_marginsize_fixed":"2"},"pageskip":"1","article_category_param":"","editmode":"0"};
layer_article_list_pager_func(param);
})();
$(window).load(function(){
$('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'});
wp_heightAdapt($('#layer369CF47148C9432A3D04DC649F2AB012')); var cheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-article_content").height();
var oulheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".article_list-layer369CF47148C9432A3D04DC649F2AB012").height();
var olkheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").outerHeight();
if(cheight>oulheight+olkheight){
$('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'})
}
})
(function(){
var params={"layer_id":"layer369CF47148C9432A3D04DC649F2AB012","islogin":0};
layer_article_list_checkid_func(params);
var $curlayer=$('#layer369CF47148C9432A3D04DC649F2AB012');
$curlayer.find('.mask').mouseover(function () {
var effect=$curlayer.data('wopop_imgeffects');
if(effect){
$(this).css('z-index','-1001');
}
})
$curlayer.find('.wp-article_list-thumbnail').mouseover(function (event) {
$(this).data('over',1);
var running=$(this).data('run');
var effect=$curlayer.data('wopop_imgeffects');
var $this=$(this);
if(effect && running!=1){
$this.setimgEffects(true,effect,1);
var effectrole = effect['effectrole'];
var dset = effect['dset'];
if(effectrole !='dantu' && typeof(dset)!="undefined"){
var temp_effect = {};
temp_effect['type'] = effect['type'];
temp_effect['effectrole'] = 'dantu';
temp_effect['effect'] = effect['dset']['effect'];
temp_effect['duration'] = effect['dset']['duration'];
$this.setimgEffects(true,temp_effect,1);
}
}
});
})();