How to have some top level menu items not be hyperlinks
I have a navigation band where 5 of the 6 top level items need to NOT be hyperlinks but simply "category titles" that you mouseover to display the submenu - which are the links to web pages.
An example of this is on the Amazon.com home page - the items under "Shop All Departments" has categories that are not clickable, but when you mouseover display the clickable submenu.
Is it possible to customize some but not all of the top menu items and how?
What do I need to modify in the CSS so that the top "category title" looks/behave the submenu (same font color/bgcolor changes) but no active hyperlink?
Here is a link to my pagewhere I am testing the navigation. Currently there is only this one page and I have <a href="#"> for the links.
The only menu item that should be clickable in the top level is "Contact"
Everything in the second and third level (Events > Research >...) needs to be clickable
Everything is working as I want except that "Research" needs to be clickable
- and I would like to have the clickable item text be underline when in the hover state but I want to get the base navigation working first
The closest matching code I found in the CSS is:
#MenuBar1 li .MenuBarItemSubmenu,
#MenuBar1 li ul li .MenuBarItemSubmenu {
cursor: default;
If I remove this, all the top level items become clickable. Let me know if there is other information you need. I super appreciate your help with this!
Similar Messages
-
A top level menu item should display its active state if any of its submenu items are active
Example case: I'm designing a Muse site which is basically a portfolio of our work. We design books, doing page layout and covers. We have numerous book categories and sub categories which I put in a horizontal menu. When a given top level category menu item doesn't have a submenu, it is a hyperlink and it displays active state when the browser displays its linked page. But when a given page is displayed from a submenu link, its top level menu item does NOT display active state. I think it should.
For example, we have a "Nostalgia" category which has "Film" and "TV" subcategories. Because the menu item, "Nostalgia" has a submenu containing "Film" and "TV", the label "Nostalgia" is not a hyperlink. The submenu attached to it has the two hyperlinked items "Film" and "TV". When the browser is displaying either linked page, the submenu is hidden. So it would be nice if the top level item, "Nostalgia" would display in an active state.Hello Daniel,
As of now this feature is not there in Adobe Muse.
I would suggest you to please log this as a feature request in our "Ideas for features in Adobe Muse" section. (http://forums.adobe.com/community/muse/ideas)
Hope this helps.
Regards,
Sachin -
How to add a top level menu to TestStand Sequence Editor
Hi,
Am unable to add a new top level menu item like File, Edit, Tools, Windows in Sequence Editor. Is it possible to add the same? Can anyone share code snippet to use TestStand API so that a new menu is created?
Please find the attached snapshot and am trying to add "NewMenu" to SeqEdit.
TestStand Version is 4.0
Thanks
Mrm
Attachments:
NewtopLevelMenu.JPG 184 KBHello Mrm,
Adding a new menu is not going to be possible since the source code of the Sequence Editor is not accessible. However, you do have a few options:
1) Add a new toolbar
2) Create and entry point (configuration or execution) that will show in one of the existing menus. Here is a KnowledgeBase article that describes this more.
3) Customize the right click context menus.
4) Build your own UI or customize one of the shipping UI's (since you have access to that source code).
What is the overall goal in doing this? Let me know so I can assist you further if needed.
With warm regards,
David D. -
My user defined menu items not shown up in Main Menu
Hi,
I have some my own menu items need to add into Main Menu list, it works fine but only issue is the screen flash lot. Since all the menu items are in the form called "Main Menu" form then I tried to use oForm.Freeze(true) and oForm.Freeze(false) before and after adding menu items. Now the weird thing is though the screen doesn't flash but i can't see the new added menu items in the Main Menu form. But I can see them under the system menu Modules menu. Any idea?
Thanks!
LanHi All,
After check the SDK help, I found the reason. I need to call oForm.Update() after. Now it works well.
Lan -
Top navigation menu items should open in new tab
In a share point 2013 site, i have created top navigation using term set from managed meta data. some of the menu items navigate the user with in the site whereas some other menu items will navigate to the external sites. My requirement is I want to open
external links in new tab and internal links in same tab itself.
Please advise.
Regards,
Chaitanya.Assuming that internal URL are relative and external urls are absolute, you can use a jQuery script to add target="_blank" attribute to the links.
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
How to create a cursor in menu item???
Hi,
How to create a cursor in menu item??? and process data inside the SQL Editor of Menu Item>????
Regards,ok, you mean: When the form is starting you want to disable some menues.
create a WHEN-NEW-FORM-INSTANCE-trigger in your form and then do the loop over the menu-item
what is ENTITIES? The name of a table ? -
XML document must have a top level element
Hi all,
I have deployed my web services in 904. When I try to see the generated wsdl, I am seeing:
XML document must have a top level element.
in IE. Does anyone know why?
Thanks.If you take a look under the location where the application was deployed, you should find a file with the name of your interface (or class) and the extension .wsdl.
If there is already a file of that name, we do not try to re-generate it. If this file is not a valid XML file, then it will explain the error message you are seing.
Another reason for this error is when the code generation fail silently. It can occurs in some rare case, when you have started oc4j using a JRE instead of JDK (without javac).
Hope this helps,
Eric -
Link to top-level navigation items
hi all,
does anybody know how to create a link to a top-level navigation item from an jsp iView? the idea is similar to Home-page and area-page concept in the new ESS with WebDynpro. From the home-page, users can navigate direct to an item which is displayed in the top-level navigation. fyi, we are on EP6.
Thanks in advance.Hi,
You can create links to any navigation node, the keyword here is NavigationTarget.
Check this for more:
http://help.sap.com/saphelp_nw70/helpdata/EN/43/014421d21d6fade10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/b3/7b8163404448e7aad7899c0b30313e/frameset.htm
Regards,
Praveen Gudapati -
How to make the spacing between menu items equal with varied menu item sizes
If the title isn't clear, what I mean is how do you make the space between each of the items in a horizontal the same when some of the menu items are up to double the size of others. Currently I am using the margin property and the space between the larger items is smaller than between the smaller items.
If you need more information just ask.Screenshots don't tell the whole story which is contained in your HTML and CSS code.
Without a link to your test page or a look at your code (all of it) the best we can provide is wild guesses.
Help us help YOU by providing a link.
HOW IMPORTANT IS CODE? A Plea to new posters.
http://forums.adobe.com/thread/691654?tstart=0
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
XML document must have a top level element. Error processing resource
Hi,
I am trying to send a XML file to a web browser from a servlet. I read the contents of the XML file into a string and I am sending it to the brower. Before I do this I set the 'Content-type' header of the httpResponse to "application/xml" . Embedded in the XML file is an xml-stylesheet elemetn indicating which *.xsl stylesheet to use to parse the XML content.
I get the following error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'http://127.0.0.1:8080/testReplyingXML/xml-to-html.xs...
Now, if I take the stylesheet element out of the XML string I sent, then the browser stores the content into and *.xml file. I manually run the "xml-to-xsl " stylesheet mentioned in the error output above, and there is no problem, the xml content gets successfully transformed in a viewable HTML .
It is only when I embed the "stylesheet" element into the XML content that I get this error.
So the browser is receiveing valid XML.
I am not sure if the above error is complaining about the XML content I send or the stylesshet .
Does anyone have an idea of what am I doing wrong?
For your information here are my servlet code and the XML file:
servlet:-
package webapps.testReplyingXML;
import java.io.BufferedReader;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.FileReader;
import java.util.Enumeration;
import java.util.StringTokenizer;
import java.io.PrintWriter;
public class ReplyXML extends HttpServlet {
static int transactionCount = 0;
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException ,IOException {
String Q_PARAM = "query";
String requestString = req.getQueryString();
for ( Enumeration en = req.getParameterNames() ; en.hasMoreElements() ; )
String k = (String)en.nextElement() ;
String[] x = req.getParameterValues(k) ;
String s = null;
String DATA_PARAM= "";
for(int i = 0 ; i < x.length ; i++ )
s = x[i] ;
//System.out.println("s = " + s);
if (k.equals("query")){
try {
//res.setHeader("Content-Type", "application/xml");
//res.setHeader("Transfer-Encoding", "chunked");
//res.setHeader("Cache-Control", "no-cache");
//res.setHeader("Server", "Jetty/5.1.10");
//res.setHeader("Pragma", "no-cache");
//res.setHeader("X-Joseki-Server", "Joseki-3.0-dev");
res.setStatus(res.SC_OK);
StringBuffer fileData = new StringBuffer(1000);
BufferedReader reader = new BufferedReader(new FileReader("sparql_results.xml"));
char[] buf = new char[1024];
int numRead=0;
while((numRead=reader.read(buf)) != -1){
String readData = String.valueOf(buf, 0, numRead);
fileData.append(readData);
buf = new char[1024];
reader.close();
String xmlMsg= fileData.toString();
System.out.println("XMLMSG= " + xmlMsg);
PrintWriter outresp = res.getWriter();
outresp.println(xmlMsg);
outresp.close();
}catch (Exception e) {
e.printStackTrace();
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
doGet(req, res);
XML FILE:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="xml-to-html.xsl"?>
<sparql
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xs="http://www.w3.org/2001/XMLSchema#"
xmlns="http://www.w3.org/2005/sparql-results#" >
<head>
<variable name="book"/>
<variable name="title"/>
</head>
<results ordered="false" distinct="false">
<result>
<binding name="book">
<uri>http://example.org/book/book6</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Half-Blood Prince</literal>
</binding>
</result>
<result>
<binding name="book">
<uri>http://example.org/book/book5</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Order of the Phoenix</literal>
</binding>
</result>
<result>
<binding name="book">
<uri>http://example.org/book/book4</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Goblet of Fire</literal>
</binding>
</result>
<result>
<binding name="book">
<uri>http://example.org/book/book3</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Prisoner Of Azkaban</literal>
</binding>
</result>
<result>
<binding name="book">
<uri>http://example.org/book/book2</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Chamber of Secrets</literal>
</binding>
</result>
<result>
<binding name="book">
<uri>http://example.org/book/book1</uri>
</binding>
<binding name="title">
<literal>Harry Potter and the Philosopher's Stone</literal>
</binding>
</result>
</results>
</sparql>Error processing resource http://127.0.0.1:8080/testReplyingXML/xml-to-html.xs...
Well, if one more character had been deleted from that message then you would have a problem. But as it is, the error message says there's an error processing a resouce whose name ends with "xml-to-html.xs" followed by something. That would be the stylesheet if I'm not mistaken. Most likely the browser can't find it at the URL mentioned in the error message. -
How to un-checked the sub-menu items in the active document?
Can anybody let me know, how to make the "checked" sub-menu items in "Window" menu to "un-checked" through scripting. More clearly, i need to open a document alone without showing the tools bars, Document info, etc. Kindly help me the possiblities via scripting(vbscript / javascript). I am using illustrator cs3.
Thanks...With vb you could call an action that changes the workspace. I do this with AppleScript but its only any use for in-house stuff where I know the actions and workspaces are saved.
-
XML document must have a top level element. Error
Hi, I am trying to generate an XML. Below is a sample code from my function. The function generates a 0 byte file which when I try to open gives me 'xml document must have a top level element' error. Any ideas?
FUNCTION generateXml( p_1 VARCHAR2,
p_2 VARCHAR2,
p_3 VARCHAR2
) RETURN CLOB
IS
ctx dbms_xmlgen.ctxHandle;
xml CLOB;
v_sql varchar2(2000);
BEGIN
lv_sql:=' select * from v_dc where rownum =1';
ctx := dbms_xmlgen.newContext(v_sql);
dbms_xmlgen.setRowSetTag(ctx, 'CONTENT');
xml := dbms_xmlgen.getXML(ctx);
return xml;
END;
END generateXml;I just need to understand if we can generate XML from a sql that has sub-queries in it.Should be no problem:
SQL> create or replace function generatexml (p_1 varchar2, p_2 varchar2, p_3 varchar2)
return clob
is
ctx dbms_xmlgen.ctxhandle;
xml clob;
v_sql varchar2 (2000);
begin
v_sql := ' select * from dept left outer join (select * from emp) emp on (emp.deptno = dept.deptno) where rownum = 1';
ctx := dbms_xmlgen.newcontext (v_sql);
dbms_xmlgen.setrowsettag (ctx, 'CONTENT');
xml := dbms_xmlgen.getxml (ctx);
dbms_xmlgen.closecontext (ctx);
return xml;
end generatexml;
Function created.
SQL> select generatexml (null, null, null) xml from dual
XML
<?xml version="1.0"?>
<CONTENT>
<ROW>
<DEPTNO>10</DEPTNO>
<DNAME>ACCOUNTING</DNAME>
<LOC>NEW YORK</LOC>
<EMPNO>7782</EMPNO>
<ENAME>CLARK</ENAME>
<JOB>MANAGER</JOB>
<MGR>7839</MGR>
<HIREDATE>09.06.81</HIREDATE>
<SAL>2450</SAL>
<DEPTNO>10</DEPTNO>
</ROW>
</CONTENT>
1 row selected.Maybe your query simply doesn't return any rows? -
how do i find out what was ordered in my itunes account, i have some charges that i do not recognize. i have multiple devices on the same account.
Hello, chunnyb.
Thank you for visiting Apple Support Communities.
Here are the steps on how to view your purchase history in iTunes.
iTunes Store: See your purchase history and web order numbers
http://support.apple.com/kb/ht2727
If you need to report and issue with a purchase, see the article below.
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
http://support.apple.com/kb/ht1933
Cheers,
Jason H. -
How to disable and hide the menu items of 'copy From' button of Goods Recei
hi expert,
I am new in SAP B1. so please help me.
Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
Regards
sanojHi Sanoj,
Try This.....
If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
Dim oitem As SAPbouiCOM.Item
oitem = oform.Items.Item("10000330")
'To Disable the button
oitem.Enabled = False
'To hide the button
'oitem.Visible = False
End If
Thanks
Shafi
Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM -
Gmail in Safari - it's menu items not working or on and off
Ned Hamson here: Down loaded the neat ap and here is what if found:
Don't have a clue what leadertech is? Gmail in Safari - it's menu items not working or on and off.
[failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist
Hardware Information:
MacBook (13-inch, Mid 2009)
MacBook - model: MacBook5,2
1 2.13 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
NVIDIA GeForce 9400M - VRAM: 256 MB
System Software:
OS X 10.9.2 (13C1021) - Uptime: 0 days 5:31:41
Disk Information:
FUJITSU MHZ2160BH FFS G1 disk0 : (160.04 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Maggie (disk0s2) / [Startup]: 159.18 GB (128.13 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ867A
USB Information:
Micron Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Logitech USB Receiver
Thunderbolt Information:
Gatekeeper:
Mac App Store and identified developers
Problem System Launch Agents:
[running] com.paragon.NTFS.notify.plist Support
Launch Daemons:
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.genieoinnovation.macextension.client.plist Support
[loaded] com.google.keystone.daemon.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
Launch Agents:
[loaded] com.google.keystone.agent.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[loaded] com.paragon.updater.plist Support
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.citrixonline.GoToMeeting.G2MUpdate.plist Support
[running] com.google.Chrome.framework.plist Support
[failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist Support
[not loaded] com.spotify.webhelper.plist Support
User Login Items:
iTunesHelper
SpeechSynthesisServer
Dropbox
AdobeResourceSynchronizer
FriendFeed
Opera
EvernoteHelper
Internet Plug-ins:
FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
Default Browser: Version: 537 - SDK 10.9
AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
o1dbrowserplugin: Version: 5.3.1.18536 Support
QuickTime Plugin: Version: 7.7.3
nplastpass: Version: 2.0.25 Support
googletalkbrowserplugin: Version: 5.3.1.18536 Support
DirectorShockwave: Version: 12.1.0r150 - SDK 10.6 Support
JavaAppletPlugin: Version: Java 7 Update 55 Check version
Safari Extensions:
LastPass: Version: 3.1.21
AddThis: Version: 1.7
Evernote Web Clipper: Version: 6.1
TypePad Blog It: Version: 1.0
XKit 7: Version: 7.4.2
Keeeb : Version: 1.2.17
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
WebEx64: Version: 1.0 - SDK 10.5 Support
CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
Picasa: Version: 1.0 - SDK 10.4 Support
Google Earth Web Plug-in: Version: 7.1 Support
3rd Party Preference Panes:
Flash Player Support
Java Support
Paragon NTFS for Mac ® OS X Support
Xmarks for Safari Support
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
Maggie: Disk size: 148.25 GB Disk used: 28.92 GB
Destinations:
Seagate Expansion Drive [Local] (Last used)
Total size: 2
Total number of backups: 8
Oldest backup: 2014-02-28 01:27:57 +0000
Last backup: 2014-05-04 20:43:07 +0000
Size of backup disk: Excellent
Backup size 2 > (Disk size 148.25 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
3% WindowServer
2% mdworker
0% systemstatsd
0% mds_stores
0% mds
Top Processes by Memory:
90 MB Opera
35 MB Finder
33 MB FriendFeed
23 MB Opera Helper
23 MB CVMCompiler
Virtual Memory Information:
34 MB Free RAM
566 MB Active RAM
544 MB Inactive RAM
305 MB Wired RAM
3.58 GB Page-ins
63 MB Page-outs
<Re-Titled By Host>Hi..
[loaded] com.genieoinnovation.macextension.client.plist
You have inadvertently installed malware (Genieo)
Help here > The Safe Mac » Search Results » genieo
As for the Safari Gmail menu items not working ..
It may be one or more of your Safari extensions:
Safari Extensions:
LastPass: Version: 3.1.21
AddThis: Version: 1.7
Evernote Web Clipper: Version: 6.1
TypePad Blog It: Version: 1.0
XKit 7: Version: 7.4.2
Keeeb : Version: 1.2.17
From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
Maybe you are looking for
-
Mod_jk load balancing and JSESSIONID
I'm not very good with servers, in fact i'm a total newbie. So I had someone explain to me how things work... What I understood is this: Apache runs on machine "Zeus" and it handles all the incoming http requests, mod_jk runs on that machine also. mo
-
NoSuchMethodError when using EJB3
Hi I am using Servlets and EJB in my application with Hibernate as persistence Technique . I am setting Data inside Hibernate POJO annotated class an sending it to EJB Layer to do persistence . This is my code . My EJB Interface : public interface He
-
Importing stills into CS6 from Photoshop CS4
I appear to be unable to import my still images from Adobe Photoshop CS4 (file types psd) into Premiere Pro CS6 and get the following error message "The importer reported a generic error". Am I missing a very simple trick (other than having to upgra
-
My iPad won't hold a charge ---any ideas?
My iPad won't hold a charge. It even loses battery while it is on the charge. Any ideas???
-
Big Ten Network - Ashburn, VA
Is there any information about when the Big Ten Network is going to be rolled out in the Northern Virginia area (specifically area code 20148, Loudoun County)? I saw that Richmond will be getting it starting August 13th, but I don't think that will a