MediaWiki:Common.js

From innovaphone-wiki

Jump to: navigation, search

/* 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="Usecases" 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="License Guide" coords="879,299,979,348" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Licenses" target="_blank" /><area shape="rect" alt="FAQ" title="FAQ" 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="OnPremise Installation" 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="Greenfield - IT Connect" coords="33,300,133,348" href="/index.php?title=Special%3APrefixindex&from=IT+Connect&namespace=150" target="_self" /><area shape="rect" alt="Upgrade" title="Upgrade" 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="SDK" coords="274,298,373,348" href="https://sdk.innovaphone.com/" target="_blank" /><area shape="rect" alt="Forum" title="Forum" 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="AppPlatform" 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="Apps" coords="613,228,712,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Apps" target="_self" /><area shape="rect" alt="Roadmaps" title="Roadmaps" 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="Training" coords="1096,227,1196,276" href="https://www.innovaphone.com/en/partner/training.html" target="_blank" /><area shape="rect" alt="MyApps" title="MyApps" coords="493,229,591,276" href="http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_myApps" target="_self" /><area shape="rect" alt="PhoneApp" title="PhoneApp" 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="SoftphoneApp" 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="Devices" 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="Contacts" 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="Chat" 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="All Apps" 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="Offline Proivisoning" 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="Online Proivisoning" 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="Roadmap Firmware 13r1" 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="Roadmap SDK 13r1" 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="IT Connect Training" 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="IT Advanced Training" 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="Central AppPlatform" coords="155,299,253,348" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Hosting_-_Central_AP_for_multiple_customers" target="_self" /><area shape="rect" alt="My innovaphone" title="My innovaphone" coords="881,369,979,418" href="https://my.innovaphone.com/" target="_blank" /><area shape="rect" alt="Software Rental" title="Software Rental" 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="Partner Portal" coords="1242,299,1342,348" href="https://www.innovaphone.com/en/services/partner-login.html" target="_blank" /><area shape="rect" alt="The Story" title="The Story" coords="1243,370,1341,418" href="https://www.innovaphone.com/en/myapps/what-is-myapps.html" target="_blank" /><area shape="rect" alt="Videos" title="Videos" coords="1243,442,1342,490" href="http://wiki.innovaphone.com/index.php?title=Howto:Instructional_Videos_for_Users_-_English" target="_self" /><area shape="rect" alt="Hosting" title="" coords="131,229,229,277" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Hosting" target="_self" /><area shape="rect" alt="Dedicated AppPlatforms" title="" coords="156,371,254,419" href="http://wiki.innovaphone.com/index.php?title=Howto:V13_Hosting_-_Dedicated_AP_for_every_customer" target="_self" /><area shape="rect" alt="Twitter" title="" coords="1241,511,1343,561" href="https://twitter.com/innovaphone_tec" target="_blank" /><area shape="rect" alt="RSS Feeds" title="" coords="1242,584,1343,631" href="http://wiki.innovaphone.com/index.php?title=RSS_Feeds" target="_self" /></map>';
 //write it
 document.write(maps); 

}

Personal tools