Auto collapse a mobile accordion menu when clicking links to anchors on the same page

I'm building a mobile site, with the accordion widget containing the a menu widget, pinned to the top (i added custom css to pin it to the top).
its a single page site, so all the links are to anchors in the same page.
how can I make the accordion close when clicking the links in the menu?

You can try the suggestion mentioned here :
http://stackoverflow.com/questions/21649839/make-accordion-close-on-second-click-jquery
http://stackoverflow.com/questions/9260068/collapse-jquery-accordion-on-click
Thanks,
Sanjit

Similar Messages

  • Dreamweaver Crashing when clicking any function not on the same page - related files disabled

    Whenever I click a PHP function that wasn't defined on the same file the entire application immediatly crashes. I've only found people mentioning crashing when dynamically-related files cannot be found, so I disabled that feature in the preferences. The application is still crashing. What other features do I need to disable to get dreamweaver to actually run and not try to take over my application.

    floleft wrote:
    I don't utilize quite a few of the features that dreamweaver offers. I mainly use dreamweaver for FTP and code highlighting. I use the code tab 100%. All I'm doing is writing PHP in code view. If I click anywhere on the same line of the PHP function that isn't defined within the same ".php" file, the entire application crashes. I'm not sure what FF is. Firefox? Why would it matter what version of firefox I have?
    Because of this error I'm back to using notepad. I never expected dreamweaver to crash when using it as a text editor with code highlighting.
    Sorry that last part was a typo.  I think that I was thinking at first that it was crashing with a preview not in code view and I was thinking about browsers.
    What version of PHP is this that you are programming for?  And what I meant to say was what version of Dreamweaver and what OS?  And have you made sure all extensions are disabled and all updates are installed?

  • When attempting to access a specific web page on my iPad, the page seems to load then quickly disappears (resembling a white/black we page). Other sites seem fine. Note this is also occurring when I use Chrome (to access the same page).

    When attempting to access a specific web site on my iPad http://www.sggplastering.co.uk the page seems to load then quickly disappears (resembling a white web page). Other sites seem fine.

    Thanks so much for addressing my question. Note that the site (www.xula.edu) was working with Safari this morning, but not this afternoon. I also have now been able to access it with Chrome (remember I could not access the site with Chrome initially). Essentially one time while the site was loading on Chrome I clicked another link on the site and opened a new tab for the link- the original page then loaded and now continues to load. I've been trying to do the same with Safari but the page loads and "goes to white" to quickly.
    Other notes: I've powered off my iPad (did not help) and restarted my iPad (also did not help). I can also access all other links (to other www.xula.edu related pages on the site using Safari - I find them via a google search)- it's just the home page that loads then goes to "white screen" very quickly. Thanks again for your reply - any help/advice provided is greatly appreciated.

  • When I print multiple photos on the same page,  the prints come out different.

    I have printed several copies of the same photo, 2 to a page.  The 2 copies are different.  One seems to be before adjustment and one after, so the exposure appears different. My printer is a Canon pro9000. Can anyone tell me what I am doing wrong?
    Thanks!

    If you print the photo (2 to a page) twice separately, i.e. not 2 copies of the same setup in iPhoto,  are they different?
    Try this:  in the Print menu use the PDF button and select the Save as PDF option.  Then open the file in Preview and print the 2 copies.  Do they look the same?  If not then the problem may lie with the printer not maintaining the same settings from one print to the the next.
    OT

  • When I open up a new tab on firefox, the bar shows that the tab is there, but when I click on it, it is the same page as what I have before. When I try to change the page on the "new tab" the original tab changes. Why does this happen and how do I fix it?

    This problem is even occuring as I type this information. I tried to click a "show details" button and it didn't work. The tab "opened" but I couldn't get the page to switch to the tab after clicking on it.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to add "Click to see more" inside the same page

    Is there an easy way to "hide" some of the content in a page so that the reader can "Click here" to load the hidden content inside the page? I've tried Spry Accordion and Collapsible Panels but it seems like some browsers won't show this well. Any ideas? Anyone?
    Thanks!
    Hanna in Tahoe

    You could look at the jquery framework to show and hide a div:
    http://papermashup.com/simple-jquery-showhide-div/
    You can do a google search for 'jquery show hide content' and you'll find quite a few other articles/tutorials on how to do this.

  • I have had my I pad 2 for about six weeks with very little to complain about until today. My problem is that Sarfri ikeeps freezing or will not open at all.  I have tried shutting it down then when I reopen it still has the same page up ! Help,

    What should I do?

    Try clearing its cache (Settings > Safari > Clear Cache and also Clear History), and also try closing the app completely : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • When going to a # link in the same page, Firefox 4 seems to jump to the wrong spot, and I have to scroll to find the actual anchor, usually one screen down.

    Visiting the Apple developer site, pages have a task list at the top of a very long page. When I click on a task which is linked to an anchor on the same page, the screen briefly flashes up the intended topic, then redraws content about a screen above what I wanted, so I have to scroll down to the topic I wanted to read.

    It happens when I open the topic in a new tab. There's a sidebar that's not drawn when the initial flashup happens. Then the sidebar draws and the content gets pushed down so the topic I wanted is now below the visible screen.
    When I jump to the anchor in the original tab, the sidebar is already there, and it goes to the right topic.

  • Any way that prompt a pull down menu when click a cell of table?

    Hello guys,
    Thanks in advance for your reading...
     Enter characters for each cell in table is difficult,  i want to program to show a pull down menu when click the cell in the table, so i can easy to input the characters by click the item on the popup menu.
    Thanks, Steven

    Here is the example code
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog
    Attachments:
    Drop down.zip ‏30 KB

  • How do I insert additional clips into my video timeline in Elements 13?  When clicking 'add media' it added the clips at end of video rather than in their appropriate position.  Could not 'cut and paste'.

    How do I insert additional clips into my video timeline in Elements 13?  When clicking 'add media' it added the clips at end of video rather than in their appropriate position.  Could not 'cut and paste'.

    bhsleadership
    I am in the process of preparing to test a sample from your brand and model camera in my Premiere Elements 8.0/8.0.1 on Windows 7 64 bit. I will have the results probably tomorrow morning.
    For now I just want to put you through the drill that I do for anyone who says he/she is using Premiere Elements 8.0/8.0.1.
    1. Are you working from the 8.0/8.0.1 Update of the program?
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4653
    2. Do you have the automatic Background Rendering and AutoAnalyzer features turned OFF.
    For Background Rendering option. See Edit Menu/Preferences/General.
    For AutoAnalyzer option. Click on Organizer in the row below the blue active Organize header in order to open the Elements Organizer. In the Elements Organizer workspace, go to Edit Menu/Preferences/AutoAnalyzer Options and disable all the AutoAnalzyer options. To return to the Premiere Elements workspace from the Elements Organizer workspace, in the Elements Organizer workspace, go to File Menu/Exit.
    Is your computer optimized in spite of the fact that  you have a high end laptop? I presumed so but always go to verify, no pile ups of preview files, conformed video and audio files et al.
    Looking at the properties of your source media, I see:
    video compression = MPEG1
    audio compression = MPEG-Layer1 (.mp2)
    Frame Size = 640 x 480 (4:3)
    Pixel Aspect Ratio = 1.0
    Frame Rate = 30 progressive frames per second
    With properties like those you are sure to get a red line over that content since there is no project preset with that description.
    But, your choice of the default NTSC DV Standard would have been mine also.
    I am heading to try to get a quick look at the behavior of the sample video here in my Premiere Elements 8.0/8.0.1.
    To be continued.
    ATR

  • When i click on my external hard drive the screen goes dark and a msg pops up saying i have to shut down my computer by holding the power button and then restart it. when i do that i get the same result every time. it worked perfectly last night..

    when i click on my external hard drive the screen goes dark and a msg pops up saying i have to shut down my computer by holding the power button and then restart it. when i do that i get the same result every time. it worked perfectly last night..

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Ifou don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.

  • I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7. Please confirm. iPhone

    I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7.
    Please confirm.
    iPhone 4, iOS 7

    Hello jayanand,
    You may need to force close all open apps, then restart the phone. If necessary, you may need to reset the phone after that.
    iOS: Force an app to close
    http://support.apple.com/kb/HT5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    Allen

  • I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.

    I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.  I am new to the Mac World so please bare with me.  Please tell me there is help somewhere for this issue.  It seems it is blocked or not letting me through.  Can anyone please help me out.  Thanks 

    Both Mail and Safari have Activity Options that open a  screen that shows you just how the site or mail is loading.
    In Safari if you are having trouble with a site in activity you will see the count of items being downloaded - and if an error occurs it shows red.
    On the top is the number of items it is loading or trying to load and the count should be increasing.   If the count stops, and you don't have errors it may be that too many people are going after the same site and your request just timed out. Have had the time out on a news site when trying to load a most popular article.

  • So, I rented a movie on iTunes and downloaded, and then when I went to click on it, it said iTunes server not available, so I reset my laptop, and it was there but when I clicked on it it said the same error again, the movie disappeared. What do I do?

    I need help! I payed for this movie, and I don't know why it said can not connect to iTunes server, because this is not my first time watching a rented iTunes movie, and I usually do not need internet, or the need to connect to iTunes store, and the fact that the movie diappeared upsets me.. and it is nowhere in my iTunes library.  So, what happened, I clicked on the movie, it said cannot connect to iTunes sever, so exited out, and reset my computer, when it reloaded, I clicked on it again, and the same error message appeared, and then the movie disappeared.

    Hi runner_girl7585,
    Thanks for using Apple Support Communities.  If you weren't ever able to watch your rental movie, you can report this to the iTunes Store:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Cheers,
    - Ari

  • I have an ipod touch 32gb. Model: MC008BT Version: 5.1.1. 3rd ed.   Recently when clicking play on any song the ipod will shuffle through as many songs as there are in the album or playlist until it reaches the end without playing any songs. It also does

    I have an ipod touch 32gb. Model: MC008BT Version: 5.1.1. 3rd ed.
    Recently when clicking play on any song the ipod will shuffle through as many songs as there are in the album or playlist until it reaches the end without playing any songs. It also does not go through each song. For example:
    a 62 song playlist. I start on song 16. Immediatly the song will shuffle: 16-26-54-62 and then back to the main screen. Also when the songs are shuffling the play button in the top right corner is on.
    Music will play if i start from track one with shuffle turned off and repeat turned on. But then i am limited each time to 1-5 songs.
    Ipod has been in excellent working order since this has happened.
    any suggestions on how to fix?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

Maybe you are looking for

  • Save streaming in different file

    I want to record the my stream at media server with file name 1.flv, and after 30 min same stream saved in another file like 2.flv, same prcess atfetr each 30 min. How to do that

  • Importing from 8 to oracle 10g

    how can i export oracle 8 data to oracle 10g

  • Merging two sorted Vectors into one

    I wish to write a function that will accept two Vectors which are sorted and merge them into a single sorted Vector. I plan to use the compareTo() function to perform the comparisons between objects. I want the function to do this task for Vectors co

  • "Scan String For Tokens" weird behaviour

    I am trying to carry out the simple task of getting a string with comma delimiters and produce a string_array with the values in between the commas; this would simplify calling the different parts of the string. Example: INPUT: this,is,an,example OUT

  • Flash player 10.1 installed but won't display Flash content

    I'm running Windows Vista with IE8. Sometimes content is displayed and sometimes not.