Sport uitslae – Sports – Namibian Sun

Die top drie per kategorie was soos volg:

SEUNS ONDER 6

1 Hendré Badenhorst (Windhoek Affies)

2 Markus Pack (Kammis Kinderwelt)

3 Karl Jooste (Windhoek Gim)

MEISIES ONDER 6

1 Naita Mukete (WCA)

2 Milan Schutte (Windhoek Gim)

SEUNS ONDER 8

1 Ivor Chase (St. Georges)

2 Cody Heigan (Windhoek Gim)

3 Tristan van den Heuvel (St. Pauls)

MEISIES ONDER 8

1 Mienke de Beer (Windhoek Affies)

2 Kiana Brand (Pikkie Paradys)

3 Skylar Swanepoel (DHPS)

SEUNS ONDER 10

1 Micah Chase (St. Georges)

2 Christo Nell (Windhoek Gim)

3 Luke Coomer (St. Pauls)

MEISIES ONDER 10

1 Qara Volschenk (St. Pauls)

2 Lillian Kibble (Fowler House)

3 Danika de Beer (Windhoek Affies)

SEUNS ONDER 12

1 Julius Braun (DHPS)

2 Henry Chamberlain (St. Pauls)

3 Mike Baartman (Windhoek Gim

MEISIES ONDER 12

1 Anne Cramer (DHPS)

2 Xane Meyer (Windhoek Gim)

3 Nicole Surén (Windhoek Gim)

SEUNS ONDER 14

1 Roger Surén (Windhoek Gim)

2 Nathan Chase (St. Georges)

3 Marco Thiel (DHPS)

MEISIES ONDER 14

1 Delsia Janse van Vuuren (Windhoek Gim)

2 Kylie Dickerson (Windhoek Gim)

3 Rose-Marie Thiel (DHPS)

SEUNS ONDER 16

1 Daniel Hahn (St. Paul’s College)

2 Kevin Lowe (DHPS)

3 Adrian Key (DSW)

MEISIES ONDER 16

1 Ada Kahl (Windhoek Affies)

2 Lotte Beulker (DHPS)

3 Laura Engling (DHPS)

SEUNS ONDER 18

1 Bergran Jensen (Windhoek Gim)

2 Ethan L’Estrange (St. Georges College)

3 Anton Engling (DHPS)

MEISIES ONDER 18

1 Monique du Plessis (Tucsin)

'); });

} function submit_poll(id){

var frm = $('#form_poll_'+id), btn = $('#form_poll_btn_'+id);

if (!$("input[name="answers"]:checked").val()) {

frm.attr('rel', 'tooltip').attr('title', 'Please select an answer'); frm.tooltip('show'); }else { frm.tooltip('destroy'); btn.val('Submitting...'); $.ajax({ type: "POST", url: "https://www.namibiansun.com/survey/submit_poll/", data: frm.serialize(), success: function(data) { var res = JSON.parse(data); frm.attr('rel', 'tooltip').attr('title', res.msg); frm.tooltip('show'); btn.val('Thank You').addClass('disable').attr('onclick', 'return false;'); $.each(res.percent, function (key, data) {

var elem = $('#poll_q_'+key), perc = Math.round(data); elem.attr('rel', perc); elem.find('div').animate({ width: perc+'%' }, 500); elem.find('span').html(perc+'%'); });

} });

}

return false;

}

function swipeHeight(){ $('.swipe').each(function(){ var thisFlickity = $(this); var swipeHeight = $(this).find('.swipe-item').height(); thisFlickity.find('.flickity-viewport').height(swipeHeight); }); }

