You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2011/12/19 17:12:49 UTC
svn commit: r1220823 [1/8] - in /incubator/openmeetings/trunk/singlewebapp:
docs/ docs/css/ xdocs/css/ xdocs/stylesheets/
Author: sebawagner
Date: Mon Dec 19 16:12:47 2011
New Revision: 1220823
URL: http://svn.apache.org/viewvc?rev=1220823&view=rev
Log:
Fix navigation to change font of current selected item to italic and open accordion with the correct subsection of the navigation according to the page content
Modified:
incubator/openmeetings/trunk/singlewebapp/docs/ApacheDerbyConfig.html
incubator/openmeetings/trunk/singlewebapp/docs/BrandingAndColors.html
incubator/openmeetings/trunk/singlewebapp/docs/BuildInstructions.html
incubator/openmeetings/trunk/singlewebapp/docs/CalendarAndTimezone.html
incubator/openmeetings/trunk/singlewebapp/docs/Dashboard.html
incubator/openmeetings/trunk/singlewebapp/docs/EditTemplates.html
incubator/openmeetings/trunk/singlewebapp/docs/FFMPEGVersionSwitch.html
incubator/openmeetings/trunk/singlewebapp/docs/GeneralConfiguration.html
incubator/openmeetings/trunk/singlewebapp/docs/GetVersionInfo.html
incubator/openmeetings/trunk/singlewebapp/docs/IBMDB2Config.html
incubator/openmeetings/trunk/singlewebapp/docs/Internationalisation.html
incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html
incubator/openmeetings/trunk/singlewebapp/docs/JVMPerformanceTuning.html
incubator/openmeetings/trunk/singlewebapp/docs/LanguageEditor.html
incubator/openmeetings/trunk/singlewebapp/docs/LdapAndADS.html
incubator/openmeetings/trunk/singlewebapp/docs/MySQLConfig.html
incubator/openmeetings/trunk/singlewebapp/docs/Navigation.html
incubator/openmeetings/trunk/singlewebapp/docs/OracleConfig.html
incubator/openmeetings/trunk/singlewebapp/docs/PortSettings.html
incubator/openmeetings/trunk/singlewebapp/docs/PostgresConfig.html
incubator/openmeetings/trunk/singlewebapp/docs/RTMPSAndHTTPS.html
incubator/openmeetings/trunk/singlewebapp/docs/RestAPI.html
incubator/openmeetings/trunk/singlewebapp/docs/RestrictedAccess.html
incubator/openmeetings/trunk/singlewebapp/docs/SoapRestAPI.html
incubator/openmeetings/trunk/singlewebapp/docs/TimeZoneHandling.html
incubator/openmeetings/trunk/singlewebapp/docs/Upgrade.html
incubator/openmeetings/trunk/singlewebapp/docs/WebappNamePath.html
incubator/openmeetings/trunk/singlewebapp/docs/WebcamResolutions.html
incubator/openmeetings/trunk/singlewebapp/docs/css/openmeetings.css
incubator/openmeetings/trunk/singlewebapp/docs/dependencies.html
incubator/openmeetings/trunk/singlewebapp/docs/documentation.html
incubator/openmeetings/trunk/singlewebapp/docs/downloads.html
incubator/openmeetings/trunk/singlewebapp/docs/get-involved.html
incubator/openmeetings/trunk/singlewebapp/docs/index.html
incubator/openmeetings/trunk/singlewebapp/docs/installation.html
incubator/openmeetings/trunk/singlewebapp/docs/license.html
incubator/openmeetings/trunk/singlewebapp/docs/mail-lists.html
incubator/openmeetings/trunk/singlewebapp/docs/svn.html
incubator/openmeetings/trunk/singlewebapp/docs/team-list.html
incubator/openmeetings/trunk/singlewebapp/xdocs/css/openmeetings.css
incubator/openmeetings/trunk/singlewebapp/xdocs/stylesheets/site.vsl
Modified: incubator/openmeetings/trunk/singlewebapp/docs/ApacheDerbyConfig.html
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/ApacheDerbyConfig.html?rev=1220823&r1=1220822&r2=1220823&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/ApacheDerbyConfig.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/ApacheDerbyConfig.html Mon Dec 19 16:12:47 2011
@@ -71,7 +71,225 @@ limitations under the License.
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
- navigation: false
+ navigation: true,
+ navigationFilter: function () {
+ var sidebarHrefArray = this.href.split("/");
+ var sideBarLastString = sidebarHrefArray[sidebarHrefArray.length - 1].toLowerCase();
+
+ if (sideBarLastString.indexOf("#") == -1) {
+ return false;
+ }
+
+ /* document.location.href */
+ var currentSection = "";
+
+ var currentLocation = "";
+ var currentLink = "";
+ if (false) {
+
+ }
+
+ else if (document.location.href.indexOf("/index.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/index.html".substr(1, "/index.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/license.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/license.html".substr(1, "/license.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://www.apache.org/") > 0) {
+ currentLocation = "General";
+ currentLink = "http://www.apache.org/".substr(1, "http://www.apache.org/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/downloads.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/downloads.html".substr(1, "/downloads.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/installation.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/installation.html".substr(1, "/installation.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/Upgrade.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/Upgrade.html".substr(1, "/Upgrade.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/get-involved.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/get-involved.html".substr(1, "/get-involved.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/team-list.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/team-list.html".substr(1, "/team-list.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/mail-lists.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/mail-lists.html".substr(1, "/mail-lists.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("https://cwiki.apache.org/OPENMEETINGS/") > 0) {
+ currentLocation = "Community";
+ currentLink = "https://cwiki.apache.org/OPENMEETINGS/".substr(1, "https://cwiki.apache.org/OPENMEETINGS/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/svn.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/svn.html".substr(1, "/svn.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://issues.apache.org/jira/browse/OPENMEETINGS") > 0) {
+ currentLocation = "Development";
+ currentLink = "http://issues.apache.org/jira/browse/OPENMEETINGS".substr(1, "http://issues.apache.org/jira/browse/OPENMEETINGS".length);
+ }
+
+
+ else if (document.location.href.indexOf("/dependencies.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/dependencies.html".substr(1, "/dependencies.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/BuildInstructions.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/BuildInstructions.html".substr(1, "/BuildInstructions.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/JUnitTesting.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/JUnitTesting.html".substr(1, "/JUnitTesting.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/SoapRestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/SoapRestAPI.html".substr(1, "/SoapRestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/RestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/RestAPI.html".substr(1, "/RestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/LdapAndADS.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/LdapAndADS.html".substr(1, "/LdapAndADS.html".length);
+ }
+
+ else if (document.location.href.indexOf("/ApacheDerbyConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/ApacheDerbyConfig.html".substr(1, "/ApacheDerbyConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/IBMDB2Config.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/IBMDB2Config.html".substr(1, "/IBMDB2Config.html".length);
+ }
+ else if (document.location.href.indexOf("/OracleConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/OracleConfig.html".substr(1, "/OracleConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/MySQLConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/MySQLConfig.html".substr(1, "/MySQLConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/PostgresConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PostgresConfig.html".substr(1, "/PostgresConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/Internationalisation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Internationalisation.html".substr(1, "/Internationalisation.html".length);
+ }
+ else if (document.location.href.indexOf("/LanguageEditor.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/LanguageEditor.html".substr(1, "/LanguageEditor.html".length);
+ }
+ else if (document.location.href.indexOf("/TimeZoneHandling.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/TimeZoneHandling.html".substr(1, "/TimeZoneHandling.html".length);
+ }
+ else if (document.location.href.indexOf("/EditTemplates.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/EditTemplates.html".substr(1, "/EditTemplates.html".length);
+ }
+ else if (document.location.href.indexOf("/PortSettings.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PortSettings.html".substr(1, "/PortSettings.html".length);
+ }
+ else if (document.location.href.indexOf("/JVMPerformanceTuning.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/JVMPerformanceTuning.html".substr(1, "/JVMPerformanceTuning.html".length);
+ }
+ else if (document.location.href.indexOf("/BrandingAndColors.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/BrandingAndColors.html".substr(1, "/BrandingAndColors.html".length);
+ }
+ else if (document.location.href.indexOf("/WebappNamePath.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebappNamePath.html".substr(1, "/WebappNamePath.html".length);
+ }
+ else if (document.location.href.indexOf("/Navigation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Navigation.html".substr(1, "/Navigation.html".length);
+ }
+ else if (document.location.href.indexOf("/Dashboard.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Dashboard.html".substr(1, "/Dashboard.html".length);
+ }
+ else if (document.location.href.indexOf("/CalendarAndTimezone.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/CalendarAndTimezone.html".substr(1, "/CalendarAndTimezone.html".length);
+ }
+ else if (document.location.href.indexOf("/WebcamResolutions.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebcamResolutions.html".substr(1, "/WebcamResolutions.html".length);
+ }
+ else if (document.location.href.indexOf("/GeneralConfiguration.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GeneralConfiguration.html".substr(1, "/GeneralConfiguration.html".length);
+ }
+ else if (document.location.href.indexOf("/RestrictedAccess.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RestrictedAccess.html".substr(1, "/RestrictedAccess.html".length);
+ }
+ else if (document.location.href.indexOf("/RTMPSAndHTTPS.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RTMPSAndHTTPS.html".substr(1, "/RTMPSAndHTTPS.html".length);
+ }
+ else if (document.location.href.indexOf("/GetVersionInfo.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GetVersionInfo.html".substr(1, "/GetVersionInfo.html".length);
+ }
+ else if (document.location.href.indexOf("/FFMPEGVersionSwitch.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/FFMPEGVersionSwitch.html".substr(1, "/FFMPEGVersionSwitch.html".length);
+ }
+
+ currentLink = currentLink.toLowerCase();
+ currentLocation = currentLocation.toLowerCase();
+
+ return sideBarLastString == currentLink+"#"+currentLocation;
+ }
});
});
</script>
@@ -97,7 +315,18 @@ limitations under the License.
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
- });
+ });
+ $('#accordion a').each(function() {
+ var a = $(this);
+ var href = a.attr("href");
+ if (href.indexOf("#") == -1) {
+ var compareIt = href.substr(2, href.length);
+ if (document.location.href.indexOf(compareIt)!= -1) {
+ a.addClass('active');
+ }
+ }
+ });
+
});
</script>
@@ -147,7 +376,7 @@ limitations under the License.
<!-- ============================================================ -->
<div id="accordion" width="100%">
- <h3><a href="#">General</a></h3>
+ <h3><a href="#General">General</a></h3>
<div width="100%">
<a href="./index.html">Home</a>
<br/>
@@ -158,14 +387,14 @@ limitations under the License.
<a href="./downloads.html">Downloads</a>
<br/>
</div>
- <h3><a href="#">Installation and Upgrade</a></h3>
+ <h3><a href="#InstallationandUpgrade">Installation and Upgrade</a></h3>
<div width="100%">
<a href="./installation.html">Installation</a>
<br/>
<a href="./Upgrade.html">Upgrade</a>
<br/>
</div>
- <h3><a href="#">Community</a></h3>
+ <h3><a href="#Community">Community</a></h3>
<div width="100%">
<a href="./get-involved.html">Get Involved</a>
<br/>
@@ -176,7 +405,7 @@ limitations under the License.
<a href=".https://cwiki.apache.org/OPENMEETINGS/">Wiki</a>
<br/>
</div>
- <h3><a href="#">Development</a></h3>
+ <h3><a href="#Development">Development</a></h3>
<div width="100%">
<a href="./svn.html">Source Code</a>
<br/>
@@ -189,7 +418,7 @@ limitations under the License.
<a href="./JUnitTesting.html">JUnit Testing</a>
<br/>
</div>
- <h3><a href="#">Integration</a></h3>
+ <h3><a href="#Integration">Integration</a></h3>
<div width="100%">
<a href="./SoapRestAPI.html">SOAP/REST API</a>
<br/>
@@ -198,7 +427,7 @@ limitations under the License.
<a href="./LdapAndADS.html">Ldap and ADS</a>
<br/>
</div>
- <h3><a href="#">Configuration</a></h3>
+ <h3><a href="#Configuration">Configuration</a></h3>
<div width="100%">
<b>DB Sample Configurations</b><br/>
<a href="./ApacheDerbyConfig.html">Apache Derby</a>
Modified: incubator/openmeetings/trunk/singlewebapp/docs/BrandingAndColors.html
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/BrandingAndColors.html?rev=1220823&r1=1220822&r2=1220823&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/BrandingAndColors.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/BrandingAndColors.html Mon Dec 19 16:12:47 2011
@@ -71,7 +71,225 @@ limitations under the License.
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
- navigation: false
+ navigation: true,
+ navigationFilter: function () {
+ var sidebarHrefArray = this.href.split("/");
+ var sideBarLastString = sidebarHrefArray[sidebarHrefArray.length - 1].toLowerCase();
+
+ if (sideBarLastString.indexOf("#") == -1) {
+ return false;
+ }
+
+ /* document.location.href */
+ var currentSection = "";
+
+ var currentLocation = "";
+ var currentLink = "";
+ if (false) {
+
+ }
+
+ else if (document.location.href.indexOf("/index.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/index.html".substr(1, "/index.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/license.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/license.html".substr(1, "/license.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://www.apache.org/") > 0) {
+ currentLocation = "General";
+ currentLink = "http://www.apache.org/".substr(1, "http://www.apache.org/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/downloads.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/downloads.html".substr(1, "/downloads.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/installation.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/installation.html".substr(1, "/installation.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/Upgrade.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/Upgrade.html".substr(1, "/Upgrade.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/get-involved.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/get-involved.html".substr(1, "/get-involved.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/team-list.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/team-list.html".substr(1, "/team-list.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/mail-lists.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/mail-lists.html".substr(1, "/mail-lists.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("https://cwiki.apache.org/OPENMEETINGS/") > 0) {
+ currentLocation = "Community";
+ currentLink = "https://cwiki.apache.org/OPENMEETINGS/".substr(1, "https://cwiki.apache.org/OPENMEETINGS/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/svn.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/svn.html".substr(1, "/svn.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://issues.apache.org/jira/browse/OPENMEETINGS") > 0) {
+ currentLocation = "Development";
+ currentLink = "http://issues.apache.org/jira/browse/OPENMEETINGS".substr(1, "http://issues.apache.org/jira/browse/OPENMEETINGS".length);
+ }
+
+
+ else if (document.location.href.indexOf("/dependencies.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/dependencies.html".substr(1, "/dependencies.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/BuildInstructions.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/BuildInstructions.html".substr(1, "/BuildInstructions.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/JUnitTesting.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/JUnitTesting.html".substr(1, "/JUnitTesting.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/SoapRestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/SoapRestAPI.html".substr(1, "/SoapRestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/RestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/RestAPI.html".substr(1, "/RestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/LdapAndADS.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/LdapAndADS.html".substr(1, "/LdapAndADS.html".length);
+ }
+
+ else if (document.location.href.indexOf("/ApacheDerbyConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/ApacheDerbyConfig.html".substr(1, "/ApacheDerbyConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/IBMDB2Config.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/IBMDB2Config.html".substr(1, "/IBMDB2Config.html".length);
+ }
+ else if (document.location.href.indexOf("/OracleConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/OracleConfig.html".substr(1, "/OracleConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/MySQLConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/MySQLConfig.html".substr(1, "/MySQLConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/PostgresConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PostgresConfig.html".substr(1, "/PostgresConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/Internationalisation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Internationalisation.html".substr(1, "/Internationalisation.html".length);
+ }
+ else if (document.location.href.indexOf("/LanguageEditor.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/LanguageEditor.html".substr(1, "/LanguageEditor.html".length);
+ }
+ else if (document.location.href.indexOf("/TimeZoneHandling.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/TimeZoneHandling.html".substr(1, "/TimeZoneHandling.html".length);
+ }
+ else if (document.location.href.indexOf("/EditTemplates.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/EditTemplates.html".substr(1, "/EditTemplates.html".length);
+ }
+ else if (document.location.href.indexOf("/PortSettings.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PortSettings.html".substr(1, "/PortSettings.html".length);
+ }
+ else if (document.location.href.indexOf("/JVMPerformanceTuning.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/JVMPerformanceTuning.html".substr(1, "/JVMPerformanceTuning.html".length);
+ }
+ else if (document.location.href.indexOf("/BrandingAndColors.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/BrandingAndColors.html".substr(1, "/BrandingAndColors.html".length);
+ }
+ else if (document.location.href.indexOf("/WebappNamePath.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebappNamePath.html".substr(1, "/WebappNamePath.html".length);
+ }
+ else if (document.location.href.indexOf("/Navigation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Navigation.html".substr(1, "/Navigation.html".length);
+ }
+ else if (document.location.href.indexOf("/Dashboard.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Dashboard.html".substr(1, "/Dashboard.html".length);
+ }
+ else if (document.location.href.indexOf("/CalendarAndTimezone.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/CalendarAndTimezone.html".substr(1, "/CalendarAndTimezone.html".length);
+ }
+ else if (document.location.href.indexOf("/WebcamResolutions.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebcamResolutions.html".substr(1, "/WebcamResolutions.html".length);
+ }
+ else if (document.location.href.indexOf("/GeneralConfiguration.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GeneralConfiguration.html".substr(1, "/GeneralConfiguration.html".length);
+ }
+ else if (document.location.href.indexOf("/RestrictedAccess.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RestrictedAccess.html".substr(1, "/RestrictedAccess.html".length);
+ }
+ else if (document.location.href.indexOf("/RTMPSAndHTTPS.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RTMPSAndHTTPS.html".substr(1, "/RTMPSAndHTTPS.html".length);
+ }
+ else if (document.location.href.indexOf("/GetVersionInfo.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GetVersionInfo.html".substr(1, "/GetVersionInfo.html".length);
+ }
+ else if (document.location.href.indexOf("/FFMPEGVersionSwitch.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/FFMPEGVersionSwitch.html".substr(1, "/FFMPEGVersionSwitch.html".length);
+ }
+
+ currentLink = currentLink.toLowerCase();
+ currentLocation = currentLocation.toLowerCase();
+
+ return sideBarLastString == currentLink+"#"+currentLocation;
+ }
});
});
</script>
@@ -97,7 +315,18 @@ limitations under the License.
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
- });
+ });
+ $('#accordion a').each(function() {
+ var a = $(this);
+ var href = a.attr("href");
+ if (href.indexOf("#") == -1) {
+ var compareIt = href.substr(2, href.length);
+ if (document.location.href.indexOf(compareIt)!= -1) {
+ a.addClass('active');
+ }
+ }
+ });
+
});
</script>
@@ -147,7 +376,7 @@ limitations under the License.
<!-- ============================================================ -->
<div id="accordion" width="100%">
- <h3><a href="#">General</a></h3>
+ <h3><a href="#General">General</a></h3>
<div width="100%">
<a href="./index.html">Home</a>
<br/>
@@ -158,14 +387,14 @@ limitations under the License.
<a href="./downloads.html">Downloads</a>
<br/>
</div>
- <h3><a href="#">Installation and Upgrade</a></h3>
+ <h3><a href="#InstallationandUpgrade">Installation and Upgrade</a></h3>
<div width="100%">
<a href="./installation.html">Installation</a>
<br/>
<a href="./Upgrade.html">Upgrade</a>
<br/>
</div>
- <h3><a href="#">Community</a></h3>
+ <h3><a href="#Community">Community</a></h3>
<div width="100%">
<a href="./get-involved.html">Get Involved</a>
<br/>
@@ -176,7 +405,7 @@ limitations under the License.
<a href=".https://cwiki.apache.org/OPENMEETINGS/">Wiki</a>
<br/>
</div>
- <h3><a href="#">Development</a></h3>
+ <h3><a href="#Development">Development</a></h3>
<div width="100%">
<a href="./svn.html">Source Code</a>
<br/>
@@ -189,7 +418,7 @@ limitations under the License.
<a href="./JUnitTesting.html">JUnit Testing</a>
<br/>
</div>
- <h3><a href="#">Integration</a></h3>
+ <h3><a href="#Integration">Integration</a></h3>
<div width="100%">
<a href="./SoapRestAPI.html">SOAP/REST API</a>
<br/>
@@ -198,7 +427,7 @@ limitations under the License.
<a href="./LdapAndADS.html">Ldap and ADS</a>
<br/>
</div>
- <h3><a href="#">Configuration</a></h3>
+ <h3><a href="#Configuration">Configuration</a></h3>
<div width="100%">
<b>DB Sample Configurations</b><br/>
<a href="./ApacheDerbyConfig.html">Apache Derby</a>
Modified: incubator/openmeetings/trunk/singlewebapp/docs/BuildInstructions.html
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/BuildInstructions.html?rev=1220823&r1=1220822&r2=1220823&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/BuildInstructions.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/BuildInstructions.html Mon Dec 19 16:12:47 2011
@@ -71,7 +71,225 @@ limitations under the License.
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
- navigation: false
+ navigation: true,
+ navigationFilter: function () {
+ var sidebarHrefArray = this.href.split("/");
+ var sideBarLastString = sidebarHrefArray[sidebarHrefArray.length - 1].toLowerCase();
+
+ if (sideBarLastString.indexOf("#") == -1) {
+ return false;
+ }
+
+ /* document.location.href */
+ var currentSection = "";
+
+ var currentLocation = "";
+ var currentLink = "";
+ if (false) {
+
+ }
+
+ else if (document.location.href.indexOf("/index.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/index.html".substr(1, "/index.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/license.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/license.html".substr(1, "/license.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://www.apache.org/") > 0) {
+ currentLocation = "General";
+ currentLink = "http://www.apache.org/".substr(1, "http://www.apache.org/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/downloads.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/downloads.html".substr(1, "/downloads.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/installation.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/installation.html".substr(1, "/installation.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/Upgrade.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/Upgrade.html".substr(1, "/Upgrade.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/get-involved.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/get-involved.html".substr(1, "/get-involved.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/team-list.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/team-list.html".substr(1, "/team-list.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/mail-lists.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/mail-lists.html".substr(1, "/mail-lists.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("https://cwiki.apache.org/OPENMEETINGS/") > 0) {
+ currentLocation = "Community";
+ currentLink = "https://cwiki.apache.org/OPENMEETINGS/".substr(1, "https://cwiki.apache.org/OPENMEETINGS/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/svn.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/svn.html".substr(1, "/svn.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://issues.apache.org/jira/browse/OPENMEETINGS") > 0) {
+ currentLocation = "Development";
+ currentLink = "http://issues.apache.org/jira/browse/OPENMEETINGS".substr(1, "http://issues.apache.org/jira/browse/OPENMEETINGS".length);
+ }
+
+
+ else if (document.location.href.indexOf("/dependencies.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/dependencies.html".substr(1, "/dependencies.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/BuildInstructions.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/BuildInstructions.html".substr(1, "/BuildInstructions.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/JUnitTesting.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/JUnitTesting.html".substr(1, "/JUnitTesting.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/SoapRestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/SoapRestAPI.html".substr(1, "/SoapRestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/RestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/RestAPI.html".substr(1, "/RestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/LdapAndADS.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/LdapAndADS.html".substr(1, "/LdapAndADS.html".length);
+ }
+
+ else if (document.location.href.indexOf("/ApacheDerbyConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/ApacheDerbyConfig.html".substr(1, "/ApacheDerbyConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/IBMDB2Config.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/IBMDB2Config.html".substr(1, "/IBMDB2Config.html".length);
+ }
+ else if (document.location.href.indexOf("/OracleConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/OracleConfig.html".substr(1, "/OracleConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/MySQLConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/MySQLConfig.html".substr(1, "/MySQLConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/PostgresConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PostgresConfig.html".substr(1, "/PostgresConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/Internationalisation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Internationalisation.html".substr(1, "/Internationalisation.html".length);
+ }
+ else if (document.location.href.indexOf("/LanguageEditor.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/LanguageEditor.html".substr(1, "/LanguageEditor.html".length);
+ }
+ else if (document.location.href.indexOf("/TimeZoneHandling.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/TimeZoneHandling.html".substr(1, "/TimeZoneHandling.html".length);
+ }
+ else if (document.location.href.indexOf("/EditTemplates.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/EditTemplates.html".substr(1, "/EditTemplates.html".length);
+ }
+ else if (document.location.href.indexOf("/PortSettings.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PortSettings.html".substr(1, "/PortSettings.html".length);
+ }
+ else if (document.location.href.indexOf("/JVMPerformanceTuning.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/JVMPerformanceTuning.html".substr(1, "/JVMPerformanceTuning.html".length);
+ }
+ else if (document.location.href.indexOf("/BrandingAndColors.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/BrandingAndColors.html".substr(1, "/BrandingAndColors.html".length);
+ }
+ else if (document.location.href.indexOf("/WebappNamePath.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebappNamePath.html".substr(1, "/WebappNamePath.html".length);
+ }
+ else if (document.location.href.indexOf("/Navigation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Navigation.html".substr(1, "/Navigation.html".length);
+ }
+ else if (document.location.href.indexOf("/Dashboard.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Dashboard.html".substr(1, "/Dashboard.html".length);
+ }
+ else if (document.location.href.indexOf("/CalendarAndTimezone.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/CalendarAndTimezone.html".substr(1, "/CalendarAndTimezone.html".length);
+ }
+ else if (document.location.href.indexOf("/WebcamResolutions.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebcamResolutions.html".substr(1, "/WebcamResolutions.html".length);
+ }
+ else if (document.location.href.indexOf("/GeneralConfiguration.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GeneralConfiguration.html".substr(1, "/GeneralConfiguration.html".length);
+ }
+ else if (document.location.href.indexOf("/RestrictedAccess.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RestrictedAccess.html".substr(1, "/RestrictedAccess.html".length);
+ }
+ else if (document.location.href.indexOf("/RTMPSAndHTTPS.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RTMPSAndHTTPS.html".substr(1, "/RTMPSAndHTTPS.html".length);
+ }
+ else if (document.location.href.indexOf("/GetVersionInfo.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GetVersionInfo.html".substr(1, "/GetVersionInfo.html".length);
+ }
+ else if (document.location.href.indexOf("/FFMPEGVersionSwitch.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/FFMPEGVersionSwitch.html".substr(1, "/FFMPEGVersionSwitch.html".length);
+ }
+
+ currentLink = currentLink.toLowerCase();
+ currentLocation = currentLocation.toLowerCase();
+
+ return sideBarLastString == currentLink+"#"+currentLocation;
+ }
});
});
</script>
@@ -97,7 +315,18 @@ limitations under the License.
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
- });
+ });
+ $('#accordion a').each(function() {
+ var a = $(this);
+ var href = a.attr("href");
+ if (href.indexOf("#") == -1) {
+ var compareIt = href.substr(2, href.length);
+ if (document.location.href.indexOf(compareIt)!= -1) {
+ a.addClass('active');
+ }
+ }
+ });
+
});
</script>
@@ -147,7 +376,7 @@ limitations under the License.
<!-- ============================================================ -->
<div id="accordion" width="100%">
- <h3><a href="#">General</a></h3>
+ <h3><a href="#General">General</a></h3>
<div width="100%">
<a href="./index.html">Home</a>
<br/>
@@ -158,14 +387,14 @@ limitations under the License.
<a href="./downloads.html">Downloads</a>
<br/>
</div>
- <h3><a href="#">Installation and Upgrade</a></h3>
+ <h3><a href="#InstallationandUpgrade">Installation and Upgrade</a></h3>
<div width="100%">
<a href="./installation.html">Installation</a>
<br/>
<a href="./Upgrade.html">Upgrade</a>
<br/>
</div>
- <h3><a href="#">Community</a></h3>
+ <h3><a href="#Community">Community</a></h3>
<div width="100%">
<a href="./get-involved.html">Get Involved</a>
<br/>
@@ -176,7 +405,7 @@ limitations under the License.
<a href=".https://cwiki.apache.org/OPENMEETINGS/">Wiki</a>
<br/>
</div>
- <h3><a href="#">Development</a></h3>
+ <h3><a href="#Development">Development</a></h3>
<div width="100%">
<a href="./svn.html">Source Code</a>
<br/>
@@ -189,7 +418,7 @@ limitations under the License.
<a href="./JUnitTesting.html">JUnit Testing</a>
<br/>
</div>
- <h3><a href="#">Integration</a></h3>
+ <h3><a href="#Integration">Integration</a></h3>
<div width="100%">
<a href="./SoapRestAPI.html">SOAP/REST API</a>
<br/>
@@ -198,7 +427,7 @@ limitations under the License.
<a href="./LdapAndADS.html">Ldap and ADS</a>
<br/>
</div>
- <h3><a href="#">Configuration</a></h3>
+ <h3><a href="#Configuration">Configuration</a></h3>
<div width="100%">
<b>DB Sample Configurations</b><br/>
<a href="./ApacheDerbyConfig.html">Apache Derby</a>
Modified: incubator/openmeetings/trunk/singlewebapp/docs/CalendarAndTimezone.html
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/CalendarAndTimezone.html?rev=1220823&r1=1220822&r2=1220823&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/CalendarAndTimezone.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/CalendarAndTimezone.html Mon Dec 19 16:12:47 2011
@@ -71,7 +71,225 @@ limitations under the License.
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
- navigation: false
+ navigation: true,
+ navigationFilter: function () {
+ var sidebarHrefArray = this.href.split("/");
+ var sideBarLastString = sidebarHrefArray[sidebarHrefArray.length - 1].toLowerCase();
+
+ if (sideBarLastString.indexOf("#") == -1) {
+ return false;
+ }
+
+ /* document.location.href */
+ var currentSection = "";
+
+ var currentLocation = "";
+ var currentLink = "";
+ if (false) {
+
+ }
+
+ else if (document.location.href.indexOf("/index.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/index.html".substr(1, "/index.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/license.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/license.html".substr(1, "/license.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://www.apache.org/") > 0) {
+ currentLocation = "General";
+ currentLink = "http://www.apache.org/".substr(1, "http://www.apache.org/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/downloads.html") > 0) {
+ currentLocation = "General";
+ currentLink = "/downloads.html".substr(1, "/downloads.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/installation.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/installation.html".substr(1, "/installation.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/Upgrade.html") > 0) {
+ currentLocation = "InstallationandUpgrade";
+ currentLink = "/Upgrade.html".substr(1, "/Upgrade.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/get-involved.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/get-involved.html".substr(1, "/get-involved.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/team-list.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/team-list.html".substr(1, "/team-list.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/mail-lists.html") > 0) {
+ currentLocation = "Community";
+ currentLink = "/mail-lists.html".substr(1, "/mail-lists.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("https://cwiki.apache.org/OPENMEETINGS/") > 0) {
+ currentLocation = "Community";
+ currentLink = "https://cwiki.apache.org/OPENMEETINGS/".substr(1, "https://cwiki.apache.org/OPENMEETINGS/".length);
+ }
+
+
+ else if (document.location.href.indexOf("/svn.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/svn.html".substr(1, "/svn.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("http://issues.apache.org/jira/browse/OPENMEETINGS") > 0) {
+ currentLocation = "Development";
+ currentLink = "http://issues.apache.org/jira/browse/OPENMEETINGS".substr(1, "http://issues.apache.org/jira/browse/OPENMEETINGS".length);
+ }
+
+
+ else if (document.location.href.indexOf("/dependencies.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/dependencies.html".substr(1, "/dependencies.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/BuildInstructions.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/BuildInstructions.html".substr(1, "/BuildInstructions.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/JUnitTesting.html") > 0) {
+ currentLocation = "Development";
+ currentLink = "/JUnitTesting.html".substr(1, "/JUnitTesting.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/SoapRestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/SoapRestAPI.html".substr(1, "/SoapRestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/RestAPI.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/RestAPI.html".substr(1, "/RestAPI.html".length);
+ }
+
+
+ else if (document.location.href.indexOf("/LdapAndADS.html") > 0) {
+ currentLocation = "Integration";
+ currentLink = "/LdapAndADS.html".substr(1, "/LdapAndADS.html".length);
+ }
+
+ else if (document.location.href.indexOf("/ApacheDerbyConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/ApacheDerbyConfig.html".substr(1, "/ApacheDerbyConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/IBMDB2Config.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/IBMDB2Config.html".substr(1, "/IBMDB2Config.html".length);
+ }
+ else if (document.location.href.indexOf("/OracleConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/OracleConfig.html".substr(1, "/OracleConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/MySQLConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/MySQLConfig.html".substr(1, "/MySQLConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/PostgresConfig.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PostgresConfig.html".substr(1, "/PostgresConfig.html".length);
+ }
+ else if (document.location.href.indexOf("/Internationalisation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Internationalisation.html".substr(1, "/Internationalisation.html".length);
+ }
+ else if (document.location.href.indexOf("/LanguageEditor.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/LanguageEditor.html".substr(1, "/LanguageEditor.html".length);
+ }
+ else if (document.location.href.indexOf("/TimeZoneHandling.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/TimeZoneHandling.html".substr(1, "/TimeZoneHandling.html".length);
+ }
+ else if (document.location.href.indexOf("/EditTemplates.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/EditTemplates.html".substr(1, "/EditTemplates.html".length);
+ }
+ else if (document.location.href.indexOf("/PortSettings.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/PortSettings.html".substr(1, "/PortSettings.html".length);
+ }
+ else if (document.location.href.indexOf("/JVMPerformanceTuning.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/JVMPerformanceTuning.html".substr(1, "/JVMPerformanceTuning.html".length);
+ }
+ else if (document.location.href.indexOf("/BrandingAndColors.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/BrandingAndColors.html".substr(1, "/BrandingAndColors.html".length);
+ }
+ else if (document.location.href.indexOf("/WebappNamePath.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebappNamePath.html".substr(1, "/WebappNamePath.html".length);
+ }
+ else if (document.location.href.indexOf("/Navigation.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Navigation.html".substr(1, "/Navigation.html".length);
+ }
+ else if (document.location.href.indexOf("/Dashboard.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/Dashboard.html".substr(1, "/Dashboard.html".length);
+ }
+ else if (document.location.href.indexOf("/CalendarAndTimezone.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/CalendarAndTimezone.html".substr(1, "/CalendarAndTimezone.html".length);
+ }
+ else if (document.location.href.indexOf("/WebcamResolutions.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/WebcamResolutions.html".substr(1, "/WebcamResolutions.html".length);
+ }
+ else if (document.location.href.indexOf("/GeneralConfiguration.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GeneralConfiguration.html".substr(1, "/GeneralConfiguration.html".length);
+ }
+ else if (document.location.href.indexOf("/RestrictedAccess.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RestrictedAccess.html".substr(1, "/RestrictedAccess.html".length);
+ }
+ else if (document.location.href.indexOf("/RTMPSAndHTTPS.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/RTMPSAndHTTPS.html".substr(1, "/RTMPSAndHTTPS.html".length);
+ }
+ else if (document.location.href.indexOf("/GetVersionInfo.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/GetVersionInfo.html".substr(1, "/GetVersionInfo.html".length);
+ }
+ else if (document.location.href.indexOf("/FFMPEGVersionSwitch.html") > 0) {
+ currentLocation = "Configuration";
+ currentLink = "/FFMPEGVersionSwitch.html".substr(1, "/FFMPEGVersionSwitch.html".length);
+ }
+
+ currentLink = currentLink.toLowerCase();
+ currentLocation = currentLocation.toLowerCase();
+
+ return sideBarLastString == currentLink+"#"+currentLocation;
+ }
});
});
</script>
@@ -97,7 +315,18 @@ limitations under the License.
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
- });
+ });
+ $('#accordion a').each(function() {
+ var a = $(this);
+ var href = a.attr("href");
+ if (href.indexOf("#") == -1) {
+ var compareIt = href.substr(2, href.length);
+ if (document.location.href.indexOf(compareIt)!= -1) {
+ a.addClass('active');
+ }
+ }
+ });
+
});
</script>
@@ -147,7 +376,7 @@ limitations under the License.
<!-- ============================================================ -->
<div id="accordion" width="100%">
- <h3><a href="#">General</a></h3>
+ <h3><a href="#General">General</a></h3>
<div width="100%">
<a href="./index.html">Home</a>
<br/>
@@ -158,14 +387,14 @@ limitations under the License.
<a href="./downloads.html">Downloads</a>
<br/>
</div>
- <h3><a href="#">Installation and Upgrade</a></h3>
+ <h3><a href="#InstallationandUpgrade">Installation and Upgrade</a></h3>
<div width="100%">
<a href="./installation.html">Installation</a>
<br/>
<a href="./Upgrade.html">Upgrade</a>
<br/>
</div>
- <h3><a href="#">Community</a></h3>
+ <h3><a href="#Community">Community</a></h3>
<div width="100%">
<a href="./get-involved.html">Get Involved</a>
<br/>
@@ -176,7 +405,7 @@ limitations under the License.
<a href=".https://cwiki.apache.org/OPENMEETINGS/">Wiki</a>
<br/>
</div>
- <h3><a href="#">Development</a></h3>
+ <h3><a href="#Development">Development</a></h3>
<div width="100%">
<a href="./svn.html">Source Code</a>
<br/>
@@ -189,7 +418,7 @@ limitations under the License.
<a href="./JUnitTesting.html">JUnit Testing</a>
<br/>
</div>
- <h3><a href="#">Integration</a></h3>
+ <h3><a href="#Integration">Integration</a></h3>
<div width="100%">
<a href="./SoapRestAPI.html">SOAP/REST API</a>
<br/>
@@ -198,7 +427,7 @@ limitations under the License.
<a href="./LdapAndADS.html">Ldap and ADS</a>
<br/>
</div>
- <h3><a href="#">Configuration</a></h3>
+ <h3><a href="#Configuration">Configuration</a></h3>
<div width="100%">
<b>DB Sample Configurations</b><br/>
<a href="./ApacheDerbyConfig.html">Apache Derby</a>