Iwata Asks
” + title + “”; var _link_split = link.split(“/”); var _link2 = _link_split[3] + “/” + _link_split[4] +”/”+ _link_split[5] +”/”+ _link_split[6]; navHtml += “

  • ” + title + “”; }); }); }); $(“#wii-submenu ul”).append(navHtml); /* ——————————————————– */ navHtml = “”; $(xml).find(“wiiu”).each(function (i) { $(this).find(“en”).each(function(){ $(this).find(“volume”).each(function (vi) { var title = $(this).find(“title”).text(); var link = $(this).find(“link”).text(); if(link==window.location.pathname+window.location.hash) { var _languages = $(this).find(“languages”).text(); dlang_select(_languages); } var _link_split = link.split(“/”); var _link2 = _link_split[3] + “/” + _link_split[4] +”/”+ _link_split[5] +”/”+ _link_split[6]; if(_link_split[1]==”nintendo-e3-network” || _link_split[1]==”creators.html”) { navHtml += “
  • ” + title + “”; } else { navHtml += “
  • ” + title + “”; } }); }); }); $(“#wiiu-submenu ul”).append(navHtml); /* ——————————————————– */ navHtml = “”; $(xml).find(“n3ds”).each(function (i) { $(this).find(“en”).each(function(){ $(this).find(“volume”).each(function (vi) { var title = $(this).find(“title”).text(); var link = $(this).find(“link”).text(); if(link==window.location.pathname+window.location.hash) { var _languages = $(this).find(“languages”).text(); dlang_select(_languages); } var _link_split = link.split(“/”); var _link2 = _link_split[3] + “/” + _link_split[4] +”/”+ _link_split[5] +”/”+ _link_split[6]; if(_link_split[1]==”nintendo-e3-network” || _link_split[1]==”creators.html”) { navHtml += “
  • ” + title + “”; } else { navHtml += “
  • ” + title + “”; } }); }); }); $(“#n3ds-submenu ul”).append(navHtml); /* —————————————————————- */ navHtml = “”; $(xml).find(“ds”).each(function (i) { $(this).find(“en”).each(function(){ $(this).find(“volume”).each(function (vi) { var title = $(this).find(“title”).text(); var link = $(this).find(“link”).text(); if(link==window.location.pathname+window.location.hash) { var _languages = $(this).find(“languages”).text(); dlang_select(_languages); } var _link_split = link.split(“/”); var _link2 = _link_split[3] + “/” + _link_split[4] +”/”+ _link_split[5] +”/”+ _link_split[6]; if(link==”http://dragonquest.nintendo.com/#/iwata/”) navHtml += “
  • ” + title + “”; else navHtml += “
  • ” + title + “”; }); }); }); $(“#ds-submenu ul”).append(navHtml); /* Other—————————————————————- */ navHtml = “”; $(xml).find(“other”).each(function (i) { $(this).find(“en”).each(function (vi) { $(this).find(“volume”).each(function (vi) { var title = $(this).find(“title”).text(); var link = $(this).find(“link”).text(); if(link==window.location.pathname+window.location.hash) { var _languages = $(this).find(“languages”).text(); dlang_select(_languages); } var _link_split = link.split(“/”); var _link2 = _link_split[3] + “/” + _link_split[4] +”/”+ _link_split[5] +”/”+ _link_split[6]; navHtml += “
  • ” + title + “”; }); }); }); $(“#other-submenu ul”).append(navHtml); } function navError(xml) { window.location = “/”; //$(“#ajax-loader”).html(“Error loading xml file.”); } ]]>
  • Source

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes:

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>