Accordion with defaultPanel other than 0

I have tried setting the defaultPanel option in the
constructor, with little luck. I looked at the SpryAccordion.js
file [1.6] and noticed this.defaultPanel = 0; , so I changed the 0
value to 1 and tested with my constructor set to 1 as well and it
worked...
How or to what can I change in the js this.defaultPanel = 0;
so that the only real change is in the accordion constructor?
I thought this.defaultPanel = "defaultPanel"; would do the
trick but no luck. Any suggestions, and if I missed this in the
forum I am sorry I thought I read "all" before writing. All else
has been a breeze, thanks.
Below is a sample with the default set to 1 and the construct
set to 1.
accordion
test for second panel

Hi r33sm4n,
Did you check the
Accordion
samples?
There is an example explaining how to set the default open
panel.
As a general rule, you don't have to change anything in the
Spry JS files. They are ready for use out of the box.
All you have to do is to pass to the constructor the
defaultValue option set to the desired panel (0-based).
Also, check your code as I saw that you define the same
accordion two times, once with a defaultPanel and once without it.
You have to define it only once.
-- Florin

Similar Messages

  • HT5232 does ipad mini have a usb port? if not then how can i share my documents with devices other than apple?

    does ipad mini have a usb port? if not then how can i share my documents with devices other than apple?

    Wireless Flash Drive (tap to enlarge image)

  • The document contains no posting lines with value other than zero

    Hi!
    We are having problems posting a invoice in MIRO. When entering the PO number we receive the error message "The document contains no posting lines with value other than zero".
    What could be the problem?
    /Anders

    Hi!
    The GR_BASEDIV is set in the PO. The PO is replicated from SRM where this flag has been set for no reason. Only GR and IV are set and we have implemented a note 1155266 so that Confirmation-Related IV will not be set.
    How come it is set anyway?
    Sincerely
    Anders

  • Calendar sync with anything other than outlook?????????

    "I am trying to sync my phone calendar with anything other than outlook.  can anyone help???

    hello,
    if you look at the Desktop Software page on the blackberry.com website, there is a section called "requirements" and in that section you have a paragraph with the list of PC software against which you can do a synchronization.
    apart from PC software, you can also synchronize with GMail Contacts, Google Calendar, Yahoo!Mail and probably some other like facebook contacts, facebook events.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • (261718088) Q: Can you use xm:multiple with Objects other than String?

    Q: Can you use xm:multiple with Objects other than Strings?
    <br>
    A: You bet. Attached find a text file with some code from the example I showed
    today, a version of the multipleSayHiTo() method that has a parameter of an Array
    of Person objects rather than a parameter of an Array of Strings. The code within
    the text file comes from the Greeting.jws file (the Greeting Web Service).
    [multiple.txt]

    So you are saying that the recovery discs I made do include the copy of windows that was originally installed?
    Absolutely! They will restore the hard disk to its original out-of-the-box contents. Follow the instructions in the section Restoring from recovery DVDs/media, which begins on p. 73 of the User's Guide.
       Satellite A660 Series User’s Guide
    maybe i can make a deal with wd to have them swap this drive out for the BEKT instead...
    That would be a good idea in any case.
    As I said, the 10-fc12-045d error would not be due to the drive's being AFT, but more likely the discs are not being read properly. New discs can be obtained from Toshiba. Scroll down to Get Recovery Media here
    -Jerry

  • Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    No I have tried and they don't also my iPod touch 2nd generation doesn't work with voice control unless it has apple earbuds plugged in. I guess apple doesn't want 3rd party brads interfering with their company. Thanks please like

  • APEX 4.2.2 - ORA-6502 when logging in to application with anything other than Firefox!

    If I try to log into my application through anything other than Firefox I get the following message on the screen:
    Error
    Error processing request.
    ORA-06502: PL/SQL: numeric or value error
    OK
    If I try to access the APEX Builder through a browser other than Firefox, I get no HTML returned.
    Last night I upgraded from 4.1 to 4.2.2 and ran the patch that dealt with missing developer toolbars...
    Of course, I only ever use Firefox, but my users are using IE...
    Any ideas?
    Message was edited by: AndyH
    Clarified that this is a 4.2.2 issue.

    Hi,
    I do not know if this relating bug 16760897
    Oracle Application Express 4.2.2 - Known Issues
    Regards,
    Jari

  • How can I get a Macbook (pro) with numpad other than buying a second handed

    Actually,
    I am currently using a Macbook (2,1)
    and i bought it because i thought i had a low demand of graphics, displays, etc.
    And i planned to buy a Macbook Pro in several years.
    However,
    after MONTHS,
    Apple Inc, kills numpad, and i was totally shocked and keep searching for any manufacturer or Apple Inc. itself would allow special hardware request.
    By the way.
    what is "full sized keyboard" actually means?
    does it mean just the qwerty keyboard?
    I was really disappointed with the new keyboard design.
    I believed some of the mac users did the same.

    i really hope someone could and i know you understand numpad is numpad, not just numbers.
    i think if the people in the design group or whatever name it is, do use the numpad, or understand how i numpad would actually affect some of the people. apple inc would just keep it.
    maybe you'll say.
    "oh well, time passes. several years later, numpad will be totally illuminated. we are actually making trend of the computer technology!"
    but then so you mean you can actually cut the fn key, change the arrow keys, etc.
    its kind of sad.
    i knew you understand.
    like the new keyboards has those fastforward, play, rewind keys.
    but those are actually optional you can still set universal hot keys if they are eluminated, and also our beloved apple remote did the same (i mean the ones we are now having)
    however numpad is compulsory functional in some extent, there is no way to access numpad other than using the "Keyboard Viewer".((**slowly clicking**))
    and i believed some of the businessman demand them so well.
    why people just cant leave windows?
    its all about compatibility.
    applications are more and more made for mac.
    but now we have some awkward jagged decision made here just now.
    numpad is kind of the vital function to like at least 10% of the people in the world who use computers.
    there is only one reason i can think of if you say so.
    maybe that is a strategy to keep Mac computers up high in the sky,
    so they, oops, cut users by cutting numpad incidentally.

  • Can you load songs with anything other than iTunes?

    I'm trying to re-install itunes after my PC collapse, but I can't and I really want to upload new music to my ipod, but I can't, can I use any other software other than iTunes? Cuz seriously, I don't know what's the problem with iTunes, but I can't install it.

    There is a lot of software for iPods that allow you to transfer music and more.
    There are things like anapod (http://www.redchairsoftware.com/anapod/featpw.php), ephpod (http://www.ephpod.com/), podplus(http://www.ipodsoft.com/index.php?/software/podplus),and even a winamp extension (http://www.mlipod.com/).
    They aren't hard to find, just search.

  • Inbound Processing of Idocs with status other than success

    Hi,
           I am new to ALE/Idocs. Can anyone  please let me know how can I process the Idocs which have the status other than 53.
    Thanks &  Regards,
    Indira

    Hi,
    In addition to the previous posts few more programs to process failed inbound IDocs are as mentioned below.
    - Use program RBDAGAIE to process edited IDocs (IDocs with status 69)
    - Use program RBDAPP01 to process IDocs failing with serialization issue (IDocs with status 66)
    - Use program RBDAGAI2 to process IDocs after ALE inbound error (IDocs with status 56, 61, 63, 65)
    ~ Bineah

  • Flex3 Beta2 - Resource build fails with locale other than en_US

    Attempting to build a resource SWF for a locale other than
    en_US fails as follows. This built fine with Flex3 Beta1. Same
    command with en_US works fine.
    Any suggestions?
    $ mxmlc -locale fr_FR -source-path src -source-path
    src/locale/{locale}
    Loading configuration file
    C:\work\tools\flex\frameworks\flex-config.xml
    C:\work\tools\flex\frameworks\flex-config.xml(56): Error:
    unable to open 'locale/fr_FR'
    </library-path>

    Gaurav,
    Thanks for the responses. A couple of more questions:
    1) You say if I don't want the localized base resources to
    edit the flex_config file. What change(s) need to be made to that
    file for this case?
    2) Following the directions in the Flex 3 Features
    Introduction: Runtime Localization" document on the Adobe site I
    attempted to run the following command:
    copylocale.exe en_US fr_FR
    This fails, however, with the following eror:
    C:\Program Files\Adobe\Flex Builder 3
    Plug-in\sdks\3.0.0>bin\copylocale.exe en_US fr_FR
    Error: Directory "C:\Program Files\Adobe\Flex Builder 3
    Plug-in\sdks\3.0.0\frameworks\projects\datavisualization\bundles\en_US\src"
    does not exist
    Are there files missing from the kit or do I need to pull
    something else down?
    Thanks,
    Mark

  • AirTunes streaming with apps other than iTunes

    I love the Dashboard "Rabbit Radio" Widget, but why can't applications other than iTunes support AirTunes streaming? I 'd like to listen to Internet Radio through the $2000 sound system the computer is connected to (through the Airport Express). Dashboard, and other applications, need audio streaming capability, just like iTunes.
    It seems silly that we cannot do this. This also can be a problem with Safari as well, and other system-level or iLife applications...
    Also, the last time I checked, iTunes won't even stream music video or movie audio through AirTunes-connected speakers...

    Hi
    Airtunes is part of iTunes, it isnt really a stand alone app.
    If you dont mind paying a little, Airfoil is a great little app that allows you to stream from most other sources to your Airport Express.
    With regards to video/movie audio, it does tend to get out of sync when you stream to an AE!
    Will

  • Are there any drivers to use NI PCI-1411 with programs other than Labview?

    I'd like to use my NI PCI-1411 capture card to capture images and/or videos outside Labview. Are there drivers available somewhere? E.g. TWAIN drivers?

    I am not aware of any drivers other than IMAQ, but the IMAQ drivers do include a C library along with the LabVIEW version. I would take a good look at what is available in the IMAQ drivers. They may have what you need.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Keychain services API and dealing with Keychains other than the default

    Hello,
    So I've been doing some C work with the Keychain services API. But I can't figure out how to set the Keychain for a function to something other than the default, which is set by passing NULL.
    For example,
    status = SecKeychainAddGenericPassword (
    *NULL, // default keychain*
    10, // length of service name
    "SurfWriter", // service name
    10, // length of account name
    "MyUserAcct", // account name
    passwordLength, // length of password
    password, // pointer to password data
    NULL // the item reference
    This function is defined here:
    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainAddGenericPassword
    and the data type for the Keychain is here:
    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//appleref/doc/cref/SecKeychainRef
    But neither helps me at all for being able to edit a keychain that isn't the default Keychain.
    I appreciate any help, thanks.
    Message was edited by: Smerky

    http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainOpen

  • Cannot get Toolbar with FF4 other than by pressing Alt button, have tried all methods suggested, also cannot get it to open in Safe Mode.

    Since downloading FF4 to replace 3.1.6 I cannot get the Toolbar other than by pressing the Alt button and whilst this shows the toolbar it will not stay. I have followed the Firefox instructions, other than opening in Safe Mode which it will not do either ,none of which have cured the problem. I am using Vista, with Trend Anti Virus and also have IE8 which is working OK.

    Hi collizz, welcome to the forum,
    if you have access to another computer I suggest you download Kaspersky Rescue Disc and create a bootable cd, below is a link to a knowledgebase article where you can download it and also find out how to use it.
    http://support.kaspersky.com/faq/?qid=208282173
    Good luck.
    p.s. moving to Security and Malware board.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

Maybe you are looking for

  • F4 help button not getting displayed

    Hi, I have unique problem it seems. I have atttached a explicit search help object for one of the fields in a local structure of type db table.. In standard selection screen i am defining a parameter of this field and have used "matchcode object" als

  • Iphone sounds control

    Hi guys, I just wanted to ask if there's any option to control the sounds of my iphone while being in a call? Here is the situation: I'm in a important call for about 30 minutes, and during that call I'm hearing all the sounds in my ear pretty loud (

  • I just somehow deleted ALL my playlists in iTunes.

    I had hundreds and hundreds. Please tell me there's a way to get them back!

  • Viasualize attached files withou saving in the computer

    I would like to be able to open my attached files without saving in my computer

  • Function help :

    I need a function that has to find out if a pk already has been assigned in another table as an foreign key. I've written this: function check ( id1 in number return varchar2 is cursor c ( b number ) is select id from a, b where a.pk1= b and b.fk_id