Promotions and Deals | StarHub Singapore (2024)

We bake cookies into our site to show you content we think you’ll be interested in, and do things like remember what you’ve added to your shopping cart. By continuing your visit on the site, you agree to our use of cookies on this and other sites. You may adjust your browser settings to manage certain cookies. For more, please read our Data Protection Policy.

We bake cookies into our site to show you content we think you’ll be interested in, and do things like remember what you’ve added to your shopping cart. By continuing your visit on the site, you agree to our use of cookies on this and other sites. You may adjust your browser settings to manage certain cookies. For more, please read our Data Protection Policy.

'; $(this).html(html); }); $('.tv-pass-tile').click(function(){ window.location.href = $('.tile-cta').attr('href'); }); $(window).resize(function(){ $('.clearbutt').css('height',(($('.tv-pass-tile').height()/2)-10)+'px'); }).resize();}/* Component : Tile Container + Tile */starlight.lob_hero_card_tiles = function(){ var css = ` .product-tiles h4.paddingTop30{padding-top:5px!important;} .product-tiles .cards-content.personal-content.paddingTop20{padding-top:0px;} .product-tiles p.tile-pricing{margin-top:25px;} .product-tiles div.dotdotdot{height:90px!important;} .product-tiles .eq-ht-cont.cards{ border-radius: 12px; } .product-tiles .cards-img-bg img { border-top-left-radius:12px; border-top-right-radius:12px; } .tile_v1 .col-lg-6 .cards.material .cards-img-bg{ height:auto !important; } .tile_v1 .cards-img-bg.cbgTileImg{ height:auto !important; } /*@media screen and (max-width:767px){ .tile_v1 .col-lg-6 .cards.material .cards-img-bg{ height:auto !important; } .tile_v1 .cards-img-bg.cbgTileImg{ height:auto !important; } }*/ `; $('head').append('

');}/* Component : Featured Banner (Half) */starlight.msa_onpage_banner = function(){ var css = ` .shared_featurebanner_half .feature-half { background:#250e62; border-radius:14px; -webkit-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%); box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%); -webkit-transition: all 200ms ease-out; -moz-transition: all 200ms ease-out; -ms-transition: all 200ms ease-out; -o-transition: all 200ms ease-out; transition: all 200ms ease-out; } .shared_featurebanner_half .feature-half .border-lighter-grey{ border-color:transparent; } .shared_featurebanner_half .feature-half .top-headline{ text-transform:uppercase; font-size:14px; color:#ffffff; font-weight:bold; } .shared_featurebanner_half .feature-half .header3{ color:#ffffff; } .shared_featurebanner_half .feature-half .text-content p{ color:#ffffff; } .shared_featurebanner_half .feature-half .text-content .msa-links{ margin-right:7px; } `; $('head').append('

'); var msa_banner = $('.shared_featurebanner_half').first(); msa_banner.find('.border-lighter-grey.border1').removeClass('border1');}/* Component : Plan Banner */starlight.plan_banner = function(block_seq){ var css = ` .plan-banner-component .cards-img-bg.cbgTileImg { border-top-right-radius: 12px; border-top-left-radius: 12px; } .plan-banner-component .plan-banner-box-content { padding: 20px 30px 20px!important; border-radius: 12px; } .plan-banner-component .plan-banner-box a:hover { color: #fff!important; border-radius: 12px; } .plan-banner-component .plan-banner-box a { border-radius: 12px; color:#ffffff; background-color: #c800a1; } .plan-banner-component .plan-banner-box a h4{ color:#ffffff; } .plan-banner-component .plan-banner-box a #green-hr-line{ background-color: #fff; border-color: #fff; } .plan-banner-component .plan-banner-box:nth-child(1) a { background-color: #c800a1!important; } .plan-banner-component .plan-banner-box:nth-child(2) a { background-color: #1cd4b0; } .plan-banner-component .plan-banner-box:nth-child(3) a { background-color: #685bc7; } .plan-banner-component .plan-banner-box:nth-child(4) a { background-color: #1ed760; } .plan-banner-component .border1{border:0px!important} .plan-banner-component .padding-left-bott {padding-left:25px;padding-bottom:25px;} .plan-banner-component .padding-bott {padding-bottom:25px;} .plan-banner-box a{ -webkit-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%); box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%); -webkit-transition: all 200ms ease-out; -moz-transition: all 200ms ease-out; -ms-transition: all 200ms ease-out; -o-transition: all 200ms ease-out; transition: all 200ms ease-out; } .plan-banner-box a:hover { box-shadow: 0 5px 5px 0 rgb(0 0 0 / 30%); } `; var firstbanner = $('.plan-banner-component').first(); var firstblock = firstbanner.find('.col-xs-24.col-md-12').first(); var secondblock = firstbanner.find('.col-xs-24.col-md-12').last(); var fb_html = firstblock.html(); var sb_html = secondblock.html(); $('head').append('

'); if (block_seq == 'tiles-left'){ firstblock.html(sb_html); secondblock.html(fb_html); var thirdblock = '

'+fb_html+'

