[ad_1]
在Nassim Nicholas Taleb的《Antifragile》一書中,他提出了「非對稱性」的概念,在面對不確定性和波動時,通過設計系統來獲得收益而非損失。雖然我在創業初期並未讀過這書,但The Bees的發展卻無意中構建了一個符合反脆弱原則的生態系統。
The Bees以集團控股的形式投資於營銷服務領域,目前旗下有28家公司,業務包括廣告、公關、活動營銷、數碼營銷等。我們的客戶群廣泛,包括銀行金融、快速消費品、電訊、政府部門等。這結構使我們保持韌性,例如疫情期間,傳統廣告業務受到嚴重衝擊,但數碼營銷卻逆勢增長。去年零售業萎縮,但金融服務卻有不錯的表現。過去十多年,香港雖然經歷了不少挑戰,但我們業務仍維持穩定的增長。
The Bees旗下的公司規模都很小,這賦予了我們極高的靈活性。例如,在疫情期間,實體營銷活動因防疫措施無法進行,我們的活動營銷公司便迅速將實體活動轉為虛擬,成功捕足了市場的變化。此外,我們的子公司經常進行協作,互補資源上的不足,這協同效應進一步增強了我們的競爭力。
我們的投資也具有非對稱性特質。成功的投資往往能帶來數倍的回報,而失敗的投資僅限於本金的損失。憑藉我在行業內的經驗,我們在大多數情況下能夠做出正確的投資決策,這使得過去十多年來,我們始終保持盈利。
(本欄逢星期二刊登)
撰文:
曾錦強
廣告企管人
欄名: 人間有晴
反脆弱性的商業模式 – 晴報 – 生活副刊 – 專欄 – D250225
反脆弱性的商業模式 – 晴報 – 生活副刊 – 專欄
在Nassim Nicholas Taleb的《Antifragile》一書中,他提出了「非對稱性」的概念,在面對不確定性和波動時,通過設計系統來獲得收益而非損失。雖然我在創業初期並未讀過這書,但Th
https%3A%2F%2Fskypost.hk%2Fcolumn%2Farticle%2F3905555%2F%E5%8F%8D%E8%84%86%E5%BC%B1%E6%80%A7%E7%9A%84%E5%95%86%E6%A5%AD%E6%A8%A1%E5%BC%8F
https://skypost.hk/column/article/3905555/反脆弱性的商業模式
https://resource01-proxy.ulifestyle.com.hk/res/v3/image/content/3905000/3905555/3333_1024.png
https://resource01-proxy.ulifestyle.com.hk/res/v3/image/content/3905000/3905555/
生活副刊
專欄
503
3905555
503
503007035
生活副刊
com.hket.sp.model.v2.FormalTag@68a55e79
家居
'; } } //} //console.log("imageUrl: "+imageUrl); //for(var k=0; k
'; } } //} //console.log("imageUrl: "+imageUrl); $(this).html( '
' +
'' +
'' +
'
'+ caption ); imgCount++; } if(content.indexOf("hket:youtube id") != -1){ //$(this).attr("class","video-container inline_image_video"); $(this).removeAttr("style"); $(this).attr("style","font-size: 18px;position: relative;padding-bottom: 56.25%; /* 16:9 */padding-top: 25px;height: 0;"); $(this).attr("class","inline_image_video"); ////console.log("load youtube"); if(false == false) { content = content.substr(content.indexOf("id=")+4,content.length); var afterStr = content.split("{{/hket:youtube}}")[1]; content = content.substr(0,content.indexOf("}")-1); $(this).attr("id",content); $(this).addClass("lazy-youtube"); $(this).html("loading..."); $(this).html("https://www.youtube.com/watch?v="); $(this).after(afterStr); }else { $(this).html(""); } } }); }); var photoindex=0; $.each($(".article-details-content-container").find(".photoSwipe-"+articleId),function(){ $(this).attr("data-photoindex",photoindex); photoindex++; }); $.each($(".article-details-content-container").find("blockquote"),function(){ var content = $(this).html(); if(content.split("
").length-1 == 1) { content = content.substr(content.indexOf("
")+3,content.length); content = content.substr(0,content.indexOf("
")); } $(this).empty(); $(this).append('
' + content + '
'); $(this).wrap('
');
});
nextPageNum++;
}
function urlify(text) {
var urlRegex = /(https?:\/\/[^\s]+)/g;
return text.replace(urlRegex, function(url) {
return '' + url + '';
})
// or alternatively
// return text.replace(urlRegex, '$1')
}
function setCookie(c_name,value,expiredays){
//var exdate=new Date()
//exdate.setDate(exdate.getDate()+expiredays)
//document.cookie=c_name+ "=" +escape(value)+
//((expiredays==null) ? "" : ";expires="+exdate.toGMTString())
document.cookie=c_name+ "=" +escape(value)+ ";path=/";
}
function getCookie(c_name){
if (document.cookie.length>0){
c_start=document.cookie.indexOf(c_name + "=")
if (c_start!=-1){
c_start=c_start + c_name.length+1
c_end=document.cookie.indexOf(";",c_start)
if (c_end==-1) c_end=document.cookie.length
return unescape(document.cookie.substring(c_start,c_end))
}
}
return ""
}
function fontSizeLg() {
var fontSize = parseInt(getCookie("content-section-region__article-details_font-size"));
if(fontSize<22){
fontSize = fontSize + 1;
setCookie("content-section-region__article-details_font-size",fontSize);
$(".content-section-region__article-details").find("p").css({"font-size":fontSize});
}
////console.log(fontSize);
}
function fontSizeSm() {
var fontSize = parseInt(getCookie("content-section-region__article-details_font-size"));
if(fontSize>14){
fontSize = fontSize - 1;
setCookie("content-section-region__article-details_font-size",fontSize);
$(".content-section-region__article-details").find("p").css({"font-size":fontSize});
}
////console.log(fontSize);
}
var first=true;
var count=0;
$('.article-feed').infiniteScroll({
path:
function() {
if ( this.loadCount<499){
//console.log("this.loadCount::"+this.loadCount);
if(this.loadCount>0){
//console.log("next link: "+moreNewsLinkList[this.loadCount]+"?pageNum="+nextPageNum+"&ref=is");
return moreNewsLinkList[this.loadCount]+"?pageNum="+nextPageNum+"&ref=is";
}else{
return moreNewsLinkList[this.loadCount]+"?pageNum="+nextPageNum;
}
} },
append: '.lazy-article' ,
status: '.page-load-status',
historyTitle: false,
history: false
});
$('.article-feed').on('append.infiniteScroll', function(event, response, path, items) {
//$(".page-load-status:first").hide();
});
$('.article-feed').on('append.infiniteScroll', function(event, response, path, items) {
pageIndex = $('.article-feed').data('infiniteScroll').pageIndex;
count=pageIndex-1;
var existArticleId = path.split("https://skypost.hk/")[5];
var res = path.indexOf("/article");
var res2 = path.indexOf("?pageNum");
var str = path.substring(res, res2) + "?ref=is";
//console.log("existArticleId:"+existArticleId);
sectionName = $(".article-"+existArticleId).find(".sectionNameHidden").text();
subSectionId = $(".article-"+existArticleId).find(".subSectionIdHidden").text();
var channelCode = $(".article-"+existArticleId).find(".articleChannelHidden").text();
//console.log("subSectionId:"+subSectionId);
contentImport = $(".article-"+existArticleId).find(".contentImportHidden").text();
//console.log("contentImport:"+contentImport);
pubDate = $(".article-"+existArticleId).find(".publish-time").text().split(": ")[1];
//articleTitle = $(".article-"+existArticleId).find(".header-sticky-inner").text();
articleTitle = $(".article-"+existArticleId).find(".article-head h1").text();
//console.log("title:: "+ articleTitle);
dfpSectionId = $(".article-"+existArticleId).find(".dfpSectionIdHidden").text();
var SectionNameCodeStr = $(".article-"+existArticleId).find(".SectionNameCodeHidden").text();
SectionNameCode = SectionNameCodeStr.split(" ");
var adhocTagStr = $(".article-"+existArticleId).find(".adhocTagHidden").text();
var formalTagStr = $(".article-"+existArticleId).find(".formalTagHidden").text();
if(formalTagStr.length !== 0){
formalTag =formalTagStr.split(" ");
}else{
formalTag = [];
}
var contentType = "i-Content";
if(contentImport!=null){
if(contentImport!="007"){
contentType = "i-Content";
}else{
contentType = "p-Content";
}
}
var gaTags = "";
if(adhocTagStr != null || adhocTagStr != ""){
gaTags = adhocTagStr;
}
if(formalTag.length !== 0){
if(gaTags !== ""){
gaTags = gaTags + "," + formalTag.join(",");
}else{
gaTags = formalTag.join(",");
}
}
var ULVID, GVID, SGVID;
if(Cookies.get('ULVID')){
ULVID = Cookies.get('ULVID');
}
//console.log("GVID: "+Cookies.get('GVID'));
if(Cookies.get('GVID')){
GVID = Cookies.get('GVID');
}
//console.log("SGVID: "+Cookies.get('SGVID'));
if(Cookies.get('SGVID')){
SGVID = Cookies.get('SGVID');
}
var audience = getCookie('hket_tm');
window.dataLayer = window.dataLayer || [];
//console.log('dimension1: '+ sectionName + ' dimension2: ' + subSectionId + ' dimension14: '+ pubDate + ' tilte: '+ articleTitle);
//console.log('dimension12: '+contentType);
//console.log('referrerUrl: '+ previousURL);
console.log("channel ===================: "+channelCode);
if(channelCode.length>3){
channelCode = channelCode.substring(0,3);
}
initAll();
var i = $("article").length;
FB.XFBML.parse(($("article")[(i-1)]));
var mapping_03 = googletag.sizeMapping().
addSize([1400, 160], [[300, 100], [300, 250]]).
addSize([1200, 160], [[300, 100], [300, 250]]).
addSize([768, 0], [[300, 100], [300, 250]]).
addSize([320, 0], [[300, 100], [300, 250]]).
addSize([0, 0], [1, 1]).
build();
var mapping_01 = googletag.sizeMapping().
addSize([1400, 160], [[728, 90], [970, 90], [970, 160], [970, 250]]).
addSize([1200, 160], [[728, 90], [970, 90], [970, 160], [970, 250]]).
addSize([1024, 160], [[728, 90]]).
addSize([768, 90], [728, 90]).
// Fits browsers of any size smaller than 640 x 480
addSize([320, 90], [[300, 250],[300,100]]).
build();
googletag.cmd.push(function() {
////console.log(gptAdSlots.length);
gptAdSlotsNum++;
gptAdSlots[gptAdSlotsNum] = googletag.defineSlot('/183518426/Skypost4_WebRp_Detail_Fixed03', [[300, 600], [300, 250], [300, 100]], 'div-gpt-ad-1520909829098-3_article-'+moreNewsArticleId[count-1]);
gptAdSlots[gptAdSlotsNum].addService(googletag.pubads());
// console.log("length " + formalTag.length);
if(formalTag && formalTag.length > 0){
// console.log("formalTag: " + formalTag);
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("formal_tag", formalTag).setTargeting("environment", environment);
}else{
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("environment", environment);
}
if(audience != null){
var strArr = audience.split(",");
if(strArr!=null){
if(!isNaN(strArr[0])){
strArr.shift();
gptAdSlots[gptAdSlotsNum].setTargeting("audience", strArr);
}
}
}
googletag.display('div-gpt-ad-1520909829098-3_article-'+moreNewsArticleId[count-1]);
googletag.pubads().refresh(gptAdSlots[gptAdSlotsNum]);
gptAdSlotsNum++;
gptAdSlots[gptAdSlotsNum] = googletag.defineSlot('/183518426/Skypost4_WebRp_Detail_Fixed04', [[300, 600], [300, 250], [300, 100]], 'div-gpt-ad-1520909829098-4_article-'+moreNewsArticleId[count-1]);
gptAdSlots[gptAdSlotsNum].addService(googletag.pubads());
if(formalTag && formalTag.length > 0){
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("formal_tag", formalTag).setTargeting("environment", environment);
}else{
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("environment", environment);
}
if(audience != null){
var strArr = audience.split(",");
if(strArr!=null){
if(!isNaN(strArr[0])){
strArr.shift();
gptAdSlots[gptAdSlotsNum].setTargeting("audience", strArr);
}
}
}
googletag.display('div-gpt-ad-1520909829098-4_article-'+moreNewsArticleId[count-1]);
googletag.pubads().refresh(gptAdSlots[gptAdSlotsNum]);
gptAdSlotsNum++;
gptAdSlots[gptAdSlotsNum] = googletag.defineSlot('/183518426/Skypost4_WebRp_Detail_Fixed05', [[970, 250], [970, 160], [970, 90], [728, 90]], 'div-gpt-ad-1520909829098-5-1_article-'+moreNewsArticleId[count-1]).defineSizeMapping(mapping_01);
gptAdSlots[gptAdSlotsNum].addService(googletag.pubads());
if(formalTag && formalTag.length > 0){
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("formal_tag", formalTag).setTargeting("environment", environment);
}else{
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("environment", environment);
}
if(audience != null){
var strArr = audience.split(",");
if(strArr!=null){
if(!isNaN(strArr[0])){
strArr.shift();
gptAdSlots[gptAdSlotsNum].setTargeting("audience", strArr);
}
}
}
googletag.display('div-gpt-ad-1520909829098-5-1_article-'+moreNewsArticleId[count-1]);
googletag.pubads().refresh(gptAdSlots[gptAdSlotsNum]);
gptAdSlotsNum++;
gptAdSlots[gptAdSlotsNum] = googletag.defineSlot('/183518426/Skypost4_WebRp_Detail_Fixed05', [[300, 100], [300, 250]], 'div-gpt-ad-1520909829098-5-2_article-'+moreNewsArticleId[count-1]).defineSizeMapping(mapping_03);
gptAdSlots[gptAdSlotsNum].addService(googletag.pubads());
if(formalTag && formalTag.length > 0){
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("formal_tag", formalTag).setTargeting("environment", environment);
}else{
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("environment", environment);
}
if(audience != null){
var strArr = audience.split(",");
if(strArr!=null){
if(!isNaN(strArr[0])){
strArr.shift();
gptAdSlots[gptAdSlotsNum].setTargeting("audience", strArr);
}
}
}
googletag.display('div-gpt-ad-1520909829098-5-2_article-'+moreNewsArticleId[count-1]);
googletag.pubads().refresh(gptAdSlots[gptAdSlotsNum]);
gptAdSlotsNum++;
gptAdSlots[gptAdSlotsNum] = googletag.defineSlot('/183518426/Skypost4_WebRp_Detail_Fixed06', [[300, 100], [300, 250]], 'div-gpt-ad-1520909829098-6_article-'+moreNewsArticleId[count-1]);
gptAdSlots[gptAdSlotsNum].addService(googletag.pubads());
if(formalTag && formalTag.length > 0){
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("formal_tag", formalTag).setTargeting("environment", environment);
}else{
gptAdSlots[gptAdSlotsNum].setTargeting("article_id", moreNewsArticleId[count-1]).setTargeting("section_id", dfpSectionId).setTargeting("section", SectionNameCode).setTargeting("title", articleTitle).setTargeting("environment", environment);
}
if(audience != null){
var strArr = audience.split(",");
if(strArr!=null){
if(!isNaN(strArr[0])){
strArr.shift();
gptAdSlots[gptAdSlotsNum].setTargeting("audience", strArr);
}
}
}
googletag.display('div-gpt-ad-1520909829098-6_article-'+moreNewsArticleId[count-1]);
googletag.pubads().refresh(gptAdSlots[gptAdSlotsNum]);
});
});
function showPhotoSwipe(ele) {
var items = [];
var loaders = [];
var currentClass = ele.attr("class");
var len = $("a." + currentClass).length;
$("a." + currentClass).each(function (index, element) {
var pic = $(this);
var href = pic.data("href");
var img = new Image();
loaders.push(loadImage(href, items, element));
});
$.when.apply(null, loaders).done(function () {
var photoIndex = parseInt(ele.data("photoindex"), 10);
var options = {
index: photoIndex,
bgOpacity: 0.7,
showHideOpacity: true,
closeEl: true,
captionEl: true,
fullscreenEl: true,
zoomEl: true,
hareEl: true,
counterEl: true,
arrowEl: true,
preloaderEl: true
}
var $pswp = $('.pswp')[0];
var lightBox = new PhotoSwipe($pswp, PhotoSwipeUI_Default, items, options);
lightBox.init();
});
}
function loadImage(src, items, element) {
var deferred = $.Deferred();
var sprite = new Image();
sprite.onload = function () {
var item = {
src: src,
w: this.width,
h: this.height
}
var eleIndex = parseInt($(element).data("photoindex"), 10);
items.splice(eleIndex, 0, item);
deferred.resolve();
};
sprite.src = src;
return deferred.promise();
}
function setUpPhotoSwipe() {
var pageNum = $('.infinite-item').length;
var className = "photoSwipe" + pageNum;
$('.photoSwipe').each(function () {
$(this).attr('class', className);
});
}
window.fbAsyncInit = function () {
FB.init({
appId: 335749279848103,
autoLogAppEvents: true,
xfbml: true,
version: 'v2.10'
});
FB.AppEvents.logPageView();
};
(function (d, s, id) {
var js,
fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s);
js.id = id;
js.src = "https://connect.facebook.net/zh_TW/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}
(document, 'script', 'facebook-jssdk')
);
window.shareOverrideOGMeta = function(ogUrl_, ogTitle_, ogDescription_, ogImageUrl_){
FB.ui({
method: 'share_open_graph',
action_type: 'og.shares',
action_properties: JSON.stringify({
object: {
'og:url': ogUrl,
'og:title': ogTitle,
'og:description': ogDescription,
'og:image': ogImageUrl
}
})
},
function (response) {
// Action after response
});
}
var changeActive=false;
$(window).scroll(function () {
checkScrollPosition();
});
function checkScrollPosition(){
$(".lazy-article").each(function () {
var elem = $(this).attr("id");
////console.log("elem html: "+$(this).attr("id"));
if(elem.length){
if (isScrolledIntoView($(this))) {
////console.log("show: " + elem);
metaTitle = $(this).find(".metaTitleHidden").text();
metaDescription = $(this).find(".ogDescriptionHidden").text();
metaKeyword = $(this).find(".metaKeywordHidden").text();
ogTitle = $(this).find(".ogTitleHidden").text();
ogDescription = $(this).find(".ogDescriptionHidden").text();
ogUrl = $(this).find(".ogUrlHidden").text();
urlHidden = $(this).find(".urlHidden").text();
ogImageUrl = $(this).find(".ogImageUrlHidden").text();
//console.log(dataOrding);
prefix = $(this).find(".prefixHidden").text();
////console.log(existTitle+" vs "+metaTitle);
if(existTitle != metaTitle){
existTitle = metaTitle;
dataOrding = $(this).attr("data-ording");
//console.log("existTitle: "+existTitle);
//console.log("data-ording: "+dataOrding);
/*Change meta data*/
var title = $(this).find(".header-sticky-inner").text();
document.title = existTitle;
window.history.replaceState(null, title, urlHidden);
$("meta[name=title]").attr("content", metaTitle);
$("meta[name=description]").attr("content", metaDescription);
if(metaKeyword!=null && metaKeyword!=""){
if(document.querySelector("meta[name=keyword]")){
$("meta[name=keyword]").attr("content", metaKeyword);
}else{
$("head").append("");
}
}else{
$("meta[name=keyword]").remove();
}
$("meta[property=og\\:title]").attr("content", ogTitle);
$("meta[property=og\\:description]").attr("content", ogDescription);
$("meta[property=og\\:url]").attr("content", ogUrl);
$("meta[property=og\\:image]").attr("content", ogImageUrl);
/*Change share button*/
var n = urlHidden.lastIndexOf("https://skypost.hk/");
var shareUrl = urlHidden.substring(0,n);
$(".stick-share").find("#fb-btn").attr("onclick","window.open('http://www.facebook.com/sharer.php?u="+ogUrl+"/?utm_medium=share&utm_source=fb_share', '_blank');");
shareMessage = shareUrl+window.encodeURIComponent("/?utm_medium=share&utm_source=whatsapp_share\n\r快啲Follow晴報,生活充滿着數\n\rFB: http://bit.ly/2AJRKxp\n\r");
$(".stick-share").find("#what-btn").attr("onclick","window.open('https://web.whatsapp.com/send?text="+shareMessage+"')");
$(".stick-share").find("#line-btn").attr("onclick","window.open('http://line.naver.jp/R/msg/text/?"+shareUrl+"/?utm_medium=share&utm_source=line_share');");
$(".stick-share").find("#link-btn").attr("onclick","copyUrl('"+shareUrl+"/?utm_medium=share&utm_source=clipboard_share?r=cpsdlc')");
/*Change Next Article*/
var nextNum = 0;
var res = dataOrding.lastIndexOf("-");
nextNum = dataOrding.substring(res+1, dataOrding.length)-2;
//console.log("nextNum: "+nextNum);
var title = moreNewsArticleHeadlineList[nextNum];
if(title==null){
title="";
$(".next-article").attr("style","display:none");
}else{
$(".next-article").removeAttr("style");
}
$(".next-article").find(".pagetitle").html(title);
$("#nextArticleTitle").attr("data-nextid",dataOrding);
$(".next-article").find("button").attr("onclick","toNextArticle('"+dataOrding+"')");
/*active progress bar*/
$(".lazy-article").each(function () {
$(this).removeClass("active");
});
$(this).addClass("active");
}
}
}
});
}
function isScrolledIntoView(elem) {
var $elem = $(elem);
var $window = $(window);
var docViewTop = $window.scrollTop();
var docViewBottom = docViewTop + $window.height();
var elemTop = $elem.offset().top;
var elemBottom = elemTop + $elem.height();
////console.log();
return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop)) || ((elemBottom >= docViewBottom) && (elemTop <= docViewTop));
}
var scrollToNext = false;
var scrollingNow = false;
//var i=1;
function toNextArticle(nextid) {
//i++;
//var nextid = "";
//nextid = "article-"+i;
//nextid = $("#nextArticleTitle").data("nextid");
//console.log($("#nextArticleTitle").data("nextid"));
//console.log("nextid::: "+nextid);
if (!scrollingNow) {
scrollingNow = true;
if ($("#"+nextid).length) {
//console.log("111111111111111111111: "+nextid);
$('html, body').animate({
scrollTop: $("#"+nextid).offset().top
}, 2000, function() {
scrollingNow = false;
});
} else {
//console.log("222222222222222");
scrollToNext = true;
$('html, body').animate({
scrollTop: $(".ub-footer").offset().top
}, 2000, function() {
scrollingNow = false;
});
}
}
setTimeout(function() {
/*Change Next Article*/
var nextNum = 0;
var res = nextid.lastIndexOf("-");
nextNum = parseInt(nextid.substring(res+1, nextid.length))+1;
//console.log("bottom nextNum: "+nextNum);
var title = moreNewsArticleHeadlineList[(nextNum-2)];
//console.log("bottom title: "+title);
if(title==null){
title="";
$(".next-article").attr("style","display:none");
}else{
$(".next-article").removeAttr("style");
}
$(".next-article").find(".pagetitle").html(title);
$("#nextArticleTitle").attr("data-nextid","article-"+nextNum);
$(".next-article").find("button").attr("onclick","toNextArticle('article-"+nextNum+"')");
}, 2000);
};
[ad_2]
Source link