PageSourceSearch

https://www.cellc.co.za/cellc/js/core.min.js

js cellc.co.za collected 2026-09-24 09:47:13 UTC 6,689 bytes, 6 lines download raw bytes

1$(function(window,document,undefined){var $window=$(window),windowWidth=$window.width(),supportSplitContainer=$('.support-split-container'),$sideBarNavList=$('.sidebar-nav-list-wrapper'),$supportContent=$('.support-content');function equalSupportColumns(){var $elA=$sideBarNavList,$elB=$supportContent,elAHeight=$elA.height(),elBHeight=$elB.height();if(windowWidth>767){if(elAHeight>elBHeight){var heightOffset=elAHeight-elBHeight;$elB.css({'margin-bottom':heightOffset});}}}function checkForMobiSize(){var windowWidth=$window.width();if(windowWidth<590){$('.not-mobi-overlay').addClass('show');}else{$('.not-mobi-overlay').removeClass('show');}}$window.on('resize',function(){equalSupportColumns();checkForMobiSize();});$('.edit-btn').click(function(){var $emailfield=$(this).closest(":has(a)").find('#edit-email'),$div=$(this).closest(":has(span)").find('span'),isEditable=$div.is('.editable');if($(this).text()==="Add"||$(this).text()==="Edit"){$(this).text("Save");}$div.prop('contenteditable',!isEditable).toggleClass('editable');event.preventDefault();});$('.notification-popup .close').click(function(){$('.notification-popup').hide();});if(supportSplitContainer.length){equalSupportColumns();}checkForMobiSize();$(window).on('load', function(){if(window.location.pathname==='/support/contact-us/'){$(window).scrollTop(0);}});$('#tab-header li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#email-address-content'){setTimeout(function(){$('#email-address').focus();},100);$('ul.nav-list p.reg-sidenav-cont').text("REGISTER AND TRACK YOUR ORDERS AND DELIVERIES ONLINE. BUY AIRTIME AND ALLOCATE CELL C AIRTIME TO ANY CELL C NUMBER YOU CHOOSE.");}else if(hrf==='#cellcnumber-content'){setTimeout(function(){$('#cellC-number').focus();},100);$('ul.nav-list p.reg-sidenav-cont').text("REGISTER AND MANAGE YOUR CELL C ACCOUNT ONLINE. VIEW YOUR BALANCES AND ACCOUNT HISTORY, EDIT PERSONAL AND BILLING INFORMATION, MANAGE YOUR PHONEBOOK, CHECK YOUR UPGRADE DATE AND RECHARGE ONLINE. TRACK YOUR ONLINE ORDERS AND DELIVERIES TOO.")}});$('#tab-header-support li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#networkEnquiry')setTimeout(function(){$('#networkname').focus();},100);else if(hrf==='#generalEnquiry')setTimeout(function(){$('#generalname').focus();},100);});$('#tab-header-forgotpassword li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#cellcnumber-content')setTimeout(function(){$('#cellC-number').focus();},100);else if(hrf==='#email-address-content')setTimeout(function(){$('#email-address').focus();},100);});$('#tab-header-airtime li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#airtime')setTimeout(function(){$('#airtimeno').focus();},100);else if(hrf==='#databundles')setTimeout(function(){$('#databundlesnumber').focus();},100);else if(hrf==='#smsbundles')setTimeout(function(){$('#smsbundlesnumber').focus();},100);});$('#tab-header-phonebook li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#phonebook')setTimeout(function(){$('#exampleInputNumber').focus();},100);else if(hrf==='#sms-tab;#sms')setTimeout(function(){$('#phoneNumber').focus();},100);else if(hrf==='#call-back')setTimeout(function(){$('#phoneNumber.callback_phonebook').focus();},100);else if(hrf==='#message-history')setTimeout(function(){$('#exampleSearch').focus();},100);});$('#phonebook-details-single li').click(function(){var hrf=$(this).find('a').attr('href');if(hrf==='#phonebook')setTimeout(function(){$('#exampleInputNumber').focus();},100);else if(hrf==='#sms')setTimeout(function(){$('#fld-message').focus();},100);else if(hrf==='#call-back')setTimeout(function(){$('#call-back-send').focus();},100);else if(hrf==='#message-history')setTimeout(function(){$('#exampleSearch').focus();},100);});$('.placeHolSelect').each(function(){if($(this).find('option:selected').index()==0){$(this).css('color','#999');}else{$(this).css('color','#0a0b0d');}})
2$('body').on('change','.placeHolSelect',function(){if($(this).find('option:selected').index()==0){$(this).css('color','#999');}else{$(this).css('color','#0a0b0d');}})
3$('#email-address-content #idType').on('change',function(){$('#email-address-content #id-number').val("");if($(this).find("option:selected").val()=="RSA ID"){$('#email-address-content #id-number').attr("maxlength",'13');}else{$('#email-address-content #id-number').attr("maxlength",'10');}})
4$('#payment-method-content #idType').on('change',function(){$('#payment-method-content #id-number').val("");if($(this).find("option:selected").val()=="RSA"){$('#payment-method-content #id-number').attr("maxlength",'13');}else{$('#payment-method-content #id-number').attr("maxlength",'10');}})
5$('body').on('keyup','input, textarea',function(event){if($(this).hasClass('errorNotSib')){if(!$(this).parent().siblings('span.ngErrorCon').hasClass('ng-hide')){$(this).parent().siblings('span.ngErrorCon').addClass('ng-hide');$(this).parent().siblings('span.ngErrorCon').removeClass('has-error-block');}}else if($(this).next('span').children('p').length>0||$(this).next('span').children('span').length>0){if(!$(this).next('span').hasClass('ng-hide')){$(this).next('span').addClass('ng-hide');$(this).next('span').removeClass('has-error-block');}}});$('body').on('blur','input, textarea',function(event){var $this=$(this);setTimeout(function(){if($this.hasClass('errorNotSib')){if($this.parent().siblings('span.ngErrorCon').hasClass('ng-hide')){$this.parent().siblings('span.ngErrorCon').removeClass('ng-hide');$this.parent().siblings('span.ngErrorCon').addClass('has-error-block');}}else if($this.next('span').children('p').length>0||$this.next('span').children('span').length>0){if($this.next('span').hasClass('ng-hide')){$this.next('span').removeClass('ng-hide');$this.next('span').addClass('has-error-block');}}},200);});$('.site-breadcrumb .navigation').children('span').each(function(){var $this=$(this);setTimeout(function(){if(!$this.hasClass('divider')){if($this.children('a').length>0){if($this.text()!=null&&$this.text()!='')$this.children('a').text($this.children('a').text().toLowerCase());}else{if($this.text()!=null&&$this.text()!='')$this.text($this.text().toLowerCase());}}},100);})
6setTimeout(function(){var breadcrbParentCon=$('.site-breadcrumb').find('span.current-page').text();if(breadcrbParentCon.indexOf("CONTACT US")>-1){$("ul.nav-list li:eq(0)").addClass("active");}},100);
6setTimeout(function(){$('.site-breadcrumb .navigation').find('a').each(function(){if($(this).attr('href')==" "||$(this).attr('href')==null||$(this).attr('href')==undefined||$(this).attr('href')=="#"){$(this).addClass('breadNotLink');}});},100);$('.share').hide();}(window,document));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.