MediaWiki:Common.js: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
if (window.location.href.includes('13r1:Overview')) {
if (window.location.href.includes('13r1:Overview')) {
// add current image maps
// add current image maps
   var maps = '<map id="v13_map" name="v13_map"><area shape="rect" alt="Usecases" title="" coords="129,158,229,206" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Installation_Scenarios" target="_self" /><area shape="rect" alt="License Guide" title="" coords="879,299,979,348" href="https://www.innovaphone.com/content/downloads/innovaphone_Licensing_guidelines_V13r1_EN.pdf" target="_blank" /><area shape="rect" alt="FAQ" title="" coords="250,157,349,205" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Overview#faq" target="_self" /><area shape="rect" alt="OnPremise Installation" title="" coords="8,228,107,279" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Install" target="_self" /><area shape="rect" alt="Greenfield - IT Connect" title="" coords="33,300,133,348" href="/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="Upgrade" title="" coords="33,370,132,419" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Firmware_Upgrade_V12r2_V13r1" target="_self" /><area shape="rect" alt="SDK" title="" coords="274,298,373,348" href="https://github.com/innovaphone/13r1-SDK" target="_blank" /><area shape="rect" alt="Forum" title="" coords="274,370,374,419" href="http://class.innovaphone.com/moodle2/mod/forum/view.php?id=127446" target="_blank" /><area shape="rect" alt="AppPlatform" title="" coords="372,229,470,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Platform" target="_self" /><area shape="rect" alt="Apps" title="" coords="613,228,712,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Apps" target="_self" /><area shape="rect" alt="Roadmaps" title="" coords="976,229,1074,276" href="http://wiki.innovaphone.com/index.php?title=Support:What_are_the_Roadmap_Documents%3F" target="_self" /><area shape="rect" alt="Training" title="" coords="1096,227,1196,276" href="https://www.innovaphone.com/en/partner/training.html" target="_blank" /><area shape="rect" alt="MyApps" title="" coords="493,229,591,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_myApps" target="_self" /><area shape="rect" alt="PhoneApp" title="" coords="637,299,737,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_PhoneApp" target="_self" /><area shape="rect" alt="SoftphoneApp" title="" coords="638,369,736,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_SoftphoneApp" target="_self" /><area shape="rect" alt="Devices" title="" coords="637,441,737,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Service_Devices" target="_self" /><area shape="rect" alt="Contacts" title="" coords="639,512,738,561" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Contacts" target="_self" /><area shape="rect" alt="Chat" title="" coords="638,584,736,632" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Chat" target="_self" /><area shape="rect" alt="All Apps" title="" coords="638,653,737,702" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=Concept+App&namespace=148" target="_self" /><area shape="rect" alt="Offline Proivisoning" title="" coords="759,299,858,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Offline_Provisioning" target="_self" /><area shape="rect" alt="Online Proivisoning" title="" coords="759,370,858,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Provisioning" target="_self" /><area shape="rect" alt="Roadmap Firmware 13r1" title="" coords="1000,298,1099,348" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_Firmware_13r1" target="_self" /><area shape="rect" alt="Roadmap SDK 13r1" title="" coords="1000,369,1100,418" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_SDK_13r1" target="_self" /><area shape="rect" alt="IT Connect Training" title="" coords="1120,298,1221,348" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="IT Advanced Training" title="" coords="1122,370,1220,419" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Advanced&namespace=150" target="_self" /><area shape="rect" alt="Central AppPlatform" title="" coords="155,299,253,348" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Install_one_AP_for_many_customers" target="_self" /><area shape="rect" alt="My innovaphone" title="" coords="881,369,979,418" href="https://my.innovaphone.com/" target="_blank" /><area shape="rect" alt="Software Rental" title="" coords="881,440,979,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Software_Rental" target="_self" /><area shape="rect" alt="Partner Portal" title="" coords="1242,299,1342,348" href="https://www.innovaphone.com/en/services/partner-login.html" target="_blank" /><area shape="rect" alt="The Story" title="" coords="1243,370,1341,418" href="https://www.innovaphone.com/en/myapps/what-is-myapps.html" target="_blank" /><area shape="rect" alt="Videos" title="" coords="1243,442,1342,490" href="http://wiki.innovaphone.com/index.php?title=Howto:Instructional_Videos_for_Users_-_English" target="_self" /><!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) --></map>';
   var maps = '<map id="v13_map" name="v13_map"><area shape="rect" alt="Usecases" title="" coords="129,158,229,206" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Installation_Scenarios" target="_self" /><area shape="rect" alt="License Guide" title="" coords="879,299,979,348" href="https://www.innovaphone.com/content/downloads/innovaphone_Licensing_guidelines_V13r1_EN.pdf" target="_blank" /><area shape="rect" alt="FAQ" title="" coords="250,157,349,205" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Overview#faq" target="_self" /><area shape="rect" alt="OnPremise Installation" title="" coords="8,228,107,279" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Install" target="_self" /><area shape="rect" alt="Greenfield - IT Connect" title="" coords="33,300,133,348" href="/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="Upgrade" title="" coords="33,370,132,419" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Firmware_Upgrade_V12r2_V13r1" target="_self" /><area shape="rect" alt="SDK" title="" coords="274,298,373,348" href="https://sdk.innovaphone.com/" target="_blank" /><area shape="rect" alt="Forum" title="" coords="274,370,374,419" href="http://class.innovaphone.com/moodle2/mod/forum/view.php?id=127446" target="_blank" /><area shape="rect" alt="AppPlatform" title="" coords="372,229,470,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Platform" target="_self" /><area shape="rect" alt="Apps" title="" coords="613,228,712,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Apps" target="_self" /><area shape="rect" alt="Roadmaps" title="" coords="976,229,1074,276" href="http://wiki.innovaphone.com/index.php?title=Support:What_are_the_Roadmap_Documents%3F" target="_self" /><area shape="rect" alt="Training" title="" coords="1096,227,1196,276" href="https://www.innovaphone.com/en/partner/training.html" target="_blank" /><area shape="rect" alt="MyApps" title="" coords="493,229,591,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_myApps" target="_self" /><area shape="rect" alt="PhoneApp" title="" coords="637,299,737,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_PhoneApp" target="_self" /><area shape="rect" alt="SoftphoneApp" title="" coords="638,369,736,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_SoftphoneApp" target="_self" /><area shape="rect" alt="Devices" title="" coords="637,441,737,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Service_Devices" target="_self" /><area shape="rect" alt="Contacts" title="" coords="639,512,738,561" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Contacts" target="_self" /><area shape="rect" alt="Chat" title="" coords="638,584,736,632" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Chat" target="_self" /><area shape="rect" alt="All Apps" title="" coords="638,653,737,702" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=Concept+App&namespace=148" target="_self" /><area shape="rect" alt="Offline Proivisoning" title="" coords="759,299,858,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Offline_Provisioning" target="_self" /><area shape="rect" alt="Online Proivisoning" title="" coords="759,370,858,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Provisioning" target="_self" /><area shape="rect" alt="Roadmap Firmware 13r1" title="" coords="1000,298,1099,348" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_Firmware_13r1" target="_self" /><area shape="rect" alt="Roadmap SDK 13r1" title="" coords="1000,369,1100,418" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_SDK_13r1" target="_self" /><area shape="rect" alt="IT Connect Training" title="" coords="1120,298,1221,348" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="IT Advanced Training" title="" coords="1122,370,1220,419" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Advanced&namespace=150" target="_self" /><area shape="rect" alt="Central AppPlatform" title="" coords="155,299,253,348" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Install_one_AP_for_many_customers" target="_self" /><area shape="rect" alt="My innovaphone" title="" coords="881,369,979,418" href="https://my.innovaphone.com/" target="_blank" /><area shape="rect" alt="Software Rental" title="" coords="881,440,979,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Software_Rental" target="_self" /><area shape="rect" alt="Partner Portal" title="" coords="1242,299,1342,348" href="https://www.innovaphone.com/en/services/partner-login.html" target="_blank" /><area shape="rect" alt="The Story" title="" coords="1243,370,1341,418" href="https://www.innovaphone.com/en/myapps/what-is-myapps.html" target="_blank" /><area shape="rect" alt="Videos" title="" coords="1243,442,1342,490" href="http://wiki.innovaphone.com/index.php?title=Howto:Instructional_Videos_for_Users_-_English" target="_self" /><!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) --></map>';


   //write it
   //write it
   document.write(maps);  
   document.write(maps);  
}
}

