Te Kete Ipurangi Navigation:

Te Kete Ipurangi
Communities
Schools

Te Kete Ipurangi user options:


New Zealand Curriculum Online navigation

Home
function openedMenus( cookieName ) { var cookie = $.cookie( cookieName ); var items = cookie ? cookie.split(/,/) : new Array(); return { "add": function( val ) { items.push(val); $.cookie(cookieName, items.join(','), {path: '/'}); }, "has": function( val ) { for ( var i = 0; i < items.length; i++ ) { if ( items[i] == val ) { return true; } } }, "remove": function( val ) { var new_array = new Array(); for ( var i = 0; i < items.length; i++ ) { if ( items[i] != val ) { new_array.push( items[i] ); } } items = new_array; $.cookie(cookieName, items.join(','), {path: '/'}); }, "clear": function() { items = null; $.cookie(cookieName, null, {path: '/'}); }, "items": function() { return items; } } } function createMenu( menu ) { var class_open = 'open'; var class_current_open = 'current-open'; var class_current = 'current'; var class_has_children = 'children'; var opened = openedMenus( "openedmenu" ); var ul = $(document.createElement('ul')); $.each( menu, function( index, value ) { if ( value === null || value === undefined ) return; var open = false; var span = $(document.createElement('span')).addClass('button'); var anchor = $(document.createElement('a')).text( value.title ).attr( 'href', value.url ); var containerspan = $(document.createElement('span')).addClass('container').attr('id', 'node'+value.id).append(span).append(anchor); var li = $(document.createElement('li')).append( containerspan ); if ( value.id == 2 && value.title == 'Home' ) li.addClass('home'); if ( value.id == 0 || value.id == 00 || value.id == 000 ) li.addClass('subsite'); if ( value.is_current == true ) containerspan.addClass( class_current ); if ( value.children != false ) { if ( value.is_open == true || opened.has( value.id ) ) { if (containerspan.hasClass( class_current )) { containerspan.addClass( class_current_open ); } else { containerspan.addClass( class_open ); } open = true; } var child = createMenu( value.children ); span.addClass( class_has_children ); span.click( function() { if ( open ) { if (containerspan.hasClass( class_current )) { containerspan.removeClass( class_current_open ); } else { containerspan.removeClass( class_open ); } child.slideUp('fast'); opened.remove( value.id ); } else { if (containerspan.hasClass( class_current )) { containerspan.addClass( class_current_open ); } else { containerspan.addClass( class_open ); } child.slideDown('fast'); opened.add( value.id ); } //child.toggle( ! open ); //child.slideToggle('fast'); open = !open; } ) if ( ! open ) child.hide(); li.append( child ); } ul.append( li ); } ); return ul; } var menu = getObjects(); m = createMenu( menu ); m.addClass('nav jsnav match'); $('#menulist').replaceWith( m ); $("#node2").addClass('open current current-open').next().toggle(); $("#node2533").addClass('open current current-open').next().toggle(); $("#node22202").addClass('open current current-open').next().toggle(); $("span.container").each(function(index) { if($(this).hasClass('open')){ $(this).parent().find('ul:first').slideDown('fast'); } }); -->
  • Home >
  • News >
  • Aotearoa New Zealand’s histories curriculum content

RSS

News archive

Aotearoa New Zealand’s histories curriculum content

09/10/20

The Ministry of Education is partnering with a wide range of people to design Aotearoa New Zealand’s histories curriculum content. See education.govt.nz for more information.

As part of the support for the curriculum, Social Sciences Online has a refreshed design and an Aotearoa New Zealand’s histories resources guide, where you can discover some of the inspiring resources already available. Keep an eye on Social Sciences Online for more information and resources.

Tags:

Footer: