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 ==--

Similar Messages

  • Add to Multiple Tables from One Page

    Hello,
    I am building an application that handles hardware inventory (APEX 4.0). I have an input page that adds data to two or more tables all at once. The page has two forms on it that point to two separate tables. However when I try to run the page, it fails and returns an error:
    ORA-06550: line 1, column 437: PL/SQL: ORA-00904: "ORH_LAST_UPDATE_DATE": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table IDD_ID_DATA.
    So far as i can see within the App, that column is not at issue (I am not even doing anything to it and it is nullable). I have looked into the App itself as well as doing some online research but have found nothing helpful...
    So my question is this: Is it possible to add to multiple tables from one page? If so how do I do it?
    I am new to APEX so any help would be greatly appreciated!

    UPDATE:
    I received an email from the APEX Support Team:
    "The simple answer is that you will need to manually code the DML (and query) processes if you wish to maintain multiple tables from one page (There is a limit of one table when using the built-in processes).
    In order to do this I suggest you delete the processes generated by the wizards and create PL/SQL processes with insert, update, delete statements as necessary. Such coding is not difficult but is more time consuming than when you can use built-in processes."
    I have been playing around with PL/SQL code and the end result is this:
    begin
         INSERT INTO table1
         VALUES(
              :P2_Item_Field1,
              :P2_Item_Field2);
         INSERT INTO table2
         VALUES(
              :P2_Item_Field1,
              :P2_Item_Field2);
    end;
    I used this code in a custom PL/SQL Process in the Processing>Processes section of Page Processing and it seems to work fine now. The only downside to this method is if the name of a Page Item is changed the code will also have to be changed. Other than that i have had no problems.

  • I need an idea how to place multiple videos on one page

    Multiple videos on one page in Muse neded for a video portfolio..
    Anyone got a great idea how this can be done please. (or direct me to a tutorial link - doing one is all I can find)
    I am happy with either embedded or Menu linked on objects to videos.
    Youtube is hosting the videos
    I just cant find any way to put hyperlinks or urls in objects and I can not find a way to make small video players in Muse.
    If I scale the container ..things go very weird. eg the video goes tiny and into a corner.
    I feel like I am working with half a tool box!!!
    I cant even find a template where this has been done.
    Any help is appreciated. Thanx.

    That works perfectly thank you.
    Now I am wondering if I can have a single "viewer" that will play any selected video from a button , a menu or other trigger?
    Info for others if required. :  The You tube ID required in the widget setting is not the URL.  Its an alpha/numeric obtained from part of the YT embedding code.
    example - the bold underlined section
    <iframe width="720" height="405" src="//www.youtube.com/embed/w6ZcCOCihuY" frameborder="0" allowfullscreen></iframe>

  • Update multiple records on one page php/mysql

    Hi folks,
    I am trying to adapt a page to offer the option to update multiple records on one page.
    The intention is to edit FAQ categories which are contained in a table with just two fields - the category and an id.
    The page lists each categories in a form with a submit button which is then repeated for each record in the recordset.
    Unfortunately my plan didn't work and only the first record updates as intended.
    Can anyone suggest how I can make it work?
    Here's the code I have so far.
    ************** The Update Code *****************
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if (!isset($mm_abort_edit) || !$mm_abort_edit) {
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE faq_categories SET category=%s WHERE id=%s",
                           GetSQLValueString($_POST['category'], "text"),
                           GetSQLValueString($_POST['id'], "int"));
      mysql_select_db($database_con_mysite, $con_mysite);
      $Result1 = mysql_query($updateSQL, $con_mysite) or die(mysql_error());
      $updateGoTo = "faq-category-edit.php
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    ************** Update Code Ends *****************
    ************** The Form *****************
    <form name="frm_editcategory" id="frm_editcategory" method="POST" action="<?php echo $editFormAction; ?>">
      <?php do { ?>
    <fieldset>
              <input name="id" type="hidden" value="<?php echo $row_rs_faqcategory['id']; ?>" />
              <input name="category" type="text" class="formrightcolumn"  value="<?php echo $row_rs_faqcategory['category']; ?>" />
              <input name="save" type="submit" class="submitbutton" id="save" value="save" />
    </fieldset>
              <input type="hidden" name="MM_update" value="form1" />
       <?php } while ($row_rs_faqcategory = mysql_fetch_assoc($rs_faqcategory)); ?>
    </form>
    ************** The Form Ends *****************
    Cheers
    Dave

    What does debugging tell you? What's the value of each of the variables? Did you try using regular echo statements to monitor what's going on? That's what I always do whenever I am stuck in my PHP coding.

  • Printing multiple photos onto one page

    Sorry, fairly new to PSE9!
    Have a group of photos I need to print to actual size (3cm x 4cm) to go into a photo frame.  They are all cropped and ready to go but there doesn't seem to be an option to print multiple images onto one page at a custom size?  A contact sheet only gives me the option for the number of columns and picture package doesn't give any such option either as far as I can see!  I'm sure I must be missing something here!
    Any help much appreciated!  Don't want to waste photo paper printing each small photo individually!

    http://www.elementsvillage.com/forums/showthread.php?p=206785#post206785
    Post #6 in this thread provides standard directions.

  • User  getting multiple labels in one copy instead of one label.how to solve this issue?

    user getting multiple labels in one copy instead of one label.
    The detail is unexpectedly prints several labels.The amount is variable, may be 10 or 20 such tags.
    any solution for the above issue?

    Hi sriram,
    may i know,Adjusting the SAPscript form will resolve the issue?
    device details:
    access method is "S"
    Thanks,
    Prasad.

  • I am trying to print a snapshot taken from a PDF multiple times on one page.

    Reader Will not print multiple copies of a snapshot on one page. I read the help files for Acrobat itself and all it said was take the snapshot and print it. Does anyone know if Acrobat can print multiple copies of the snapshot on one page?
    From some reading in another forum page it looks like Acrobat can do it by saving the snapshot repeatedly with different names and the printing all of them at once. I really hate that workaround as I need to do this often.
    Message was edited by: duckles10

    I tried to do it using Reader. I have a one page PDF document with a UPS shipping label on one side and a special box label with a barcode on the other. This is designed to print on a standard 8.5 x 11 sheet of paper. There are many times when I need to be able to print the box labels more than once. At home, I do it by taking a snapshot of the box label and printing it to a Label printer as many times as I need it. The distributor who also ships items for me only has a full page printer but he can print 4 on a page labels on UPS provided stock. Reader won’t print a snapshot multiple times, the option is grayed out. What I wanted to know is if Acrobat itself can print that snapshot multiple times. I don’t think it can without being able to cut and save that PDF multiple times as separate files. That would be a slow and cumbersome operation. If it would take a snapshot or a single cut and save and print that PDF 4 times on a page it would be a reason to spend the money to buy the program because we need to perform this operation OVER and OVER on a regular basis. On some shipments we might need to print 12 or more extra box labels. We tape smaller boxes together for one UPS label and need to make sure EACH box gets a separate label. Otherwise they sometimes get lost on the other end.
    Doing the save 4 separate PDFs process we might actually need TWO copies of Acrobat unless reader can print 4 on a page if it has 4 PDF’s to work from. I have not yet found a good way to save those snapshots from reader. I have tried since I found that it was possible to cut and save them in other formats but not PDF’s as reader can’t save them. The quality of the saved items in other formats is not acceptable. I recently discovered that Microsoft publisher which I have can save a document as a PDF. I’m going to see if I can import to that program next.

  • Merging multiple records onto one page

    I have two questions for successfully setting up a mail merge:
    1.  I have a .csv file that contains multiple records.  All but one column contains one line of text.  I have one column in the record that contains several paragraphs of text.
    Problem:  The merge sees the paragraph returns (or line breaks) as an indicator to go to the next record.  What's the work-around for this?
    2.  I need the records to flow one after another.
    Problem:  It's merging one record per page.
    Background that may help (maybe merge is not the feature I should be using):
    I'm designing a newspaper that contains about 150 book reviews.  The reviews stem from a database that I'm exporting as a csv.  Rather than converting/formatting the reviews from the database by hand (like I have been doing), I thought InDesign must have some automated way of handling this.
    This is an example of what one record looks like:
    Italian For Beginners
    By Kristen Hammel
    Random House, $12.95, 53 pages
    Don’t be fooled by the //Italian for Beginners// cover photo of an Audrey Hepburn look-alike on the back on an Italian motorcycle with her arms around a handsome man. This novel is stronger and meatier than another  “American falls in love in Italy” love story.  Yes, the protagonist Cat Connelly escapes to Italy to find herself after tiring of being the center of everyone’s dismay as an unmarried 34-year-old overly-responsible sister, daughter, and granddaughter.
    And yes, there is romance, but it comes with a twist.  The best part of the novel is watching Cat shed her carefully constructed identity and past.  Harmel’s character discovers an authentic Rome from a family, insider’s perspective. The Italizan zest for life and her own connection to Italy allows her to throw off her accountant-style persona and take risks.  As Cat examines her deep-seated fears and biases,  she also discovers those things that give her true peace, joy and satisfaction.
    Will Cat fall in love with a handsome Italian? Or will she fall in love with her own long-suppressed Italian heritage and natural gifts? Read the novel to find out, and you’ll also find a bonus at the end of the novel: five authentic  recipes inspired by Italian for Beginners.  Mangi, mangi, buon appetito!
    Reviewed by John Smith
    Can anyone help?

    First the easy part. To get multiple records per page, create only one placeholder in the upper left position. ID duplicates EVERYTHING on the page as many times as it can using your spacing selections. If you have one element at the top of the page and another at the bottom, for example, ID will not be able to put additional records on that page because there is no space.
    Text frames should be no larger than necessary to hold the data. They won't grow or shrink to fit during the merge, so you'll have gaps if the length of the text varies from record to record.
    Now, for how to fix the line-break problem. In the data file substitute a character, or group of characters you won't be using anywhre else for each return. After the merge use Find/Change to replace the substituted cahracters with real breaks.
    Peter

  • Multiple videos on one page

    so i have created a website (which i haven't posted yet) in iweb- my question concerns video on iweb. on one page i have 5 videos that range from 20MB to 60MB, i would like these videos to download without a lot of wait time. curious what the wait time for this page would be? and also, would it be better to create a picture and then a hyperlink to each video? would that be faster? would preferably like to have multiple videos play on the page rather than hyperlinking to another page, but from what i've read, it sounds like it takes a while to download a page like that. also, i am not going to use mobileme, most likely godaddy.
    thank you.
    ben

    I just learned from toad yesterday...and I was where you were. I was afraid to try the code thing. But I kept pushing till I figured it out.
    I also publish with GoDaddy. They are very Mac friendly.
    My suggestion is that you upload your video file to Godaddy first. I used Cyberduck (free). When you get Cyberduck up and your file uploaded to the server, look (navigate) on the Cyberduck interface to the video file you have created the button for.
    Then, go to "Get Info" in the pulldown menu. You will see the URL that GoDaddy has assigned to the video (basically the Directory/Path).
    This is the info you want to put in the code part on iWeb where (in red) you replace the template text.
    To help you understand what Toad has published in red:
    1. the first red is where the URL path from the Cyberduck info goes.
    2. the second reds are the size of the Video you want to display. I find that 640x480 works very well.
    3. the last red is what your button will say: replace with "Click to Play"
    BIG HINT: Get Quicktime Pro. That interface will allow you to save your vide as a "Fast Start" video for uploading. I think this is Apple's equivalent of Flash.
    Once you get your stuff in place you will probably have to have a few phone sessions with Tech support at GDaddy. They can spot your mistakes and help get you up.
    Good Luck. This was all new to me and very intimidating - but 48 hours later I was able to have it all working.
    I even got it working on Network Solutions - but it was much more of a headache.
    For large video files, though, NetSol will let you put your videos on a Streaming Server for faster and more reliable service. Problem is that server only works with RealMedia and Windows Media Player...and who wants to convert all their QT files.

  • Multiple animations on one page scale incorrectly

    Tried to find an answer but I can only see that having multiple edge animations on one page is troublesome so far. However I've managed to get them working but there's one problem with scaling it responsively:
    http://aspekt-management.ru/test/
    The idea is having two tabs and in each there's an animation so once I press a button - corresponding tab with animation inside is shown and another one becomes hidden.
    But in 2014.1 version second animation always looks small till I resize browser viewport! After resizing browser width even by 1px - animation fits to the frame nicely. But then it breaks the first animation so once I get back to it - it behaves in a similar broken way.
    How can I make them both actually fit to their parent divs once loaded?
    What makes animations appear in such a size, I'm not sure I've specified anything like this in animations or site css.
    This is what I've copied from EA export code to my html:
      <script>AdobeEdge.loadComposition('main_process', 'main_process', {
        scaleToFit: "width",
        centerStage: "horizontal",
        bScaleToParent:true,
        minW: "0",
        maxW: "undefined",
        width: "940px",
        height: "260",
    }, {"style":{"${symbolSelector}":{"isStage":"true","rect":["undefined","undefined","940px"," 260px"],"fill":["rgba(255,255,255,1)"]}},"dom":[{"rect":["410","70","120px","120px","auto" ,"auto"],"id":"preloader42","fill":["rgba(0,0,0,0)","images/preloader42.gif","0px","0px"], "type":"image","tag":"img"}]}, {"style":{"${symbolSelector}":{"isStage":"true","rect":["undefined","undefined","940px"," 260px"],"fill":["rgba(255,255,255,1)"]}},"dom":[{"rect":["0px","0px","940px","260px","auto ","auto"],"id":"home_process_stat","fill":["rgba(0,0,0,0)","images/home_process_stat.png", "0px","0px"],"type":"image","tag":"img"}]});
       AdobeEdge.loadComposition('main_master', 'main_master', {
        scaleToFit: "width",
        centerStage: "horizontal",
        bScaleToParent:true,
        minW: "0",
        maxW: "undefined",
        width: "940px",
        height: "260"
    }, {"dom":[{"rect":["410px","70px","120px","120px","auto","auto"],"id":"preloader42","fill": ["rgba(0,0,0,0)","images/preloader42.gif","0px","0px"],"type":"image","tag":"img"}]}, {"dom":[{"rect":["0px","0px","940px","260px","auto","auto"],"id":"main_master_stat","fill ":["rgba(0,0,0,0)","images/main_master_stat.png","0px","0px"],"type":"image","tag":"img"}] });
         AdobeEdge.bootstrapCallback(function(compId) {
      console.log("Composition loaded...", compId);
    Ironically, I havent had such a problem before, current website with older animations works correctly:
    Aspekt

    After some more research, my problem is slightly different from the original post. I'm using setTimeout to stagger the load times of multiple compositions. I'm using bScaleToParent: true to resize the individual compositions within their divs. HOWEVER, if a div's display is hidden when the edge comp is loaded, the composition defaults to the minWidth as set in Edge Animate, and only resizes when the viewport is resized.
    I'm working around this by setting the opacity of the hidden divs to 0 instead of the display to none.... but it is NOT ideal.

  • "Link to One of  My Pages" not working properly in iWeb '08

    This week I encountered a new problem doing something I've done successfully many times in the past.
    *_Here is the basic info:_*
    I created a site that had a main page and then four subsequent pages (5 in total). I created a text box (seen bellow) that listed each page.
    I then used the "Link to One of My Pages" option to link each word to the corresponding page.
    I then cut and past the text box on each page so that the links would be present on each page.
    Then in iWeb I checked all the links on each page to make certain they navigated properly to the correct page. Everything checked out fine all the links worked properly.
    Next I saved and exported to a folder to check the site before going live.
    *_Now here's my problem_*
    I launched safari and opened the site locally — I then discovered that only the first 2 of 5 links worked — the remaining three did not register as links.
    I launched FireFox same problem. went back to safari emptied the cache, did not help.
    Finally, I went back to iWeb and repeated the process several times. I've rechecked, and recreated the links and exported to a folded multiple times with no change — still only the first 2 of 5 links work.
    Has anyone encountered the same problem? I would greatly appreciate any suggestions or remedies
    Thanks you
    Message was edited by: NYCguy-71

    Well I discovered the the solution to my own post above — For those keeping a score card I'll just chalk this one up to operator error and not to iWeb troubles.
    The basic problem was that only two of five hyperlinks in a text box worked when my site was published.(please refer to my original post above for more details)
    *_here is the fix:_*
    I was working with the layout view hidden.
    When i turned "show layout" on, I discovered that the lower margin and footer were bisecting the text box containing the hyperlinks. (seen bellow) As a result, while visable when published, the top two links worked fine and the bottom three links didn't.
    When I adjusted the lower margin and footer to fit the text box and published the site everything worked properly.
    So I guess the lesson learned is to check the layout — Even though I had content that was outside of the page parameters it was still visible on the published site just not functional.
    I share this in the hope that my time and effort spent figuring this out might help someone else avoid the same frustration.

  • Multiple videos on one page - need to keep all visible once played

    Hello all,
    Firstly, I'll admit that I'm a novice as far as DPS goes...the app I'm working on is only my second attempt. I've managed to put the bones of it together, but I'm having problems with some video files.
    I only realised today that you can't use InDesign's animation facility as it uses Flash (this app's for the iPad).
    This is what I need to achieve: on one page, there are numbers 1, 2 and 3, running vertically. These are buttons. When each button is pressed, I want a line of text to fade in next to it.
    I couldn't get this to work with an image sequence so I've created three movies. I dropped the first one in and it faded in fine when button one was pressed.
    The problem is - when I press button 2, the text (movie) next to button one disappears. Is there any way to keep all three movies showing their last frame at once?
    Sorry this is a bit long-winded....hope you can help people!
    Cheers,
    Anth.

    I would rather use MSOs to get the effect you describe.
    For each button a 2-state MSO would do the job perfectly.

  • Multiple Movies on one page.

    Hello All.
    I a doing a keynote presentation which will be fairly interactive.  The plan is to show some of our work off on one page, so maybe 6 videos on one page.
    I have got it so they they start individually  a click each time and i have made it so i can use the mouse but I don't want them to play in a particular order I will be showing people in small groups and showing them what's more suited to them.
    So what I want to do is be able to have it so I can just use the mouse and go to any movie and play it, at the moment i have to let it play by the one click method to get the controls to do anything with it and so they have to play in order. 
    I have look everywhere so any help at all will be helpful!
    Thanks,

    Hi there
    If you place a Button or Click Box object on the slide it should stay put until the user clicks it. (Well, it will as long as you configure the Slidelet as "Click to stick".)
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Multiple Forms on One page

    Hi,
    I am trying to create multiple forms based on different tables on ONE page. But some how I get errors in the Automatic process (fetch,insert, and update) which gets created when you create a form.
    The tables i am using have some common colomn_name but i when creating form i am not including those columns.
    For eg. all my table have create_by,update_by column but i am not add these columns in the form as they are updated by the DB trigger.
    Vikas

    Vikas,
    create one form using wizard and the others manually.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Multiple subforms on one page

    Hi,
    I am using Adobe output designer 5.5 to create templates. I am running into trouble when I try to have 2 subforms on the one page - fields are not being displayed.
    the first subform is fine but, the fields are not populating on the second subform. I have an example of a file I am trying to use the template with below :
    ^page 1
    ^position absolute 1.00 19.25 cm
    ^subform CUSTOMER_DETAILS
    ^field CUSTOMER_NAME
    Joe Bloggs
    ^field CUSTOMER_ADDRESS
    1 Old Street, Newtown
    ^position absolute 1.00 19.95 cm
    ^subform PRODUCT_DETAILS
    ^field PRODUCT_PRICE
    $99.99
    ^field PRODUCT_DESCRIPTION
    iPod Nano
    ^page 2
    ^position absolute 1.00 17.00 cm
    ^subform COMPANY_DETAILS
    In this case the customer details display and the text from the PRODUCT_DETAILS subform but not the fields (i.e $99.99 and iPod Nano do not display). I have tried changing field to global (in both the file and template)
    I am not too sure how subforms work or if it is possible to use multiple subforms on the same page.
    Any help would be greatly appreciated

    I created a template with your subforms and fields and tested with your data. It worked fine.
    Check that the field names on the template are the same as the names in the data.
    Check the log to see if it gives you any clues, like 'field not found'.
    Handling the subforms in the data is not really the best way to work with subforms. Merge will do that for you.
    Once the initial subform has been placed on the page then the merge will handle the laying down of successive subforms depending on the data.
    Following is an alternative way of presenting what you want.
    - Create the template with the Customer_Details subform at the required location on the page, and in the subform definition check the "Always position in same vertical location on page" box.
    - The Product_Details subform can be anywhere on the page, but is normally created somewhere relative to the preceding subform, in this case below it.
    - The field names in each subform should be unique. This allows merge to handle all the subform placement.
    - Your data could be much simpler:
    ^page 1
    ^field CUSTOMER_NAME
    Joe Bloggs
    ^field CUSTOMER_ADDRESS
    1 Old Street, Newtown
    ^field PRODUCT_PRICE
    $99.99
    ^field PRODUCT_DESCRIPTION
    iPod Nano
    When merge sees the field Customer_Name in the data it will look in the preamble for the appropriate event for that field, in this case !FldNotAvail, and follow the associated instructions. This will include the position and subform commands to lay down the Customer_Details subform, then it will fill the field in the subform.
    When merge sees the Customer_Address field this field is on the current subform so merge populates the field with the data.
    When merge sees the Product_Price field it is not in the current subform so it looks in the preamble for the appropriate event associated with the field, and follow the associated instructions to lay down the Product_Details subform.
    When merge sees the Product_Description field this field is on the current subform so merge populates the field with the data.
    If there were a second Product_Price field in the data then merge would search the preamble for the !FldUsed event and follow those instructions.
    This is not simple to understand but I hope it helps.

Maybe you are looking for

  • Why is my ipod screen blank?

    I am having trouble with my ipad. When i try to switch it on, only a backlight comes on for a couple of seconds then turns blank again. I have restored my settings to the default settings, and updated the software. Does anyone have any info or feedba

  • Advanced TDMS, Set Channel Information

    Hello, I have a problem with scaling in and TDMS File. I´ll try to explain what i want to do. I work on a system that streams data from 2 PXIe 5122 via peer to peer streaming to 2 NI 7962R FPGA FlexRIO cards. After that I want to stream my measuremen

  • Settings in Compressor 3.5 for HDV Video

    Hi, for a long time i search the perfect settings in Compressor to play my home movies on the actual Mac mini and also the PS3 without any other transformation. i think 1280 * 720 (720p) is the best, but witch settings in the Compressor is perfect? I

  • Delivery Address in PO - Function module?

    Hi Experts, I there any Function module to retrieve the Delivery address in a PO. I am trying to find if the plant address & Delivery address are same or different. regards, Kevin.

  • Generating table STXFPCUST for Adobe Forms

    Hi, I am creating a smartform compatible adobe form and I believe for the system to generate the smartform for this, we need to update the table STXFPCUST with the name of the Adobe form and allow the system to generate the smartform. Can I have some