'; firstblock.before(thirdblock); secondblock.addClass('hidden-sm hidden-xs padding-left-bott'); } $('.plan-banner-component h2.bold-font').removeClass('paddingTop40');}/* Component : Masthead */starlight.video_banner = function(){ if ($('.desktop-masthead .video-btn.dam-video-btn')){ var css = ` .clear30{ clear:both; height:30px !important; } .vid-banner{ position:relative; width:100%; overflow:hidden; } .vid-banner .vid-content{ width:100%; float:left; position:absolute; bottom:30px; z-index:5; text-align:center; padding: 10px; } .vid-banner .vid-content h2{ color:#ffffff !important; font-weight:bold; font-size:38px; line-height: 42px; } .vid-banner .vid-content .m_desc{ width:100%; float:left; position:relative; z-index:5; text-align:center; padding: 20px 10px; } .vid-banner .vid-content .m_desc p{ color:#ffffff !important; font-weight:bold; font-size:16px; line-height:22px; } .vid-banner .vid-content .m_butt{ width:100%; float:left; position:relative; z-index:5; text-align:center; } .vid-banner .vid-content .m_butt .butt2{ margin-left:8px; } .vid-mask{ position:absolute; top:0px; right:0px; bottom:0px; left:0px; z-index:1; /*background-image:linear-gradient(180deg, #00000014, #00000045);*/ } .vid-back{ position:relative; float:left; width:100%; min-height:500px; padding:0px; margin:0px; z-index:-1; } /* .vid-back video{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } */ .vid-back video{ height: 100%; width: 177.77777778vh; /* 100 * 16 / 9 */ min-width: 100%; min-height: 56.25vw; /* 100 * 9 / 16 */ } .vid-content-ext{ width:100%; float:left; position:relative; text-align:center; padding: 10px; display:none; background:#000000; } .vid-content-ext h2{ color:#ffffff !important; font-weight:bold; font-size:32px; line-height:37px; } .vid-content-ext .m_desc{ width:100%; float:left; position:relative; z-index:5; text-align:center; padding:10px; } .vid-content-ext .m_desc p{ color:#ffffff !important; font-weight:bold; font-size:16px; line-height:22px; } .vid-content-ext .m_butt{ width:100%; float:left; position:relative; z-index:5; text-align:center; margin-bottom: 20px; } .vid-content-ext .m_butt .butt2{ margin-left:8px; } @media screen and (max-width:768px){ .vid-mask{display:none;} .bg-video { display: block !important; } .vid-back{ min-height:350px; } .vid-banner .vid-content{ display:none; } .vid-content-ext{ display:block; } } @media screen and (max-width:605px){ .vid-back video{ height: 100%; width: 100%; min-width: 100%; min-height: 100%; } .vid-content-ext{ margin-top:-10px; } .vid-banner{ margin-top:-10px; } } @media screen and (max-width:580px){ .vid-back video{ margin-top:-10px; } .vid-content-ext{ margin-top:-30px; } } @media screen and (max-width:545px){ .vid-back video{ margin-top:-20px; } .vid-content-ext{ margin-top:-50px; } } @media screen and (max-width:510px){ .vid-back video{ margin-top:-25px; } .vid-content-ext{ margin-top:-60px; } } @media screen and (max-width:495px){ .vid-back video{ margin-top:-30px; } .vid-content-ext{ margin-top:-70px; } } @media screen and (max-width:470px){ .vid-back video{ margin-top:-40px; } .vid-content-ext{ margin-top:-90px; } } @media screen and (max-width:440px){ .vid-back video{ margin-top:-50px; } .vid-content-ext{ margin-top:-110px; } } @media screen and (max-width:400px){ .vid-back video{ margin-top:-60px; } .vid-content-ext{ margin-top:-130px; } } @media screen and (max-width:370px){ .vid-back video{ margin-top:-70px; } .vid-content-ext{ margin-top:-150px; } } @media screen and (max-width:335px){ .vid-back video{ margin-top:-80px; } .vid-content-ext{ margin-top:-170px; } } `; var mp4 = $('.desktop-masthead .video-btn.dam-video-btn') ? $('.desktop-masthead .video-btn.dam-video-btn').attr('data-url') : ''; if (mp4 != ''){ $('head').append('

'); var vidtypes = [ {'format' : 'video/mp4','src' : mp4}, {'format' : 'video/ogv','src' : mp4.replace('.mp4','.ogv')}, {'format' : 'video/webm','src' : mp4.replace('.mp4','.webm')}, ]; var vid = document.createElement("video"); vid.setAttribute("class","bg-video"); vid.setAttribute("preload","auto"); vid.setAttribute("playsinline",true); vid.id= "bg-vid"; vid.muted = true; vid.autoplay = true; vid.loop = true; for (var i=0; i

