How to make spry menubar top level only appear for browsers with java turned off

I was under the impression that just the top level of the horizontal spry menubar appears when someone with Java turned off views it...now I see that the entire unordered list appears vertically and takes up the whole page....is there a way to make just the top level menubar items appear when java is turned off in viewers browser?
Thank you in advance for any insight you can provide.
Lois

When you disable Javascript in your browser...and it is Javascript not Java... if your menubar is properly constructed, the submenus do not appear, only the top level menu items.
It sounds to me as if you are turning off style rendering in Dreamweaver itself, or have not properly linked your CSS stylesheet to your page.
When CSS is linked properly, the submenus are "hidden" with left: -10000px; (a BIG distance) offscreen to the left of the Viewport. They stay there unless Javascript is turned on. It is Javascript that "calls them back" onto the Viewport.
Give me a link, Lois, and I'll check into your page for you...
Beth

Similar Messages

  • How to make spry menubar first button different colour?

    Hi
    When making spry menubar how do you make the first button or whatever page you are on a different colour to show that you are on that page?
    thanks
    alix

    1. Add a helper script called SpryDOMUtils.js as per
    <script src="SpryAssets/SpryDOMUtils.js"></script>
    2. Add a function called InitPage or similar that inspects each of the menu items and compares the link with the current URL as per
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    function InitPage(){
    Spry.$$('#MenuBar1 li').forEach(function(node){
        var a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first so [0]
        if(a.href == window.location){
            Spry.Utils.addClassName(node,"activeMenuItem");
    3. Add a listener for when the page is loaded. The listener will be the trigger for the function
    Spry.Utils.addLoadListener(InitPage);
    4. Add a style rule for the activeMenuItem that we, in our function, addedto the current menu item.
    .activeMenuItem a {
        background:#a59a84 !important;
        color:#ffffff !important;
    The !important bit is to override the JS
    Your complete document should look similar to
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
    <style>
    .activeMenuItem a {
        background:#a59a84 !important;
        color:#ffffff !important;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a class="MenuBarItemSubmenu" href="untitled.php">Item 1</a>
        <ul>
          <li><a href="#">Item 1.1</a></li>
          <li><a href="#">Item 1.2</a></li>
          <li><a href="#">Item 1.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 2</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
        <ul>
          <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
            <ul>
              <li><a href="#">Item 3.1.1</a></li>
              <li><a href="#">Item 3.1.2</a></li>
            </ul>
          </li>
          <li><a href="#">Item 3.2</a></li>
          <li><a href="#">Item 3.3</a></li>
        </ul>
      </li>
    </ul>
    <script src="SpryAssets/SpryMenuBar.js"></script>
    <script src="SpryAssets/SpryDOMUtils.js"></script>
    <script>
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    function InitPage(){
    Spry.$$('#MenuBar1 li').forEach(function(node){
        var a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first so [0]
        if(a.href == window.location){
            Spry.Utils.addClassName(node,"activeMenuItem");
    Spry.Utils.addLoadListener(InitPage);
    </script>
    </body>
    </html>
    Gramps

  • Sreaming at the top of my lungs for HELP with Java Script problem!

    Hello,
    I have this strange problem that no one seems to know why or how to fix it.Whenever I encounter a web site that has java scripting for anything pop ups or redirects to url's anything that says java script when I mouse over the link my browsers do nothing.That is for explorer 6.0 beta netscape 4.7 and netscape version 6.I have tried in another forum some suggestions but nothing changed even though I am told nothing is wrong with the java scripting.I used to be able to click java script's with all of these browsers but no longer.That was a few months ago.Now to try something new I tried to see if a new browser would work.I now have the latest version of Opera.It did work but using Opera on some sites limits what I can do so it doesn't solve my problem.Then I tried the Sun JavaHot browser it also worked but limits what I can do on some site's.I have Windows 98 & updated most of my dll's etc & my java is version 2 1.3.1.My java script is enabled in Explorer & netscape's & the security is at a minimum level.Please help me figure out why these other browsers work but the other's do not.I want to edit a web site of mine but I can't because of this problem.I am very frustrated by this and need as detailed help as I can get.Anything of a suggestion would be very much appreciated.But I am also not an expert on the working's of a computer so bear with me.
    Brian

    Hi,
    Well I am thinking that if anyone could know something about Java script it would be java developers.But anyways I had the previous version of explorer 5.0 & the java didn't work in it either.Now how weird is this,I opened netscape 4.7 today & the java scripts are suddenly working.This has me scratching my head wondering if my computer is possesed by some force beyond my capability to know...????Weird as it seems though the explorer still will not respond to a java script.
    Brian

  • How to make Management of row level restrictions easy for webi reports?

    Hi all
    Our BO Product version is 12.3.0.601 (BO 3.1)
    We are applying row level security for webi reports at universe level...
    Since  Universes are more in Number we have to create same restrictions and apply it to the users lets take a restrictions on region....which is common across all universes.
    So the problem lies with the management of restrictions created at universe level.
    Can we have a setup in where we can centralized the restirctions at a place so that management would be easy ......???
    Shall we have to import the roles(restrictions) from R/3 or BW or Database level...?
    Then how we will restrict our report (webi) to a region?????
    So basically webi reports should run with the restrictions lets say region....How we will achieve this?/
    Thanks and Regards
    Ritu Raj

    Hi,
    what is your Datasource?
    If its SAP BW i would highly recommend you use the SAP Authentication in your  BOE XI 3.1 So the users log into BOE with their SAP Username and Password and than the Data restriction of your BW takes place when the users run their Reports.
    Informations on how to confiure the SAP Authentication you will find in the installation Guide of the SAP ITK.
    Regards
    -Seb.

  • My I pod touch just died and usually it only spins for a second then turns off but know it is spinning since last night and I put it on the charger and it did not stop. What do I do?

    My I pod is just frozen and a little twirling ball as well as it is died I put it on the charger and it's still twirling

    Try here:
    iOS: Not responding or does not turn on

  • How can i NOT include top level keyword in the metadata of an image?

    Hello,
    I want to know how can i NOT include top level keyword in the metadata of an image. I know there is an option for not applying a keyword to an exported image, but is there an option for not applying the top level keyword to the actual image?
    I have organized my geographical (by location) keywords like this:
    Places
    USA
    New York
    Miami
    Spain.
    If i add geographical keywords to all my images, all my images will have the keyword "Places", i dont think that it have any sence to have all your images with one keyword. How can i fix this? Any sugestion? i will appreciate it a lot any help or information that you could give me.
    Excuse my english, i know it is not good. I hope that you could understand me.
    Thanks,
    Marcelo :)

    Explicitly excluding a keyword only applies when "exporting". Unfortunately, there's currently no way to stop the keyword being written to the file when "Save Metadata to File" command is used. The natural reaction of users to this difference is to suggest that it is stupid. Nevertheless, there are good reasons why the difference exists:
    1. "Export" creates a new file whereas "Save Metadata to File" writes the metadata back into the existing file.
    2. There are very good reasons why certain keywords should not be written to file, and the example given in the OP is one. Saving metadata to file is more often used as means of backing up important image related metadata, independently of the catalog or allowing the metadata to be visible in other aplications. It would be rare that such a file would be shared with a third party, so the reason for not including certain keywords is less obvious. Actually, not including it can result in no end of confusion and grief. For example, if the top level (or any keyword) was excluded during the save metadata process then the other keywords would be orphaned when image is imported back into the catalog (e.g. buiding a new catalog).
    The development team are aware of the need, in some circumstances, to exclude certain keywords when save metadata command is used. How and when the issue is resolved, without adding even more confusion/complexity, is some way off.

  • When I run a web browser immediately loaded two blank tabs. How to make the browser load the only one?

    when I run a web browser immediately loaded two blank tabs. How to make the browser load the only one?

    Did you check the home page setting to make sure that if doesn't have pipe (|) symbols?
    See these articles for some suggestions:
    *https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • How to make iPhone 4S Wi-Fi only

    Hello,
    I am going overseas to Iceland so I wanted to know how to make my iPhone Wi-Fi only so I won't get any extra charges on my bill.
    Thanks,
    Channing

    ssschmidt's instructions WILL NOT do what you want.

  • How to make Default the Higher-Level Manager of the employee

    Dear experts,
    how to make Default the Higher-Level Manager of the employee as Further Participant in performance management ?
    Regards,
    TVS

    Hi,
    The delivered BAdI below defaults in both the appraiser and appraisee as part-appraisers//Default Further Participants.
    BAdI Area: Appraisal Enhancements
    BAdI Definition: HRHAP00_DOC_DEF_DO (Appraisal - Default Further Participants)
    App. Enhn.: DEFAULT_ALL_MANAGERS     
    Implementation: HRTMC_DEF_OTHERS
    Implementation short text: Determine All Managers
    Implement this BADI  in SE18/SE19 and  write the desired code in the  BADI methods
    Hope this will help u out.....
    Regards
    Lakhan

  • How to make a DFF in read only mode

    Hi All
    There is a requirement to male an descriptive flexfield (in Puchasing PO Headers) i read only mode for all the users.
    So that user must not select any values, Is any way to do this. Any workaround is possible ?
    Regards

    Hi;
    Please follow below and see its helpful:
    [Solved] How to make a DFF segment 'Read-Only' using Form Personalization?
    Also check:
    http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/ogenff03.htm
    Regard
    Helios

  • How to make a DFF as Read only field

    How to make a DFF as Read only field

    Hi,
    You can add the read only token ($RO$) to any of the segments in the list. For example:
    segmentlist = "Context1|Segment1($RO$)|Segment2..."
    Thanks,
    Kumar

  • Fetch Top level WBS elements for delivery type LP

    Hi everyone,
    we are working on a delivery analysis report and we are in progress of fetching sales order number for deliveries with delivery type LP.
    How we are doing?
    so we are fetch the UP values from PRHI table for the wbs elements in LIPS.
    Now we need to fetching the top level wbs elements from PRHI table by passing the UP values to the same table until the UP field value becomes initial.
    Then fetching the corresponding sales orders from the VMPA table for the wbs elements from PRHI table for the value of corresponding UP field is initial.
    So it is going through so many iteration to fetch the UP value again and again until it is initial.
    What we need?
    So if someone can suggest a FM or method to fetch the top level WBS element for the given WBS element from LIPS table will be of great help.

    Hi,
    Try FM
    'BBP_PS_PROJECT_GET_LIST
    'BAPI_PROJECT_GETINFO

  • Can we control the top level navigation in portal from a java application

    Hello,
    I am having a scenario where User logged in to portal and assigned with 2 roles (HOME , ISA(Java application)). When user opened a form in ISA (Java application) and tried to enter the data in form and moved to another tab (e.g. HOME) in top level navigation.
    When user come back to ISA (Java application) TAB , we show the page where he left earlier. I would like to know if user click any other TAB in top level navigation (Role assigned to him) while working on a page in ISA(Java application) is there any way we can catch that event before he leaves from ISA (Java application JSP page) to other TAB?
    How can we control the top level navigation events in the portal from a java application .Since Top level navigation is seperate par file.
    Thanks,
    RN

    Dear Rajesh,
    Top Level and detailed navigation values comes with iteration in the respective par file.
    Please check the par file and based on the value (i.e tab name) selected, you can write your code.
    Best Regards
    Arun Jaiswal

  • How to make the zoom in/out scale appear in the media browser ?

    How to make the zoom in/out scale appear in the media browser ? My videos only appear as a file list (only the names) and the zoom in/out device is currently not in the media browser...

    I meant that there is no "Icon mode" button or "List mode" button in my media browser. How to make them appear ?

  • How to deactivate the "left top corner SAP menu" for a particular screen

    Hello Friends..
    We have a requirement to implement a "Non Disclosure Agreement(NDA)" for one of our SAP systems. NDA screen will have 2 buttons, "I agree" and "I disagree" which pops up when you log in to the system(after filling up our user id and password and hit enter). If we click on "I agree", it will allow you to continue with the log in and takes you to sap easy access screen. If we click on "I disagree", then session will be terminated.
    But, the NDA window which is being popped up is also a SAP screen which has SAP menu on top left corner. Without clicking on "I agree" or "I disagree" and if we try to select "Create session" option in SAP menu on top left corner, then it is taking us inside SAP(sap easy access screen) by bypassing the buttons.
    Request your help on how to deactivate the "left top corner SAP menu" for this particular NDA screen. (SAP menu to be available with other screens and it should not be available just for the window which is being popped up after log in and before SAP easy access)
    Many Thanks in advance..
    Vinay

    Hi Vinay,
    Try this if it works -
    in your first screen for the NDA screen, on the memnu bar select - EXTRAS - SETTINGS - Select the check box 'Do not display menu, only display favourites'.
    on calling the next screen , disable this option in the PBO of the screen.
    Try and let me know if it works.
    Thanks & Regards, Swapnil Mishra

Maybe you are looking for

  • How to restore Address Book and then add working iCloud Account?

    OK i'm going insane trying to resolve this one.... all started with a shed load of Duplicates! 3 devices:  MacBook Pro, iMac, iPhone 4S I finally upgraded the MBP to 10.7.2, the iMac already was and the iPhone was already 5.0.1 I've held off moving t

  • XVID versus H.264

    I am using Handbrake to rip all of my DVDs to play through Front Row. Which format is best?

  • Urgent: XL to text conversion

    Hi Guru,   Please help me for changing the BEx results into text format.   Client wants to see the results in text format with the field separator ^. Ex: <u>BEx Result</u>: RegionProduct: File Name: RegionProduct.xl Format: North America Poultry 04-2

  • List object model

    I have a custom list having Id and name columns and another document library list having ID column with a document and when i click the custom list id column it should redirect to document library items. expected output: Custom list: Id Name 1  AAA D

  • Cannot send mail - server does not allow relaying

    I keep getting a sporadic error message on my ipad: "cannot send mail. The recipient was rejected by the server because it does not allow relaying". Sometimes it doesn't happen and the mail sends fine. Sometimes I get the error message but the messag