$("#mostpopular-collabs").remove(); $(".cdicf.needed").remove(); function refineEvent(event) { $(".cdicf.needed").remove(); } append_collab_callback = refineEvent; var billboard_container = $("#influencer-billboard-container").find(".container"); var articles = [ { url: "https://www.kolagent.com/art/N4EM3RWM/influencer-marketing-the-must-do", cover: "https://kolagent-ugc-destination.s3.us-west-2.amazonaws.com/art_N4EM3RWM_374999e8.webp", cover_offset_y: "-70px", title: "網紅行銷:不可或缺的高回報行銷策略" }, { url: "https://www.kolagent.com/art/XY2HNTUP/word-of-mouth-marketing-methods", cover: "https://kolagent-ugc-destination.s3.us-west-2.amazonaws.com/art_XY2HNTUP_b351e24b.webp", cover_offset_y: "-70px", title: "透過社群媒體打造口碑效應!" }, { url: "https://www.kolagent.com/art/4TZZBMYT/chatgpt-influencer-marketing-tips", cover: "https://kolagent-ugc-destination.s3.us-west-2.amazonaws.com/art_4TZZBMYT_7c1a7e29.webp", cover_offset_y: "0px", title: "如何用「 ChatGPT」勝過競爭者的網紅行銷技巧" } ]; var article = articles[Math.floor(Math.random() * articles.length)]; var article_div = $(`
`); billboard_container.attr("class", "col-md-8"); billboard_container.after(article_div); article_div.hover( function() { $( this ).find(".hot-blog-overlay").css( "background", "rgba(0, 0, 0, 0.5)" ); $( this ).find(".hot-blog-text").css( "color", "#ffcae6" ); }, function() { $( this ).find( ".hot-blog-overlay" ).css( "background", "" ); $( this ).find(".hot-blog-text").css( "color", "white" ); } ); if(!isLogin) { $(".cd1 .cpb").remove(); $(".cd1 .cdcif .cdcif2").css("height", "100px"); $("#influencer-billboard-container").after(` `); } { $("#footer .pull-right div div").after("