function heightCalculate(){ var windowWidth = $(window).width(); if(windowWidth >= 800) { $('.overflower').each(function(){ var overflowMain = $(this).find('.overflow-main').height(); var overflowAdjust = $(this).find('.tab-overflow'); overflowAdjust.height(overflowMain);

});

}

} function goinit(){

$('[data-toggle="tooltip"]').tooltip(); function menuCalculate(){ var windowWidth = $('body').css('width').replace(/[^-d.]/g, ''); //var windowHeight = $('body').css('height').replace(/[^-d.]/g, ''); var menuWidth = $('#menu').css('width').replace(/[^-d.]/g, ''); var totalWidth = parseInt(windowWidth, 10) - parseInt(menuWidth, 10); var headerHeight = $('#header').css('height').replace(/[^-d.]/g, ''); var mobile = $('#mobile'); //var h2 = (windowHeight - 102);

if (mobile.hasClass('is-open')) { if (windowWidth <= 800) { $('#main,#header').stop().animate({'width':windowWidth,'margin-left':menuWidth},0); }else{ $('#main,#header').stop().animate({'width':totalWidth,'margin-left':menuWidth},0); } $('#main').stop().animate({'padding-top':headerHeight},0); $('#menu').stop().animate({'margin-left':'0px'},0); $('#mobile i').removeClass('fa-angle-double-right').addClass('fa-angle-double-left'); }else{ $('#main,#header').stop().animate({'width':windowWidth,'margin-left':'0px'},0); $('#main').stop().animate({'padding-top':headerHeight},0); $('#menu').stop().animate({'margin-left':-menuWidth},0); $('#mobile i').removeClass('fa-angle-double-left').addClass('fa-angle-double-right'); } } function mediaQuerry(){ var windowWidth = $(window).width(); if (windowWidth <= 801) { // FOR MOBILE $('#mobile').removeClass('is-open'); menuCalculate(); swipeHeight(); //heightCalculate(); }else{ // FOR DESKTOP //console.log(get_local('menu_open', true)); if(get_local('menu_open')){ $('#mobile').removeClass('is-open'); }else{ $('#mobile').addClass('is-open'); } menuCalculate(); swipeHeight(); heightCalculate(); } // grab an element var myElement = document.getElementById("header"); // construct an instance of Headroom, passing the element var headroom = new Headroom(myElement, { "offset": 10, "tolerance": 20, "classes": { "initial": "animated", "pinned": "slideDown", "unpinned": "slideUp" } }); // initialise headroom.init(); } $('#mobile').unbind('click').bind('click', function() { if ($(this).hasClass('is-open')) { $(this).removeClass('is-open'); menuCalculate(); save_local('menu_open', true); }else{ $(this).addClass('is-open'); menuCalculate(); save_local('menu_open', false); } }); $( window ).resize(function() { mediaQuerry(); }); mediaQuerry(); //FANCY BOX $(".linker").fancybox({margin: 20, padding: 5}); $("a.media").fancybox({margin: 20, padding: 0, helpers : { title: { type: 'outside' } }}); //FANCY BOX $(".fancy-images").fancybox({margin: 20, padding: 5}); $(".fancy-media").fancybox({margin: 20, padding: 0, type: 'iframe', iframe: {preload: false}}); $(".fancy-print").fancybox({width:150, height: 150, margin: 20, padding: 0, type: 'iframe', iframe: {preload: false}}); $('.inview').bind('inview', function (event, visible) { var type = $(this).data('type'); var tt = $(this).data('display'); if (visible == true) { if(tt == 0){ }else{ if(type == 'products'){ start_products(); } if(type == 'normal' || type == 'fotos' || type == 'menings' || type =='social'){ var link = $(this).data('link'), targ = $(this).data('target'); load_content(link, targ, type); } //console.log(type); $(this).data('display', 0); } } else { // element has gone out of viewport } }); } function save_local(type, str){ if (typeof(Storage) !== "undefined") { // Code for localStorage/sessionStorage. sessionStorage[type] = str; return true; } else { // Sorry! No Web Storage support.. return false; } } function get_local(type){ if (typeof(Storage) !== "undefined") { // Code for localStorage/sessionStorage. if (sessionStorage[type] === 'true') { return true; }else{ return false; } } else { // Sorry! No Web Storage support.. return false; } } function load_content_ads(){ if($('#post_content').html()){ var str = $('#post_content'); var str1 = str.html().split('
'); var height = str.height(); str.empty(); }else{ var str=""; var str1 = []; var height = 0; }

var gallery = $('#gallery').length;

var go = false, go2 = false,go1 = false; var has_id = 0; var keygo = false, keygo2 = false,keygo1 = false; var has_key_id = 0; var fail = false; var $stop = true; console.log("height: "+height); console.log("Advert Count: "+adverts.length); console.log("Category: "+category);

console.log(keywords); console.log("Gallery length "+gallery); var keywordsA = keywords;

//MATCH KEYWORD for( var xx = 0, len = adverts.length; xx < len; xx++ ) { if(adverts[xx].keywords != null){ var keyA = adverts[xx].keywords.split(","); for( var kk = 0, lenA = keyA.length; kk < lenA; kk++ ){ //console.log('key test: '+keyA[kk]); //if( keywordsA.indexOf(keyA[kk]) != -1) { if ($.inArray(keyA[kk], keywordsA) != -1) { result = adverts[xx]; has_key_id = xx; keygo = true; console.log('yes Keyword match: id: '+result.id+" "+keyA[kk]); }else{ keygo1 = true; //console.log('NO keyword match'); } } } } //MATCH CATEGORY for( var xxx = 0, len = adverts.length; xxx < len; xxx++ ) { if( adverts[xxx].category === category ) { result = adverts[xxx]; has_id = xxx; go = true; console.log('yes category match: id: '+result.id+" "+result.category); }else{ go1 = true; //console.log('NO category match'); } } for (var i=0;i 0){ str.append("

"+str1[i] + "

"); h_top = $('#para_'+i).position().top;

//NO CAT AND KEYWORD MATCH if(has_id == 0 && has_key_id == 0){

//NO MATCH if((h_top > 500 || gallery == 0) && go2 === true){ var result = adverts[0]; str.append(result.body.replace("