< language="JavaScript" type="text/JavaScript">Log2Gtag({"event_category":"intro_erictos2","event_label":"intro"});
< language="JavaScript" type="text/JavaScript">Log2Gtag({"event_category":"login_bar_erictos2","event_label":"login_bar"});
< language="JavaScript" type="text/JavaScript">Log2Gtag({"event_category":"article_category_erictos2","event_label":"article_category"});
< type="text/javascript" src="//apis.pchome.com.tw/js/idlead.js?v=20200227b">
< src="/fancybox/jquery.fancybox-1.3.4.pack.js">
< type="text/javascript">
jQuery("a").on('click', function(event) {
var link_href = this.href;
if( link_href.match(/^https?/) && !link_href.match(/https?:\/\/[\w]+.pchome.com.tw\//))
{
if(event.preventDefault){
event.preventDefault();
}else{
event.returnValue = false;
event.cancelBubble = true; //
}
/* Act on the event */
jQuery.fancybox({
'margin' : 0,
'padding' : 0,
//'width' : 650,
//'height' : 320,
'width' : 750,
//'height' : 420,
'height' : 530,
'type' : 'iframe',
'scrolling' : 'no',
//'autoScale' : true,
'autoScale' : false,
'showCloseButton': false,
'overlayOpacity' : .9,
'overlayColor' : '#d4f1ff',
'href' : '/leave_pchome.htm?target_link=' + escape(link_href)
});
}
});
/*
$(function(){
// hide #back-top first
$(".gotop").hide();
// fade in #back-top
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 600) {
$('.gotop').fadeIn();
} else {
$('.gotop').fadeOut();
}
});
// scroll body to 0px on click
$('.gotop').click(function () {
$('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
});
*/
//Define jQuery Block
(function($) {
// hide #back-top first
$(".gotop").hide();
//Define ready event
//
// fade in #back-top
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 600) {
$('.gotop').fadeIn();
} else {
$('.gotop').fadeOut();
}
});
// scroll body to 0px on click
$('.gotop').click(function () {
$('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
//ready event Block End
})(jQuery);
//jQuery Block End
< type="text/javascript">jQuery.get("http://mypaper.pchome.com.tw/js_pv.htm?cover_key=YToyOntzOjI6Iml2IjtzOjg6IlM_YyRbrB8BIjtzOjU6ImNyeXB0IjtzOjIxOiKBfqMHeTqEJpG8WGmU547jU8UkJXkiO30=");