Second menu for B-Master pages
I have a horizontal menu at the top of my website in the A-Master. One of the items in the main menu, "Our Company" uses the B-Master and has several pages under it, also using the B-Master. I would like a completely separate vertical menu on the side of the website showing all the pages, linked under the "Our Company" page that are using the B-Master. I don't want this as a dropdown menu from the main menu. I want it to be its own menu, always showing, separate from the main menu. How do I go about doing this, short of creating a manual menu? I don't want to have to go into the menu and manually update it every time a new page is added. I want it to be automatic, just like the main menu is. Can this be done?
No this cannot be done. The sub menu would have to be manual. But if it is on a master it really isn't a big deal to add a new link.
Similar Messages
-
How to display page no for different master pages in one adobe form application
Hi All,
we have requirement where we need to display page nos in different master pages in one single adobe form.
For the First form the page nos should be displayed pgno of total pages and for 2nd form the page no shuld be displayed as pgno of total pg.
so please help me with any script or suggestions for displaying the page no accordingly in different master pages. Your suggestions are greatly appreciated.
Thanks
Raja.Hi Lingaraj,
We have 2 different Master pages and 2 Body pages. For the seccond Master page the page no are comming correct like 1 of 3 ,2 of 3 and 3 of 3 but for First master page the page no are comming 0 of 3 in all of the page its not displaying the current page no in 1st master page.
Screen shots are attached for first master page and Hierarchy Node.Pls see the highlighted section in 2nd image.
Pls see and suggest me accordingly. Hope this helps are let me know anything u require. -
What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *
My 2nd gen works fine with WPA2 and AES encryption.
You may need to go back and start over. Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router. -
Why Is The Menu On The Master Page BELOW The Objects In Other Pages?
I added a menu on the master page using the Composition widget called featured news and it stays behind the other objects on normal pages.
How do I fix this? Here are the pictures of the menu when it's closed and when it's open.Make a new layer, which is by default placed above all other layers.
Go to your master page and drag the menu onto this layer. -
Scaling a menu in the master page makes muse quit..
scaling a menu in the master page makes muse quit..
Muse told me to report.. to i didHi, yeah i get a box saying something about "edge animate will close now, please report the last steps to the support"..
I have a menu item. with some subpages. Its placed in a master page, that the other pages are based on.. I try to scale it down, and the application shows the error box, and exits. (after i click ok, i believe it was)
Im running Mac osx 10.9.5, latest muse build.
//PoulG -
Is there any way to edit the standard Firefox context menu for displayed Web pages?
Is there any way to edit the standard Firefox context menu for displayed Web pages? I frequently want to save a picture appearing on a page. Sometimes I "slip" and hit "Send Image" when I want "Save Image As", and have to sit and wait for a default send-mail page to come up, then close it, fiddling with its "are you sure" dialogs. This is a painful way to handle a slip-up. I basically NEVER want to e-mail an element directly from a page. Is there any way I can just delete "Send Image" from the context menu?
You can remove entries in the context menu with code in the userChrome.css file
*http://kb.mozillazine.org/userChrome.css
Some IDs are listed in this MozillaZine Knowledge Base article:
*http://kb.mozillazine.org/Chrome_element_names_and_IDs
To find the ID of others you will have to use the DOM Inspector.
* https://support.mozilla.org/kb/DOM+Inspector
* https://developer.mozilla.org/En/DOM_Inspector
* https://developer.mozilla.org/en/Introduction_to_DOM_Inspector
* DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/ -
Click event on sub page menu makes my master page menu go away..???
I've populated a menu using xml retrieved from a stored procedure and all is working great, except when I select an item from the sub menu and call a click event and it makes my main menu on my site.master go away and shifts the current aspx page up.
<asp:Menu ID="mnu_catproj" runat="server" BackColor="#B5C7DE" DynamicEnableDefaultPopOutImage="False" DynamicHorizontalOffset="2"
DynamicPopOutImageTextFormatString="" Style="position: relative;" Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Size="X-Small"
ForeColor="White" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" StaticSubMenuIndent="10px" >
<DataBindings>
<asp:MenuItemBinding DataMember="Category" TextField="#InnerText" ValueField="#Value" />
<asp:MenuItemBinding DataMember="Project" TextField="#InnerText" />
</DataBindings>
<DynamicHoverStyle BackColor="#CC9900" ForeColor="#0000CC" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="#B5C7DE" />
<DynamicSelectedStyle BackColor="#507CD1" />
<StaticHoverStyle BackColor="#284E98" ForeColor="White" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<StaticSelectedStyle BackColor="#507CD1" />
</asp:Menu>
Protected Sub mnu_catproj_MenuItemClick(sender As Object, e As MenuEventArgs) Handles mnu_catproj.MenuItemClick
lblCategory.Text = mnu_catproj.SelectedItem.Parent.Text.ToString()
lblProject.Text = mnu_catproj.SelectedItem.Text()
btnMD_submit.Enabled = True
End Sub
I know the click event is calling the subroutine but the Master Page menu goes away
<asp:Menu ID="MainMenu" runat="server" DataSourceID="XmlDataSource1" Font-Names="Verdana" ForeColor="#333399" ScrollDownImageUrl="/Images/menuSeparator.gif" StaticPopOutImageUrl="/Images/menuSeparator.gif" Orientation="Horizontal" DynamicPopOutImageUrl="~/Images/triangle-16.gif" ItemWrap="True" CssClass="menuStyle" Height="27px">
<DataBindings>
<asp:MenuItemBinding DataMember="Menu" Depth="0" TextField="text" Selectable="False" />
<asp:MenuItemBinding DataMember="SubMenu" Depth="1" NavigateUrlField="url" TextField="text" ValueField="url" />
<asp:MenuItemBinding DataMember="SubMenu" Depth="2" NavigateUrlField="url" TextField="text" ValueField="url" SelectableField="url" />
<asp:MenuItemBinding DataMember="SubMenu1" NavigateUrlField="url" TextField="text" ValueField="text" ToolTipField="#Value" TargetField="target" />
</DataBindings>
<DynamicHoverStyle BackColor="#003399" Font-Size="X-Small" ForeColor="White" Font-Bold="False" />
<DynamicMenuItemStyle HorizontalPadding="10px" VerticalPadding="5px" BackColor="#E5E5E5" BorderColor="#999999" BorderStyle="Solid" BorderWidth="0.01em" Font-Size="X-Small" ForeColor="Black" />
<DynamicMenuStyle BackColor="#E5E5E5" />
<DynamicSelectedStyle BackColor="#507CD1" Font-Size="X-Small" />
<StaticHoverStyle BackColor="#FF9900" ForeColor="White" Font-Bold="False" />
<StaticMenuItemStyle HorizontalPadding="15px" VerticalPadding="4px" />
<StaticMenuStyle CssClass="menuStyle" />
<StaticSelectedStyle BackColor="#FFCC66" />
</asp:Menu>
finally: this works fine in Firefox browser but not in IE or ChromeHi DeanO78O,
This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
You could post it in the dedicated ASP.Net Forum
http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I created a Muse site long ago, and wanted to fix my SEO easily overall by better analytics among other things.
Perhaps I am doing this the wrong way but I was thinking I could create a master page that I could just drop the html I needed into, and thus not fuss too much with my other pages. The problem is I already have master pages that my site is based on (before you could do this), and it would be much easier to have those master pages stem from one source (a Master master page?).
Everytime I try to do this it changes my current master and final pages. Anyway I can create and invisible master so this doesn't happen?
What should I do instead?
THANK YOU.
WilliamThanks,
Your intructions were my plan untill I realized that in doing so, it changed the backgrounds etc of my current masterpages. I realize that this is a lack of planning due to my very rusty design principles, and something I wouldn't have done in my day job if the features had been in place. (so thank you for the new features!)
While I realize I could probably fix this by recreating the site with a uniform underlying Primary Master Page feeding into my Secondary Master Pages, I was trying to create a master page that in effect wouldn't change a thing in the other subservient masterpages (thus allowing me freedom to create groups of pages with common analytics or any other types of code).
Simply when I take your suggestion, things change... can I do this without making things change?
Not sure if this makes sense. I am trying to avoid coding or a overhaul b/c of time constraints.
William -
CS5: Watch out for a master page bug
I found a pretty serious bug in CS5. I opened a catalog I created with CS4, which has master pages for page frames. I also have occasional left or right title pages which have no frames, and [none] selected as master.
Elements aligned to spread center on right or left page will sometimes appear on the spread even if the page has [none] as master, but the facing page has a master applied.
This is difficult to explain, but it seems that the new page system has messed up something and CS5 thinks the element is overlapping both master pages, even tho it's only aligned to center. If I nudge the element by 0,01 mm away from center, it will disappear from the facing page.
Check your layouts before sending to print.How exactly would that work?
I export from CS4 and open the exported to CS5?
or
I open the CS4 document in CS5, export and re-load exported to again CS5? -
What is the best practice for creating master pages and styles with translated text?
I format translated text all the time for my company. I want to create a set of master pages and styles for each language and then import those styles into future translated documents. That way, the formatting can be done quickly and easily.
What are the best practices for doing this? As a company this has been tried in the past, but without success. I'd like to know what other people are doing in this regard.
Thank you!I create a master template that is usually void of content, with the exception I define as many of the paragraph styles I believe can/will be used with examples of their use in the body of the document--a style guide for that client. When beginning a new document for that client, I import those styles from the paragraph styles panel.
Exception to this is when in a rush I begin documentation first, then begin new work. Then in the new work, I still pull in those defined paragraph and or object styles via their panels into the new work.
There are times I need new styles. If they have broader applicability than a one-off instance or publication, then I open the style template for that client and import that style(s) from the publication containing the new style(s) and create example paragraphs and usage instructions.
Take care, Mike -
Script for switching master pages
Would it be possible to write a script to do this: Replace one master page with another whenever a certain paragraph style appears? I'm looking for a quick way to replace my A Master (with running header and page number) with the None Master on pages where new chapters begin.
Clarkhere you go (it also creates sections)
var ProgressBar = function(/*str*/title){
var w = new Window('palette', ' '+title, {x:0, y:0, width:340, height:60}),
pb = w.add('progressbar', {x:20, y:12, width:300, height:12}, 0, 100),
st = w.add('statictext', {x:10, y:36, width:320, height:20}, '');
st.justify = 'center';
w.center();
this.reset = function(msg,maxValue)
st.text = msg;
pb.value = 0;
pb.maxvalue = maxValue||0;
pb.visible = !!maxValue;
w.show();
this.hit = function() {++pb.value;};
this.hide = function() {w.hide();};
this.close = function() {w.close();};
function main(){
var doc = app.documents.item(0);
// Create a list of paragraph styles
var list_of_paragraph_styles = [];
var all_paragraph_styles = [];
var list_of_masters_names=[];
var list_of_masters=[];
for (var i= 0; i<doc.masterSpreads.length;i++){
list_of_masters_names.push(doc.masterSpreads[i].name);
list_of_masters.push(doc.masterSpreads[i]);
list_of_masters_names.push("undefined");
doc.paragraphStyles.everyItem().name;
for(var i = 0; i < doc.paragraphStyles.length; i++) {
list_of_paragraph_styles.push(doc.paragraphStyles[i].name);
all_paragraph_styles.push(doc.paragraphStyles[i]);
for(var i = 0; i < doc.paragraphStyleGroups.length; i++) {
for(b = 0; b < doc.paragraphStyleGroups[i].paragraphStyles.length; b++) {
list_of_paragraph_styles.push(doc.paragraphStyleGroups[i].name+"->"+doc.paragraphStyleGroups[i].paragraphStyles[b].name);
all_paragraph_styles.push(doc.paragraphStyleGroups[i].paragraphStyles[b]);
// Make the dialog box for selecting the paragraph styles
var the_dialog = app.dialogs.add({name:"Section start at paragraph style:"});
with(the_dialog.dialogColumns.add()){
with(dialogRows.add()){
staticTexts.add({staticLabel:"Find:"});
with(borderPanels.add()){
var find_first_paragraph = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Apply Master:"});
with(borderPanels.add()){
var change_master = dropdowns.add({stringList:list_of_masters_names, selectedIndex:0});
staticTexts.add({staticLabel:"Select \"undefined\" not to change"});
the_dialog.show();
// Define paragraph styles
var myParagraph = all_paragraph_styles[find_first_paragraph.selectedIndex];
var myMaster=(list_of_masters_names[change_master.selectedIndex]!="undefined")?list_of_masters[change_master.selectedIndex]:null;
app.findChangeGrepOptions.includeFootnotes = false;
app.findChangeGrepOptions.includeHiddenLayers = false;
app.findChangeGrepOptions.includeLockedLayersForFind = false;
app.findChangeGrepOptions.includeLockedStoriesForFind = false;
app.findChangeGrepOptions.includeMasterPages = false;
app.findGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.appliedParagraphStyle = myParagraph;
var myFound=doc.findGrep();
var i=myFound.length;
var pBar = new ProgressBar("Sectioning");
pBar.reset("Rabdare...", i);
while (i--)
pBar.hit();
if (myFound[i].parentTextFrames[0].parent.constructor.name=="Character"){
var myPage=myFound[i].parentTextFrames[0].parent.parentTextFrames[0].parentPage;}
else{
var myPage=myFound[i].parentTextFrames[0].parentPage;}
var mySection;
if (myPage.appliedSection.pageStart==myPage){mySection=myPage.appliedSection;}
else{
doc.sections.add(myPage,{pageNumberStart:1})};
// mySection.pageStart=myPage;
//mySection.pageNumberStart=1;
if (myMaster) {myPage.appliedMaster=myMaster};
alert("Acum e gata!!");
app.doScript('main()',undefined,undefined,UndoModes.entireScript,'AutoSections');
//main(); -
Tips for making master pages??
Hello,
I am making a master page that will contain jpeg images, and I am having trouble getting them to "snap to" the guides". Before, in CS3, I remember when I moved an image close to a guide, it would automatically "snap to" it, but for some reason that doesn't seem to always happen here. I am not using the baseline or other grids at all, I have made guides. The guides are two perpendicular lines, and try to snap them to the right angle formed by the lines.
Hope that explanation wasn't confusing. I just want to find a good way to set up my master page and to establish guides. It is possible to use the "snap to" with guides alone and not the grids, right? To get rid of the grids I set the spacing for the lines for very large distances so they wouldn't appear at all.
Cheers for any assistance in advance...Hello,
Thanks for the replies. The "snap to" option is on, as well as the "guides in back" option. What will happen is, I drag an image within range of the guide (I'm not using a grid) and it will be very close, but I often have to adjust it slightly, for example (I have it set for inches as the unit of measurement) I want one image to be at the guideline, which is .7817 but too I dragged (drug?) near to the guide ended u at .7823. Once I get this close to the guide, shouldn't the snap to" take over? BTW, my "snap to" zone is 12px.
I see that both "align to object edge" and "align to object center" are checked... should I uncheck "align to object center"? -
Load different css for one master page in different variation labels
Hi
i have two variation label in my SharePoint 2013 site collection
one for English language
and one for the Arabic language
i have used the twitter bootstrap so now i have one master page and one style file for the two sites
i need to load custom css for Arabic to handle the RTL so how can load English style and Arabic style
should i use cssregistration and how
or any suggestion please :)Hi,
We can use jQuery to add the css file based on some conditions, the following code for your reference:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
$( function() {
if ($("#label1").val()== "English") {
$("<link href='css/custom-en.css' rel='stylesheet' type='text/css' />").appendTo('head');
} else if ($("#label2").val() == "Arabic") {
$("<link href='css/custom-ar.css' rel='stylesheet' type='text/css' />").appendTo('head');
</script>
Best Regards
Dennis Guo
TechNet Community Support -
I need to fix this footer text on the home page. The type on the master page is centered inside a white 50px box. But in preview mode, the line of text drops 50px down below the bottom of page. I unchecked the sticky footer in the site properties and also set the line of text as footer item. The setting was the same on my second master and it comes out fine.
Hi
The "content" div is styled to have 100px height and visible overflow. So the text is overflowing the div but the footer is "unaware" / ingoring it and positions itself after "sidebar2"
Change the height of "content" to 100% and it should work.
Kind Regards,
Alex -
Using Expression Web for editing master pages
I have SP Foundation 2013 and I am trying to edit a master page in Expression web since SP Designer no longer has design view. Reading the documentation it says that any HTML tools such as dreamweaver, Expression Web etc can be used.
I have mapped a drive to the Master Page Gallery and made a copy of the master page I am trying to edit.
When I open it up in Expression Web I get the following error:
Error creating Control - SPHtmlTag
Unknown Server Tag Sharepoint:SPHtmlTag
Can anyone help? I'm by far no web developer or Sharepoint Developer and I just want to make some simple changes to the master page such as adding a footer with some links/images etc so it displays on all pages within the site, which is just a basic intranet
site for a small company.
Any help would be appreciated, thanks.you use HTML tools such as dreamweaver to desgin the .html file associated with the .master file:
http://blogs.technet.com/b/speschka/archive/2012/07/27/using-dreamweaver-and-design-manager-with-sharepoint-2013.aspx
GuYuming
TechNet Community Support
Maybe you are looking for
-
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
-
I'm trying to wrap a div tag and place the smaller tag at the bottom left of the original tag. I can get it in the upper left corner. How do I bring it down to the bottom of the page?
-
HT4623 Getting the error message "Unable to Install Update" when trying to install IOS update
Getting the error message "Unable to Install Update" when trying to install IOS update
-
BAPI 001 No instance of object type purchaseorder has been created
Hello All, I get teh following error message in SC monitor (backend application error) as well as in RZ20. I tried to push into backend but no luck.Scenario Classic.SRM 5.0 Shopping cart XXXXX(PO XXXXX) BAPI 001 No instance of object type purchaseord
-
Should I Get Vision Film Club For Free?
I currently receive all the on-demand TV, Kids, Replay, Music and Sport for "free" as part of my subscription. Should I get Vision Film Club too? As it is I just get the trailer / Can't see films in Vision Film club?