Help! Multiple accordions/javascripts on page. Script stops working

Hi, all
I have an accordion in the leftnav. I would like to add functionality to this accordion, but will put that in a separate discussion.
The ugly problem right now: I added a second accordion to the right sidebar and it is not performing well at all:
http://mayakaimal.com/mayakaimal2/prod-rs-tk.html
I KNOW there must be a plethora of problems with how the js is handled, but don't know enough to fix it. I have added at bottom of the page: useFixedPanelHeights: false.
The panels are simply overlapping.
Any advice greatly appreciated!!
mookie

Bob IS my uncle!
Question:
Can I slim it down even further?
Before:
<!-- InstanceBeginEditable name="leftnav defaultPanel" -->
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: 0 });
</script>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="Accordion2b" -->
<script type="text/javascript">
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, defaultPanel: -1 });
</script>
<!-- InstanceEndEditable -->
After:
<!-- InstanceBeginEditable-->
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: 0 });
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, defaultPanel: -1 });
</script>
<!-- InstanceEndEditable -->

Similar Messages

  • Can someone help me understand why my i tunes stop working after my library comes up?

    Can someone please help me understand why my i tunes stop working after my library comes up?

    Hello generousdragon,
    It sounds like you are unable to use iTunes shortly after launching it. Use the following article to help troubleshoot the issue, named:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Start with this step to isolate 3rd party plugins that may be causing an issue, an use the rest of the troubleshooting if needed.
    Start iTunes in Safe Mode
    Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
    Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    Click Continue.
    See if the issue you're experiencing persists in Safe Mode.
    If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Getting multiple accordions on one page to work properly

    I'm trying my hand at using accordions, and have managed to
    have 2 just about working properly on one page, although I'm not
    able to get the tabs to change color when they're open on both
    accordions. One properly displays the feature, the other doesn't.
    Can I have 2 accordions on one page, w/ the tab that is open a
    different color. Everything else appears to be working fine.
    Thanks for your help, I'm a rookie at scripting.

    Hi coatsleeve,
    Each accordion tracks its own open state, so what you are
    describing is possible. You can even see it in action here:
    http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html
    Did you make any CSS changes that may have altered things?
    Its hard to tell what the problem is without actually seeing your
    page/markup/code.
    --== Kin ==--

  • The Help Link from the Application Pages Does not Work for Peoplesoft Campus Solutions 9.0

    Hi everyone.
    I have a problem, I have been trying to set up the Help Link from the Application Pages for Peoplesoft Campus Solutions 9.0 according to the instructions given in the Document: http://docs.oracle.com/cd/E17566_01/epm91pbr0/eng/psbooks/EnablingtheHelpLinkfromApplicationPages.pdf ,  (referenced in the Doc ID 1289101.1, E-PB: How to Set Up the Context Sensitive Help with Hosted PeopleBooks using Universal Linking).
    I follow the instructions of that document carefully:
    I go to: PeopleTools -> Web Profile -> Web Profile Configuration
        2. Then I choose the Web Profile: "Development".
        3. Then Change the value for the Help URL field by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5 , the ctx parameter selected is the one that correspond to  the Campus Solutions (hrcs90r5) according to the Product Line Code Table (ULinkID) especified in the mentioned document.
        4. Stop the Web Domain and Clear cache.
        5. Start the Web Domain again.
    After setting up the Web Profile Configuration I test the help links, thas is why I click in the Help link in any Peoplesoft CS 9.0 Application Page (modify a person), but the next error message appears: "We're sorry, the topic you requested was not found.".
    I tried many combinations with the ctx parameters URL but it does not work yet. 
    I did the same test, but this time using the Help URL field with a HRMS ctx parameter by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hcm92pbr5 , and It works fine !!!
    According to the previous test you realize that It works with HRMS ctx parameter but not with Campus Solutions 9.0 ctx parameter,  Does anybody know what else can I do ? Am I doing anything wrong or missing? or maybe the Oracle's ctx parameter for Campus Solutions URL It is broken simply.
    Thanks for you help and feedback.

    2799444 - The page you are testing with appears to be a Workforce Administration page. Is that correct?
    The CS PeopleBooks would only work for CS pages, e.g.: try navigating to Main Menu > Campus Community > Personal Information > Add/Update a Person
    Also, you can use multiple ctx parameters:
    E.g.: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5&ctx=hcm92pbr5&ctx=pt852pbh2
    This way the help would work for the HR related pages like Workforce Administration, Campus Solutions pages like Campus Community and also PeopleTools pages like Web Profile Configuration. Hope this clarifies your question. Thanks!

  • Presence script stops working

    Hello,
    I have a multi-page dynamic PDF. Page 1 has a menu that allows you to hide the pages you do not want. There is a button to hide this menu. When the form opens the button works perfectly. However if I scroll to page 9 and use another button to add additional pages suddenly the button that only controls presence stops working completely.
    The code (on mouse up) on the button on page 1 is:
    if(employees.Page1.HideMenu.presence == "visible"){
        employees.Page1.HideMenu.presence = "hidden";
    else {
        employees.Page1.HideMenu.presence = "visible";
    (I tried a case statement also but the same thing happens).
    The button that seems to break it has this code:
    _InspireGroup.addInstance(1);
    xfa.form.recalculate(1);
    xfa.host.pageDown();
    app.alert("You have jumped to the newly added Project Example page");
    I can't figure out what the code on page 9 has to do with the code on page 1.
    Can anyone help?

    Hi,
    The only thing I can think is that the addInstance is adding a continuation of Page1, so that there is now Page1[0] and Page1[1], so that the script doesn't know which Page1 is referenced in the script.
    Try the javascript console to see if that is throwing up errors. Also maybe script out some of the lines in the addInstance script to see if that is cause the conflict, like the recalculate.
    Otherwise would need to see a version of the form to see what is going on with the structure.
    Good luck,
    Niall

  • How do I untick "Don't ask again" on Script Stopped Working

    I started getting a pop up telling me something similar to "A script has stopped working, do you want to stop it or continue" with two buttons accordingly. Also there was a tick box saying "Don't show this again".
    I got sick of it happening so regularly and having to tick the Continue button - well it didn't tell me which script had stopped working and I wanted to Firefox to keep working and have all my plugins to continue working so clicked the Continue button, it would be good to know which script is not working so that it might help find out what's wrong and why it's not working... it's like most things that go wrong on PCs, "There has been and error, ---- will now close" Tell us what the error is so that we can report it to the programmers and they can fix it !?!?!?!?!
    Anyway, I ticked the "Don't ask again" and clicked Continue...
    Now Firefox pauses for about 5 seconds and sometimes longer every so often, and occasionally I see what appears to be this warning dialogue box flicker onto the screen for a split second...!?
    How do I untick this box so that I get the buttons back so that I can stop the script working and then I'll be more likely to find out what's making this script not work by some part of Firefox or a plugin then not working and tell someone about it, rather than making things slow down so much...
    I didn't know I had all the plugins listed below installed, where do they come from as I don't remember telling the machine that I've got Netscape- which I haven't as far as I know...?!
    == This happened ==
    Not sure how often
    == I ticked the box telling it not to tell me again and continue...

    reset "dom.max_script_run_time" under about:config
    http://support.mozilla.com/en-US/kb/warning+Unresponsive+script

  • Javascript in batch sequence stopped working

    The following javascript used in a batch sequence is causing Acrobat to stop working. It was working fine, this problem has happened sometime in the last 2 weeks. This has affected all of our PCs regardless of Acrobat update version. We are running Acrobat 8 (8.15, 8.17, 8.21, 8.25). The only update common to all PCs is Windows Update.
    /* Extract single pages to c:/Adobe */
    // Regular expression used to acquire the base name of file
    var re = /\.pdf$/i;
    // filename is the base name of the file Acrobat is working on
    var filename = this.documentFileName.replace(re,"");
    try {for (var i = 0; i < this.numPages; i++)
    this.extractPages({
    nStart: i,
    cPath: "C:\\Adobe\\"+filename+"_" + i +".pdf"
    } catch (e) { console.println("Aborted: " + e) }
    Any Clues?

    Thanks for the speedy response. I tried this and the problem is still there.
    I did some further testing and the original script, and the new one modified to include your correction, both work if the PDF only has one page.
    With more than one page Acrobat 'has stopped working'

  • Scripts stop working when extended with "additional features"

    I have a couple of scripts that work fine in both Pro and Reader, but when I Save As -> Reader Extended PDF -> Enable Additional Features, they stop working (in both Pro and Reader). Other scripts in the same form continue to work just fine. I'm at a total loss, and so are my IT folks (who admittedly aren't exactly form/JS/Adobe experts...)
    I've been fighting with this problem off and on for a week or so now, and I've tried a couple of different approaches - I'm a JS muddler, and I'm sure there are more effective ways to do what I want to do. But everything I try gives me a different problem . I'm going to try to separate out the different issues in different posts...but I'm getting pretty confused!
    For what it's worth, the problem scripts are on the first and last master page, while the ones that work are on regular pages.
    The goal is to reuse a partially filled-out form for several different phases of an approval process. Each version gets a different title, and an additional subform is visible during the 2nd, 3rd, and 4th phases.
    Here's the overall workflow:
    Phase 1
    The form starts out with the Phase 1 title and with the additional subform "hidden."
    A remote user fills out the form and returns it to the program coordinator.
    Phase 2/3/4
    The coordinator saves a copy of the form with a different name.
    The coordinator checks a "For admin use only" checkbox to display a radio button group. Each option changes the title and sets the additional subform presence to "visible."
    The coordinator unchecks the "For admin use only" checkbox to hide the radio buttons.
    The title is in a text field. The scripts change the rawValue of the field for each option.
    In this case, I have the following script in both the initialize and calculate events of the text box:
    if   (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 2)
         this.rawValue = "Phase 2";
    else if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 3)
         this.rawValue = "Phase 3";
    else if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 4)
         this.rawValue = "Phase 4";
    else
         this.rawValue = "Phase 1";
    and similar code in the initialize and calcuate events of the subform to make its presence "visible" or "hidden." (I've used this initialize/calculate event strategy before, it's always worked fine. But I"ve run into problems with it in one of the alternate approaches i've been using on this form, so I"m totally open to other ways of doing it...)
    Before I extend the form for Reader, it works fine. The title changes correctly depending on which button is selected, the new subform appears at the end, and the radio buttons go away when the box is unchecked.
    After I extend it for Reader, nothing works except the checkbox. The title doesn't change, and the subform never appears.
    Help? Thanks in advance!

    Well, it seems that interactive objects on master pages are problematic. Using a few message boxes, we discovered that the Initialize event fires each time a radio button on a master page is selected, but not when the radio button is in the body of the form.
    So each time we clicked the radio button on the master page, the Initialize event set the value of the exclusion group right back to the default value (which was null, in this case). So the title never changed, because the radio button setting didn't stick.
    For this form, I figured out a way to remove the radio buttons from the master page. Not only do the titles in the headers change correctly, the form also works with the Reader extensions enabled!
    I'm not sure which issue was hanging me up -- the buttons on the master page or Reader extensions -- or if they're tied together somehow. But the moral of the story for me, anyhow, is no more buttons on master pages. Hope this helps someone else!

  • Pagination - JavaScipt in "Execute when Page Loads" stop working

    I'm using APEX 4.0.
    I have a standard report region on a page. In the page's JavaScript - Execute When Page Loads area, I put some javascript code there to initialize hover event handlers for dropdown menus inside the report. It works fine when the report is genarated.
    But it stop working when a pagination performed. For example, after clicked 'next" or any number form the pagination dropdown list.
    Please advice how to fix it. Thanks.
    Shiofan

    Hi, Peter:
    Thanks for the quick reply. That is appreciated.
    My code involves only CSS and JQuery.
    I have found out the reason. It is because "Enable Partial Page Refresh" was set to Yes. ( that is the default by APEX, isn't it? ). After I reset it to No, the dropdown menu does work fine after pagination.
    I don't know how APEX pagination work together with report attribute "Enable Partial Page Refresh". To me, no matter what, the style sheet, the JavaScript put in page template/page header should always be included since they are common to the page. Can we say this is an APEX bug need to be fixed?
    Thanks again.
    Shiofan

  • HELP! " Licensing for this product has stopped working."

    I've upgraded my Mac to Mavericks, and now when I try and open Photoshop CS4, the above message appears.  I've been trying to solve this for two weeks, and Adobe offers NO phone support, email support, or chat support!  I'm desperate...
    As mentioned in an earlier thread, I have tried various steps:
    1) There IS no Flexnet Publisher folder in my startup folder to delete.  (Yes, I learned how to reach the ROOT of my start-up disc, and there's still nothing there.)
    2) I could not run the Adobe Licensing Repair Tool on the Flexnet Publisher folder for the same reason.
    3) I've "repaired disc permissions" in the Utilities Folder and still no luck.
    4) No Flexnet Publisher Folder in which to repair permissions there.
    5) There is no Adobe PCD folder in which to modify permissions.
    6) Again, no Adobe PCD folder in which to delete its cache.
    7) I downloaded the upgrade software to CS4 off the net (LEGALLY), but the location of my serial number is in a file of an app that's no longer supported by OS-X ver.9!
    Anyone have any ideas??  I'd REALLY appreciate any advice out there.
    Thank you!!
    Greg

    Yes. Error "Licensing has stopped working" | Mac OS
    You would follow the instructions for OS 10.7 and above.
    Open Terminal.app (Spotlight will dog that up for you)
    Type sudo and <space> at the command prompt.
    Drag the python (.py) script into the Terminal window and press enter. Type your password if asked.
    CS4 should then work
    If not, reinstall. You'll need your serial number and if you don't have your discs, get back to me.
    Gene

  • Help... My iphone4s suddenly stopped working!!

    Suddenly my home button on my iphone stopped working, it was able to press but nothing happened so in order to leave a app i had to turn my phone off.
    Now my phone has turned off and when i turn it on the itunes icon with a charger icon come onto the screen and thats as far as i can go with it, iv tried logging into itunes but it wont aknowledge my phone please some one help me i dont live anywhere near a apple store and im due to fly out to my new job next week i need reconnecting please help anyone!!!1

    http://support.apple.com/kb/HT1808

  • HELP ME FAST PLEASE, NEED MUSIC, ITUNES STOPPED WORKING

    When i install itunes on my pc which is windows vista, and try opening it, but then a message comes up: ITUNES HAS STOPPED WORKING. What can i do?

    I've seen some other threads here related to this. I think it has something to do with QuickTime, which is a pogram iTnes uses to actually play files. Check out this forum for similar threads.
    I'm a Mac user, sorry I couldn't be ore helpful. But the answers you seek are here in the forum.
    Tracy

  • B Noir HELP! NTDLL.DLL Error, 'iTunes has stopped working'

    A few weeks ago my iTunes stopped working, I looked at the problems reports on my control panel and found out it was a ntdll.dll fault. I cannot fix it! I've deleted itunes and all of its components and then tried to reinstall them and it still works! Quicktime works fine or seems to anyway! I'm absolutely sick of it, its driving me mad! My computer is Windows Vista. I've copied and pasted the fault report below:
    Problem signature
    Problem Event Name:          APPCRASH
    Application Name:          iTunes.exe
    Application Version:          10.5.1.42
    Application Timestamp:          4ebf7d7c
    Fault Module Name:          ntdll.dll
    Fault Module Version:          6.0.6002.18327
    Fault Module Timestamp:          4cb73436
    Exception Code:          80000003
    Exception Offset:          0004884e
    OS Version:          6.0.6002.2.2.0.768.3
    Locale ID:          2057
    Additional Information 1:          fd00
    Additional Information 2:          ea6f5fe8924aaa756324d57f87834160
    Additional Information 3:          fd00
    Additional Information 4:          ea6f5fe8924aaa756324d57f87834160

    Fault Module Name:          ntdll.dll
    Fault Module Version:          6.0.6002.18327
    If the QuickTime Player is launching, I'm less inclined to wonder about an ATI Tray Tools conflict issue. (Although we may have to return to that ... symptoms for that particular issue have changed slightly before, and might have changed again. I was away from the forum for a few months, which is an eternity in this particular advice-provision business.)
    On occasion, the ntdll.dll-referencing error has been associated with some sort of Apple Application Support damage. (In those cases, Safari for Windows also fails to launch on the same PC, also citing ntdll.dll in the problem report.) But in those cases a complete uninstall/reinstall can fix this.
    Doublechecking, Leah. When you did your uninstall/reinstall, were you using the following document as a guide? (The "Verify iTunes and related components are completely uninstalled" section is particularly important if we've got damaged Apple Application Support program-file issues afoot.)
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Can anyone help? My spot healing bush has stopped working

    I have used CS4 for over a year with no problems
    The spot healing brush (which I use a lot to remove scatter on u/w photos) sometiems acted oddly on occassion (healing the wrong place, causing a line shift across the pciture) but with the history I could back up and start again.
    However it now has stopped working (or if it does so fainly as not to have any effect)
    I have reinstalled CS4 and all the updates but this spot healing brush is still not working, and install it on laptop and used the same settinmgs (where it works)
    Has anyone else had this, and even better has anyone else solved it?

    Try resetting the tool from the drop-down menu (as in this example for the type tool).

  • Please help. I am an idiot. wrt320 stopped working completly

    Hi
    I reseted my 320n because i replaced my wrt160nl. i put latest firmwire and i think i choose to activate usb function even if 320n does not have usb function then my router stopped working, reboots itself and i can not connect to it via LAN and the wireless led is not working anymore and not indicating anything.
    Did I screw the firmwire. I can not reset it. And boots itself from time to time. What can I Do?

    Do a 1 minute reset. Also make sure the power adapter you’re using is correct. The output should be 12v 1A.

Maybe you are looking for

  • How can you access the content behind an Animate .oam file in Muse?

    I have an animation to open doors at the bottom of a parallax scroll, but once the doors open, I cannot click on any of the buttons in my "room" that were set up in Muse. Anyone have any ideas of how to fix this? I am using CC for both programs. par·

  • Slow-to-load album covers in Grid View

    I've encountered a problem for a while that I thought I might bring up... Whenever I start iTunes, it defaults to Grid View, the only view I use when browsing iTunes. Now, I'm unsure if iTunes caches album art or not, but every time I boot it up and

  • Mediasource - has the functionality chan

    I have upgraded to firmware 2..0 on my Zen Touch but as Mediasource didn't recognize my player I have downloaded the latest Mediasource and the plug in needed so it recognizes the player but it seems that the functionality has changed a lot. You used

  • SLD for FILE TO FILE Scenario

    Experts,    I have created one Technical system and two busines system for F2F scenario.Both the  BS are of third party. Sender is  MDM (Master data management) Receiver is BW (sap system) I am right.Please suggest. Thanks Veeru

  • .pkg files won't install. help!!!

    one of the g4 733 computers we use is running 10.3.9. i need several installs for our specialized keyboard and shuttle express controls. however, the OS won't allow me to install these items, even if i am in administrator or root login. after clickin