MediaWiki:Common.js: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
// show 13r1 flowchart on overview
window.onload = function v13r1_overview() {
if (window.location.href.includes('13r1:Overview')) {
  // create structure
  var div = document.getElementById('v13r1_overview');
  var img = document.createElement('img');
  div.appendChild(img);
  img.setAttribute('id', 'v13r1_overview_image');
  img.setAttribute('usemap', '#v13_map');
  // add current picture
  img.setAttribute('src', 'http://wiki.innovaphone.com/img_auth.php/0/0e/13r1_guide.jpg');
}
}
if (window.location.href.includes('13r1:Overview')) {
// add current image maps
  var maps = '<map id="v13_map" name="v13_map"><area shape="rect" alt="" title="" coords="126,158,210,200" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Howto_V13_Installation_Scenarios" target="_self" /><area shape="rect" alt="" title="" coords="275,158,358,199" href="https://www.innovaphone.com/content/downloads/innovaphone_Licensing_guidelines_V13r1_EN.pdf" target="_blank" /><area shape="rect" alt="" title="" coords="434,158,518,199" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:V13_-_Overview#faq" target="_self" /><area shape="rect" alt="" title="" coords="26,216,109,258" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Install" target="_self" /><area shape="rect" alt="" title="" coords="47,276,129,317" href="/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="" title="" coords="47,335,130,376" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Firmware_Upgrade_V12r2_V13r1" target="_self" /><area shape="rect" alt="" title="" coords="248,276,330,317" href="https://github.com/innovaphone/13r1-SDK" target="_blank" /><area shape="rect" alt="" title="" coords="247,336,330,375" href="http://class.innovaphone.com/moodle2/mod/forum/view.php?id=127446" target="_blank" /><area shape="rect" alt="" title="" coords="328,217,410,259" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Platform" target="_self" /><area shape="rect" alt="" title="" coords="529,218,610,259" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Apps" target="_self" /><area shape="rect" alt="" title="" coords="729,217,811,257" href="http://wiki.innovaphone.com/index.php?title=Support:What_are_the_Roadmap_Documents%3F" target="_self" /><area shape="rect" alt="" title="" coords="829,216,911,257" href="https://www.innovaphone.com/en/partner/training.html" target="_blank" /><area shape="rect" alt="" title="" coords="449,276,530,316" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_myApps" target="_self" /><area shape="rect" alt="" title="" coords="549,276,632,318" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_PhoneApp" target="_self" /><area shape="rect" alt="" title="" coords="549,334,630,375" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_SoftphoneApp" target="_self" /><area shape="rect" alt="" title="" coords="549,394,632,435" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Service_Devices" target="_self" /><area shape="rect" alt="" title="" coords="549,452,632,494" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Contacts" target="_self" /><area shape="rect" alt="" title="" coords="549,512,631,554" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Chat" target="_self" /><area shape="rect" alt="" title="" coords="549,571,631,611" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=Concept+App&namespace=148" target="_self" /><area shape="rect" alt="" title="" coords="649,276,731,317" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Offline_Provisioning" target="_self" /><area shape="rect" alt="" title="" coords="650,335,731,376" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Provisioning" target="_self" /><area shape="rect" alt="" title="" coords="750,275,833,317" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_Firmware_13r1" target="_self" /><area shape="rect" alt="" title="" coords="750,334,833,377" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_SDK_13r1" target="_self" /><area shape="rect" alt="" title="" coords="850,276,933,317" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="" title="" coords="850,334,932,376" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Advanced&namespace=150" target="_self" /><!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) --></map>';
  //write it
  document.write(maps);
}

Latest revision as of 13:27, 26 September 2023

/* Any JavaScript here will be loaded for all users on every page load. */