2 (Probably Simple) Accordion Widget Questions

Hello!
I am a video guy who tries to dive into this web design stuff
once in a long while. Usually i can figure most stuff out by
reading forums and stuff but this stuff if probably to obvious for
anyone but myself to post about...
1)When I click on the accordion spry widget on my site it is
surrounded by a selection box (i.e. a dotted line)
how do I get rid of this?
2) I am unclear of how to apply effects to widgets...I have
the SpryEffects.js file and would like to ease the animation of my
accordion but don't know how and where to link my main page's code
to the effect file. Where does the code for this go and in which
file?
Thanks,
Steven

Hi Steven,
That dotted outline is the browser's focus ring that tells
user an element on the page has keyboard focus. You can either use
CSS to change the color so it blends with your background, or if
you don't need keyboard navigation on your accordion, simply remove
the tabindex attribute on the accordion's top-level div.
For transitions, look here for an example:
http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html#SettingTheT ransition
--== Kin ==--

Similar Messages

  • Spry Accordion widget Question

    Have a Dreamweaver question about the Spry Accordion widget.
    I am designing a website for a real estate company. I will have  different pages set up as a state page with a sub-level of cities within  the page. I am using the accordion widget for the cities. As you know,  you click on the panel tab and the next panel drops up or down  closing/opening the previous panel.
    What I would like to do is add an action anchor (view all properties)  outside the spry widget to open all the panels at once if a client  wanted to see the entire list. However, I would still want the  functionality of the panels to be collapsible. Is this possible? Is  there a bit of code I would have to add to the JavaScript?
    Is there a genius out there that can hook me up with some knowledge?

    I actually did away with the accordian widget and went a different route. It was too glitchy. Thanks for your input though. I will take note of the suggestions you provided and maybe try it out one day.

  • Probably simple batch resize question  :_

    Hi, I am trying to create an action to batch resize a folder of images, and when I hit Run, I am asked for the jpeg quality for every file, which defeats the purpose of creating an action.
    I am using File>Automate>Fit Image  Inputting dimensions, hitting OK, and stop recording. 
    What am I doing wrong please?

    Is the Destination > Save and Close?
    Have you tried using File > Scripts > Image Processor without any Action?

  • DW Tutorial Question (Spry Accordion Widget) Beginner... :-(

    Hi, I've just finished this tutorial (http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html) but have a problem with my Spry Accordion Widget, when I preview the site my footer moves when I select a different panels in the widget, I've read back and checked code/css but I still can't sus it out (Don't laugh if it's something obvious!) Please can anyone help me? I've copied code/CSS below.
    A BIG THANKS IN ADVANCE!!
    INDEX...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>The Yacht Club</title>
    <link href="main.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    #sidebar1 { padding-top: 30px; }
    #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="container">
      <div id="header"><img src="images/logo.jpg" width="290" height="144" />
        <!-- end #header -->
      </div>
      <div id="sidebar1">
        <h3>Welcome</h3>
        <ul id="nav"><li><a href="javascript:;">Home</a></li><li><a href="javascript:;">About Us</a></li><li><a href="javascript:;">Membership</a></li><li><a href="javascript:;">Our Boats</a></li><li><a href="javascript:;">Current Races</a></li><li><a href="javascript:;">Contact Us</a></li>
        </ul>
        <div id="Accordion1" class="Accordion" tabindex="0">
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Atlantic Ocean</div>
            <div class="AccordionPanelContent">Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</div>
          </div>
    <div class="AccordionPanel">
            <div class="AccordionPanelTab">Pacific Ocean</div>
            <div class="AccordionPanelContent">Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</div>
          </div>
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Indian Ocean</div>
            <div class="AccordionPanelContent">Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</div>
          </div>
        </div>
        <p> </p>
      <!-- end #sidebar1 --></div>
      <div id="mainContent">
        <h1> Luxury Yachts</h1>
        <p><img src="images/sailboat.jpg" alt="Sailboat" width="136" height="310" class="fltrt" />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at,  odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce  varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id,  libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat  feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut,  sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh.  Donec nec libero.</p>
        <h2>Sail to the Bahamas </h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
    <!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
      <div id="footer">
        <p>&copy; 2009 Luxury Yachts – bring a cup for the bailout</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>
    MAIN CSS...
    @charset "UTF-8";
    body  {
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: #FDFDFD;
    background-image: url(images/body_BG.jpg);
    background-repeat: repeat-x;
    h1, h2, h3 {
    font-weight: normal;
    color: #00583F;
    h1 {
    font-size: 140%;
    h2 {
    font-size: 130%;
    h3 {
    font-size: 120%;
    #container {
    width: 780px;
    margin: 0 auto;
    text-align: left;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    background-image: url(images/container_bg.gif);
    background-repeat: repeat-y;
    #header {
    background-color: #DDDDDD;
    background-image: url(images/headerBG.jpg);
    background-repeat: no-repeat;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 0px;
    #sidebar1 {
    float: left; /* since this element is floated, a width must be given */
    width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 10px 15px 20px;
    ul#nav {
    background-image: url(images/buoy.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 153px;
    padding-left: 0px;
    list-style-type: none;
    #nav li a {
    font-size: 90%;
    color: #FFF;
    text-decoration: none;
    background-color: #09553F;
    display: block;
    padding: 4px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #3574A7;
    #nav li a:hover, #nav li a:active, #nav li a:focus {
    color: #123464;
    background-color: #B7DAD8;
    #mainContent {
    margin: 0 0 0 250px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
    padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
    #mainContent p, #sidebar1 p, #footer p {
    font-size: 85%;
    line-height: 1.4;
    #footer {
    background-color: #00593D;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 270px;
    #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    color: #FFF;
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    SPRY CSS...
    @charset "UTF-8";
    /* SpryAccordion.css - version 0.4 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* This is the selector for the main Accordion container. For our default style,
    * we draw borders on the left, right, and bottom. The top border of the Accordion
    * will be rendered by the first AccordionPanelTab which never moves.
    * If you want to constrain the width of the Accordion widget, set a width on
    * the Accordion container. By default, our accordion expands horizontally to fill
    * up available space.
    * The name of the class ("Accordion") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style the
    * Accordion container.
    .Accordion {
    overflow: hidden;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-color: #7C9297;
    border-bottom-color: #7C9297;
    border-left-color: #7C9297;
    /* This is the selector for the AccordionPanel container which houses the
    * panel tab and a panel content area. It doesn't render visually, but we
    * make sure that it has zero margin and padding.
    * The name of the class ("AccordionPanel") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel container.
    .AccordionPanel {
    margin: 0px;
    padding: 0px;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    * NOTE:
    * This rule uses -moz-user-select and -khtml-user-select properties to prevent the
    * user from selecting the text in the AccordionPanelTab. These are proprietary browser
    * properties that only work in Mozilla based browsers (like FireFox) and KHTML based
    * browsers (like Safari), so they will not pass W3C validation. If you want your documents to
    * validate, and don't care if the user can select the text within an AccordionPanelTab,
    * you can safely remove those properties without affecting the functionality of the widget.
    .AccordionPanelTab {
    background-color: #00583F;
    margin: 0px;
    padding: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    color: #FFF;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: #7C9297;
    border-bottom-color: #7C9297;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
    overflow: auto;
    margin: 0px;
    height: 200px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
    background-color: #FFF;
    color: #005b3E;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
    color: #AAC7CE;
    .AccordionPanelOpen .AccordionPanelTabHover {
    color: #555555;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
    background-color: #00583F;
    color: #FFF;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
    background-color: #FFF;
    color: #00583F;
    Apologies in advance if I'm asking a daft question!!

    Hi,
    using your source code, I couldn't find a really inserted "Spry Accordion". If I do that (translated from german DW) > Insert > Spry > Spry Accordion, I'll find in my DW source code something like that:
      <div id="Accordion1" class="Accordion" tabindex="0">
        <div class="AccordionPanel">
          <div class="AccordionPanelTab">Bezeichnung 1</div>
          <div class="AccordionPanelContent">Inhalt 1</div>
        </div>
        <div class="AccordionPanel">
          <div class="AccordionPanelTab">Bezeichnung 2</div>
          <div class="AccordionPanelContent">Inhalt 2</div>
        </div>
      </div>
    and in design view:
    Please control your DW-entries.
    Hans-G.

  • Accordion widget -  Toggling the Panel?

    I know this is probably simple but...
    1) How do I make the Accordion widget Panels "Open &
    Close" by clicking on the same Panel twice?
    What I mean is that my Accordion Panel works fine &
    "Opens" when clicked once, but will not "Close" when clicked again?
    (I want to be able to quickly open & close selected
    panels at ease)
    2) How do I apply a CSS to the Accordion without affecting
    the original CSS style?
    Earlier when went in to the Accodion.css file & started
    making changes, it messed up the Accordion itself & I could not
    get back to it's original look?
    Thanks for the help,
    jlig

    Cristian, Thanks for the update.
    In regards to using Accordions & Panels, it would really
    help to see a video tutorial on the workshop site that shows how to
    use ADDT Forms & Lists with SPRY widgets like the Collapsible
    Panel. Many of us are a bit unclear on how to target links between
    the two and general integration of the two.
    For example:
    - What is the sequence?
    1. Create a Blank DW page
    2. Add the SPRY Panel
    3. then ADDT records/Forms?
    Or
    1. Create a Blank DW page
    2. Add the ADDT records/Forms
    3. Add the SPRY panels, etc?
    Also, From an RIA point of view it seems like the purpose of
    AJAX is to get rid of all the "screen/page changes". Can you help
    us understand for example, the process of converting regular
    dynamic forms (via ADDT or otherwise) that have many pages, to AJAX
    enabled links that point to Panels, Tabs & Accordions instead?
    Thanks for all your expertise,
    jlig

  • Spry Accordion Widget Init Closed, Without Snap?

    (This is a topic discussed in
    another
    thread, but I didn't want to hijack the thread with my own
    question, so I started a new one...)
    I want to start my Accordion widget in a closed state. I
    figured out the trick of setting the default panel to '-1' and
    turning fixed heights by altering the code in the footer of the
    page to:
    var Accordion1 = new Spry.Widget.Accordion("Accordion1",
    {defaultPanel: -1,
    useFixedPanelHeights: false});
    When you do this, however, the page loads with the first
    accordion panel open and visible for a split second until the page
    is loaded, at which point the widget snaps the panel shut. This is
    very ugly and undesirable, especially given that this accordion is
    on a page element common to every page on the site.
    I've tried setting an initial class that is hidden, however
    the Spry Accordion widget is written in such a way that it
    preserves whatever classes you have rather than replacing them.
    Does anyone know a way to load the page with the accordion
    panels shut without this initial flash of the first panel snapping
    shut?
    Thanks,
    Steve

    Hey Al,
    Nice plug for your own application! Here is another one,
    since I am one of your happy customers.
    I used the Spry widgets in the new DW CS3 and spent a couple
    of days trying to tweak things to get them to work the way I
    wanted. After getting input from my brother (his site that I am
    working on) he really wanted some more style than what I was coming
    up with using the basic DW widget. I smacked my dollar on the
    barrel head and tried out PVII Accordion instead.
    I can't tell you how fast and easy it was to insert and
    customize this plugin. Not to mention they had some nice little
    themed styles, one of which (the cobalt blue) was a real close
    match to the color scheme I originally was using! (PS - any chance
    of getting more theme styles down the road for this plugin or
    matching styles for the other ones???)
    Changing the open or closed state of the panels - it was so
    simple!!! I simply went into the modify option and chose the number
    that corresponded to my different panels in the menu list. My buddy
    used an expression about DW CS3 that fits nicely with using tools
    like PVII Accordion Magic. You can use a screwdriver with some
    precision and a lot of hand strength to build what you want but it
    will take you alot of time...or you can plugin a power drill and be
    done with it!
    To see it in action on my current work in progress go to:
    http://www.dvdflashbacks.com/williamsburghealth/index.php
    As for sstringer's original question - how to do this in DW's
    Spry widget...
    I think you are onto the right track with the -1 setting. If
    I am not mistaken though, Spry uses 0 for the first panel, so I
    think you would need to use an option like {defaultTab: 1} to open
    the 2nd panel and so on.
    PS - Just so everyone knows - I am not a sales person for
    PVII - just a very satisfied customer!

  • Can I place a (Rectangle Tool) container filled with an image in an (Accordion) widget and make it clickable?

    Is it possible to use the Rectangle Tool to create a container, fill the container with a graphic image, place the container and image in an Accordion widget space and make the container clickable to open and close the Accordion?
    I've done this but the container isn't clickable, only the other areas of the Accordion window are. Can this be done?

    You can use the image as fill for label of accordion which will open the container on click.
    If this does not answer your question then please provide me an example where I can see what exactly you are trying to achieve.
    Thanks,
    Sanjit

  • SPRY accordion widget IE8 ONLY issue

    hello everybody,
    i noticed a strange "jumpy" behavior while using the spry accordion widget -- this affects IE8 only (currently using 8.0.6001.18882 on vista), other browsers (including IE7 and IE8 forced into IE7 mode) work as expected. this issue seems to be related to the margin property of the accordion container...
    not shure whether this behavior is related to IE rendering or the spry javascript code itself... anyway i made NO changes to the spry script (my version is 0.15, 1.6.1, which i believe to be most recent one).
    the xhtml (strict) and css are perfectly valid (there might be some MINOR css hacks which are not related to the accordion itself). i do NOT use ANY padding on the inner container of the accordion (which would definetely make the spry js count the tween in odd way). the accordions (especially the main menu on the left) are little more complex, but they were built according to the spry widget document, found on the adobe spry website.
    so, here it is -- check the accordion on the left side (the bug seems to happen almost always while opening/closing the last BLUE "section" of the accordion, please play with the accordion for a while to reproduce it -- while the accordion closes, it "loses" it's bottom margin (i guess), what's even more wierd, everything gets back to place after you move a mouse):
    http://www.prazskematky.cz/home.php
    PLEASE NOTICE: since the website is still under development and i'm using a IE meta tag to force it into IE7 rendering, to reproduce this behavior please be shure to switch IE engine to IE8 standards mode
    well, we all now how IE handles css... so it's propably an IE bug -- anyway if you have encountered a similar issue of even better found a fix, please let know. (i don't consider a fix switching to another js library, i would like to use the spry, because of it's DW integration)
    many thanks,
    p.s.

    ross m. greenberg wrote:
    > Now however the entire .gif is not appearing in the
    accordion panel is expanded. I insert the graphic using a standard
    "menu insert/graphic/browse and select"
    >
    > the graphic file is not showing up properly on such an
    insert...
    Are you referring to what it looks like in Design view? If
    so, that's
    correct. Accordion panels have a fixed height. From memory, I
    think it's
    200px. However, if you test the page in a browser, you should
    see a
    scrollbar automatically generated on panels that have content
    that
    exceeds the height of the panel.
    If you want flexible-height panels in the accordion, you need
    to adjust
    both the CSS and the script that initializes the accordion. I
    have
    covered all the details in my "Essential Guide to Dreamweaver
    CS3" (and
    the forthcoming CS4 edition). You can probably find online
    tutorials as
    well. Try a Google search for Spry flexible height accordion.
    The accordion widget has been around since CS3, and it hasn't
    changed in
    CS4, so a Google search should bring up a lot of information.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Accordion widget

    Hello!
    I have a question, why not work accordion widgets and thumbnails when I upload it via FTP to my server?
    Already contacted my hosting provider asking if they had the solution, I gave my directory permissions and widgets do not work.
    another thing, when I open my page from any IOS images that has the project are moved around!
    please help!
    thanks!
    Greetings!

    I see not all the files are uploaded on the server that is why you are facing this issue. Please try to export the html to a different folder and then use an ftp client like filezilla to upload it and let me know how that goes.
    - Abhishek Maurya

  • Accordion widget not pushing content down

    I followed the instructions for putting the menu inside the accordion widget. It has worked great for me in the past. But now, the menu just shows up behind the content. I've looked at several discussions, and I have everything set up correctly. No scroll effects, etc. I followed the step-by-step instructions on Lynda.com and in an earlier version of Muse it was perfect. Now it isn't. Here is the business catalyst site URL.  pitv.businesscatalyst.com. Appreciate your help.
    Carole

    Hi,
    Coud you please try the suggestion provided in the following thread
    Re: Accordion Widget is Not Moving Other Page Items Down When Expanded
    Do let me know if you have any question.

  • Accordion Widget on Tablet or Phone

    Here is a problem or flaw.  If you deploy an Accordion Widget on an phone or table MUSE site, and a user opens one of the Accordion tabs and scrolls to the BOTTOM of its contents.  Then if the user opens the next Accordion tab, that one automatically opens at the BOTTOM of its OWN contents, which is very confusing to users.  There needs to be a DEFAULT SETTING such as "Always open at the top of the contents."
    Does anyone know of a workaround for this bug?

    Hi, this is the BC forums, you probably want to post this in the Muse forum for the Muse team as this is releated to a feature of that not the BC platform itself.

  • Accordion widget - moving sections

    Is it possible to move the sections in the accordion widget? I want to move the last section to the top of the accordion.

    I did offer you two work flows to have images on top of question slides. I don't think they'll change the design of question slides (following the basic SCORM defined types), has been the same since many, many versions. But you can now more easily create custom question slides than ever before with learning interactions, variables and shared actions. Your idea of 'basic functionality' is maybe not the same for the majority of users
    You could log some feature requests, if you want to have impact on changes for the future. Personally I don't feel that the change to a learning interaction is such a basic functionality. Every application has its proper ways, and Captivate is certainly not an exception.

  • Accordion Widget functionality

    Hello. I need the accordion widget to activate on mouse over instead of mouse click. Is this possible? If not, is this a feature that will be added in the future?

    Thanks for the response Kin!
    I am setting up the links like you suggested, placing the
    link inside the AccordionPanelTab, however, the problem isn't
    getting the link to intercept the clicks, it's getting the link to
    perform their default action. In the SpryAccordion.js file, on line
    223, the default action of the tab's contents is being disabled.
    This means that, regardless of whether or not there is a link
    inside the tab, it will still act only as a tab (unless I'm missing
    something). The code looks like this:
    if (e.preventDefault) e.preventDefault();
    If one adds:
    e.preventDefault = false;
    before the code on line 223, the problem is solved. The
    problem with that solution is, if I go in and add that line of
    code, I have to remember that change and where it was for all
    future updates of the Spry widgets. So my question is, is there a
    way to disable preventDefault so that default actions of, in this
    case, links are enabled? Can this be done without editing the
    Accordion Widget's Javascript file?

  • Reliability of Spry Accordion Widget

    I posed a question in this forum last week and was unable to
    get a helpful answer to my problem. I am trying to use the Spry
    Accordion Widget on a site:
    http://www.jalc.org/JazzED/s_eac_B.html
    I have researched here to learn how to get the panels to
    start closed with one panel to be open by default. This works
    exactly like expected in Firefox and Chrome but NOT in IE.
    Am I wrong in my assumptions that:
    1) Folks from Adobe monitor this board and chime in with
    answers/solutions or acknowledgement of bugs; and
    2) Spry widgets are a reliable cross-platform technology that
    have had the bugs worked out
    or, is the real case
    1) Adobe folks only look into these forums on an occassional
    basis, if at all; and
    2) Spry widgets should be left alone if you are expecting
    them to perform properly relative to cross-platform capabilities.
    I appreciate anyone's feedback or suggestions on these
    questions.
    Thanks,
    Andy

    I just re-read my post above and am mortified at the tone of
    my message. It was in no way intended to come off as pissy, which I
    fear it might have. Anyone with any thoughts on my issue, I would
    appreciate your feedback.
    Regards,
    Andy

  • Spry Accordion widget

    Have a Dreamweaver question about the Spry Accordion widget.
    I am designing a website for a real estate company. I will have different pages set up as a state page with a sub-level of cities within the page. I am using the accordion widget for the cities. As you know, you click on the panel tab and the next panel drops up or down closing/opening the previous panel.
    What I would like to do is add an action anchor (view all properties) outside the spry widget to open all the panels at once if a client wanted to see the entire list. However, I would still want the functionality of the panels to be collapsible. Is this possible? Is there a bit of code restructuring I would have to do to the JavaScript?

    Try
    <!DOCTYPE html>
    <html>
    <head>
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
    <style>
    .openit .AccordionPanelContent {
      display: block !important;
      overflow: visible !important;
      height: auto !important;
    </style>
    </head>
    <body>
    <a href="#" class="openAll">open all</a> - <a href="#" class="closeAll">close all</a>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">Content 1</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 2</div>
        <div class="AccordionPanelContent">Content 2</div>
      </div>
    </div>
    <script src="SpryAssets/SpryAccordion.js"></script>
    <script src="SpryAssets/SpryDomUtils.js"></script>
    <script>
    function MyOpenAllEventHandler() {
        Spry.$$("#Accordion1").addClassName("openit");
    function MyCloseAllEventHandler() {
        Spry.$$("#Accordion1").removeClassName("openit");
    Spry.$$(".openAll").addEventListener("click" , MyOpenAllEventHandler, false);
    Spry.$$(".closeAll").addEventListener("click" , MyCloseAllEventHandler, false);
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </body>
    </html>
    The "!important" on these rules is necessary because the Accordion  widget places inline styles on the actual AccordionPanelContent elements  when opening and closing them. Since inline styles have a higher CSS  specificity then CSS class rules, "!important" is necessary to "trump"  the inline styles.
    Gramps

Maybe you are looking for