How can I view something only if javascript is enabled?

Hello. It's maybe a stupid question, but I wrote all this long code. In any case, I create a personalized online store. I used the spry menu bar to create a menu bar for product categories. Tutorials that I had looked at on how to use spry widgets said that it is a good idea to create alternatives incase someone doesn't have javascript active, so I created an alternative navigation system. The problem now is, I want only to display the spry menu bar if javascript is enabled. I know that I can use the noscript tag to show the alternative navigation system is javascript is disabled, but how to view something that if javascript is enabled?

in theof your page:

Now, you want visible with js, as you do in your css...

div * {display: none ;} / / must hide the contents of a div when js is disabled.}

.js div * {display: block ;} / / should show all of the content of the div.}

If you can do pretty much anything you want with it

so in your case, it would be...

#idofyourmenubarhere {display: none ;}}

.js #idofyourmenubarhere {display: block ;}}

or something like that... #idofyourmenubarhere ofc... being the id of your menu.

Tags: Dreamweaver

Similar Questions

  • How can I view not only mail to one account only, but in the Central Inbox?

    I change my mail OSX (machines with OSX 1.8.5 and Mavericks) to Thunderbird.

    However, a feature of OSX Mail I can't find in Thunderbird or supervised it:

    I use several e-mail accounts, OSX Mail shows me to the next level in a general Inbox.

    Below this level, I can jump of course in different accounts if necessary to read the mails only related to this account.

    Is there a similar view in Thunderbird?

    Thanks for any help
    Christoph

    As mentioned in the article, you can use unified under IMAP folders.

    http://KB.mozillazine.org/Global_Inbox#Unified_Folders

  • Game to "Save history" for 30 days, can only view last 7 days - how can I view the longer history of 7 days?

    "Save history" set to 30 days but can only view last 7 days of history - how can I view the longer history of 7 days?

    According to your troubleshooting info, you have 2 set preferences to update the:
    Browser.history_expire_days
    7

    Browser.history_expire_days. Mirror
    7

    In the address bar, type Subject: config and press ENTER. The subject: config "This might void your warranty!" warning page may appear. Click on that I'll be careful, I promise! to continue on the subject: config page.
    Search for the preference browser.history_expire_days. Right-click on it and select reset. Do the same for other preferences.

  • How can I view the timestamps of text on an iPhone 5 c

    On my 5 c 9.3.1 running iPhone, outgoing text messages display a timestamp. Incoming messages only. How can I view the time stamp on incoming messages?

    It is displayed at the top of the first post of the series

  • How can I view all the elements of an array?

    Hello

    I'm learning about the handling of tables.  The example finder includes this one, 'build array_forum.vi', which shows the two modes, concatenate and adding, I understand, HOWEVER, I can't understand how they built this vi.  For example, I can find the Array function to build, but I do not understand how they created the "digital data table 1" "data table 2" digital... etc, and I can't find the functions on the pallets that cause display "build the CONCATENATE entries table". ".  Where are these blue functions?

    Where these functions are found in the palette, and how we build them like that?

    The other vi indicated here, 'for loop array_forum.vi' is my attempt to reproduce, but it doesn't show all the elements of the array; However, it only displays a SINGLE element, the last element of the array.  How can I view all the items in the table I am creating using the FOR LOOP?

    Thank you

    Dave

    I think I posted this in the wrong place.  I reposted it on the forum of Labview.

    Dave

  • How can I view an encrypted file locked with a password

    I have a network shared with my husband and it some of my files encrypted and some need a password for access to via WinLocker.  How can I view them? Can I find a free program of decryption or something since I am the owner of this computer and have access to his own and have permission to use his passwords for everything. It is excluded from the country and currently not available to help me with this.

    You need the password he used to encrypt/lock to get access to the files.

  • How can I uncheck "read only" in the download folder in a way that it will remain disabled

    How can I uncheck "read only" in the download folder in a way that it will remain disabled

    If done through properties does not stick, have you tried running the command attrib-r at the command prompt?

    Click Start, click run, type cmdand press ENTER.
    To view the syntax for the Attrib command, type attrib /? at the command prompt.

    Check MS article for more details.
    You cannot view or change the read-only or system attributes:
    http://support.Microsoft.com/?ID=326549

    I guess that you are authorized to make changes on this file, if it does not play here.
    How to set, view, change, or remove special permissions for files and folders in Windows XP
    http://support.Microsoft.com/kb/308419

  • How can I remove easily only picture I just accidently deleted from my iPhone 6 s?

    How can I remove easily only picture I just accidently deleted from my iPhone 6 s?

    It is in the recently deleted Album?

  • How can I view a Windows DVD based on my iMac

    How can I view a Windows DVD based on my iMac

    There is no such thing as a Windows based DVD, they can be read by all computers. Of course, you will have a DVD player for your iMac, Apple made one retina or you can find other retailers such as Amazon or my personal favorite OWC (www.macsales.com).

    But what is important is the content of the DVD, if you can give us a clue it then we can tell you more.

  • How can I view or print my "about parameters" which are not truncated?

    How can I view or print my "about parameters" which are not truncated?

    Disable the large text. Settings > general > accessibility > great text > off

  • How can I view, change and remove passwords from keychain?

    How can I view, change and remove passwords from keychain?

    http://www.MacObserver.com/TMO/article/getting-started-with-apples-Keychain-pass word-Manager

    http://computers.tutsplus.com/tutorials/unlock-the-power-of-your-Macs-Keychain-u utility - mac-48730

    Frequently asked questions about iCloud Keychain - Apple Support

  • How can I get something from my google reader in ibooks?

    How can I get something from my google reader in ibooks?

    If it's a PDF file, you can use the Google Drive app iOS to open the PDF file, then look at the top of the screen to the 'Open in iBooks' button press anywhere in the PDF file.

  • How can I view my 6 d raw files before I open them in post processing?

    How can I view my 6 d raw files after I load it on my computer & before I open them on a post-processing program?

    I have no problem what to do with my 1DX 1DIV or 5Dmk III. This problem exists with any sdhc card I use on the 6 d, but not on any other device with the same cards.

    Your computer is not set to a 6 d camera RAW support.  RAW is not really a standard format... it is more than a concept.  Each individual unit has its own unique RAW format (even if they're all the same.) CR2 extension).

    Whenever a new camera comes out, companies that manufacture RAW processing software will make an update available which adds that the camera.  You'll need to get this update and install it.

  • How can I view the contents of the .iso files?

    How can I view the contents of the .iso files?

    How can I view the contents of the .iso files?

    http://www.ehow.com/how_7307521_iso-file.html

  • [Solved] How can I view the properties of a network connection?

    = Solution:

    I activated the "Netman" service (friendly name: "Network connections").

    =====

    Don't forget that? Yes. I've seen one of them because I've gone from WinXP to Win7.

    Note: The image above was extracted from the Internet. It is not my computer.

    See the checkbox "Show icon in notification area when connected"? That's how I got Windows XP configured so that I would see a network for each network adapter icon in the tray all the time. Now I never see a network icon. I want to be able to bring up the properties so I can solve network problems.

    My new Manager computer devices">"Network adapters"indicates:

    Intel Centrino WiMAX 6150
    Intel Centrino Wireless-N 6150
    Microsoft Virtual WiFi Miniport adapt
    Microsoft Virtual WiFi Miniport adapt #2
    Realtek PCIe GBE Family Controller

    How can I view the properties of a network connection? And how I can put the properties of connection icons in the notification for all connections of 5 area?

    Thank you.

    It's very strange.  I used this command on dozens of computers (at least) and never have it back empty.  I don't know what to do. Here's a typical result.

Maybe you are looking for

  • I discovered today that Thunderbird is 'read' my emails.

    I see that thunderbird is scanning my emails for hot - of words as 'attachment' so that it can remind me if I have not actually attached a file. There is nothing I can think of who says or shows me that this would be takes place or otherwise I would

  • Window games 7

    New computer & new installation of windows 7. No games. Features I've tried, but I get a message "an error has occurred, not all features that are installed.Any ideas on troubleshooting and resolution?Thank you

  • Google homepage

    http://DigitalLife.today.com/_news/2011/06/09/6819798-Whoa-Google-homepage-is-a-playable-Les-Paul-gu... Someone at - he checked on the Google homepage today?

  • I am the owner of everything on my pc I do not have the special permissions for individual files and I am denied access

    permissions of origin title: special I am the owner of everything on my pc I don't have special permissions for some individual files that I find quite strange. It also means that I can't delete some files. I tried to access the files when I started

  • Can copy only 8 files at once!

    It drives me crazy! I wrote a small utility to help me with some issues that we are dealing with in the House and he made that move the jpg of the memory of the device on the SD card. The problem I encounter is that there are 57 files on this particu