Revision as of 10:47, 16 August 2019

/* Any JavaScript here will be loaded for all users on every page load. */ // redirect v13 namepsace view to special overview page if (window.location.href == 'http://wiki.innovaphone.com/index.php?title=Special:Prefixindex/Reference13r1:') {

 window.location.href = 'http://wiki.innovaphone.com/index.php?title=Reference13r1:Overview';

}

// 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="Usecases" title="" coords="129,158,229,206" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Installation_Scenarios" target="_self" /><area shape="rect" alt="License Guide" title="" coords="879,299,979,348" href="https://www.innovaphone.com/content/downloads/innovaphone_Licensing_guidelines_V13r1_EN.pdf" target="_blank" /><area shape="rect" alt="FAQ" title="" coords="250,157,349,205" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Overview#faq" target="_self" /><area shape="rect" alt="OnPremise Installation" title="" coords="8,228,107,279" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Install" target="_self" /><area shape="rect" alt="Greenfield - IT Connect" title="" coords="33,300,133,348" href="/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="Upgrade" title="" coords="33,370,132,419" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Firmware_Upgrade_V12r2_V13r1" target="_self" /><area shape="rect" alt="SDK" title="" coords="274,298,373,348" href="https://sdk.innovaphone.com/" target="_blank" /><area shape="rect" alt="Forum" title="" coords="274,370,374,419" href="http://class.innovaphone.com/moodle2/mod/forum/view.php?id=127446" target="_blank" /><area shape="rect" alt="AppPlatform" title="" coords="372,229,470,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Platform" target="_self" /><area shape="rect" alt="Apps" title="" coords="613,228,712,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Apps" target="_self" /><area shape="rect" alt="Roadmaps" title="" coords="976,229,1074,276" href="http://wiki.innovaphone.com/index.php?title=Support:What_are_the_Roadmap_Documents%3F" target="_self" /><area shape="rect" alt="Training" title="" coords="1096,227,1196,276" href="https://www.innovaphone.com/en/partner/training.html" target="_blank" /><area shape="rect" alt="MyApps" title="" coords="493,229,591,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_myApps" target="_self" /><area shape="rect" alt="PhoneApp" title="" coords="637,299,737,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_PhoneApp" target="_self" /><area shape="rect" alt="SoftphoneApp" title="" coords="638,369,736,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_SoftphoneApp" target="_self" /><area shape="rect" alt="Devices" title="" coords="637,441,737,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Service_Devices" target="_self" /><area shape="rect" alt="Contacts" title="" coords="639,512,738,561" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_App_Contacts" target="_self" /><area shape="rect" alt="Chat" title="" coords="638,584,736,632" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Chat" target="_self" /><area shape="rect" alt="All Apps" title="" coords="638,653,737,702" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=Concept+App&namespace=148" target="_self" /><area shape="rect" alt="Offline Proivisoning" title="" coords="759,299,858,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Offline_Provisioning" target="_self" /><area shape="rect" alt="Online Proivisoning" title="" coords="759,370,858,418" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Provisioning" target="_self" /><area shape="rect" alt="Roadmap Firmware 13r1" title="" coords="1000,298,1099,348" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_Firmware_13r1" target="_self" /><area shape="rect" alt="Roadmap SDK 13r1" title="" coords="1000,369,1100,418" href="http://wiki.innovaphone.com/index.php?title=Support:DVL-Roadmap_SDK_13r1" target="_self" /><area shape="rect" alt="IT Connect Training" title="" coords="1120,298,1221,348" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="IT Advanced Training" title="" coords="1122,370,1220,419" href="http://wiki.innovaphone.com/index.php?title=Special%3APrefixindex&from=IT+Advanced&namespace=150" target="_self" /><area shape="rect" alt="Central AppPlatform" title="" coords="155,299,253,348" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Install_one_AP_for_many_customers" target="_self" /><area shape="rect" alt="My innovaphone" title="" coords="881,369,979,418" href="https://my.innovaphone.com/" target="_blank" /><area shape="rect" alt="Software Rental" title="" coords="881,440,979,490" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Software_Rental" target="_self" /><area shape="rect" alt="Partner Portal" title="" coords="1242,299,1342,348" href="https://www.innovaphone.com/en/services/partner-login.html" target="_blank" /><area shape="rect" alt="The Story" title="" coords="1243,370,1341,418" href="https://www.innovaphone.com/en/myapps/what-is-myapps.html" target="_blank" /><area shape="rect" alt="Videos" title="" coords="1243,442,1342,490" href="http://wiki.innovaphone.com/index.php?title=Howto:Instructional_Videos_for_Users_-_English" target="_self" /></map>';
 //write it
 document.write(maps); 

}