0 ? $('.masthead-main-title h2 pre').html() : ''; var m_desc = $('.blend-extend .mastheadDesc h5') && $('.blend-extend .mastheadDesc h5').length > 0 ? $('.blend-extend .mastheadDesc h5').html() : ''; var m_butt1_link = $('.blend-extend .btn').first() && $('.blend-extend .btn').length > 0 ? $('.blend-extend .btn').first().attr('href') : ''; var m_butt1_label = $('.blend-extend .btn').first() && $('.blend-extend .btn').length > 0 ? $('.blend-extend .btn').first().attr('title') : ''; var m_butt2_link = $('.blend-extend .btn').last() && $('.blend-extend .btn').length > 1 ? $('.blend-extend .btn').last().attr('href') : ''; var m_butt2_label = $('.blend-extend .btn').last() && $('.blend-extend .btn').length > 1 ? $('.blend-extend .btn').last().attr('title') : ''; var butts = ''; if (m_butt1_link && m_butt1_label){ var tgt = ''; if (m_butt1_link.indexOf('://') !== -1 && m_butt1_link.indexOf('://www.starhub.com') === -1){ tgt = 'target="_blank"'; } butts += '

'; butts += ''+m_butt1_label+''; /* if (m_butt2_link && m_butt2_label){ butts += ''+m_butt2_label+' '; } */ //console.log(m_butt2_link); butts += '

'; } var vid_html = `

${m_title}

${m_desc}

${butts}

`; if (m_title != ''){ vid_html += `

${m_title}

${m_desc}

${butts}

`; } vid_html += ` `; $('.masthead_v1').html(vid_html); $('.vid-back').append(vid); } }};starlight.video_banner_extended = function(){ if ($('.desktop-masthead .video-btn.dam-video-btn')){ var css = ` .clear30{ clear:both; height:30px !important; } .vid-banner{ position:relative; width:100%; overflow:hidden; } .vid-banner .vid-content{ width:100%; float:left; position:relative; z-index:5; text-align:center; padding: 10px 10px 25px 10px; background: #ffffff; } .vid-banner .vid-content h2{ color:#3d3d3b !important; font-weight:bold; font-size:38px; line-height: 42px; } .vid-banner .vid-content .m_desc{ width:100%; float:left; position:relative; z-index:5; text-align:center; padding: 20px 10px; } .vid-banner .vid-content .m_desc p{ color:#3d3d3b !important; font-weight:bold; font-size:16px; line-height:22px; } .vid-banner .vid-content .m_butt{ width:100%; float:left; position:relative; z-index:5; text-align:center; } .vid-banner .vid-content .m_butt .butt2{ margin-left:8px; } .vid-mask{ position:absolute; top:0px; right:0px; bottom:0px; left:0px; z-index:1; } .vid-back{ position:relative; float:left; width:100%; min-height:400px; padding:0px; margin:0px; z-index:-1; } /* .vid-back video{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } */ .vid-back video{ height: 100%; width: 177.77777778vh; /* 100 * 16 / 9 */ min-width: 100%; min-height: 56.25vw; /* 100 * 9 / 16 */ } .vid-content-ext{ width:100%; float:left; position:relative; text-align:center; padding: 10px; display:none; background:#000000; } .vid-content-ext h2{ color:#ffffff !important; font-weight:bold; font-size:32px; line-height:37px; } .vid-content-ext .m_desc{ width:100%; float:left; position:relative; z-index:5; text-align:center; padding:10px; } .vid-content-ext .m_desc p{ color:#ffffff !important; font-weight:bold; font-size:16px; line-height:22px; } .vid-content-ext .m_butt{ width:100%; float:left; position:relative; z-index:5; text-align:center; margin-bottom: 20px; } .vid-content-ext .m_butt .butt2{ margin-left:8px; } @media screen and (max-width:768px){ .vid-mask{display:none;} .bg-video { display: block !important; } .vid-back{ min-height:350px; } .vid-banner .vid-content{ display:none; } .vid-content-ext{ display:block; } } @media screen and (max-width:605px){ .vid-back video{ height: 100%; width: 100%; min-width: 100%; min-height: 100%; } .vid-content-ext{ margin-top:-10px; } .vid-banner{ margin-top:-10px; } } @media screen and (max-width:580px){ .vid-back video{ margin-top:-10px; } .vid-content-ext{ margin-top:-30px; } } @media screen and (max-width:545px){ .vid-back video{ margin-top:-20px; } .vid-content-ext{ margin-top:-50px; } } @media screen and (max-width:510px){ .vid-back video{ margin-top:-25px; } .vid-content-ext{ margin-top:-60px; } } @media screen and (max-width:495px){ .vid-back video{ margin-top:-30px; } .vid-content-ext{ margin-top:-70px; } } @media screen and (max-width:470px){ .vid-back video{ margin-top:-40px; } .vid-content-ext{ margin-top:-90px; } } @media screen and (max-width:440px){ .vid-back video{ margin-top:-50px; } .vid-content-ext{ margin-top:-110px; } } @media screen and (max-width:400px){ .vid-back video{ margin-top:-60px; } .vid-content-ext{ margin-top:-130px; } } @media screen and (max-width:370px){ .vid-back video{ margin-top:-70px; } .vid-content-ext{ margin-top:-150px; } } @media screen and (max-width:335px){ .vid-back video{ margin-top:-80px; } .vid-content-ext{ margin-top:-170px; } } `; var mp4 = $('.desktop-masthead .video-btn.dam-video-btn') ? $('.desktop-masthead .video-btn.dam-video-btn').attr('data-url') : ''; if (mp4 != ''){ $('head').append(''); var vidtypes = [ {'format' : 'video/mp4','src' : mp4}, {'format' : 'video/ogv','src' : mp4.replace('.mp4','.ogv')}, {'format' : 'video/webm','src' : mp4.replace('.mp4','.webm')}, ]; var vid = document.createElement("video"); vid.setAttribute("class","bg-video"); vid.setAttribute("preload","auto"); vid.setAttribute("playsinline",true); vid.id= "bg-vid"; vid.muted = true; vid.autoplay = true; vid.loop = true; for (var i=0; i 0 ? $('.masthead-main-title h2 pre').html() : ''; var m_desc = $('.blend-extend .mastheadDesc h5') && $('.blend-extend .mastheadDesc h5').length > 0 ? $('.blend-extend .mastheadDesc h5').html() : ''; var m_butt1_link = $('.blend-extend .btn').first() && $('.blend-extend .btn').length > 0 ? $('.blend-extend .btn').first().attr('href') : ''; var m_butt1_label = $('.blend-extend .btn').first() && $('.blend-extend .btn').length > 0 ? $('.blend-extend .btn').first().attr('title') : ''; var m_butt2_link = $('.blend-extend .btn').last() && $('.blend-extend .btn').length > 1 ? $('.blend-extend .btn').last().attr('href') : ''; var m_butt2_label = $('.blend-extend .btn').last() && $('.blend-extend .btn').length > 1 ? $('.blend-extend .btn').last().attr('title') : ''; var butts = ''; if (m_butt1_link && m_butt1_label){ var tgt = ''; if (m_butt1_link.indexOf('://') !== -1 && m_butt1_link.indexOf('://www.starhub.com') === -1){ tgt = 'target="_blank"'; } butts += '

'; butts += ''+m_butt1_label+''; /* if (m_butt2_link && m_butt2_label){ butts += ''+m_butt2_label+' '; } */ //console.log(m_butt2_link); butts += '

'; } var vid_html = `

${m_title}

${m_desc}

${butts}

${m_title}

${m_desc}

${butts}

`; $('.masthead_v1').html(vid_html); $('.vid-back').append(vid); } }};/* Component : Card Tiles with Tab Container + Card Tile with Tab Tile */starlight.plan_card_tiles = function(){ var css = ` .mobile-feature.noBG .mobile-feature-content{ background-color:transparent; margin-top:60px; } .mobile-feature .mfeature-img{ margin-top:110px; } .mobile-feature .mfeature-img img{ max-width:75%; } .cardtile_with_tab_tiles_v1{ margin-top:30px; } .desktop-tile { padding: 0px; } .tile-wrapper{ width:250px; } .tile-wrapper.recommendedPlanCont{ margin-top:0px !important; } .plan-card-tile .front-side { border-radius: 12px; border: 3px solid #250e62; } .plan-card-tile-cont.flip .back-side { border-radius: 12px; border: 3px solid #250e62; } .plan-card-tile .data-plan-name{ min-height:0px; } .plan-card-tile .data-plan-details{ height:auto; } .sel-plan { position: absolute; bottom: 0px; right: 0px; left: 0px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .sel-plan a:hover { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .plan-card-tile .front-side .btnSeeMoreCont, .plan-card-tile .back-side .btnSeeMoreCont { height: 25px; position: absolute; bottom: 70px; width: 100%; left: 0px; } .plan-tile-tabs ul li:first-child, .plan-tile-tabs ul li:nth-child(2){ margin:0px 5px !important; } .plan-tile-tabs ul li.active a, .plan-tile-tabs ul li.active a:focus, .plan-tile-tabs ul li.active a:hover { background-color: #250e62 !important; color: #ffffff !important; border-radius: 4px; } .select-picker.float-label .bootstrap-select, .select-picker.float-label .dropdown-toggle{ background-color:#250e62 !important; border-color:#250e62 !important; border:none; } @media screen and (max-width: 1023px){ .tile-main-wrapper { padding: 0px 0px !important; } .plan-tile-carousel .jcarousel-control-prev,.plan-tile-carousel .jcarousel-control-next{ top:40%; } } @media screen and (max-width: 991px){ .plan-card-tile .recommended-plan{ margin-top:-20px; } } @media screen and (max-width: 767px){ .sel-plan-tile .bs-caret{ position: absolute; right: 10px; top: 20px; } .sel-plan-tile-cont .select-picker .bootstrap-select.btn-group .dropdown-toggle .filter-option{ padding-top:0px; margin-top:0px; } } `; $('head').append(''); $('.plan-tile-carousel .tile-wrapper.recommendedPlanCont').removeClass('recommendedPlanCont'); $('.sel-plan-tile .bs-caret').html('');}/* Component : Event Info Tiles */starlight.event_info_tiles = function(){ var css = ` .event-info-img .media-object{ width:auto; height:auto; } .event-info-img .img-circle.center{ border-radius:0px; } `; $('head').append(''); }/* Component : TV offer boxes and list bullets */starlight.tv_boxes_and_bullets = function(){ var css = ` *{ box-sizing: border-box; /* this will keep the padding in check and prevent it from pushing the boxes down */ } .clear20{ clear:both; height:20px; /* 20px clearance for floats */ } .main-container{ max-width:100%; width:600px; font-family:'Lato'; margin:auto; border:1px solid #cccccc; /* Just to draw an outline */ padding:30px; position:relative; } .accent-1{ width:100%; position:relative; /* So that the box title can be absolutely-positioned within it */ float:left; /* So that the other box can be next to it if there's enuff space */ padding:20px 10px 0px 10px; background:#ffffff; transition:width 0.2s; border:1px solid #685bc7; margin-top:25px; } .accent-1 > .title{ position:absolute; top:-15px; right:10px; text-transform:uppercase; background:#685bc7; color:#ffffff; padding:1px 8px; font-weight:normal; font-size:12px; } .accent-1 > p{ font-size:14px; color:#685bc7; line-height: 18px; font-weight:bold; } .accent-2{ width:100%; position:relative; /* So that the box title can be absolutely-positioned within it */ float:left; padding:20px 10px 0px 10px; background:#ffffff; margin-top:25px; transition:width 0.2s; border:1px solid #C800a1; } .accent-2 a{ color:#C800a1 !important; text-decoration:underline !important; } .accent-2 a:hover{ text-decoration:none !important; } .accent-2 > .title{ position:absolute; top:-15px; right:10px; text-transform:uppercase; background:#C800a1; color:#ffffff; padding:1px 8px; font-weight:normal; font-size:12px; } .accent-2 > p{ font-size:14px; color:#C800a1; line-height: 18px; font-weight:bold; } .accent-2.accent-3 { border: 1px solid #500878; } .accent-2.accent-3 .title { background: #500878; } .accent-2.accent-3 p { color: #500878; } .accent-2.accent-3 a { color: #500878!important; }.accent-2.accent-4 { border: 1px solid #e63888; } .accent-2.accent-4 .title { background: #e63888; } .accent-2.accent-4 p { color: #e63888; } .accent-2.accent-4 a { color: #e63888!important; } ul.no_bullet { list-style-type: none; font-size: 12px; line-height: 18px; padding: 0px; margin: 0px; } ul.no_bullet > li{ padding-left: 35px; padding-bottom: 10px; } li.portal { background: url(/content/dam/starhub/2021/personal/tvplus/passes/portal-bullet.png) no-repeat left top; } li.tvplusapp { background: url(/content/dam/starhub/2021/personal/tvplus/passes/tv-plus-app.png) no-repeat left top; } li.bbc { background: url('/content/dam/starhub/2023/personal/tvplus/passes/icon-bbc.jpg') no-repeat left top; } li.bein { background: url('/content/dam/starhub/2021/personal/tvplus/passes/bein-sports-connect-app.png') no-repeat left top; } li.prime { background: url('/content/dam/starhub/2021/personal/tvplus/passes/amazon-prime-video-app.png') no-repeat left top; }li.curiosity { background: url('/content/dam/starhub/2021/personal/tvplus/passes/curiosity-stream-app.png') no-repeat left top; } li.hotstar { background: url('/content/dam/starhub/2021/personal/tvplus/passes/hotstar-app.png') no-repeat left top; } li.viu { background: url('/content/dam/starhub/2021/personal/tvplus/passes/viu-app.png') no-repeat left top; } `; $('head').append(''); }/* End Starlight object */

${offer_headline}

`; return html; }, open : function(){ $('body').addClass('dota-unscroll'); $('.dota-mask').show(); $('.dota-container').addClass('dota-out'); $('.dota-label').addClass('dota-label-out'); }, close : function(auto_pop,campaign_name,close_days){ $('body').removeClass('dota-unscroll'); $('.dota-mask').hide(); $('.dota-container').removeClass('dota-out'); $('.dota-label').removeClass('dota-label-out'); if (auto_pop){ dota.base.dismiss(campaign_name,close_days); } }, play : function(config){ $('head').append(dota.base.css); var auto_pop = config && config.auto_pop ? config.auto_pop : dota.base.auto_pop; var auto_pop_after = config && config.auto_pop_after ? config.auto_pop_after : dota.base.auto_pop_after; var campaign_name = config && config.campaign_name ? config.campaign_name : dota.base.campaign_name; if (config){ $('body').prepend(dota.base.html(config)); }else{ $('body').prepend(dota.base.html()); } if (auto_pop && !dota.base.should_dismiss(campaign_name)){ setTimeout(function(){dota.base.open()},(auto_pop_after*1000)); } dota.base.resize(); dota.base.listen_resize(); dota.base.listen_scroll(); }, listen_scroll : function(){ $(window).scroll(function() { if ($(window).scrollTop() > 50){ $('.dota-label').removeClass('dota-label-hide'); $('.dota-label').addClass('dota-label-temp-out'); } }); }, listen_resize : function(){ $(window).resize(function(){ dota.base.resize(); }); }, resize : function(){ var h = $(window).height(); var w = $(window).width(); if (w > 432 || h < 768){ $('.dota-content img').css('height',(h-80)+'px'); }else{ $('.dota-content img').css('height','auto'); $('.dota-content img').css('width','100%'); } }};

  • Personal
  • SME
  • Enterprise
  • About Us

OK

',escKey: false,overlayClose: false,scrolling: false,onClosed: function () {$('#colorbox').removeClass('colorbox-iam');$('#cboxOverlay').css("zIndex", 9999);},onComplete: function() {_SH.Elements.$w.triggerHandler('resize');}}));}});} $(document).ready(function() { $('#hidden_login_frame').attr('src', '/content/starhub/en/dev/login/status.html?ts=' + (new Date()).getTime()); if (_SH.Cookies.has('cw_hubid')) { $('#remember_me').attr('checked', true).parent().addClass('checked'); $('#fake_uid').val(_SH.Cookies.get('cw_hubid')); } // Hide login button when accessing "personal/rewards" from MSA START var urlParams = new URLSearchParams(window.location.search) var sourceApp = urlParams.get('sourceApp'); if(sourceApp != null && sourceApp.toLowerCase() == 'msa') { if(typeof document.createStyleSheet === 'undefined') { document.createStyleSheet = (function() { function createStyleSheet(href) { if(typeof href !== 'undefined') { var element = document.createElement('link'); element.type = 'text/css'; element.rel = 'stylesheet'; element.href = href; } else { var element = document.createElement('style'); element.type = 'text/css'; } document.getElementsByTagName('head')[0].appendChild(element); var sheet = document.styleSheets[document.styleSheets.length - 1]; if(typeof sheet.addRule === 'undefined') sheet.addRule = addRule; if(typeof sheet.removeRule === 'undefined') sheet.removeRule = sheet.deleteRule; return sheet; } function addRule(selectorText, cssText, index) { if(typeof index === 'undefined') index = this.cssRules.length; this.insertRule(selectorText + ' {' + cssText + '}', index); } return createStyleSheet; })(); } var sheet = document.createStyleSheet(); sheet.addRule('.pre-login', 'display: none !important'); sheet.addRule('.msamsg', 'display: none !important'); } // Hide login button when accessing "personal/rewards" from MSA END_SH.Elements.$b = _SH.Elements.$d.find('body');_SH.Info.responsive = !_SH.Elements.$b.hasClass('no-responsive');if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {_SH.Elements.$b.addClass('safari');_SH.Info.browser = _SH.Constant.SAFARI;}if (navigator.userAgent.indexOf('MSIE') != -1) {_SH.Elements.$b.addClass('ie');_SH.Info.browser = _SH.Constant.IE;}$(window).on( "resize", function() {if (!_SH.Info.responsive) { // old browser that doesn't understand media query. viewport will be equal to wrapper width_SH.Info.viewport_width = _SH.Constant.WRAPPER_SIZE_BIG;_SH.Info.viewport_height = document.documentElement.clientHeight || document.body.clientHeight;return;}if (_SH.Elements.$b.hasClass('ie')) { // in IE10 we cannot trust innerWidth for our calculation as the value is multiplied by zoomLevel._SH.Info.viewport_width = document.documentElement.clientWidth || document.body.clientWidth;_SH.Info.viewport_height = document.documentElement.clientHeight || document.body.clientHeight;} else {_SH.Info.viewport_width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;_SH.Info.viewport_height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;}_SH.Info.colorbox = {//minHeight = $('#cboxLoadedContent').children().data('minHeight')}// var $cb = $('#colorbox') ,cb = $cb.get(0);if (typeof cb == 'undefined') {return;}if ($cb.hasClass('full') || $cb.hasClass('full-browser')) {} else {if (_SH.Info.viewport_width < _SH.Constant.BREAKPOINT_MOBILE) {_SH.ColorBox.maxWidth = 0.8 * _SH.Info.viewport_width;} else {if ($.colorbox.settings.desktopWidth) {_SH.ColorBox.maxWidth = $.colorbox.settings.desktopWidth;} else {_SH.ColorBox.maxWidth = '518';}}if( $cb.hasClass('full-max-height') ) {_SH.ColorBox.maxHeight = _SH.Info.viewport_height - 40 * 2;} else {_SH.ColorBox.maxHeight = 0.7 * _SH.Info.viewport_height;}if (cb.style.display == 'block') {if (this.timeout_id) {clearTimeout(this.timeout_id);this.timeout_id = null;}this.timeout_id = setTimeout(function() {$.colorbox.resize({width: _SH.ColorBox.maxWidth,height: '71%'});$('#cboxContent').css({ zoom: 1 });}, 200);}}}); }); //**************** FOR DS TEMPLATE *********************// // function isThereLoginMenu () { // if ($('.post-login').length != 0) { // return true; // } else { // return false; // } // } //**************** FOR DS TEMPLATE END *********************//function loadIframeIAM () { $("#iam-popup-login, #iam-popup-register").css("visibility", "visible"); } function getTransactionID(type, callback){ $.ajax({ url: "/content/starhub/en/dev/onlinestore/getESSOTransaction", type: "POST", data: { callbackUrl: "https://www.starhub.com/content/starhub/en/dev/login/auth.html?back64=aHR0cHM6Ly93d3cuc3Rhcmh1Yi5jb20vY29udGVudC9zdGFyaHViMS9lbi9wZXJzb25hbC9wcm9tb3Rpb25zLmh0bWw=&olsBack=true&back=", currentPageURL: "https://www.starhub.com/content/starhub1/en/personal/promotions.html" }, success: function (txnId) { if(txnId){ if(type=="login") { callback("https://login.starhubgee.com.sg/sso/HubidLogin?view=mobile&txnid=" + txnId); } else { callback("https://login.starhubgee.com.sg/sso/HubIdRegisterSelected?view=mobile&txnid=" + txnId); } } else { callback(); } }, error: function () { callback(); } }) } function setLoginStatus(user) { if (user.isLoggedIn) { console.log(user.isLoggedIn) $('.welcome-block').html('

Logged in as ' + user.hubId + '

'); $('.bullets-container').css('z-index', 1); $('.pre-login').hide(); $('.post-login').show(); if (_SH.Cookies.get('HUBIDTYPE') == 'HUBIDLITE') { $('#hubid').hide(); $('#hubidlite').show(); } else { $('#hubidlite').hide(); $('#hubid').show(); } } else { $('.post-login').hide(); $('.pre-login').show(); } $.event.trigger('userstatuscheck', user); }_SH.Constant = {EVENT_NAMESPACE: '.sh',BREAKPOINT_MOBILE: 767,BREAKPOINT_HEADER: 930,BREAKPOINT_TABLET: 1110,WRAPPER_SIZE_BIG: 940,WRAPPER_SIZE_MEDIUM: 750,BSIZE_SMALL: 1,BSIZE_MEDIUM: 2,BSIZE_BIG: 3,UNKNOWN: 0,IE: 1,SAFARI: 2};_SH.Info = {scroll_top: 0,scroll_left: 0,viewport_width: 0 // Viewport width does not work for IE8, always return 940,viewport_height: 0,browser_size: _SH.Constant.BSIZE_SMALL,browser: 0,responsive: false};_SH.ColorBox = {initialWidth: 440,height: 600,reposition: false,className: 'responsive',onLoad: function() {var $element = $.colorbox.element();},onOpen: function() {var $scope = $('#cboxLoadedContent'), $root = $scope.children();}};

  • Personal
  • SME
  • Enterprise
  • About Us

OK

',escKey: false,overlayClose: false,scrolling: false,onClosed: function () {$('#colorbox').removeClass('colorbox-iam');$('#cboxOverlay').css("zIndex", 9999);},onComplete: function() {_SH.Elements.$w.triggerHandler('resize');}}));}});} $(document).ready(function() { $('#hidden_login_frame').attr('src', '/content/starhub/en/dev/login/status.html?ts=' + (new Date()).getTime()); if (_SH.Cookies.has('cw_hubid')) { $('#remember_me').attr('checked', true).parent().addClass('checked'); $('#fake_uid').val(_SH.Cookies.get('cw_hubid')); } // Hide login button when accessing "personal/rewards" from MSA START var urlParams = new URLSearchParams(window.location.search) var sourceApp = urlParams.get('sourceApp'); if(sourceApp != null && sourceApp.toLowerCase() == 'msa') { if(typeof document.createStyleSheet === 'undefined') { document.createStyleSheet = (function() { function createStyleSheet(href) { if(typeof href !== 'undefined') { var element = document.createElement('link'); element.type = 'text/css'; element.rel = 'stylesheet'; element.href = href; } else { var element = document.createElement('style'); element.type = 'text/css'; } document.getElementsByTagName('head')[0].appendChild(element); var sheet = document.styleSheets[document.styleSheets.length - 1]; if(typeof sheet.addRule === 'undefined') sheet.addRule = addRule; if(typeof sheet.removeRule === 'undefined') sheet.removeRule = sheet.deleteRule; return sheet; } function addRule(selectorText, cssText, index) { if(typeof index === 'undefined') index = this.cssRules.length; this.insertRule(selectorText + ' {' + cssText + '}', index); } return createStyleSheet; })(); } var sheet = document.createStyleSheet(); sheet.addRule('.pre-login', 'display: none !important'); sheet.addRule('.msamsg', 'display: none !important'); } // Hide login button when accessing "personal/rewards" from MSA END_SH.Elements.$b = _SH.Elements.$d.find('body');_SH.Info.responsive = !_SH.Elements.$b.hasClass('no-responsive');if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {_SH.Elements.$b.addClass('safari');_SH.Info.browser = _SH.Constant.SAFARI;}if (navigator.userAgent.indexOf('MSIE') != -1) {_SH.Elements.$b.addClass('ie');_SH.Info.browser = _SH.Constant.IE;}$(window).on( "resize", function() {if (!_SH.Info.responsive) { // old browser that doesn't understand media query. viewport will be equal to wrapper width_SH.Info.viewport_width = _SH.Constant.WRAPPER_SIZE_BIG;_SH.Info.viewport_height = document.documentElement.clientHeight || document.body.clientHeight;return;}if (_SH.Elements.$b.hasClass('ie')) { // in IE10 we cannot trust innerWidth for our calculation as the value is multiplied by zoomLevel._SH.Info.viewport_width = document.documentElement.clientWidth || document.body.clientWidth;_SH.Info.viewport_height = document.documentElement.clientHeight || document.body.clientHeight;} else {_SH.Info.viewport_width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;_SH.Info.viewport_height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;}_SH.Info.colorbox = {//minHeight = $('#cboxLoadedContent').children().data('minHeight')}// var $cb = $('#colorbox') ,cb = $cb.get(0);if (typeof cb == 'undefined') {return;}if ($cb.hasClass('full') || $cb.hasClass('full-browser')) {} else {if (_SH.Info.viewport_width < _SH.Constant.BREAKPOINT_MOBILE) {_SH.ColorBox.maxWidth = 0.8 * _SH.Info.viewport_width;} else {if ($.colorbox.settings.desktopWidth) {_SH.ColorBox.maxWidth = $.colorbox.settings.desktopWidth;} else {_SH.ColorBox.maxWidth = '518';}}if( $cb.hasClass('full-max-height') ) {_SH.ColorBox.maxHeight = _SH.Info.viewport_height - 40 * 2;} else {_SH.ColorBox.maxHeight = 0.7 * _SH.Info.viewport_height;}if (cb.style.display == 'block') {if (this.timeout_id) {clearTimeout(this.timeout_id);this.timeout_id = null;}this.timeout_id = setTimeout(function() {$.colorbox.resize({width: _SH.ColorBox.maxWidth,height: '71%'});$('#cboxContent').css({ zoom: 1 });}, 200);}}}); }); //**************** FOR DS TEMPLATE *********************// // function isThereLoginMenu () { // if ($('.post-login').length != 0) { // return true; // } else { // return false; // } // } //**************** FOR DS TEMPLATE END *********************//function loadIframeIAM () { $("#iam-popup-login, #iam-popup-register").css("visibility", "visible"); } function getTransactionID(type, callback){ $.ajax({ url: "/content/starhub/en/dev/onlinestore/getESSOTransaction", type: "POST", data: { callbackUrl: "https://www.starhub.com/content/starhub/en/dev/login/auth.html?back64=aHR0cHM6Ly93d3cuc3Rhcmh1Yi5jb20vY29udGVudC9zdGFyaHViMS9lbi9wZXJzb25hbC9wcm9tb3Rpb25zLmh0bWw=&olsBack=true&back=", currentPageURL: "https://www.starhub.com/content/starhub1/en/personal/promotions.html" }, success: function (txnId) { if(txnId){ if(type=="login") { callback("https://login.starhubgee.com.sg/sso/HubidLogin?view=mobile&txnid=" + txnId); } else { callback("https://login.starhubgee.com.sg/sso/HubIdRegisterSelected?view=mobile&txnid=" + txnId); } } else { callback(); } }, error: function () { callback(); } }) } function setLoginStatus(user) { if (user.isLoggedIn) { console.log(user.isLoggedIn) $('.welcome-block').html('

Logged in as ' + user.hubId + '

'); $('.bullets-container').css('z-index', 1); $('.pre-login').hide(); $('.post-login').show(); if (_SH.Cookies.get('HUBIDTYPE') == 'HUBIDLITE') { $('#hubid').hide(); $('#hubidlite').show(); } else { $('#hubidlite').hide(); $('#hubid').show(); } } else { $('.post-login').hide(); $('.pre-login').show(); } $.event.trigger('userstatuscheck', user); }_SH.Constant = {EVENT_NAMESPACE: '.sh',BREAKPOINT_MOBILE: 767,BREAKPOINT_HEADER: 930,BREAKPOINT_TABLET: 1110,WRAPPER_SIZE_BIG: 940,WRAPPER_SIZE_MEDIUM: 750,BSIZE_SMALL: 1,BSIZE_MEDIUM: 2,BSIZE_BIG: 3,UNKNOWN: 0,IE: 1,SAFARI: 2};_SH.Info = {scroll_top: 0,scroll_left: 0,viewport_width: 0 // Viewport width does not work for IE8, always return 940,viewport_height: 0,browser_size: _SH.Constant.BSIZE_SMALL,browser: 0,responsive: false};_SH.ColorBox = {initialWidth: 440,height: 600,reposition: false,className: 'responsive',onLoad: function() {var $element = $.colorbox.element();},onOpen: function() {var $scope = $('#cboxLoadedContent'), $root = $scope.children();}};

Promotions and Deals | StarHub Singapore (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5925

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.