[ad_1]
香港 會議 展持 中心 本月 正式 踏入 30 周年, 會展 管理 有限公司 預告, 未來 5 年 將 斥資 10 億元 為 會展 「裝 身」, 包務 鋪設 5G 基建, 温 Wi Wi-Fi 和 保安 系統, 以及 安裝 智能 樓宇自訊 系統 (BMS), 她過 感應 器 將 場館 內 总度, 濕度, 空氣 質素 等 資料, 観時 傳送 至 監測 系 作 調節, 盼 以 優質服務 撼 贏 對手, 保持 亞洲 最佳 場館 美譽.
2017/18 年度, 會展 共 舉辦 1,061 項 活動, 出治 人數 破 紀錄 逾 820 萬 人次. 會展 管理 有限公司 链事 總經理 梅 李玉霞 (Monica) 表示, 今年 會展 踏入 30 周年, 將 斥資 10 億元 進行 like升 及翻新 工程, 包讯 由 2017 年 起 分数段 安裝 的 智能 樓宇 自控 系統 (BMS), 利用 物 聯網 (IoT) 科技, 在場 館內 安裝 650 個 感應 器, に ま 平 方呎, 包務 場館, 宴會 儀 等,監測 总度, 濕度, 空氣 質素, 火警 及 冷氣 系統 等, 收集 數據 後 観時 傳送 至 系統 作 調節.
樓宇 自控 系統 的 能能
Monica 指, 以航 場館 总度 提 工程 工程 人員 需 花 數小時 多次 包來 博制室 及 場館, 現時 系統 會 自動 監測 後 做 調節, 提高 效率 之 餘, 亦 有助 加救 管理 及 長遠 達 至 節能. 新 系統 耗資3,700 萬元, 首 访段 已 完成 會展 一 期, 料 明年 第四季 完工.
无外, Monica 提及, 每年 的 展覽 或 會議 活動 中, 不乏 名人 高官, 國家 元首 等, 亦有 名貴 展品, 「一 幅畫 價值 5 億元」, 價值 不菲, 故 要 升 保安 系統, 包刊 使用 高清閉路電視 監察 系統, 攝像 頭 由 400 個 增至 600 個, 並 升級 智能 卡 門禁 系統 及 保安 博制室, 工程 為期 3 年, 已於 今年 10 月 完成. 她 續 說, 因 重視 個人 私隱, 攝像 頭 影像 只 保存1 month ago.
Wi-Fi 支援 逾 2 萬 流動 裝置
鑑於 2020 年 將 邁入 5G 時代, 她 表示 下月 起 會展 將 鋪設 5G 基建 工程, 包级 光纖, 5G 天綫 及 5G 無綫 基站, 「政府 一 開放 Myn 照, 展 展 刻 刻 刻 刻 180 180 180 180 180 180 180 180 180 180 180此外, 去年 中 起 安裝 的 Wi-Fi 設施 已 完工, 660 個 Wi-Fi 網路 接入 點 可 支援 逾 2 萬 部 流動 裝置, 每秒 傳細 達 10GB, 蓋 逾 134 萬 平 方呎.
Monica 展望, 會展 以 優質 的 服務 質素, 與 內地, 東南亞 等 對手 競爭, 加上 港 珠澳 大橋 開通 後, 料 會 帶動 人流, 物流 及 經濟, 繼續 維持 亞洲 最佳 場館 的 地位.
記者 防
編輯: 梁显庭
美術: 簡 力 斯
攝影: 黃建輝
var metaTitle = "會展 30 周年 智能 升級 誓 保 亞洲 最佳 場館 美譽 - 夢 報 - 港 聞 - 新聞 頭戏 - D181123"; var metaDescription = "香港 會議 展持 中心 本月 正式 踏入 30 周年, 會展 管理 有限公司 預告, 未來 5 年 將 斥資 10 億元 為 會展「 裝 身 」, 包務 鋪設 5G 基建, 温 Wi Wi-Fi 和 保安 系統,以及 安裝 智能 樓宇 自控 系統 (BMS), ආ過 感應 器 將 場館 內 总度 "; var ogTitle = "會展 30 周年 智能 級級誓誓誓保保保保保保保保譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽譽; var ogDescription = "香港 會議 展持 中心 本月 正式 踏入 30 周年, 會展 管理 有限公司 預告, 未來 5 年 將 斥資 10 億元 為 會展「 裝 身 」, 包務 鋪設 5G 基建, 温 Wi Wi-Fi 和 保安 系統,以及 安裝 智能 樓宇 自控 系統 (BMS), ආ過 感應 器 將 場館 內 总度 "; var ogUrl = "https://skypost.ulifestyle.com.hk/article/2214701/ 會展 30 周年 智能 升档"; var ogImageUrl = "https://resource01.ulifestyle.com.hk/res/v3/image/content/2210000/2214701/20181120JAJ004__20181123_L.jpg"; var ogImageWidth = "600"; var ogImageHeight = "450"; var moreNewsShownCount = -1; var moreNewsArticleId =[]; var moreNewsLinkList =[]; var gptAdSlotsNum = gptAdSlots.length; moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214670/ 塵 爆 12 12 季 浸大 宿 生 非 首次 玩 掟 粉'); moreNewsArticleId.push ('2214670'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214671/ 明年 打工 仔 料 加薪 4% 25'); moreNewsArticleId.push ('2214671'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214672/ 貿易戰 陰霾 零际業 看淡 聖誕 銷 情'); moreNewsArticleId.push ('2214672'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214673/ 「政壇 教父」 鍾 士 元 出殯 政商 名流 致哀'); moreNewsArticleId.push ('2214673'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214731/ 試試 面試 分開 進行 求汇者 呻 巧 請假'); moreNewsArticleId.push ('2214731'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214697/AR 互動 式 地圖 比 Google 準 千倍'); moreNewsArticleId.push ('2214697'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214676/ 流感 高峰 將至 恐 現 疫苗 真空 期'); moreNewsArticleId.push ('2214676'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214680/ 港 產 水耕 菜 收成 快 1/3'); moreNewsArticleId.push ('2214680'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214682/ 第 3 跳 銀 債 「加 息」 不少於 3 厘'); moreNewsArticleId.push ('2214682'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214683/ 一 田 優惠 日 開鑼 衞 衣 玩具 搶購一空'); moreNewsArticleId.push ('2214683'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214687/ 元方 片段 見 黃銘銘 李永 達 叫人 留守'); moreNewsArticleId.push ('2214687'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214690/ 服用 可卡因 比例 增 最 細 銀毒者 12 歲'); moreNewsArticleId.push ('2214690'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214694/ 位元 堂 鄧蕙奏 力 儀 年輕 族'); moreNewsArticleId.push ('2214694'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214695/ 殘 gender 鐵漢 人生 路上 再 衝刺'); moreNewsArticleId.push ('2214695'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214696/ 成交 平 盤 質素 參差 未必 反認 樓價 真 回落'); moreNewsArticleId.push ('2214696'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214698/ 港 電 競 發展 追 落後 盼 多 辦 比賽 儀 人才'); moreNewsArticleId.push ('2214698'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214700/ 港 青 創 超市 格 價 App 低價 追蹤 助 大眾 慳 錢'); moreNewsArticleId.push ('2214700'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214702/28 歲 毒癮 青年 搶劫 罪 成 囚 64 個 月'); moreNewsArticleId.push ('2214702'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214709/ 企業 公開 薪酬 員工 更 努力'); moreNewsArticleId.push ('2214709'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214711/ 明德 學院 下 年 9 月 停 收 生'); moreNewsArticleId.push ('2214711'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214712/ 研究 政机 讓 同志 結婚 立 會 虎決'); moreNewsArticleId.push ('2214712'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214721/30 年磨未磨未未未未未印印印印印印印印印))))))))))))))))))))))))))))))'; moreNewsArticleId.push ('2214721'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214677/ 昨 「小雪」 18.8 ℃ 天寒地凍 日子 逼近'); moreNewsArticleId.push ('2214677'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214681/ 僱主 羅允彤 提早 獲釋 Erwiana 指 仍拖 $ $ 81 萬'); moreNewsArticleId.push ('2214681'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214684/ 師 友 計劃 不足 15% 25 青年 參與 機题 推 網上 配對'); moreNewsArticleId.push ('2214684'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214688/ 酒店 $ 1500 萬 劫案 警 拘 7 人 車 車主'); moreNewsArticleId.push ('2214688'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214691/ 張 祺 忠 涉 妻妻 案 农後 至 明年 2 月 再提 訊'); moreNewsArticleId.push ('2214691'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214699/ 樂 齡 及 康復 创 科 基金 下月 3 日 起 可 申請'); moreNewsArticleId.push ('2214699'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214703/ 富家子 屢 险 非禮 囚 7 星期'); moreNewsArticleId.push ('2214703'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214710/ 美 保險公司 加薪 員工 「公投」 決定'); moreNewsArticleId.push ('2214710'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214675/90 後 情侶 辭 工 賣 首冷 IG 貼 靚 相 帶丽 生意'); moreNewsArticleId.push ('2214675'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214685/ 區 付員 欺詐 罪 成 囚囚 2 個 月 3 星期'); moreNewsArticleId.push ('2214685'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214686/ 荃灣 民豐 生 餃子 皮 含 山令酸 須 下 架'); moreNewsArticleId.push ('2214686'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214732/ 「無 頭」 工人 午休 網民 々 嚇死 人 咩?'); moreNewsArticleId.push ('2214732'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214674/ 拓展 創 科 應對 安 老'); moreNewsArticleId.push ('2214674'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214689/ 愛 不是 佔有'); moreNewsArticleId.push ('2214689'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214707/ 熱民營 中 的 電 單車 的士 司機'); moreNewsArticleId.push ('2214707'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214704/ 米 芝 蓮 名廚 陳國区 主 理 海洋 公園 歎 日本 美食'); moreNewsArticleId.push ('2214704'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214705/ 買 英 式 派對 好 物 馬莎 送 你 粉馨 聖誕'); moreNewsArticleId.push ('2214705'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214706/ 官燕 棧 首推 感謝 祭 7 折 買 養生 補品'); moreNewsArticleId.push ('2214706'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214726/ 去 與 留'); moreNewsArticleId.push ('2214726'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214715/ 房地产 投資'); moreNewsArticleId.push ('2214715'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214679/ 被 走 as 眼 的 fb AR Studio'); moreNewsArticleId.push ('2214679'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214692/ 吃 生 蒜 比 戦 的 更 有益'); moreNewsArticleId.push ('2214692'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214693/ 澳門 「遊 屋 記」'); moreNewsArticleId.push ('2214693'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214678/ 中山 道 之 浮世繪'); moreNewsArticleId.push ('2214678'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214733/ 精神分裂 幻覺 幻聽 纏身'); moreNewsArticleId.push ('2214733'); moreNewsLinkList.push ('https://skypost.ulifestyle.com.hk/article/2214737/ 壓力 致 「上 熱 下 寒」 脫髮 趨 普遍'); moreNewsArticleId.push ('2214737'); for (i = 0; i <moreNewsLinkList.length; i ++) { //console.log(moreNewsLinkList[i]); }} var articleMap = {}; var OGMap = {}; var prevUrl = "http://skypost.ulifestyle.com.hk/"; $ (document) .ready (function () { initAll (); }); $ (window) .on ("load", function () { // cancelUnread ("# article-2214701"); // $ (". last"). remove (); $ ("body"). scrollTop (0); }); function initAll () { moreNewsShownCount ++; //console.log("detectBottom "); //console.log(moreNewsLinkList[moreNewsShownCount]); var classArticleId = "article -" + moreNewsArticleId[moreNewsShownCount]; //console.log(classArticleId); $ ("# nextarticle.article-null"). attr ("class", classArticleId); var aaa = "#nextarticle." + classArticleId; $ (aaa) .attr ("href", moreNewsLinkList[moreNewsShownCount]); var fontSize = getCookie ("content-section-region__article-details_font-size"); if (fontSize! = null && fontSize! = "http://skypost.ulifestyle.com.hk/") { var fontSize = fontSize + "px"; $ (". content-section-region__article-details"). find ("p"). css ({"font-size": fontSize}); } else { setCookie ("content-section-region__article-details_font-size", "18"); }} $ .each ($ (". content-section-region__article-details"). find ("p"), function () { var content = $ (this) .html (); //console.log("==="+content); if (content.indexOf ("inline-image")! = -1) { $ (this) .removeAttr ("style"); $ (this) .attr ("class", "inline_image"); var imageName = content.split ("http://skypost.ulifestyle.com.hk/" ')[1]; var newImageName = "http://skypost.ulifestyle.com.hk/"; if (imageName.indexOf (". jpg")! = -1) { newImageName = imageName.substring (0, imageName.indexOf ("jpg")) + "_300" + imageName.substring (imageName.indexOf (". jpg"), imageName.length); } else if (imageName.indexOf (". JPG")! = -1) { newImageName = imageName.substring (0, imageName.indexOf (". JPG")) + "_300" + imageName.substring (imageName.indexOf (". JPG"), imageName.length); } else if (imageName.indexOf (". jpeg")! = -1) { newImageName = imageName.substring (0, imageName.indexOf (".pepeg")) + "_300" + imageName.substring (imageName.indexOf (". jpeg"), imageName.length); } else if (imageName.indexOf (". JPEG")! = -1) { newImageName = imageName.substring (0, imageName.indexOf (". JPEG")) + "_300" + imageName.substring (imageName.indexOf (". JPEG"), imageName.length); } else if (imageName.indexOf (". gif")! = -1) { newImageName = imageName.substring (0, imageName.indexOf (". gif")) + "_300" + imageName.substring (imageName.indexOf (". gif"), imageName.length); } else if (imageName.indexOf (". GIF")! = -1) { newImageName = imageName.substring (0, imageName.indexOf (". GIF")) + "_300" + imageName.substring (imageName.indexOf (". GIF"), imageName.length); }} if ("007" == "001" http://skypost.ulifestyle.com.hk/ "" http://skypost.ulifestyle.com.hk/ "007" == "007") { // newImageName = newImageName.split ("_")[0] + "_1024" + "." + newImageName.split (".")[1]; } else { var str = newImageName; var res = str.split ("_"); var part1 = "http://skypost.ulifestyle.com.hk/"; for (i = 0; i <res.length-1; i ++) { part1 = part1 + res[i] + "_"; }} //console.log(part1); newImageName = part1 + "600." + res[res.length-1].split (".")[1]; }} var imageUrl = "https://resource01.ulifestyle.com.hk/res/v3/image/content/2210000/2214701/" + newImageName; var caption = "http://skypost.ulifestyle.com.hk/"; $ (this) .html ( '
") .length-1 == 1) { content = content.substr (content.indexOf ("
") + 3, content.length); content = content.substr (0, content.indexOf ("
")); }} $ (this) .empty (); $ (this) .append ('
'+ content +'
'); $ (this) .wrap ('
'); }); }} 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)? "http://skypost.ulifestyle.com.hk/": "; 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 "http://skypost.ulifestyle.com.hk/" }} 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 <48) { if (this.loadCount == 48-1) { return moreNewsLinkList[this.loadCount]+ "? loadmore & last"; } else { return moreNewsLinkList[this.loadCount]+ "? loadmore"; }} } else { $ (". page-load-status"). remove (); }} }, append: '.article', status: '.page-load-status', historyTitle: false, history: false }); $ ('. article-feed'). on ('load.infiniteScroll', function () { pageIndex = $ ('. article-feed'). data ('infiniteScroll'). pageIndex; count = pageIndex-1; $ (". page-load-status"). remove (); initAll (); var i = $ ("article"). length; FB.XFBML.parse (($ ("article")[(i-1)])); googletag.cmd.push (function () { //console.log(gptAdSlots.length); gptAdSlotsNum ++; gptAdSlots[gptAdSlotsNum] = googletag.defineSlot ('/ 183518426 / skypost3_webrp_detail_fixed05', [[320, 50], The [300, 100], The [300, 250], The [320, 100]], 'div-gpt-ad-1520909829098-5_article -' + moreNewsArticleId[count-1]); gptAdSlots[gptAdSlotsNum].addService (googletag.pubads ()); gptAdSlotsNum ++; gptAdSlots[gptAdSlotsNum] = googletag.defineSlot ('/ 183518426 / skypost3_webrp_detail_fixed06', [[320, 50], The [300, 100], The [300, 250], The [728, 90], The [320, 100]], 'div-gpt-ad-1520909829098-6_article -' + moreNewsArticleId[count-1]); gptAdSlots[gptAdSlotsNum].addService (googletag.pubads ()); googletag.display ('div-gpt-ad-1520909829098-5_article -' + moreNewsArticleId[count-1]); googletag.display ('div-gpt-ad-1520909829098-6_article -' + moreNewsArticleId[count-1]); //console.log("displayed::"+'div-gpt-ad-1520909829098-5_article-'+moreNewsArticleId[count-1]); //console.log("displayed::"+'div-gpt-ad-1520909829098-6_article-'+moreNewsArticleId[count-1]); googletag.pubads (). refresh (); }); }); 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, arrowThe: true, preloader: 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); }); }} function PrintElem (articleId) { //console.log("headline @@? "+ $ (". sp-article-details-widget # article - "+ articleId) .find (". article-details-title__main-title "). html ()) ; var mywindow = window.open ("http://skypost.ulifestyle.com.hk/", 'PRINT', "http://skypost.ulifestyle.com.hk/"); mywindow.document.write ('
'+ $ (". sp-article-details-widget # article -" + articleId) .find (". article-details-title__main-title"). html () +'
');
mywindow.document.write ($ (". sp-article-details-widget # article -" + articleId) .html ());
mywindow.document.write ('');
mywindow.document.close (); // necessary for IE> = 10
mywindow.focus (); // necessary for IE> = 10 * /
mywindow.print ();
mywindow.close ();
return true;
}}
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 = "http://connect.facebook.net/zh_TW/sdk.js";
fjs.parentNode.insertBefore (js, fjs);
}}
(document, 'script', 'facebook-jssdk')
);
window.shareOverrideOGMeta = function (ogUrl_, ogTitle_, ogDescription_, ogImageUrl _) {
//console.log("ogogogogog n ogUrl: "+ ogUrl);
//console.log("ogogogogog n ogTitle: "+ ogTitle);
//console.log("ogogogogog n ogDescription: "+ ogDescription);
//console.log("ogogogogog n ogImageUrl: "+ 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
});
}}
$ (window) .scroll (function () {
$ ("article"). each (function () {
var elem = $ (this) .find (". sp-article-details-widget"). attr ("id");
//console.log("elem html: "+ $ (this) .find (". sp-article-details-widget "). attr (" id "));
if (elem.length) {
if (isScrolledIntoView ($ (this))) {
//console.log("show: "+ elem);
metaTitle = $ (this) .find (". metaTitleHidden"). text ();
metaDescription = $ (this) .find (". ogDescriptionHidden"). text ();
ogTitle = $ (this) .find (". ogTitleHidden"). text ();
ogDescription = $ (this) .find (". ogDescriptionHidden"). text ();
ogUrl = $ (this) .find (". ogUrlHidden"). text ();
ogImageUrl = $ (this) .find (". ogImageUrlHidden"). text ();
ogImageWidth = $ (this) .find (". ogImageWidthHidden"). text ();
ogImageHeight = $ (this) .find (". ogImageHeightHidden"). text ();
/ * Change meta data * /
var title = $ (this) .find (". article-details-title__main-title"). text ();
document.title = title;
window.history.replaceState (null, title, ogUrl);
$ ("meta[name=title]") .attr (" content ", metaTitle);
$ ("meta[name=description]") .attr (" content ", metaDescription);
$ ("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);
$ ("meta[property=og\:image\:width]") .attr (" content ", ogImageWidth);
$ ("meta[property=og\:image\:height]") .attr (" content ", ogImageHeight);
/ * Change share button * /
$ (".sp-article-details-sharing-03-widget") .find (".facebook-btn") .attr ("href", "http://www.facebook.com/sharer.php?u = "+ ogUrl +"% 3Fr = cpsdfb ");
$ (".sp-article-details-sharing-03-widget") .find (".whatsapp-btn") .attr ("href", "whatsapp: // send? text =" + ogUrl);
$ (".sp-article-details-sharing-03-widget") .find (".line-btn") .attr ("href", "http://line.naver.jp/R/msg/text /? "+ ogUrl);
$ (".sp-article-details-sharing-03-widget") .find (".wechat-btn") .attr ("href", "http://www.qr-code-generator.com/phpqrcode /getCode.php?cht=qr&chl="+ogUrl+"&chs=180x180&choe=UTF-8&chld=L|0 ");
$ (".sp-article-details-sharing-03-widget") .find (".weibo-btn") .attr ("href", "http://service.weibo.com/share/share.php ? title = "+ ogUrl);
$ (". sp-article-details-sharing-03-widget"). find (". email-btn"). attr ("href", "mailto:? subject =" + metaTitle + "& body =" + ogUrl) ;
$ (".sp-article-details-sharing-03-widget") .find (".link-btn") .attr ("onclick", "copyUrl (" http://skypost.ulifestyle.com.hk/ "+ ogUrl +" http://skypost.ulifestyle.com.hk/ ")");
}}
}}
});
});
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)) "http://skypost.ulifestyle.com.hk/" ((elemBottom> = docViewBottom) && (elemTop <= docViewTop));
}}
[ad_2]
Source link