R7-Office: updated top menu and corrected errors
This commit is contained in:
parent
1bd47b1dee
commit
cd2eef23f0
@ -7,7 +7,7 @@
|
||||
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DocumentServerTop/DocumentServerTop.ascx" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
|
||||
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/APIEditors/Signagure/Request.ascx" />
|
||||
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/APIEditors/Signature/Request.ascx" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
|
||||
<div class="guidespage document">
|
||||
|
@ -288,6 +288,7 @@ nav ul li a.menuitem:hover {
|
||||
color: @redColor;
|
||||
border-color: @redColor;
|
||||
}
|
||||
.api_editors #navitem_apieditors,
|
||||
.community_server_api #navitem_portals,
|
||||
.pdf_documentation.desktop_editors #navitem_setup,
|
||||
.desktop_linux_version.desktop_editors #navitem_setup,
|
||||
|
@ -4415,4 +4415,7 @@ h1 {
|
||||
padding: 17px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.community_server_api .menuleft ul > ul {
|
||||
display: none;
|
||||
}
|
@ -1,7 +1,15 @@
|
||||
$(document).ready(function() {
|
||||
$(".menuleft a, .bottommenu a").each(function(e) {
|
||||
var t = window.location.href.replace(window.location.hash, "").toLowerCase();
|
||||
this.href.trim().toLowerCase() == t ? $(this).addClass("selected") : $(this).removeClass("selected")
|
||||
if ($('a.up')[0] !== undefined) {
|
||||
var tlink = $('a.up')[0].href.toLowerCase();
|
||||
} else {
|
||||
var tlink = '';
|
||||
}
|
||||
if(this.href.trim().toLowerCase() == t || (this.href.trim().toLowerCase() == tlink && tlink !== '')){
|
||||
$(".menuleft a, .bottommenu a").removeClass("selected")
|
||||
$(this).addClass("selected");
|
||||
}
|
||||
}),
|
||||
function e() {
|
||||
n = window.innerWidth, l > n ? location.reload(!0) : n > l ? location.reload(!0) : n = l
|
||||
@ -24,4 +32,4 @@
|
||||
return $("div.mobile_table_contents span").text(t), !1
|
||||
}
|
||||
})
|
||||
}));
|
||||
}));
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user