Spry Accordion Panels not opening fully

Discussion in 'Web Design and Development' started by robbieporter85, Dec 22, 2010.

  1. robbieporter85, Dec 22, 2010
    Last edited by a moderator: Dec 23, 2010

    robbieporter85 macrumors newbie

    Joined:
    Dec 22, 2010
    #1
    Hi There,

    I'm having a little trouble with the panel heights on my website.

    I have set the panel heights to 'false' so that each panel one opens to the correct height. This works perfectly on the index page, however, on a new page (the first link within the first panel) the panel height automatically jumps up obscuring some of the links at the bottom, even though it is also set to 'false' can anyone help?

    here's the code:

    PHP:
    <!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" />
    <
    link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <
    title>Gillian Murray</title>
    <
    link href="styles.css" rel="stylesheet" type="text/css" media="all" />
    <
    script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> 
    </head>

    <body>

    <div class="MainImage">
    <img src="images/GillianMurray-OldPierSalenMull.jpg" /> 
    </div>




    <h1>Gillian Murray</h1>

    <h2>Artist, Printmaker</h2>

    <h3>________________</h3>

    <p><a id="darkblue" href="index.html">Home</a></p>

    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab1">Scottish Landscape</div>
        <div class="AccordionPanelContent">
            <a id= "blue" href="OldPierSalenMull.html">Old Pier, Salen, Mull</a><br/>
            <a id= "blue" href="Pabbay.html">Pabbay</a><br/>
            <a id= "blue" href="SoundsOfArisaig.html">Sounds of Arisaig</a><br/>
            <a id= "blue" href="EiggAndRumFromMallaig.html">Eigg & Rum from Mallaig</a><br/>
            <a id= "blue" href="SunsetByGlenuig.html">Sunset by Glenuig</a><br/>
            <a id= "blue" href="PolneyLochFrozenDunkeld.html">Polney Loch (frozen) Dunkeld</a><br/>
            <a id= "blue" href="LochSunart.html">Loch Sunart</a><br/>
            <a id= "blue" href="RocksAtNorthBerwick.html">Rocks at North Berwick</a><br/>
            <a id= "blue" href="KnoydartFromTheFerry.html">Knoydart from the Ferry</a><br/>
                <a id= "blue" href="BassRock.html">Bass Rock</a><br/>
            <a id= "blue" href="GhostwoodForestTwinPeaks.html">Ghostwood Forest, Twin Peaks</a><br/>
            <a id= "blue" href="LandUnderWaves.html">Land Under Waves</a><br/>
               <a id= "blue" href="SeaPinksIona.html">Sea Pinks, Iona</a><br/>
            <a id= "blue" href="CastleTioram.html">Castle Tioram</a><br/>
            <a id= "blue" href="GrimsayOuterHebrides.html">Grimsay, Outer Hebrides</a><br/>
            <a id= "blue" href="LochansNorthUist.html">Lochans, North Uist</a><br/>
            <a id= "blue" href="EavalFromBeleshare.html">Eaval from Beleshare</a><br/>
            <a id= "blue" href="SoundOfHarris.html">Sound of Harris</a><br/>
            <a id= "blue" href="MarwickHeadOrkney.html">Marwick Head, Orkney</a><br/>
            <a id= "blue" href="FacingMullFromIona.html">Facing Mull from Iona</a><br/>
            <a id= "blue" href="ScottMonumentFromSalisburyCrags.html">Scott Monument from Salisbury Crags</a><br/>
            <a id= "blue" href="SandstoneRockGardenstown.html">Sandstone Rock, Gardenstown</a><br/>
            <a id= "blue" href="SandSwirlsBerneray.html">Sand Swirls, Berneray</a><br/>
            <a id= "blue" href="WestBeachBerneray.html">West Beach, Berneray</a><br/>
            <a id= "blue" href="FiddenBeachMull.html">Fidden Beach, Mull</a><br/>
            <a id= "blue" href="RocksAt FiddenMull.html">Rocks at Fidden, Mull</a><br/>   
            <a id= "blue" href="SalisburyCrags.html">Salisbury Crags</a><br/>            
              </div>
              </div>
      
      <div class="AccordionPanel">
        <div class="AccordionPanelTab2">Landscape</div>
        <div class="AccordionPanelContent">
            <a id= "pink" href="Carrelet.html">Carrelet</a><br/>
            <a id= "pink" href="BotanicalGarden.html">Botanical Garden</a><br/>
            <a id= "pink" href="StPaulsSaltpans.html">St. Paul's Salt-pans</a><br/>
            <a id= "pink" href="SaltpansMalta.html">Salt-pans, Malta</a><br/>
            <a id= "pink" href="ShelteredVines.html">Sheltered Vines</a><br/>
            <a id= "pink" href="PaleoCorfu.html">Paleo, Corfu</a><br/>
            <a id= "pink" href="PanormosEastCrete.html">Panormos, East Crete</a><br/>
            <a id= "pink" href="PanormosWestCrete.html">Panormos, West Crete</a><br/>
            <a id= "pink" href="PinkParasolsCrete.html">Pink Parasols, Crete</a><br/>
            <a id= "pink" href="ElafonssiCrete.html">Elafonssi, Crete</a><br/>     
              </div>
              </div>
      
       <div class="AccordionPanel">
        <div class="AccordionPanelTab3">Plants</div>
        <div class="AccordionPanelContent">
            <a id= "cream" href="VenusFlyTrap.html">Venus Fly Trap</a><br/>
            <a id= "cream" href="PhilippineChickabiddy.html">Philippine Chickabiddy</a><br/>
            <a id= "cream" href="Orchid.html">Orchid</a><br/>
            <a id= "cream" href="SensitivePlant.html">Sensitive Plant</a><br/>
            <a id= "cream" href="Flourish.html">Flourish</a><br/>
            <a id= "cream" href="SweetheartVine.html">Sweetheart Vine</a><br/>
            <a id= "cream" href="TerracottaGarden.html">Terracotta Garden</a><br/>
            <a id= "cream" href="Sarracenia.html">Sarracenia</a><br/>
            <a id= "cream" href="PinkPetals.html">Pink Petals</a><br/>
            <a id= "cream" href="Scabious.html">Scabious</a><br/>
            <a id= "cream" href="OrchidTrees.html">Orchid Trees</a><br/>
        </div>
      </div>
      
    <p><a id="red" href="aboutme.html">About Me</a></p>

    <p><a id="brown" href="contact.html">Contact</a></p>
     
    <h3>________________</h3>

    <p2>© all rights reserved</p2>  
      
      <div class="imagetext">
     <p3>Grimsay, Outer Hebrides - Screenprint + Collagraph</p3>
     </div>
      
    </div>


    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: 0});
    //-->
    </script>
    </body>
    </html>
     
  2. zlinuk macrumors member

    Joined:
    Jul 8, 2008
    Location:
    UK
    #2
    Can you post a link to an example page so that we can see the issue "live" so to speak.
     

Share This Page