06
【Lecture】Stanford University professor Chen,Zhe-Hong talks about 「Alcohol Intolerance」
2024.01.26
Home
News
【Lecture】Stanford University professor Chen,Zhe-Hong talks about 「Alcohol Intolerance」
‹›1
$(document).ready(function() {
PtDetail_63476_initOwl();
PtDetail_63476_resizeImage();
$(window).resize(function() {
PtDetail_63476_resizeImage();
});
});
function PtDetail_63476_resizeImage(){
if($(window).width() > 480){
$('#PtDetail_63476_ImageList1').show();
$('#PtDetail_63476_ImageList2').hide();
}else{
if($('#PtDetail_63476_ImageList1').children().length<2)
return;
$('#PtDetail_63476_ImageList1').hide();
$('#PtDetail_63476_ImageList2').show();
}
}
function PtDetail_63476_initOwl(){
// $('#PtDetail_63476_ImageList2').owlCarousel({
var PtDetail_63476_owl = $('#PtDetail_63476_ImageList2').owlCarousel({
items:1,
loop:true,
margin:10,
nav: true,
dots: true,
smartSpeed: 450,
// autoHeight:true,
autoplay:false,
responsive: {
320: {
items: 1
},
680: {
items: 5
}
}
});
tabCarousel(PtDetail_63476_owl,'#PtDetail_63476_ImageList2','Move Left','Move Right',"ImgDesc~@~@~@",'',0);
}
Click Num:496
$(document).ready(function() {
$.hajaxOpenUrl('/app/index.php?Action=mobileloadmod&Type=mobileptstatistic&Nbr=63476','#ac77ca80fd085fc2934c83793fdc3464d_PtStatistic_63476');
})
Print
Share
$(document).ready(function(){
var changeTime = typeof $("#changeTime")!='undefined'? $("#changeTime").val():0;
$('.share-type').find("a").each(function(i){
if((document.location.href).indexOf("Lang=")>0){
$(this).prop("href",$(this).prop("href").replace(/%23%23%23LINKURL%23%23%23/g,encodeURIComponent(document.location.href+"&ct="+changeTime)).replace(/%23%23%23LINKNAME%23%23%23/g,encodeURIComponent(document.title)));
}else{
if((document.location.href).indexOf("?")>0)
$(this).prop("href",$(this).prop("href").replace(/%23%23%23LINKURL%23%23%23/g,encodeURIComponent(document.location.href+"&Lang="+"&ct="+changeTime)).replace(/%23%23%23LINKNAME%23%23%23/g,encodeURIComponent(document.title)));
else
$(this).prop("href",$(this).prop("href").replace(/%23%23%23LINKURL%23%23%23/g,encodeURIComponent(document.location.href+"?Lang="+"&ct="+changeTime)).replace(/%23%23%23LINKNAME%23%23%23/g,encodeURIComponent(document.title)));
}
});
});
This function need to use the browser to support JavaScript normal operation
$(document).ready(function(){
$('.artctrl .addfav').click(function(){
ptdetail_addfav();
});
$('.share_btn').click(function(){
$(this).siblings('.shareto').toggle();
})
function ptdetail_addfav(){
if(popChkLogin()){
if($(".artctrl .addfav").hasClass("active")){
var url = "/app/index.php?Action=mobileaddtofav&Part=63476&Op=delfav";
}else{
var url = "/app/index.php?Action=mobileaddtofav&Part=63476&Op=addfav";
}
var a = [];
$.post(url,a,function(data){
d = eval("("+data+")");
if(d.stat)
$(".artctrl .addfav").addClass("active");
else
$(".artctrl .addfav").removeClass("active");
mCallBack(data);
});
}
else showPopDiv($('#_pop_login.mpopdiv'),$('#_pop_login.mpopdiv .mbox'));
}
function ptdetail_chkfav(){
var url = "/app/index.php?Action=mobileaddtofav&Part=63476&Op=chkfav";
var a = [];
$.post(url,a,function(data){
d = eval("("+data+")");
if(d.stat)
$(".artctrl .addfav").addClass("active");
});
}
ptdetail_chkfav();
$.hajaxOpenUrl("/app/index.php?Action=mobilestsns",'.shareto');
});