Using Spry Accordion menu problem

I use the Spry Accordion widget as a menu/table of contents in a Web site and have encountered a problem that requires customization that I can't find anywhere.

Here is the link: http://2ndlookgraphics.com/slProfile/index.html

I placed the menu links pointing to 'parent', which seems to be working in an iframe.

My problem is that whenever you click on a link in any other first round table, the menu returns to the opening position with you first Panel opened.

I would like if possible to have the Panel which is being accessed to stay open until another tab is open.

If this is not possible, it would be best if the first Panel was closed initially and the accordion effect to learn hovering rather that click.

I use a 'fluid' responsive checkered but who does not seem to have an impact on this issue.

I would like some advice on this please.

All the panels closed-

More details here:

http://Adobe.github.IO/Spry/articles/data_api/APIs/accordion.html

Tags: Dreamweaver

Similar Questions

  • Help! Using Spry Accordion in the menu template & links on PanelTabs not open pages

    Please help me. I have redesigned my site and used an accordion Spry Panel for navigation. 5 Panel accordion tabs are supposed to go directly to the pages (without content in Panel accordion - only tab) while the other 2 have ul lists in content as submenus to the catalogues. The submenu links work, but the links in tabs. The site is hosted in Business Catalyst and the submenu links point to the BC catalogues.

    The source code of my Accordion Panel is as follows:

    < div class = "sidebar1″" >

    < div id = "Accordion1" class = "Accordion" tabindex = "0" style = "" outline: none; ">"

    < div class = "AccordionPanel" >

    "< div class ="AccordionPanelTab"> < a href ="... / home.html "> home < /a > < / div >"

    < div class = "AccordionPanelContent" > < / div >

    < / div >

    < div class = "AccordionPanel" >

    "" < div class = "AccordionPanelTab" > < a href = "#" > < /a > < a href = "... / about2.html" target = "_self" > about us < /a > < / div >

    < div class = "AccordionPanelContent" > < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Products of the brand... < / div >

    < div class = "AccordionPanelContent" >

    < ul >

    < li > < a href = "#" > < /a > < a href = "/ musical instruments-schoenhut" > Schoenhut < /a > < /li >

    < li > < a href = "#" > < /a > < a href = ' / smile-educational-toys ' > smile < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ greenbean-teaching-products ' > Greenbean < /a > < /li >

    < li > < a href = "#" > < / a > < a href = "/ CatalogueRetrieve.aspx?" CatalogueID = 227697 "> Melissa & amp; Doug < /a > < /li >

    < li > < a href = "#" > < / a > < a href = "/ CatalogueRetrieve.aspx?" CatalogueID = 227701 "> Penguin/Ladybug < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ plans" > plans < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ rgs-smartplay" > Smartplay RGS < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ viga" > VIGA < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ Phönix-in-a-box" > Phonix-in-a-Box < /a > < /li >

    < li > < a href = "#" > other < /a > < /li >

    < /ul >

    < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Products by Type... < / div >

    < div class = "AccordionPanelContent" >

    < ul >

    < li > < a href = "#" > < /a > < a href = "/ educational toys" > < /a > < /li > educational toys

    < li > < a href = "#" > < /a > < a href = "/ construction" > Construction < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ games" > games < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ calculation" > numeracy < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ literacy" > literacy < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ motor skills" > motor < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ outdoor-play" > outdoor play < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ music instruments" > Instruments of music < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ puzzles" > Puzzles < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ books" > book < /a > < /li >

    < li > < a href = "#" > < / a > < a href = "/ CatalogueRetrieve.aspx?" CatalogueID = 227978 "> Arts & amp; Crafts < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ stationery" > stationery < /a > < /li >

    < li > < a href = "#" > < /a > < a href = "/ for-the-classroom" > for the Classroom < /a > < /li >

    < /ul >

    < / div >

    < / div >

    < div class = "AccordionPanel" >

    "" < div class = "AccordionPanelTab" > < a href = "... / news2.html" target = "_self" > News < /a > < / div >

    < div class = "AccordionPanelContent" > < / div >

    < / div >

    < div class = "AccordionPanel" >

    "" < div class = "AccordionPanelTab" > < a href = "... / activities.html" target = "_self" > activities < /a > < / div >

    < div class = "AccordionPanelContent" > < / div >

    < / div >

    < div class = "AccordionPanel" >

    "" < div class = "AccordionPanelTab" > < a href = "... / contact2.html" target = "_self" > contact us < /a > < / div >

    < div class = "AccordionPanelContent" > < / div >

    < / div >

    < / div >

    Add the highlight and remove the bar by

    target = "_self" onclick = "window.location = this.href; return false;" " > News

  • My Spry Accordion will not work in IE but goes to the opera

    Hello world

    I'm having a problem with my Accordion widget spry in a website I'm trying. Keep in mind theres a lot of things to fix, but it is in its infancy. What happens is, if you go under the heading, business and training, then you will see a FAQ section. You will notice that the tabs are open and it does everything just not correctly in IE, Chrome and Firefos but it works in Chrome. (I've not tried in Safari as my computer crashes?) I have included the link and the code below.

    Thank you

    Steve

    www.adelxt.NET

    Code:

    < name meta = "keywords" content = "computer, consulting, Director, windows, 2000, 2003, 2008, XP, Vista, Sonicwall, Novell, Netware, Virus, New Hampshire, Massachusetts, North, wireless, cabling, South, firewall" / >
    < name meta = "description" content = "a local consulting company specializing in Windows Server and Novell Netware as firewalls. This company helps out and installed networks, wiredd and wireless and keep your network. "/ >
    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    "< html xmlns ="http://www.w3.org/1999/xhtml">".
    < style type = "text/css" >
    <!--
    .twoColElsLtHdr #container #mainContent p {}
    }
    {.style2}
    color: #FFFFFF;
    height: 30px;
    }
    ->
    < / style >

    < link href = "SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / > "
    < style type = "text/css" >
    <!--
    a: link {}
    text-decoration: none;
    }
    a: visited {}
    text-decoration: none;
    }
    a: active {}
    text-decoration: none;
    }
    {body
    background-image: url(graphics/a1.gif);
    background-repeat: repeat-x;
    background-color: #f9f9f7;
    }
    {#apDiv1}
    position: absolute;
    left: 538px;
    top: 131px;
    Width: 185px;
    height: 444px;
    z-index: 1;
    }
    body, td, th {}
    Color: #000000;
    Police-family: Geneva, Arial, Helvetica, without serif.
    do-size: 12px;
    }
    {.style4}
    do-size: 18px
    }
    {.style5}
    Color: #FF0000;
    make-weight: bold;
    }
    ->
    < / style >
    < script src = "SpryAssets/SpryAccordion.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryAccordion.css" rel = "stylesheet" type = "text/css" / > "
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > welcome to the computer company Adel-Xt < /title >
    < link href = 'css files/main.css' rel = "stylesheet" type = "text/css" / >
    <!-[if IE] >
    < style type = "text/css" >
    / * place patches css for all versions of Internet Explorer in this conditional comment * /.
    .twoColElsLtHdr #sidebar1 {padding-top: 30px ;}}
    .twoColElsLtHdr #mainContent {zoom: 1; padding-top: 15px ;}}
    / * the owner above zoom gives IE the hasLayout property, avoid several bugs * /.
    < / style >
    <! [endif]-->
    < script src = "SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryMenuBarVertical.css" rel = "stylesheet" type = "text/css" / > "

    < script type = "text/javascript" >

    var _gaq = _gaq. [];
    _gaq.push (['_setAccount ',' UA-18563317-1 ""]);
    _gaq.push (['_trackPageview ']);

    (function() {}
    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;
    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";
    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);
    })();

    < /script >


    < / head >

    < body class = "twoColElsLtHdr" >
    < div id = "container" >
    < div id = "header" >
    < table width = "100%" border = "0" align = "center" >
    < b >
    < th bgcolor = "#FF6633" scope = "col" > < div align = "left" >
    < p align = "center" class = "style2 style4" > Adel - Xt Computer Company < /p >
    < p align = "center" class = "style2 style4" > Derry, NH 03038 < /p >
    < p align = "center" class = 'style2 style4' > 1-603-434-5311 < /p >
    < / div > < /th >
    < scope = "col" th > < h1 >
    < div align = "center" > the House of formation for the individual < / div >
    < / h1 > < /th >
    < /tr >
    < /table >
    <!-end #header--> < / div >

    <! - beginning of Horizontal menu Bar - >
    < div id = "horizontalmenu" >
    <!-#include file = "files/Horizontalmenubar.ssi ISS" - >
    < / div >
    <!-end of Menu bar-> horizontal
    <! - beginning of the right sidebar - >
    < div id = "sidebarright" >
    < h2 align = "center" > training FAQ < / h2 >
    < div id = "Accordion1" class = "Accordion" tabindex = "0" >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Steve has never taught in school? < / div >
    < div class = "AccordionPanelContent" > Yes. Steve has taught several computer, math, and engineering vlasses in local colleges. < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > what is the history of Steve? < / div >
    < div class = "AccordionPanelContent" >
    < p > Steve has a BSME in mechanical engineering, master's degree in Business Administration (MBA), advanced concentration in decision-support systems (DSS) and Microsoft certification. < /p >
    < p > Steve is also 18 years working in the industry in the field of technology of Information (IT), engineering (software & amp; (Mechanical), manufacturing, engineering, management, quality, manufacturing, and much more... < /p >
    < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > what is the maximum I can get in a clasroom. < / div >
    < div class = "AccordionPanelContent" > it's up to you. Steve will discuss this with you and point out the advantages and disadvantages of having too many students in a session. < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Will Steve training night? < / div >
    < div class = "AccordionPanelContent" > for special occasions, it will be. Evening training normally is done with a few reviews for Steve. < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > does Steve have a program < / div >
    < div class = "AccordionPanelContent" > No. that's exactly what he doesn't want. Steve wants to customize training to your company. An important part of the training is planning which is what he will discuss with you. < / div >
    < / div >
    < / div >
    < p > < / p >
    < p > < / p >
    < / div >
    < div id = "mainContent" >
    Training of < h2 > < / h2 >
    < div > Adel-Xt computer will create a training program for you and your employees. We will be in gear
    the training program for your company then used following this class will become more efficient in their daily work skills. Times
    a program is approved we will send you our instructor (Steve) to your facilities to teach to the class. < / div >
    < div > < / div >
    < Div > please call 434-5311
    "or < a href ="mailto:[email protected]"target ="_self"> contact us < /a > for more information on how Adel-Xt computer can help your business become more efficient, which leads to bigger profits." < / div >
    < p > < br / >
    < /p >
    < p >
    <!-end #mainContent->
    < /p >
    < / div >
    < p >
    <!-this element of compensation should immediately follow the #mainContent div in order to force the #container div to contain all the child-> fleet
    < /p >
    < div id = "subcontent2" align = "center" >
    < H2 > sound are some examples of training < / h2 >
    < class p 'style4' = > beginner training for people new to computers. < /p >
    < class p 'style4' = > Excel 2003, 2007, 2010 < /p >
    < class p "style4" = > Word 2003, 2007, 2010 < /p >
    < class p 'style4' = > Email use and precautions < /p >
    < class p = "style4" >... < /p >
    < p > < / p >
    < / div >

    < / div >
    < p > < br class = 'clearfloat' / >
    < /p >
    < div id = "footer" >
    "< table width ="100% "border =" 0 ">"
    < b >
    < scope = "col" th > < class p = "style5" > we are currently redesigning our Web site. "If a link does not please contact us via < a href ="mailto:[email protected] "> e-mail < /a> or call us at the 603.434.5311." < /p >
    < p > Adel-Xt Computer Company, Derry, NH 03038 1-603-434-5311 contact us < /p >
    < p > update:
    <!-#BeginDate format: fcAm1a-> Friday, November 5, 2010 17:29 <!-#EndDate->
    < /p > < /th >
    < /tr >
    < /table >
    "< a href ="http://www.tinycounter.com"target ="_blank"title ="web counter"> < img border ="0"alt ="web counter"src ="http://mycounter.tinycounter.com/index.php?user=adelxt "> < / has>
    <!-end #footer--> < / div >


    <!-end #container--> < / div >
    < script type = "text/javascript" >
    <!--
    var MenuBar2 = new Spry.Widget.MenuBar ("MenuBar2", {imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});})
    var Accordion1 = new Spry.Widget.Accordion ("Accordion1");

    ->
    < /script >
    < / html >

    < / body >

    You are not using the latest Spry files

    The latest version of the Adobe Spry 1.6.1 Framework it is the same version that ships with Dreamweaver CS4. If you are using Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can be easily done by using Updater Spry who can be found here.

    If you replace

    you will notice that it works as it should.

  • SPRY Vertical menu bar and the Opera browser

    WARNING: This question contains elements of English grammar. Please read no further if you feel challenged by the English language.

    QUESTION: How one preventing a collection of submenus to detach their respective section and the window of the document to the drift?

    The TRIGGERING factor: this phenomenon occurs after clicked the menu item which contains the submenus and submenus are occurred.

    Background: I inserted a menu bar vertical SPRY as a SPRY accordion in a model Dreamweaver. The above problem occurs when I changed the default Panel of my accordion SPRY from zero to one non-negative integer other than zero. Like the SPRY, SPRY Accordion menus bar are two completely different objects, I'm baffled by this accident.

    USEFUL TIP: This phenomenon does not occur in (3.0.5) FF or Safari (3.2.1). I would like to say that it is only in the opera (9.63), but as a user of Leopard without Windows installed, I have no way to test it in IE. What is happening in other versions of these browsers, I don't know.

    SOLUTION: This is not an elegant solution, but the detachment and drift problems disappear when an empty paragraph tag is inserted between the main content div tag and the tag menu bar ul. Control of browser compatibility for FF, Opera and Safari translates into zero errors.

    It took a few tries, but my intuition on the physical proximity of the menu bar and SPRY accordion may have been right. In any case, it is this assumption that led to this solution.

    REQUEST: now that we have a viable solution, maybe someone with more knowledge can find an elegant formula.

    PREVIOUS CODE


    bla
    bla
    bla

    CODE FIX



    bla
    bla
    bla

  • issues of vertical accordion menu mobile Muse

    Adobe

    I have two problems with your mobile vertical menu accordion.

    1. the menu line up on the right side in the Accordion widget when it is in preview mode. X and y in design mode, the two align properly inside the accordion menu so I know that's not the issue. I have no boundaries placed on all items of the menu accordion. Is this a bug? Is there a solution? I use the latest version of Muse.

    2. based on my understanding, I think that the menu must be placed in the widget (on a master page) then when the menu is introduced in preview the accordion is closed, and when he opened the objects that are under the menu should all move down. I still have to accomplish all of this. It's also a bug or am I missing something?

    Please provide your file to the support team.

    #1 is related to the fact that the menu widget does not support the width of 100%, but in this case that is not really necessary since mobile browsers to scale to fit the width of the wider content.

    So, the solution in this case is to adapt the accordion not exactly to the width. Make a pixel wide and also bring up the menu inside the Panel a wider pixel. Because this will make the accordion not exactly matches the width of the browser will not be considered as 100% width. Instead, the browser dimensionnera it and the menu it contains, to the width of the unit.

    #2 is activated by turning off the option "Overlap in base units" in the accordion UI widget options.

  • Spry Accordion has failed in all open tabs. What's wrong?

    Hello

    I had my spry accordion works perfectly a week ago. Then I tried to add another panel at the top, and all of a sudden all the tabs opened by default. I would like that they go back to all be closed in case of default. I've been on my new coding for a week and may not know what I did wrong. I can get the first Panel to close in case of default by changing the Panel by default-1, but that fact that the other panels look weird to be open. Here is my code short for important parts:

    < div id = "Accordion1" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > create your own Art path < / div >

    < div class = "AccordionPanelContent" >

    < p > would you like to...

    (the rest of the content + 5 tabs more)

    < / div > < script type = "text/javascript" >

    <!--

    var Accordion1 = new Spry.Widget.Accordion ("Accordion1", {useFixedPanelHeights: false, defaultPanel:-1});

    ->

    < /script >

    My url is: http://www.7elementsBR.com/courses

    Can someone help me understand this riddle? Thank you.

    C F McBlob says:

    There are SEVERAL paragraph tags that are "open". Who can shake the whole Spry function.

    No, he can't. The closing of a paragraph tag is optional. The reason that it is trigger error in the W3C validator is because a XHTML doctype is used. Many other "errors" are caused by JavaScript is read by the validator as if it was HTML.

    However, you are right about the non closed tags. The problem with the accordion is in question by incorrectly nested divs.

    This is how the content div should look like:

    Courses (fall 2013)

    Create your own art classes

    Would you like to be in a class with your friends and family learn exactly what you learn on your schedule? You can customize which materials use you, how many times you come, the time that you come, studying only the summary or realism, perhaps a bit of everything? Price is determined by your selections.

    Form of personalized courses

    Basic art (6-12 years)

    Monday 04:30 - 18:00 (no longer accepting registrations fall.)

    Students will get to enjoy these different mediums: pencil, charcoal, pastel sweet pastel oil, engraving, watercolor, and acrylic paint. We will explore all the 7 elements of art in order to create a good basis for our young artists. Students are invited to bring documents or do not hesitate to visit the Shopof canvas to create on. All media can be used and are included in the price. Course begins August 12.

    16 sessions, 4 free punched cards, $55 / month

    Drawing (6 years and older)

    Thursday 04:30 - 18:00 (no longer accepting registrations fall.)

    Students will learn the 7 elements of art through various drawing tools including: pencil, pastel, charcoal, soft and oil pastel. It is a class based on realism first and find your own style as an artist later. Students are invited to bring the papers to draw, or do not hesitate to visit the store. All media can be used and are included in the price.  Course begins August 15.

    16 sessions, 4 free punched cards, $55 / month

    Open Studio

    Monday - Friday, 12-16:00 (call advance @ 225.366.7442)

    This course is all about the artist as an individual. Not teaching, and artists can come and go as happy. Weekly reviews are Friday 3-4 hours and are not mandatory, but allow comments from several artists and provide answers for your development as an artist. Artists can work with any medium and may choose to rent media for $5 / hour. The studio is not open the Friday 1, holiday, Easter, Halloween week, the week of Thanksgiving or Christmas week.

    Price: $5 / hour or FREE for current students

     

    refer a friend

    Paragraph tags not closed must also be laid down, but what is the cause of the problem with the accordion is incorrectly nested divs.

  • Question of Spry Accordion Hover/active

    I developed a widget spry Accordion for a page in the FAQ and in Dreamweaver CS6, it is fully functional.  The color I chose does not occur with a hover or active tab once EVERYTHING is transferred.  Here's a direct link to the page of problem, my CSS Spry and CSS layout as well as a screenshot of the correct functionality that occur in Dreamweaver.  Thoughts?

    The problem page:

    http://pauldhart.com/RideTTF_website/FAQ.html

    Spry CSS

    @charset "UTF-8";

    / * SpryAccordion.css - version 0.5 - Pre - Release Spry 1.6.1 * /.

    / * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

    / * This is the selector for the main container of the accordion. For our style by default.

    * draw us left, right and bottom borders. The upper edge of the accordion

    * is made by the first AccordionPanelTab which never moves.

    *

    * If you want to limit the width of the Accordion widget, set a width

    * the accordion container. By default, our accordion expands horizontally to fill

    * a space available.

    *

    * The name of the class ("accordion") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style the

    * Accordion container.

    */

    . Accordion {}

    overflow: hidden;

    }

    / * This is the selector for the AccordionPanel container which houses the

    * tab panel and panel content area. It is not make it visually, but we

    * ensure that it has zero margin and padding.

    *

    * The name of the class ("AccordionPanel") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of accordion panel.

    */

    . {AccordionPanel}

    margin: 0px;

    padding: 0px;

    }

    / * This is the selector for the AccordionPanelTab. This container houses

    the Panel personnel. It is also the container where the user clicks

    * to open a specific panel.

    *

    * The name of the class ("AccordionPanelTab") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of Accordion Panel tab.

    *

    * NOTE:

    * This rule uses the - moz-user-select and - khtml-user-select properties to prevent the

    * the user to select the text in the AccordionPanelTab. Here is the browser owner

    properties that only work in Mozilla browsers (such as FireFox) and KHTML

    * browsers (such as Safari), so they will not pass the W3C validation. If you want your documents to

    * validate and don't care if the user can select text in an AccordionPanelTab.

    * You can remove these properties without affecting the functionality of the widget.

    */

    . {AccordionPanelTab}

    border-top: 1px solid black;

    border-bottom: 1px solid gray;

    margin: 0px;

    padding: 2px;

    cursor: pointer;

    -moz-user-select: none;

    -khtml-user-select: none;

    background-image: url(/content-opaque.png);

    background-attachment: fixed;

    background-repeat: repeat;

    do-family: Verdana, Geneva, without serif.

    color: #FFF;

    background-color: #300;

    do-size: 12px;

    }

    / * This is the selector for the content area of a Panel. It is important to note that

    * You should never put any padding on the content area of the group if you plan to

    * use the animations of accordion panel. Place padding non-zero on the content

    * area can cause accordion suddenly increase in height, while signs alive.

    *

    * Anyone who styles an accordion * MUST * specify a height on the Accordion Panel

    * Content container.

    *

    * The name of the class ("AccordionPanelContent") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of the accordion panel content.

    */

    . {AccordionPanelContent}

    margin: 0px;

    padding: 2px;

    background-image: url (.. / infobkgd.png);

    background-attachment: fixed;

    background-repeat: repeat;

    do-family: Verdana, Geneva, without serif.

    do-size: 12px;

    color: #FFF;

    overflow: hidden;

    height: 40

    XxX

    height: 100%;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open. The "AccordionPanelOpen" class is added and removed programmatically

    * to panels as long as the user clicks on the tabs in the accordion.

    */

    . AccordionPanelOpen. {AccordionPanelTab}

    background-color: #000033;

    }

    / * This is an example of how to change the appearance of the tab of the Panel as the

    * mouse passes over it. The "AccordionPanelTabHover" class is added programmatically

    * and removed containers tab panel as the mouse enters and leaves the tab container.

    */

    . {AccordionPanelTabHover}

    color: #FFFFFF;

    background-color: #003;

    }

    . AccordionPanelOpen. {AccordionPanelTabHover}

    color: #FFFFFF;

    }

    / * This is an example of how to change the appearance of all the Panel tabs when the

    * Accordion has focus. The class "AccordionFocused" is programmatically added and removed

    * whenever the accordion wins or loses the keyboard focus.

    */

    . AccordionFocused. {AccordionPanelTab}

    background-color: #003;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open when the accordion is in focus.

    */

    . AccordionFocused. AccordionPanelOpen. {AccordionPanelTab}

    background-color: #000033;

    }

    / * Printing rules * /.

    @media print {}

    . Accordion {}

    overflow: visible! important;

    }

    . {AccordionPanelContent}

    display: block! important;

    overflow: visible! important;

    height: auto! important;

    }

    }

    CSS layout

    <! doctype html >

    <!-[if lt IE 7] > < class = "oldie ie6" html > <! [endif]-->

    <!-[if IE 7] > < class = "ie7 oldie" html > <! [endif]-->

    <!-[if IE 8] > < class = "ie8 oldie" html > <! [endif]-->

    <!-[if gt IE 8] > <!-->

    < class html = "" >

    <!-<! [endif]-->

    < head >

    < meta charset = "utf-8" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < title > donate today! < /title >

    < link href = "boilerplate.css" rel = "stylesheet" type = "text/css" > "

    < link href = "_css/donatepage.css" rel = "stylesheet" type = "text/css" > "

    < link href = "SpryAssets/SpryMenuBarDonate.css" rel = "stylesheet" type = "text/css" > "

    < link href = "SpryAssets/SpryAccordion.css" rel = "stylesheet" type = "text/css" > "

    <!--

    To learn more about the conditional comments around the HTML at the top of the file:

    paulirish.com/2008/conditional-stylesheets-vs-CSS-hacks-answer-neither/

    Follow these steps if you are using your customized version of modernizr (http://www.modernizr.com/):

    * Insert the link to your js here

    * remove the link below for the html5shiv

    * Add the class "No. - js' to the above html tags

    * You can also remove the link to respond.min.js if you included in your version of modernizr Polyfill MQ

    ->

    <!-[if lt IE 9] >

    "< script src="//html5shiv.googlecode.com/svn/trunk/html5.js "> < / script >

    <! [endif]-->

    < script src = "respond.min.js" > < / script >

    < script src = "SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script > "

    < script src = "SpryAssets/SpryAccordion.js" type = "text/javascript" > < / script > "

    < / head >

    < body >

    < div class = "gridContainer clearfix" >

    < div id = "header" > < img src = "RTTF - features ' alt = ' Ride to the flags VI" > < / div >

    < div id = "navigation" >

    < ul id = "donatemenu" class = "MenuBarHorizontal" >

    < li > < a href = "profile.html" > home < /a > < /li >

    < li > < a href = "theride.html" > the path < /a > < /li >

    < li > < a href = "donate.html" > donate < /a > < /li >

    < li > < a href = "#" class = "MenuBarItemSubmenu" > Gallery < /a >

    < ul >

    < li > < a href = "photo - gallery.html" > photo < /a > < /li >

    < li > < a href = "gallery.html" - video > video < /a > < /li >

    < /ul >

    < /li >

    < li > < a href = "faq.html" > FAQS < /a > < /li > ""

    < li > < a href = "contact.html" > contact < /a > < /li >

    < /ul >

    < / div >

    < span class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    </span >

    < div id = "faq-content" >

    < div id = "faq-accordion" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: is this still ongoing? < / div >

    < div class = "AccordionPanelContent" > a: Yes < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what is the date for this year's race? < / div >

    < div class = "AccordionPanelContent" > Saturday, September 7 A:. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what time is the check-in/registration open? < / div >

    < div class = "AccordionPanelContent" > was: online registration will begin in May.  Check-in at 08:00 on 7 September. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: where is here? < / div >

    < div class = "AccordionPanelContent" > has: Check-in will be just south of PCH on Las Posas Rd (just before the Gate 3 of the Naval Base). < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: the course will be the same? < / div >

    < div class = "AccordionPanelContent" > was: we changed the road this year a few a few reasons.  You can visit the roadmap to see. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: we do not race but we would like to come out and watch the bikes as they drive by.  What time you will be on our street? < / div >

    < div class = "AccordionPanelContent" > A: given our 10:30 departure, us will be sent the following streets in these moments here: < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what is the minimum amount to give up in this ride? < / div >

    < div class = "AccordionPanelContent" > A: $20 to $35 per driver/passenger < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what does that give me? < / div >

    < div class = "AccordionPanelContent" > was: Patch, ticket for the food and drink ticket < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: why do we need to raise/give a minimum this year? < / div >

    < div class = "AccordionPanelContent" > r: as you know, during the first five years, the trip to the flags ran on a basis of everything-don-goes.  However, as we got the biggest, costs related to reconstitute the journey grew enormously.  The minimum donation allows for the costs for the ride.  However, we do our best to bring about the authors as much as possible to help cover our costs so that we can ensure that your donation goes to good use. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: if I can give more money than the registration fee? < / div >

    < div class = "AccordionPanelContent" > r: of course. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what happens if we raise a lot of money for the cause? < / div >

    < div class = "AccordionPanelContent" > was: The White Heart Foundation is to give some small prizes for our major donors.   Those who will be announced at a later date. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: arrival how will be different now that he is pre-registration? < / div >

    < div class = "AccordionPanelContent" > was: there will be a pre-registered registration line and another line for those who seek to introduce yourself the day of. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what types of payments are accepted? < / div >

    < div class = "AccordionPanelContent" > was: we prefer you use our fundraising Razoo.com online application that you will find on this site for your pre-registration. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: I ride a trike, can I participate? < / div >

    < div class = "AccordionPanelContent" > a: Yes < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: are authorized scooters? < / div >

    < div class = "AccordionPanelContent" > was: well, sure, why not? < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: will there be present celebrities? < / div >

    < div class = "AccordionPanelContent" > was: probably.  We don't usually know advance appearance. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: are you tired of all my questions? < / div >

    < div class = "AccordionPanelContent" > A: a little < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what is happening on the basis, now that the celebration of freedom is at the end of the race? < / div >

    < div class = "AccordionPanelContent" > A: memorial service and wreath laying and perhaps a special guest. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: will there be concerts at the celebration of freedom? < / div >

    < div class = "AccordionPanelContent" > A: There will. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: I do not ride a motorcycle but I can still come to the celebration of freedom? < / div >

    < div class = "AccordionPanelContent" > A: Yes. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what's my price? < / div >

    < div class = "AccordionPanelContent" > A: General Public $40. Student $20.  Bikers the day of $40. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: if I go for the ride and decided to simply come to the celebration of freedom at the end of the race, will I get my free patch, ticket to food and drink ticket? < / div >

    < div class = "AccordionPanelContent" > a: No. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: what are the costs of food & Drinks tickets? < / div >

    < div class = "AccordionPanelContent" > was: food - $5 drink - $2, $5 beer - < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: WAIT? IT'S GOING TO BE BEER? < / div >

    < div class = "AccordionPanelContent" > A: Yes. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: it's great.  I love you. < / div >

    < div class = "AccordionPanelContent" > A: control yourself. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: will there be sellers during the celebration of freedom? < / div >

    < div class = "AccordionPanelContent" > was: Yes! For the first time, we give you... bike sellers. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: I am a vendor, how do I book a place? < / div >

    < div class = "AccordionPanelContent" > was: click here and fill out our application.  It is much easier to take the S.A.T. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: can I sponsor the celebration of freedom? < / div >

    < div class = "AccordionPanelContent" > a: certainly!  Click here to see our sponsorship package. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: can you my hiking club together? < / div >

    < div class = "AccordionPanelContent" > was: If you come together, connect together, hold hands. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: are we make large flags from the start this year? < / div >

    < div class = "AccordionPanelContent" > was: Yup < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: last year, the riders will split, how do you set this year? < / div >

    < div class = "AccordionPanelContent" > A: we deposit certain permits and pay astronomical fees to stop traffic for 30 minutes Saturday while we do not get split up. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: last year the race ended up being really slow, it will slow down this year? < / div >

    < div class = "AccordionPanelContent" > A: we admit it was slow.  We know, we know.  Now that we close the roads that we all pass, we will be able to pick up the pace a little.  The new route allows also go faster through town. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: I'm a policeman will be conducted as a civilian. Can I bring my firearm on base? < / div >

    < div class = "AccordionPanelContent" > A: base won't allow that. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: I want to create a team donation, where should I start? < / div >

    < div class = "AccordionPanelContent" > 34 content < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: can I start a team making a donation for my group of motorcycle cover all our registration fees? < / div >

    < div class = "AccordionPanelContent" > was: Negatory.  Each individual is his own team. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > q: I don't have a motorcycle, can I still attend? < / div >

    < div class = "AccordionPanelContent" > r: Yes, you can attend two event at the Naval Base and the celebration of freedom in Malibu. < / div >

    < / div >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > Q: what is the WHF? < / div >

    < div class = "AccordionPanelContent" > was: The White Heart Foundation was created to help support our military community, police and firefighters. < / div >

    < / div >

    < / div >

    < / div >

    < div id = "footer" > This is the content of the div layout 'footer' < / div >

    < / div >

    < script type = "text/javascript" >

    var MenuBar1 = new Spry.Widget.MenuBar ("donatemenu", {imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});})

    var Accordion1 = new Spry.Widget.Accordion ("faq-accordion");

    < /script >

    < / body >

    < / html >

    Screenshot of how it looks locally in Dreamweaver:

    accordion-shot.PNG

    SpryAccordion.css

    You have an error that kills the rest of your code below in red.  Remove it.

    . {AccordionPanelContent}

    margin: 0px;

    padding: 2px; / * suggest using 12px or more * /.

    background-image: url (.. / infobkgd.png);

    background-attachment: fixed;

    background-repeat: repeat;

    do-family: Verdana, Geneva, without serif.

    do-size: 12px;  / * suggest using 16px or more * /.

    color: #FFF;

    overflow: hidden;

    height: 40

    [x;

    height: 100%;

    }

    Nancy O.

  • How to apply different styles to several spry accordion panels?

    Hi all

    I have a site I'm building that has several functions that spry accordion.

    I try to apply different styles to each accordion. A problem arises when I try to place an accordion in an another accordion.

    I have style two images of different background for both of the accordians for styles (AccordionPanelTab, AccordionPanelTabHover and AccordionPanelOpen AccordionPanelTabHover) that work very well.

    When I try and place an accordion in an another accordion background image for this Accordion for styles (AccordionPanelTab and AccordionPanelOpen AccordionPanelTabHover) has different style applied that I said in the accordion.css folder, however the style (AccordionPanelTabHover) has the same style as the accordion, it's breast, even if I said a background image in the accordion.css file different.

    I hope this makes sence, below is my source and the CSS Code.

    I appriciate any help that can be given to help solve this issue I'm running too.

    Source code

    < div id = "content" >

    < p > < span class = "first_header_word_packages" > welcome </span > < span class = "header_word_packages" > on our page of packages </span > < / p >

    < class p = "content_txt" > here you can build the package Web site that meets your needs while being able to determine the cost of your site without having to worry about the scary hidden costs at a later date. < /p >

    < class p = "content_txt" > we have two packages available for our clients; < /p >

    < div id = "Accordion1" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < div id = "Accordion2" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < / div > <! - end #Accordion2 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion2->

    < / div > <! - end #Accordion1 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion1->

    < div id = "Accordion3" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < div id = "Accordion4" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < / div > <! - end #Accordion4 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion4->

    < / div > <! - end #Accordion3 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion3->

    < / div > <!-end #content->

    CSS

    @charset "UTF-8";

    / * SpryAccordion.css - version 0.5 - Pre - Release Spry 1.6.1 * /.

    / * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

    / * This is the selector for the main container of the accordion. For our style by default.

    * draw us left, right and bottom borders. The upper edge of the accordion

    * is made by the first AccordionPanelTab which never moves.

    *

    * If you want to limit the width of the Accordion widget, set a width

    * the accordion container. By default, our accordion expands horizontally to fill

    * a space available.

    *

    * The name of the class ("accordion") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style the

    * Accordion container.

    */

    . Accordion {}

    border-left: 1px solid gray;

    border-right: 1px solid black;

    border-bottom: 1px solid gray;

    overflow: hidden;

    }

    / * This is the selector for the AccordionPanel container which houses the

    * tab panel and panel content area. It is not make it visually, but we

    * ensure that it has zero margin and padding.

    *

    * The name of the class ("AccordionPanel") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of accordion panel.

    */

    . {AccordionPanel}

    margin: 0px;

    padding: 0px;

    }

    / * This is the selector for the AccordionPanelTab. This container houses

    the Panel personnel. It is also the container where the user clicks

    * to open a specific panel.

    *

    * The name of the class ("AccordionPanelTab") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of Accordion Panel tab.

    *

    * NOTE:

    * This rule uses the - moz-user-select and - khtml-user-select properties to prevent the

    * the user to select the text in the AccordionPanelTab. Here is the browser owner

    properties that only work in Mozilla browsers (such as FireFox) and KHTML

    * browsers (such as Safari), so they will not pass the W3C validation. If you want your documents to

    * validate and don't care if the user can select text in an AccordionPanelTab.

    * You can remove these properties without affecting the functionality of the widget.

    */

    . {AccordionPanelTab}

    background-color: #CCCCCC;

    border-top: 1px solid black;

    border-bottom: 1px solid gray;

    margin: 0px;

    padding: 2px;

    cursor: pointer;

    -moz-user-select: none;

    -khtml-user-select: none;

    }

    / * This is the selector for the content area of a Panel. It is important to note that

    * You should never put any padding on the content area of the group if you plan to

    * use the animations of accordion panel. Place padding non-zero on the content

    * area can cause accordion suddenly increase in height, while signs alive.

    *

    * Anyone who styles an accordion * MUST * specify a height on the Accordion Panel

    * Content container.

    *

    * The name of the class ("AccordionPanelContent") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of the accordion panel content.

    */

    . {AccordionPanelContent}

    overflow: auto;

    margin: 0px;

    padding: 0px;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open. The "AccordionPanelOpen" class is added and removed programmatically

    * to panels as long as the user clicks on the tabs in the accordion.

    */

    . AccordionPanelOpen. {AccordionPanelTab}

    background-color: #EEEEEE;

    }

    / * This is an example of how to change the appearance of the tab of the Panel as the

    * mouse passes over it. The "AccordionPanelTabHover" class is added programmatically

    * and removed containers tab panel as the mouse enters and leaves the tab container.

    */

    . {AccordionPanelTabHover}

    color: #555555;

    }

    . 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 class "AccordionFocused" is programmatically added and removed

    * whenever the accordion wins or loses the keyboard focus.

    */

    . AccordionFocused. {AccordionPanelTab}

    background-color: #3399FF;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open when the accordion is in focus.

    */

    . AccordionFocused. AccordionPanelOpen. {AccordionPanelTab}

    background-color: #33CCFF;

    }

    / * Printing rules * /.

    @media print {}

    . Accordion {}

    overflow: visible! important;

    }

    . {AccordionPanelContent}

    display: block! important;

    overflow: visible! important;

    height: auto! important;

    }

    }

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg1.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/package_spry_tab_bg1_RO.png) ;}

    #Accordion2. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry1.png) ;}

    #Accordion2. AccordionPanelTabHover,

    #Accordion2. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/packages_spry1_ro.png) ;}

    #Accordion3. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg2.png) ;}

    #Accordion3. AccordionPanelTabHover,

    #Accordion3. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/package_spry_tab_bg2_RO.png) ;}

    #Accordion4. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry2.png) ;}

    #Accordion4. AccordionPanelTabHover,

    #Accordion4. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/packages_spry2_ro.png) ;}


    Good guys.

    I thought about it, if someone had the same problem as me and a look at this thread for the answer, here it is.

    Firstly if you are wanting to separately style two or more Spry accordions that are not on the other example

    Label 1

    Insert content here

    Label 1

    Insert content here

    Do not do this, as long as you have separate ID's for the div (which dreamweaver automatically anyway), you will be fine.

    However if for some reason, you want to put one accordion inside another like I did for example

    Label 1

    Insert content here

    Label 1

    Insert content here

    Too style accordion 1 and 2 so their tabs have different origins and Hover background when the content panel is open and closed you need to style it in CSS that they follow the path;

    CSS

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg_RO.png) ;}

    #Accordion2. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry.png) ;}

    #Accordion2. AccordionPanelClosed. AccordionPanelTabHover,

    #Accordion2. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry_ro.png) ;}

    Normally in styling two separate spry accordions, you can simply use the following code

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg_RO.png) ;}

    The only difference with the style one Spry Accordion in another so that they have different horizons stationary when the content panel is open and closed ".» AccordionPanelClosed ".

    Hope this has helped someone who had the same problem, I was.


  • Spry Accordion in Firefox content error

    Hello, I'm new here and trying to solve this problem, looked in other threads and couldn t find the solution.

    Spry Accordion works well in IE and Safari, not in FireFox (10.2.0). The content was not displayed.

    I use Dreamweaver CS5.

    Initially the content paint so I changed the fixed height to false:

    < / div >

    < script type = "text/javascript" >

    acc1 var = new Spry.Widget.Accordion ("Accordion1", {useFixedPanelHeights: false, defaultPanel:-1});

    < /script >

    I also added a new "min-height" in the Spryaccordion.css:

    min-height: 200px;

    _height: 200px;

    The web page is: http://www.gsekura.com/fianzas_tipos.html

    Thank you.

    Ana.

    Add/Edit the following

    . Accordion {}

    overflow: hidden;

    }

    . {AccordionPanelContent}

    overflow: auto;

    margin: 0px;

    padding: 0px;

    height: 200px;

    }

    GRAMPS

  • Modification of the Spry Accordion CSS rule

    Hello community,

    I inserted an accordion Spry menu in my paper and edited the file .css for the accordion. Now, he is:

    . {AccordionPanelContent}

    display: block! important;

    overflow: visible! important;

    height: auto! important;

    }

    This means that the change in height is not possible? The browser will display errors if I change that?

    Kind regards

    MC

    Hi MC,.

    It is possible to change the height of the accordion, the section of code that you included in your post is the rule for printing and located near the bottom of SpryAccordion.css, the rule on the screen is actually located on line 78 of file and new should read.

    . {AccordionPanelContent}
    overflow: auto;
    margin: 0px;
    padding: 0px;
    height: 200px;
    }

    I myself have successfully edited the accordion spry without any problem, one of my readings of rules, which in fact allows the content panel to grow with its content.  You can see it live here, http://www.eandhbaxendale.com/online-enquiries/trussed-rafter-enquiry/

    . {AccordionPanelContent}
    overflow: hidden;
    height: inherit;
    margin: 0px;
    padding: 0px;
    }

    Richard

  • Default Spry Accordion Panel

    CONTEXT: I inserted a Spry Accordion with six different panels. Each Panel has its own set of links. Each link corresponds to a page in a long series of linked pages which together form a single document. Each panel of links represents a contiguous set of linked pages and a section of the document. In addition, I created a model for the entire document which includes the Spry Accordion just described.

    GOAL: create an editable region in the template that will allow me to control the default Panel for each page of the document.

    FAILURE of ATTEMPT: documentation Adobe to set the default for the Spry Accordion Panel suggests the following JavaScpript:

    < script type = "text/javascript" >
    var acc8 = new Spry.Widget.Accordion ("Accordion8", {defaultPanel: [someNumber]});
    < /script >

    where someNumber is an integer that is greater or equal to zero. When this code is entered into the model error.

    DISCUSSION: continued research in the JavaScript file that controls the accordion, I was able to find the function that controls the default Panel. It appears like this:

    Spry.Widget.Accordion = function (element, opts)
    {
    This.Element = this.getElement (element);
    this.defaultPanel = 0;
    this.hoverClass = "AccordionPanelTabHover";
    this.openClass = "AccordionPanelOpen";
    this.closedClass = "AccordionPanelClosed";
    this.focusedClass = "AccordionFocused;
    this.enableAnimation = true;
    this.enableKeyboardNavigation = true;
    this.currentPanel = null;
    This.Animator = null;
    this.hasFocus = null;
    This.Duration = 500;

    this.previousPanelKeyCode = Spry.Widget.Accordion.KEY_UP;
    this.nextPanelKeyCode = Spry.Widget.Accordion.KEY_DOWN;

    this.useFixedPanelHeights = true;
    this.fixedPanelHeight = 0;

    Spry.Widget.Accordion.setOptions (, opts, true);

    Unfortunately, some browsers like Safari, style sheets in our
    page depends may not have been loaded at the time, we are called.
    This means that we must postpone attaching our behavior until after the
    OnLoad event is triggered, because some of our behaviors are based on dimensions
    specified in the CSS.

    If (Spry.Widget.Accordion.onloadDidFire)
    this.attachBehaviors ();
    on the other
    Spry.Widget.Accordion.loadQueue.push (this);
    };

    QUESTION: How can I access this feature of in my template to change the setting for this.defaultPanel?

    Quote:
    The main JavaScript file for the accordion can be controlled by a
    model, since he lives in a separate .js file.

    I do not use templates myself, but it looks like the correct way to approach
    the problem is the one used on your 'ATTEMPT failed. You can try it
    again and report message the exact error you get and at what stage. Maybe
    you get help on that.

    EXPRESSION OF GRATITUDE
    Thank you for your encouragement. Indeed, part of the solution to my problem was discovered through a reconsideration of my attempt failed. The other part came from the information provided me while helping another person with a related, but different problem. It turns out that the line of code in my failed ATTEMPT is automatically placed in the model when the SPRY accordion is inserted. Unaware of his presence and the right place I am he entered by mistake a second time. This triggers not only an error message, but it renders unusable, various other parts of my document.

    THE SOLUTION
    First step: find the line of code that is similar to that given by the following text:

    In my model, this code was found at the bottom of the HTML body tag.

    Second step: understand that the name of the variable 'acc8' and the name of the "Accordion8" parameter provided in the sample code above are arbitrary, and that the two are automatically defined when then a SPRY accordion is inserted. Important is that these names are likely to be different from what you see in the sample code above, and that you need and probably should not edit them in your document.

    Step 3: change the number in the name pair: value indicated as defaultPanel:2 to a number between 0 and one less than the number of panels that you create in your accordion. It is this number that allows you to determine the Panel that appears when the document is opened.

    Step four: Save and test in your favorite browser. Enjoy!

    CAUTION:
    This experience taught me a crucial lesson on the use of Dreamweaver. Dreamweaver has a mind of its own and can easily ruin you in seeking to correct your own mistakes for you. The solution is to save your document with a second copy before attempting any innovation that is not already integrated in the Dreamweaver program.

    FURTHER EXAMINATION:
    As I created a template to use with other documents, I will now try to make this area of my template editable, so that I can change the default setting of every other page that I create from my template. As I still do this, understand that the steps above, even if it is valid for a document template, may or may not be valid for pages created from the template. I hope they are and it will keep experimenting.

  • Focus, browsers &amp; amp; Spry Accordion

    I use the Spry Accordion (and love), but I saw a minor adverse effect:
    In some browsers (Chrome and FF), there is a frame appearing around the widget when it is focused.
    In Chrome, it's a sort of rectangle gold and is actually pretty enough in the context of the page.
    but Firefox uses a dotted rectangle that gets cut on one edge by the nesting of objects and seems sloppy and unattractive.
    Does anyone know how I could affect this feature of development?
    I changed as many CSS features as I could relate to make the accordion to blend in the text, but none of them seems to have an impact on this indicator of focus.

    ThxEnAvance,
    F/C

    CORDFrank wrote:
    > Oh browsers...
    > This property removes the frame in Chrome, but does not change the effect in Firefox.
    > Any MozzaGurus out there?

    Add to the. Accordion class:
    outline: none;

    For me, this solves the problem in both Firefox 3 and chrome, without the need to change the attribute border on the AccordionFocused class.

    --
    Danilo Micen
    | http://blog.Extensioneering.com/
    | Extensioneer WebAssist
    | Adobe Community Expert

  • Video podcasts and Apple TV menu problem

    Just bought the Apple TV 4 and I have two problems with the Podcasts.

    If I go to Podcasts, it displays the search box. Once I chose a podcast, it loads the menu of videos for this particular podcast.

    Problem 1: When you play a podcast, I can hear the audio, but I can't see the video. The video does not appear to load. I tried several different podcasts and it's the same problem for each of them. I can hear the audio, but there is no video.

    Problem 2: once I've selected a podcast, there is no way to return to the menu to search for podcasts. If I press the button "menu" on the remote control, need me all the way out in the upper level for Apple TV menu. Then when I select new podcast, it brings back me to the last podcast I was trying to see. It's very frustrating that I can't reach the menu "search for podcasts" again. If I restart the Apple TV, and then click podcasts, it displays the page "podcast search' again. But once more, as soon as I select a podcast, there no way to return to the search screen. Yet once, by pressing the "menu" button the remote takes me all the way back to the top level for Apple TV menu.

    How can I solve these two problems? Thank you.

    Perhaps podcasts are audio only? It says in the info on the right side when you are in the menu for a given set.

    When I hit the Menu button, I need go back to a single page, as usual. Are you sure that you do not use the Home button? And, when it is on the main page of podcasts, I can use the top menu to visit the different choices.

    You have successfully updated at the last tvOS 9.2.1?

  • Windows Search 4 the program active with a log on before you can use the start menu. It is sometimes impossible to open an Office application.

    Original title: search Windows 4

    With Windows Search 4, the program active at the log on before you can use the start menu. Several search screens occur and reproduce when they are closed. Sometimes it's impossible to open an Office, research childcare opening application.

    Hi Ken_978,

    ·         How long have you been faced with this problem?

    ·         Did you do changes on the computer before the show?

    ·         The question is only limited to Office applications?

    ·         What exactly happens when you try to open an Office application? You receive an error message?

    Follow the suggestions below for a possible solution:

    Method 1: I suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malware

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: While running scan on the hard drive if bad sectors are found on the hard drive when scanning try to repair this area if all available on which data may be lost.

    Method 2: If this does not help then you can uninstall and reinstall Windows search 4.0 on the computer.

    Follow the steps below to uninstall:

    a. click on Start

    b. click Control Panel

    c. select Add / Remove Program

    d. place a check on "Show updates"

    e. you will see Windows Desktop Search 4.0 and uninstall it.

    Reinstall back, you can see the link below:

    http://www.Microsoft.com/Windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx

    Hope this information helps.

  • Start Menu problem - another file opens when I select a file to open in the start menu

    original title: Start Menu problem

    I use windows Vista Home Edition.  The start menu is in Vista Mode.  When I select a file the third file above that that I select opens.  In classic mode, it works fine.  How can I fix it?

    Hello

    Try the methods provided below and see if they help to resolve the issue.

    Method 1:

    This looks like a problem with Windows Aero, I would say that you update the card drivers video from the manufacturer's website and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    You can navigate on troubleshooting Aero:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Aero

Maybe you are looking for