Journalists in the making – Education

Journalists in the making - Education

The project head of My Zone, Octavia Tsibes, along with the coastal school coordinators engaged various schools in Walvis Bay and Swakopmund on the wonderful world of My Zone.

Tsibes explained how learners can play an active role by telling their stories.

“I am really glad I engaged with the various schools as it was extremely fruitful. This is a great group of aspiring learners and I can’t wait to see what they do next.”

Schools engaged included Namib High School, Westside High School, Swakopmund Secondary School, Coastal High School, De Duine Secondary School, Kuisebmond Secondary School, Duinesig High School, International School of Walvis Bay and Karibib Private School.

Photo: Leandrea Louw

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("