How Do I force SPRY accordion to position active tab at top of browser?

I am using the 'goToByScroll' script to try to force an accordion to open with the active accordion tab at the top of the browser window instead of the top of the entire accordion appearing at the top of the browser window. I believe the Accordion default setting of placing the accordion at the top of the browser window is interfering with the script. Does anyone know how to modify the JS file to stop the accordion positioning when a tab is selected? If I select the first panel it opens fine, but the second panel opens about half way down. Here is one of the pages:
http://www.davidkneale.com/wcusa/ecuador.html
Any help appreciated!
Thanks

Thanks for your reply. This appears to disable the goToByScroll functionality which I want to work. Apologies if my original post was confusing, but I believe it is the default browser position action of the Accordion that I think I want to disable.
If you click on the first accordion item it opens at the top of the browser window correctly, however if you then select the second tab beneath it the content scrolls up about half way above the top of the browser window. This problem could be unrelated to the default accordion position behaviour, however I've pretty much tried everything else to fix this!
The tabs are quiter large, and all I really want is for the active tab to be at the top of the browser window, not the entire accordion. Would prefer to use goToByScroll but will happily ditch it if this is not possible.

Similar Messages

  • How to auto-open spry accordion

    hello
    is there a way to set spry accordion to open the panel on mouseover automatically. like that of adobe home page - products & solutions heading.
    thanks
    krs

    Sure, just add onmouseover="" to your tabs and call the open panel 
    functionality.
    Read more about programatically opening and closing here: http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html

  • Spry accordion has extra phantom tabs

    In this template, I added extra  tabs to the left hand navigation by just copying and pasting the code  for the original tabs.
    Then I noticed there were extra  tabs in the accordion also, which don't work.
    Looking at  the code, I see that the navigation tabs seem to reside within the spry  asset code . . . did I foul up the accordion by adding extra navigation  tabs to the left hand column?
    Here's the page:  http://asptfacultycaucus.info/
    I'm  looking at the code but can't see anything that would cause these extra  accordion tabs . . . (but I've also never used a spry asset accordion  before)!
    Help help,
    Pamela

    Thank you everyone for all of the suggestions.  Just as an update, after posting a plea for help I found myself still wanting to work, so downloaded a fresh template (again, this is like the 4th time) and started from scratch.  I went through each step I'd gone through to make corrections.  Several times I recreated the same problems I'd encountered before that had to be resolved with other answers from questions I'd asked in the DW forums.  Several times I created new problems, and actually had to delete a file and replace it with the same file from the original template and start over.
    So right now, I do have my .css linked.  I think what happened was:  I wanted to test out a change I'd made to the template.  I thought I would save it with a new name, so the original, still-functioning template would remain unchanged.  When I saved it with a new name I was asked if I wished to update the links.  I said "no," thinking all pages from the site based on the original template would otherwise be linked to this new one.  What actually happened (I think) is that the new file was no longer linked to any of the stylesheets, accordion stylesheets, etc., so therefore there was no formatting at all.
    I'm still suffering with how to make changes to the text of the spry accordion, and have experimented with various strategies for that as well.  I've explained those and asked for help in another topic, which is: "changing text in spry accordion" -- I hope you all will help me with this one!
    Here is the page as it stands so far:  http://asptfacultycaucus.info/#
    Thanks so much,
    Pamela H

  • Safari 3.0: How do I force all links to open in tabs without using cmd?

    In a number of other browsers it's easy to set all links to open in tabs. I don't want any separate windows to open and I don't want to have to use the keyboard to force every single link into a tab.
    How do I get Safari to do strictly tabbed browsing?
    Thanks,
    iMactel

    Before posting the very same question, I searched first (like a good boy should) and found your post....which addressed the exact question I have.
    I'm in the process (of hopefully) of transitioning from years of using Firefox to Safari. The reason: I'm amazed at how quickly web pages open in Safari compared to Firefox.
    Anyway, after installing a few Safari add-ons, I'm feeling pretty good about the transion -- except for the fact that I NEVER want Safari to open anything in a separate window unless I specifically ask it to. Evidently, it's simply not designed to do this...

  • Spry accordion panel not lining up with top of viewport in FF3.5

    I have created a new web page using spry accordion for the first time on my site. In IE8 all works perfectly - opening and closing and moving between tabs is smoothly done. My first tab opens a very long panel (way over the web browser's height), and scrolling down through the text brings us to the second tab. I disabled fixed panel heights  - these expand fully when the relevent header is clicked. Clicking the second tab in IE8 closes the first panel smoothly, opens the second panel smoothly and leaves the browser sitting so the 2nd tab is in line with the top of the browser window. Perfect!
    In FF3.5, following the same routine, with the first panel open, and scrolling down to the 2nd tab - click this and it closes/opens the panels, but is very jerky doing this and you are left with the browser window looking at the very bottom of the web page, instead of at the top of the panel.
    I'd appreciate any advice on this before I give up and move to JQuery. Is this a bug?
    **UPDATE** I tried Jquery and the results are worse! It doesnt even line up in IE8.
    Please feel free to check out the code here:
    http://www.pjamedia.com/?page=modeladvice
    Any help would be very much appreciated.
    Thanks, Paul A

    so take an anchor at the begining of the Accordian panle, link the <a> tag to the anchor point.
    <script type="text/javascript">
    function goToAnchor() {
    location.href = "#unilist";
    </script>
    paste this script in <head> tag.
    <a name="unilist" id="unilist"></a> // add an anchor tag before the accordion panel.
                      <div id="Accordion1" class="Accordion">
                        <div class="AccordionPanel">
                          <div class="AccordionPanelTab" ><a onclick="goToAnchor();"> University, Ohio*</a></div>
                          <div class="AccordionPanelContent">content</div></div>
      <div class="AccordionPanel">
                          <div class="AccordionPanelTab" ><a onclick="goToAnchor();"> University, oiowa*</a></div>
                          <div class="AccordionPanelContent">content</div></div>
    </div>

  • Automatically Animating Spry Accordion Widget on Page Load

    I've been searching and searching and still can't find a clue
    as how to make the Spry Accordion Widget automatically open the
    next panel. I want the panels to expand automatically and loop back
    at the last panel.
    Do I need to create another function for this or is there
    already a function created in the .js file?
    Any help is appreciated...even if you can point me in the
    right direction.
    Thanks!

    DeviseInnovations wrote:
    > I've been searching and searching and still can't find a
    clue as how to make
    > the Spry Accordion Widget automatically open the next
    panel. I want the panels
    > to expand automatically and loop back at the last panel.
    >
    > Do I need to create another function for this or is
    there already a function
    > created in the .js file?
    >
    > Any help is appreciated...even if you can point me in
    the right direction.
    Sounds more like you'd want sliding panels:
    http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsSample.html
    I've seen an automatic version created that might do what you
    want:
    http://www.3rd-eden.com/Spry-it.com/examples/slidingpanelsautomatic/
    But if you really want an Accordion, then you might be able
    to adapt the code in the auto sliding panels above.
    FYI: There's a Spry forum that would be better to post Spry
    related question in:
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Spry Accordion - disaster

    Hi
    I am having some problems with my SPRY Accordion. I have
    ruined the default CSS file for
    the Spry Accordion (spryAccordion.css)
    I have changed the settings and now made a mess.
    The problem seems to be with Mozilla Firefox mostly, but also
    with IE and Navigator.
    It is hard to explain so an example of the problem can be
    seen at:
    http://www.brettenman.com.au/test-acc.html.
    Also i cannot figure out how to make the Spry Accordionit
    aligned at the top in Dreamweaver?
    I would greatly appreciate some help!
    Thanks
    Brett

    Brett,
    > I am having some problems with my SPRY Accordion. I have
    ruined the default
    > CSS file for the Spry Accordion (spryAccordion.css)
    >
    > I have changed the settings and now made a mess.
    Delete spryAccordion.css from your site, then add a new
    Accordion
    somewhere, and DW will copy the original file back to your
    site.
    Hint: you should override the CSS in your own style sheet
    instead of
    editing the original.
    HTH,
    Randy

  • Spry Accordion - Troubles

    Hello fellow developers!
    I am having some problems with my SPRY Accordion. I have
    ruined the default CSS file for
    the Spry Accordion (spryAccordion.css)
    I have changed the settings and now made a mess.
    The problem seems to be with Mozilla Firefox mostly, but also
    with IE and Navigator.
    It is hard to explain so an example of the problem can be
    seen at:
    http://www.brettenman.com.au/test-acc.html.
    Also i cannot figure out how to make the Spry Accordionit
    aligned at the top in Dreamweaver?
    I would greatly appreciate some help!
    Thanks
    Brett

    Brett,
    Add this back to the CSS file:
    .Accordion {
    overflow: hidden;
    The reason the Accordion is not showing in the top of the
    table cell is because you specified a height on the table and the
    table
    cell.
    If you really want to do that (I would not recommend
    specifying the height), then set the valign to top, like this:
    <td height="552" align="left" valign="top"
    bgcolor="#CCCCCC">
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com
    "bringelly" <[email protected]> wrote in
    message news:fvrmro$gri$[email protected]..
    > Hello fellow developers!
    >
    > I am having some problems with my SPRY Accordion. I have
    ruined the default
    > CSS file for
    > the Spry Accordion (spryAccordion.css)
    >
    > I have changed the settings and now made a mess.
    > The problem seems to be with Mozilla Firefox mostly, but
    also with IE and
    > Navigator.
    > It is hard to explain so an example of the problem can
    be seen at:
    >
    >
    http://www.brettenman.com.au/test-acc.html.
    >
    > Also i cannot figure out how to make the Spry
    Accordionit aligned at the top
    > in Dreamweaver?
    >
    > I would greatly appreciate some help!
    >
    > Thanks
    >
    > Brett
    >

  • How do I make my accordion spry not "jump" or "hiccup" in IE??

    Ok, sorry you guys, I'm a newbie.
    It seems that no matter what I do, I can't get the accordion to co-operate with Internet Explorer. It has always jumped when tabs are clicked and then settles down. It's rather irritating and I would like to fix it. I've run out of things to try. Can anyone help?
    In addition, with attempts to make keep the accordion and background centered I used a div with the position centered, which worked, but only in FF and Chrome. In IE it stays far left. When I had it in a table, I could set a left: px in the class, but never figured out how to center it with a table so it would change position based on the monitor resolution. If there's a better way to do this that IE and other browsers like, please help me. If it's just IE that has the problem is there any way to make it like my code?
    If you can help me change the height of the accordion, that would be great. It seems it doesn't want to stretch out, but maybe I'm writing it in the wrong section or the wrong way.
    Another minor issue is the IE not doing the transparency I set on the tabs. I heard that they took that feature out. Is that true or is there a way to set it for IE?
    Here's what I have so far:
    +<!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>Bonnie Praymayer</title>
    <link rel="stylesheet" type="text/css" href="css/main.css" />
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    p.MsoNormal {
    margin-top:0cm;
    margin-right:0cm;
    margin-bottom:10.0pt;
    margin-left:0cm;
    line-height:115%;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    -->
    </style>
    </head>
    <body>
    <table id="big">
        <tr>
         <td><table width="200" border="1" id="table" name="table">
           <tr>
             <td><div id="Accordion1" class="Accordion" tabindex="0">
               <div class="AccordionPanel">
                 <div class="AccordionPanelTab">
                 <span class="tabContent">Benefiting People Like You
                 </span>
                 </div>
                 <div class="AccordionPanelContent">
                       <div class="panelContent">
                     <p >I specialize in deep tissue massage. As you may know  already, massage therapy is the manipulation of soft tissue with the goal to  improve well-being and heal injuries. It can involve just about any part of the  body, but generally most people have stiffness and injuries in the back and  neck. I enjoy using this type of health maintenance to assist people like you.  Massage therapy can be used to improve many ailments such as:</p>
                     <p >Muscle Strains, Sprains, Headaches, Migraines, Fibromyalgia,  Edema, and High Blood Pressure</p>
                     <p >Beyond &quot;ailments&quot; massage is excellent for  treating sore muscles in pregnant women as well as reducing stress in everyone.</p>
                     <p > </p>
                   </div>
                 </div>
               </div>
               <div class="AccordionPanel">
                 <div class="AccordionPanelTab">
                     <span class="tabContent"> Reflexology - An Added Benefit
                     </span>
                 </div>
                 <div class="AccordionPanelContent">
                   <div class="panelContent"><p >In addition to massage therapy, I am certified to practice  Reflexology of the feet. This is a therapy wherein pressure is applied to the  feet to encourage the body to heal itself. It's as if the feet are a map to the  body with the spine being the edge of what is known as the arch. There are key  points such as the heart and lungs, sinuses, kidneys, and intestinal tract. </p>
                   <p> </p>Reflexology has been known to also be an indicator to hidden  health issues. Many reflexologists can attest to the fact that upon finding  sore areas in the feet, the corresponding organ(s) have later been discovered  by a physician to be injured or diseased. It is not a replacement for  healthcare, but for some, reflexology has proven to be an asset to gain  knowledge of the workings of their body.<p></p>
                   <p >One thing to note: if you do receive a reflexology treatment it is normal to feel a  little dizzy, fatigued, or flu-like if you don't hydrate yourself before and  after.</p>
                </div>
                 </div>
               </div>
               <div class="AccordionPanel">
                 <div class="AccordionPanelTab">
                         <span class="tabContent"> How to Choose a Therapist
                         </span>
                 </div>
                 <div class="AccordionPanelContent">
                   <div class="panelContent"><p >To be honest, everyone has preferences for what he or she  like in a massage, so there is no hard and fast rule. What I recommend is that  you decide what you need treated whether it be muscle strain, stiff muscles,  stress, poor circulation etc. You can decide what kind of massage you need  based on what you decide you want massage to do for you.</p>
                   <p >If you need to de-stress, relax and do not have many sore  stiff muscles then simple relaxation massage would be good for you. If you have  a constant sore shoulder or neck then you really need a therapist that is  capable of effectively loosening those fibres.</p>
                   <p >You may be able to determine if a therapist is right for you  by talking with someone who has had a massage from that person. Otherwise, you  can sometimes judge by the type of facility in which they are practicing.  Typically a spa is going to give you strictly relaxation, although many  therapists are capable of more if you request it. A chiropractor's clinic will  often focus on rehabilitation of injured patients; more often than not they  have massage therapists that are more than capable of working deep enough to  affect injured tissue.></p>
                   <p > Communication is the  key when it comes to during the treatment in order to customize and optimize  your massage experience. Don't be afraid to speak up if you need to adjust the technique or pressure. After all, the massage is all about you!</p></div><p></p>
                 </div>
               </div>
               <div class="AccordionPanel">
                 <div class="AccordionPanelTab"><span class="tabContent">My Practice</span></div>
                 <div class="AccordionPanelContent">
                     <div class="panelContent">
                   <p>My interest in massage therapy began at a very early age. Although I didn't know it was an actual profession, I started massaging at the age of 8 as I did my best to alievinate my mother's chronic pain from fibromyalgia. I, through time gained a natrual feel for detecting prolblem areas in the muscle and I learned what pressure is appropriate. </p>
                   <p>I took my training in 2006 at the Alberta Insitute of Massage for six months to earn a certificate for a 1100 hour program. Though short, it was intensive in the anatomy and physiology portion and very hands-on in the massage classes. It was my privilege to learn from three instructors who had more than 10 years experience as massage therapists and many years teaching it.</p>
                   <p>Since my training, I have had the opporutinty to work as a massage therapist for 3 years. I have treated people from all walks of life for countless ailments and injuries. It is my pleasure to do my utmost to see to it that each paitent recieves the treament they deserve and expect.</p>
                   </div>
                 </div>
               </div>
             </div></td>
           </tr>
         </table></td>
        </tr>
    </table>
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>
    @charset "utf-8";
    /* CSS Document */
    body {
        background-image:url(../Images/WaterLeaf_Exp.png);
        background-repeat: no-repeat;
        background-position:center;
        background-attachment:scroll;
        background-color:#222222;
    .panelContent {
        color: #dcd2d2;
        font-size: 14px;
        font-family: Verdana, Geneva, sans-serif;
        margin-left: 15px;
        margin-top: 20px;
    .tabContent {
        color: #333;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #000;
        padding: 15px;
    #big {
        /*background-image*/
        background-repeat:no-repeat;
        border: none;
        top: 0px;
        margin-left: 23.5%;
        position: static;
        height: 800px;
        width: 955px;
    #table {
        width: 700px;
        height: 290px;
        /*margin-top: 1%;
        margin-left: 125px;*/
        border: none;
        position: relative;
        z-index: 2;
    @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 {
        border-left: solid 1px gray;
        border-right: solid 1px black;
        border-bottom: solid 1px gray;
        overflow: hidden;
    /* 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: #FFF;
        /*border-top: solid 1px black;*/
        border-bottom: solid 1px gray;
        margin: 0px;
        padding: 2px;
        cursor: pointer;
        -moz-user-select: none;
        -khtml-user-select: none;
        filter:alpha(opacity= 30);
        opacity: 0.3;
        -moz-opacity:0.3;
    /* 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;
        padding: 0px;
        height: 200px;
    /* 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: #cccccc;*/
    /* 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: #93C;
        filter:alpha(opacity= 50);
        opacity: 0.5;
        -moz-opacity:0.5;
    .AccordionPanelOpen .AccordionPanelTabHover {
        color: #cccccc;
        filter:alpha(opacity= 30);
        opacity: 0.3;
        -moz-opacity:0.3;
    /* 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:hover {
        background-color: #FFF;
        filter:alpha(opacity= 20);
        opacity: 0.2;
        -moz-opacity:0.2;
    .AccorrdionPanelOpen:hover {
        filter:alpha(opacity= 90);
        opacity: 0.9;
        -moz-opacity:0.9;
        color:#F00
    .AccordionPanelOpen .AccordionPanelTab {
        background-color: #390;
        filter:alpha(opacity= 30);
        opacity: 0.3;
        -moz-opacity:0.3;

    You would make this a little easier if you posted a link to the page.
    Most of the jump seems to be some extra padding or margin between the tabs  when you rollover, but I am not able to find it.  Is there any other css that is governing this page? I did remove a couple of <p></p> set of tags you had  and it improved the jump, but it is still there.
    If the page is live, run it through the validator http://validator.w3.org/ , fix whatever errors it finds, if you still have the jump, post a link to the page and the issue might get found.
    Gary

  • How can I make the spry accordion remember the panel open when I refresh the page or jump to a new page?

    How can I make the spry accordion remember the panel open
    when I refresh the page or jump to a new page?
    I am using the accordion feature on all my pages as a
    navigation aid. It has three panels. When you refresh the page the
    panel goes back to the default pane... Is there a way of
    controlling this so that the browser can remember the pane that is
    open (say set a variable, cookie, other?)

    Look for "Set the default open panel" on the following page:
    http://labs.adobe.com/technologies/spry/articles/accordion_overview/index.html
    Keep in mind you would need to change that bit of code on
    every page. The only way to do it more dynamically would be to
    include a custom javascript or PHP/ASP style script in order to
    change the value.

  • How do I make my Spry Accordion menu scroll *with* my webpage?

    Afternoon,
    I'm a newbie designer, just helping a friend build a website that will incorporate her blog and other stuff, but what I'm trying to do is set up my Spry Menu (set as a vertical accordion style) to scroll with the page.
    I want it to scroll within the confines on my div class="contentright"
    CSS for div class:
    .contentright {
        padding-top: 410px;
        float: left;
        width: 210px;
    HTML of same div class:
    <div class="contentright">
                                <div id="SpryAccordion1" class="Accordion" tabindex="0">
                                <div class="AccordionPanel">
                                    <div class="AccordionPanelTab tabTop">
    My webpage has a set width and is set to expand based on what I have in my main content area. I'm just not sure what to code and where to code it (in my HTML or in the CSS), to set my Spry to scroll. I'm assuming it's something with a .float functionality, maybe? I just need it to stay beneath my top padding so that it doesn't get overlapped by my main header logo that I had to set to position: absolute;
    Any ideas?

    Here is my HTML Coding
    <html>
        <head>
            <title>BetsyMarvin.com</title>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <meta name="description" content="" />
            <link rel="stylesheet" type="text/css" href="stylesheet.css" />
            <script type="text/javascript" src="SpryAssets/SpryAccordion.js"></script>
            <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    </head>
        <body>
            <div class="container">
                <div class="bannerArea">           
                    <div class="bannernav"><a href="#" >Privacy Policy</a>  |  <a href="mailto:[email protected]" >Contact Us</a>  |  <a href="#" >Site Map</a></div>
                    <span class="toplogo"></span>
                    <div class="toplogo"><a href="#"><img src="images/3 Words Buildup without BG.png" width="550" height="565" align="right" /></a></div>
                </div>
                <div class="contentArea">
                    <ul class="leftnavigation">
                        <li><a href="theme_02_design.html">Home Page</a></li>
                        <li><a href="blog_design.html">Blog</a></li>
                        <li><a href="lessons_design.html">Lessons</a></li>
                    </ul>
                    <div class="content">
                        <div class="contentleft">
                            <h1>Welcome to my Website</h1>
                            <img class="imageright" src="images/faith reason.jpg" border="0" />
                            <p>text</p>
                        </div>
                        <div class="contentright">
    <div id="SpryAccordion1" class="Accordion" tabindex="0">
                                <div class="AccordionPanel">
                                    <div class="AccordionPanelTab tabTop">
                                        <div class="accordion_340_tab">CONTACT ME</div>
                                    </div>
                                    <div class="AccordionPanelContent">
                                        <div class="acontent">
                                          <p> <a href "mailto:[email protected]"> Email</a></p>
                                          <p> <a href="http://www.cornerstonemi.org">Church Website</a></p>
                                          <p> <a href="http://www.facebook.com/betsy.marvin.32">Facebook</a></p>
                                          <p> <a href "www.twitter.com/betsymarvin"> Twitter</a></p>
                                        </div>
                                    </div>
                                </div>
                                <div class="AccordionPanel">
                                    <div class="AccordionPanelTab middleTab">
                                        <div class="accordion_340_tab">ABOUT ME</div>
                                    </div>
                                    <div class="AccordionPanelContent">
                                        <div class="acontent">
                                            <p>text</p>
                                        </div>
                                    </div>
                                </div>
                                <div class="AccordionPanel">
                                    <div class="AccordionPanelTab middleTab">
                                        <div class="accordion_340_tab">PASSIONS</div>
                                    </div>
                                    <div class="AccordionPanelContent">
                                        <div class="acontent">
                                            <img class ="imageright" src="images/love.jpg" width="130" height="64" />
                                                 <p>text</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="AccordionBottom"></div>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                    <div style="clear:both;"></div>
                </div>                           
                <div class="footerArea">
                    <div class="copyright">&copy; 2013 Betsymarvin.com | All rights reserved.</div>
                </div>       
            </div>
    <script type="text/javascript">
    <!--
    var SpryAccordion1 = new Spry.Widget.Accordion("SpryAccordion1", {useFixedPanelHeights:false, defaultPanel:2});
    //-->
            </script>
        </body>
    CSS Style Sheet
    body {
        margin: 0px;
        color: #666;
        font-size: 12px;
        font-family: Arial;
        font-family: Arial, Verdana, Univers;
        background-color: #545454;
        background-image: url(images/page_bkgd.jpg);
        background-repeat: repeat-x;
    h1 {
        color: #4F6179;
        font-size: 24px;
        font-weight: normal;
        margin: 3px 0px 25px 0px;
    h2 { color: #333333; font-size: 14px; font-weight: normal; margin: 0px 0px 15px 0px; }
    a          { color: #ba7007; }
    a:visited  { color: #ba7007; }
    a:hover    { color: black; }
    .container {
        width: 980px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(images/content_bkgd_tile.jpg);
        background-repeat: repeat-y;
    /* BANNER AREA */
    .bannerArea {
        width: 980px;height: 145px;
        background-color: #4971a2;
        background-image: url(images/banner_bkgd.jpg);
        background-repeat: no-repeat;
    .bannernav {
        padding-top: 10px;
        padding-left: 10px;
        float: left;
        color: white;
        font-size: 10px;
        font-family: Arial, Helvetica, Verdana, sans-serif;
    .bannernav a {
        color: white;
        text-decoration: none;
    .bannernav a:visited {
        color: white;
    .bannernav a:hover {
        color: #ECBB7B;
    .toplogo {
        position: absolute;
        z-index: 100;
        padding-right: 0px;
        float: right; margin-left: 675px;
        padding-top: 10px;
    .content {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 25px;
        padding-right: 10px;
        background-image: url(images/content_bkgd.jpg);
        background-repeat: no-repeat;
        z-index: 100;
    /* LEFT NAVIGATION */
    .leftnavigation {
        width: 192px;
        margin: 70px 0px 0px 0px;
        padding-left: 8px;
        float: left;
        list-style-type: none;
    .leftnavigation a{
        margin-left: 0px;
        width: 156px;
        padding-left: 15px;
        padding-top: 5px;
        padding-right: 20px;
        padding-bottom: 5px;
        float: left;
        color: #CCA72F;
        font-size: 10px;
        font-weight: bold;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        text-decoration: none;
        background-image: url(images/nav_normal.jpg);
        background-repeat: repeat-x;
        background-position: 0px 0px;
        border-bottom: 1px solid #999;
    .leftnavigation a:visited{
        color: #5C4C17;
    .leftnavigation a:hover{
        color: #ffffff;
        background-image: url(images/nav_down.jpg);
    /* CONTENT AREA */
    .contentleft {
        width: 400px;
        padding-left: 30px;
        padding-right: 20px;
        float: left;
    .contentright {
        padding-top: 410px;
        float: left;
        width: 210px;
    .imageright {
        margin-top: 10px;
        margin-left: 10px;
        float: right;   
    .imageleft {
        margin-right: 10px;
        float: left;
    /* FOOTER AREA */
    .footerArea {
        width: 980px;height: 88px;
        background-color: #cfcfcf;
        background-image: url(images/footer_bkgd.jpg);
        background-repeat: no-repeat;
    .copyright {
        border-top: solid;
        border-color: #737a90;
        border-width: 2px;
        margin-left: 240px;
        margin-right: 30px;
        padding-top: 12px;
        color: #666666;
        font-size: 10px;
        font-family: Verdana,Arial, Helvetica, sans-serif;
    CSS for the SPRY Accordion
    .Accordion {
        overflow: hidden;
        width: 255px;
    .AccordionPanel {
        margin: 0px;
        padding: 0px;
    .AccordionPanelTab {
        color: #CCA72F;
        margin: 0px;
        cursor: pointer;
        padding: 10px 30px 10px 20px;
        font-weight: bold;
        -moz-user-select: none;
        -khtml-user-select: none;
        background-repeat: no-repeat;
        background-image: url(../images/accordion_255_tab_normal.gif);
    .AccordionPanelContent {
        overflow: auto;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        background-image: url(../images/accordion_255_tile.gif);
    .AccordionPanelOpen .AccordionPanelTab {
        color: #d88a37;
        background-image: url(../images/accordion_255_tab_down.gif);
    .AccordionPanelTabHover {
        background-image: url(../images/accordion_255_tab_over.gif);
    .AccordionFocused .AccordionPanelTab {
        background-color: #000000;
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
        background-color: #000000;
    /* Custom AUC classes */
    #accordion_255 {
        background-image: url(../images/accordion_255_tile.gif);
        background-repeat: repeat-y;
        background-position: 0px 0px;
    .tabTop {
        background-position: 0px 0px;
        padding-top: 15px;
    .middleTab {
        background-position: 0px -151px;
    .accordion_255_tab {
        margin: 0px;
        font-weight: bold;
    .acontent {
        height:200px;
        width:220px;
        overflow: auto;
        padding: 5px 10px 10px 20px;
        useFixedPanelHeights = null;
    .AccordionBottom {
        width: 255px;
        height: 33px;
        background-repeat: no-repeat;
        background-position: 0px bottom;
        background-image: url(../images/accordion_255_bottom.gif);

  • How to make no panels on Spry accordion open by default?

    I have a Spry Accordion with several panels.  I want the default behavior for none of the panels to be opened until one is clicked.  Currently the default behavior is for the first panel to be automatically expanded when the page is first visited.  How do I correct this?

    It's here:
    http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html
    Under the sub heading "starting with all panels closed".
    <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false, defaultPanel: -1 });
    </script>
    Martin

  • Spry accordion - div above Tab - positioning moves wrong ?

    Hi,
    The next point in my site is the text above/in every Tab.
    The Tab images fades/appears and the text may not fade/appear.
    So I made a div above the Tab, but of course the text of the second Tab is moving down (becouse the content appears) and is not anymore at the correct position.
    Can someone help me (Arnout or Ben, you now my case)
    Again thanks!
    Carla

    Hi again,
    Step1
    In mh1archtecten.css, remove the red coloured code and insert the green
    .AccordionPanelTab h3 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: bold;
        color: #FFF;
        margin-top: -50px;
        margin-left: 50px;
    .tab1_tekst {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: bold;
        color: #FFF;
        width: 138px;
        padding-left: 20px;
        padding-top: 80px;
        z-index: 3000;
        background-repeat: no-repeat;
        position: absolute;
        left: 100px;
        top: 270px;
    .tab2_tekst {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: bold;
        color: #FFF;
        width: 138px;
        padding-left: 20px;
        padding-top: 80px;
        z-index: 3000;
        background-repeat: no-repeat;
        position: absolute;
        left: 120px;
        top: 534px;
    .tab3_tekst {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: bold;
        color: #FFF;
        width: 138px;
        padding-left: 20px;
        padding-top: 80px;
        z-index: 3000;
        background-repeat: no-repeat;
        position: absolute;
        left: 122px;
        top: 1242px;
    Step 2
    Remove the red coloured code and insert the green.
      <div id="Accordion1" class="Accordion">
        <div class="AccordionPanel">
          <div class="AccordionPanelTab"><span>Tag 1</span>
            <div class="tab_fade"><img src="images/01-signage/banners/01-00-qpark-banner.jpg" alt="Q-Park" name="tab0" width="700" height="120" id="tab0" onclick="MM_effectAppearFade(this, 1000, 100, 30, true)" />
              <div class="tab2_tekst">Q-Park</div>
              <h3>Q-Park</h3>
            </div>
          </div>
          <div class="AccordionPanelContent">
            <div class="MasterDetail">
              <div spry:region="dsqpark1" class="MasterContainer">
                <div class="MasterColumn" spry:repeat="dsqpark1" spry:setrow="dsqpark1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{Thumbs_50_x_50}</div>
              </div>
              <div class="DetailContainer" id="content0" spry:detailregion="dsqpark1">
                <div class="DetailColumn">{Foto_700_x_400}</div>
              </div>
              <br style="clear:both" />
            </div>
          </div>
        </div>
        <div class="AccordionPanel">
          <div class="AccordionPanelTab"><span>Tag 2</span>
            <div class="tab_fade"><img src="images/01-signage/banners/01-01-qpark-banner.jpg" alt="Q-Park" name="tab1" width="700" height="120" id="tab1" onclick="MM_effectAppearFade(this, 1000, 100, 30, true)" />
              <div class="tab1_tekst">Q-Park</div>
             <h3>Q-Park</h3>
            </div>
          </div>
          <div class="AccordionPanelContent">
            <div class="MasterDetail">
              <div spry:region="dsqpark2" class="MasterContainer">
                <div class="MasterColumn" spry:repeat="dsqpark2" spry:setrow="dsqpark2" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{Thumbs_50_x_50}</div>
              </div>
              <div class="DetailContainer" id="content1" spry:detailregion="dsqpark2">
                <div class="DetailColumn" id="content1">{Foto_700_x_400}</div>
              </div>
              <br style="clear:both" />
            </div>
          </div>
        </div>
        <div class="AccordionPanel">
          <div class="AccordionPanelTab">
            <img src="images/01-signage/banners/01-02-groenmetropool-banner.jpg" alt="Groenmetropool Kreis Aachen" name="tab2" width="700" height="120" id="tab2" onclick="MM_effectAppearFade(this, 1000, 100, 30, true)" />
           <span>Tag 3</span>
            <h3>Whatever you want</h3>
            </div>
            <div class="AccordionPanelContent">
              <div class="MasterDetail">
                <div spry:region="dsgroenmetropool" class="MasterContainer">
                  <div class="MasterColumn" spry:repeat="dsgroenmetropool" spry:setrow="dsgroenmetropool" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{Thumbs_50_x_50}</div>
                </div>
                <div class="DetailContainer" id="content2" spry:detailregion="dsgroenmetropool">
                  <div class="DetailColumn" id="content2">{Foto_700_x_400}</div>
                </div>
              <br style="clear:both" />
            </div>
           </div>
        </div>
      </div>
    I hope this helps.
    Ben

  • How to create anchor links within a spry accordion?

    I am using the spry accordion from DW CS6. HAving 6 panels.
    I want to do this but can't manage it the usual html way...and I am clueless about javascript:
    I want to create a wordlink that forwards people to the content of a different panel within the same accordion.
    I tried the usual naming of anchor and creating link to such but nothing happens. I googled a bit for answers but I come up with js and that is abracadabra to me. The names in the js are nothing likie html classes that I can target so I have no clue what to do.
    Any help would be very appreciated on this matter.
    One other problem I am having is this:
    My accordion is broken in the Opera browser....anybody an idea what causes this? Do I miss some plug in my browser?

    I am using the spry accordion from DW CS6. HAving 6 panels.
    I want to do this but can't manage it the usual html way...and I am clueless about javascript:
    I want to create a wordlink that forwards people to the content of a different panel within the same accordion.
    I tried the usual naming of anchor and creating link to such but nothing happens. I googled a bit for answers but I come up with js and that is abracadabra to me. The names in the js are nothing likie html classes that I can target so I have no clue what to do.
    Any help would be very appreciated on this matter.
    One other problem I am having is this:
    My accordion is broken in the Opera browser....anybody an idea what causes this? Do I miss some plug in my browser?

  • Spry Accordion how to open on load panels closed

    I'm having problems with spry accordion on load panels closed. I tried putting the changing the var in the javascript usedFixedPanelHeight: false:, and that didn't work. The box would come up saying that this javascript will not work for this accordion. I tried *Closed* in the accordion div tag and that didn't work. Can someone help me please. I'm trying to load panels closed.
    Thanks for your help.

    I was looking at that link you gave before I submitted this post. It wasn't very clear to me.
    1. You say set the default panel set the defaultPanel option to - 1?. Where is the defaultPanel located? When I click the button to create a spry Accordion it only gives me options of creating panels. Is the defaultPanel panel located is the CSS tab?
    2. The link you gave says closing panels only works with variable height. Can you tell me what is variable height? I looked at the code at this page to see if I could see what it was doing. I observed that the javascript at the bottom which is a variable was changed for the spry accordion. I copied and pasted code in my page and it didn't work.
    I really trying to hard to figure this out. Thanks for your help.
    Bobby

Maybe you are looking for

  • Change Filename using XSLT mapping without variable subtitution

    Hi, My scenario is IDOC to file...i am using XSLT mapping, i want to change the filename format to OUT_<Purchase Number>_<DDMMYYYYhhmmss>_KKKK.txt, i cannot use UDF function as i do XSLT mapping i also i cannot use variable substitution as the target

  • File disappeared, folder with metadata remains!!?

    Hey guys, I have my entire years worth of income reports in one file. I opened it yesterday and it was fine.  I tried to open it today and it was gone. All that is left is a folder that says "Income 2014.numbers" with data and metadata folders inside

  • "To field" Mail Crashing

    When I type "sh" in the "To" field in mail, and then scroll through the list of contacts, the screen go black and then goes back to the home screen. I guess you would say it crashes. This is happening on both my wife's and my iPhone. We both sync to

  • How do I group emails together for a club?

    How do I creat a folder of emails for a club of over 30 members?

  • Adobe Air definitely gone.

    One of my most used apps was Vault by XLabz. It and about a dozen others are dead on my Z30 in BB10.3.1 . Here is the response from XLABZ. "Vault and most of our older apps were build using a technology called Adobe AIR. BlackBerry ceased support for