Spry accordion - content must close on click
Hi,
I was looking for my answer on the forum but still had answers. I gave a reply but I don't know if someone wil read this (sorry if I'm incorrect).
http://forums.adobe.com/message/2154232#2154232
The question is:
In my test site http://www.home-maastricht.nl/parkeren.html I have almost only accordion tabs.
They all need to close when I click on the picture from de accordionPanelContent.
Where/which/How do I have to put the command to close these. Is it possible that I only do this on one place in de accordion css?
If you click on the last accordeon Tab you see more pictures (a small dataset). This is only visible in IE but not in FF.
Also does the page jump to the top. Any idee what I can do? I work with CS4.
Al lot of questions but they are the finishing touch of the site!!
Thanks a lot for your help!
Carla
Hi Arnout,
First thank you for your reply. I use Mozilla Firefox 3.6.3
But I'm happy it works in your version so I only have to wait that everybody uses the newer version?
Do I have tot give onclick="Accordion1.closePanel()" to every single image?
Like:
!images/12-keukeninterieur/websiteformaat/12-01-maesen-keuken.JPG|height=933|alt=Maesen Munstergeleen|width=700|onclick=Accordion1.closePanel()|src=images/12-keukeninterieur/web siteformaat/12-01-maesen-keuken.JPG!
Ofcourse I’m going to reed the link below, but just for this moment.
Do you have also a solution for the jumping when I’m on the last tab (the window jumps up).
Thanks a lot for helping me !!
Carla Leliveld
Similar Messages
-
Spry: Accordion does not close properly
Hi Everyone,
I am very new to web design, so bear with me please.
I created a new website using Dreamweaver and added a spry accordion to use as a menu. it seemed to be working fine, but as I was adding links into the boxes it quit working on me. I have thoughts of restarting, but I thought that you may be able to help me here as well. The link to the website is http://www.blakesprairiefair.com/2009.html
I used images for the tab titles and they should all be uploaded, I shoud haver 5 tabs in the accordion but it only shows one I am attaching how it looked a few keystrokes ago. I can't figure out why it is acting so oddly
If you need more from me let me know,
Thank you so much for any help
ChuckHey, Thanks for the tip. I looked through the code like 5 times and I can't seem to find any unclosed or extra Divs I attached the code below in case that helps.
I got the code for the defaultPanel: -1 from http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WS0E55F588-24EC-4dd3-9508-82132 4E7F133.html
- Still haven't found the error
Thanks
Chuck
<!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>Untitled Document</title>
<link href="_css/NewWebpage.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
#apDiv2 {
position:absolute;
width:200px;
height:115px;
z-index:1;
-->
</style>
<script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
</head>
<body class="oneColElsCtr">
<div id="container">
<div id="mainContent">
<div id="UpperLeftSpacing"></div>
<div id="UpperRightTitle"></div>
<div id="LowerLeft4NavBar">
<div id="NavBar">
<div id="SmallerNavBar">
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-Home.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent"><em><a href="http://www.blakesprairiefair.com">Home</a></em></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-09Events.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent">
<p><em><strong><a href="http://www.blakesprairiefair.com/index_files/ScheduleofEvents.htm">Events Schedule</a></strong></em><a href="http://www.blakesprairiefair.com/index_files/ScheduleofEvents.htm"></a></p>
<p><em><strong>Friday Night :</br>
<br> <a href="http://www.blakesprairiefair.com/index_files/DemoDerby.htm">Demo Derby</a></strong></em><em><strong></em></p>
<p><em><strong>Saturday:</br>
<br> <a href="http://www.blakesprairiefair.com/index_files/JudgingSchedule.htm">Judging</a></strong></em></br>
<br> <a href="http://www.blakesprairiefair.com/index_files/CombineDemoDerby2009.htm">Combine Derby</a></em></p>
<p><em><strong>Sunday:</br>
<br> <a href="http://www.blakesprairiefair.com/index_files/TractorPull.htm">Tractor Pull</a></em></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-09Docs.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent">
<p><em><strong><a href="http://www.blakesprairiefair.com/2009FairBook.pdf">09 Fair Book (pdf)</a></strong></em></p>
<p><em><strong><a href="http://www.blakesprairiefair.com/index_files/Page396.htm">09 Documents</a></strong></em><a href="http://www.blakesprairiefair.com/index_files/Page396.htm"></a></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-Contact.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent"><strong>Content 5</strong></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-Links.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent"><strong>Content 6</strong></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab"><img src="Pix/T-Past.jpg" width="175" height="22" /></div>
<div class="AccordionPanelContent">
<p>2007</p>
<p>2008</p>
</div>
</div>
</div>
<div id="Cover">
<p align="center"><img src="2009Cover.jpg" width="185" height="302" /></br>
<br>Cover Designed By:</br>
<br>Andrea Pagenkopf</br>
<br>Rolling Rockets 4-H</p>
</div>
</div>
</div>
</div>
<div id="MainContentBox">
<div id="BoxForText">
<p align="center">Welcome to the new</p>
<p align="center"><strong>Blake's Prairie Jr. Fair </strong></p>
<p align="center">Webpage</p>
<p align="center"> </p>
<p align="center"><strong><em><u>News:</u></em></strong></p>
<p align="center"><em>Buttons for 2009 are on sale now! </em></p>
<p align="center"><em>Visit local businesses or contact your local 4-H Club or FFA </em>Chapter to purchase one today.</p>
<p align="center"> </p>
<p align="center"><strong><em><u>Updates:</u></em></strong></p>
<p align="left"><em>7/10/2009</em> - New Homepage</p>
<p align="left"><em>5/20/2009</em> - <a href="http://www.blakesprairiefair.com/2009FairBook.pdf">2009 Fair Book</a> Added to Site</p>
</div>
</div>
<div id="BottomBox"></div>
<!-- end #container -->
</div>
</div>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false , defaultPanel: -1 });
//-->
</script>
</body>
</html> -
Spry Accordion Content not expanding fully
Hi,
I am trying to add some nice user friendly stuff to my site. I've created a Spry Accordion in which the content is images that I have created in photoshop. Some of the content is longer than 200px and will not show up in IE. When viewed in IE it only shows the 200px even though I have set a script that says fixed panel heights = false. I've updated everything to the updated spry...I'm going to attach all of the files that go with the dreamweaver file.
Please help me!
You can view the page at http://www.hofchurch.com/updated_site2/about_hof.php
CayleYou are using Spry 1.4, the latest version is 1.6.1, consider upgrading to the latest version.
-
How to make Spry Accordion Content Panel with a variable content fit
I have a problem. The content panel has a fixed length so I changed it to auto so I can view all the content of each panel. The problem is that the content panel takes the dimensions of the longest content and applies that to ALL the panels. So as you click from one to the other, some are practically empty with all the space, while others seem full.
The question is, is there a way to vary the size of the content panel so on one that has not a lot of content stays to that size. This is the way I have the CSS for that. How can I achieve the variable heights?
.AccordionPanelContent {
overflow: auto;
margin: 0px;
padding: 5px 4px 6px 15px;
height: auto;
background: url(../images/backgrcolor0033.png);
color: #FFF;
Thank you.<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false });</script>
</body>
</html>
Gramps -
Spry accordion content not hiding in IE
Hi all,
I threw together a page using accordion menus (
http://www.riverviewbiblecamp.com/menu.php),
it works fine in Firefox, Safari, and Opera, but in Internet
Explorer the conent doesn't hide in the 'closed' panels. The panels
move when you click, making me think it's a CSS issue?
Thanks a lot,
RoryHi:
Have you tried updating Spry library files to the latest
version (1.6)?
From your source, I can see that you are using 1.4
Regards,
Andres Cayon
Spain Adobe Dreamweaver User Group
http://www.dwug.es
"country.hacker" <[email protected]>
escribió en el mensaje de
noticias news:fte4jc$qgg$[email protected]..
> Hi all,
>
> I threw together a page using accordion menus
> (
http://www.riverviewbiblecamp.com/menu.php),
it works fine in Firefox,
> Safari,
> and Opera, but in Internet Explorer the conent doesn't
hide in the
> 'closed'
> panels. The panels move when you click, making me think
it's a CSS issue?
>
> Thanks a lot,
> Rory
> -
Spry Accordion: close button malfunction
Hello! I'm using a Close button at the end of each Accordion content panels. On click the panel closes BUT it also makes the page jumps to the very top. This happens across all browsers. What do I need to do to make panel close without sending the user to the top of the page? Thanks so much for any tips!!!
<a href="#" onclick="Accordion1.closePanel()"> Close </a>Hi,
I saw this case and I think this is what I need, but I still have a question.
In my test site http://www.home-maastricht.nl/parkeren.html I have almost only accordion tabs.
They all need to close when I click on the picture from de accordionPanelContent.
Where do I have to put the command to close these. Is it possible that I only do this on one place in de accordion css?
If you click on the last accordeon Tab you see more pictures (a small dataset). This is only visible in IE but not in FF.
Also does the page jump to the top. Any idee what I can do?
Thanks a lot for your help!
Carla -
Firefox Spry Accordion widget
Hello, I am trying to use Spry Accordion widget. When I click one of the other panels they all turn a strange neon blue color. Anyone know of any fixes?
The below is the index page and below that is SpryAccordion.css
index
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Conferences</title>
<script src="SpryCollapsiblePanel.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outside">
<div id="outsideone">
<div id="CollapsiblePanel1" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0">Tab</div>
<div class="CollapsiblePanelContent">
<p>Content ssss</p>
<p>lkajsdfl</p>
</div>
</div>
<script type="text/javascript">
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
</script>
<!-- This is commented out -->
<div id="photo"></div>
<div id="contentholder">
<div id="contentsone"> <div id="moreone">
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
</div> <div id="insidecontentsone"></div></div>
<div id="lineone"> </div>
<div id="contentstwo"> <div id="moretwo">
<div id="Accordion2" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
</div>
<div id="insidecontentstwo"></div></div>
<div id="linetwo"> </div>
<div id="contentsthree"> <div id="morethree">
<div id="Accordion3" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
</div><div id="insidecontentsthree"></div></div>
</div>
</div>
</div>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { defaultPanel: 1 });
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { defaultPanel: 1 });
var Accordion3 = new Spry.Widget.Accordion("Accordion3", { defaultPanel: 1 });
</script>
</body>
</html>
SpryAccordion.css
@charset "UTF-8";
/* SpryAccordion.css - version 0.5 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/* This is the selector for the main Accordion container. For our default style,
* we draw borders on the left, right, and bottom. The top border of the Accordion
* will be rendered by the first AccordionPanelTab which never moves.
* If you want to constrain the width of the Accordion widget, set a width on
* the Accordion container. By default, our accordion expands horizontally to fill
* up available space.
* The name of the class ("Accordion") used in this selector is not necessary
* to make the widget function. You can use any class name you want to style the
* Accordion container.
.Accordion {
overflow: hidden;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-right-color: none;
border-bottom-color: none;
border-left-color: none;
background-image: url(white.png);
background-color: none;
border-top-style: none;
/* 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;
background-image: url(white.png);
/* 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: #CCCCCC;
border-top: solid 1px black;
border-bottom: solid 0px gray;
margin: 0px;
padding: 2px;
cursor: pointer;
-moz-user-select: none;
-khtml-user-select: none;
background-image: url(white.png);
/* 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;
background-image: url(white.png);
/* 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: #none;
background-image: url(white.png);
/* 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: #555555;
background-image: url(white.png);
.AccordionPanelOpen .AccordionPanelTabHover {
color: none;
background-image: url(white.png);
/* This is an example of how to change the appearance of all the panel tabs when the
* Accordion has focus. The "AccordionFocused" class is programatically added and removed
* whenever the Accordion gains or loses keyboard focus.
.AccordionFocused .AccordionPanelTab {
background-color: none;
background-image: url(white.png);
/* This is an example of how to change the appearance of the panel tab that is
* currently open when the Accordion has focus.
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
background-color: none;
height: 15px;
background-image: url(white.png);
/* Rules for Printing */
@media print {
.Accordion {
overflow: visible !important;
background-image: url(white.png);
.AccordionPanelContent {
display: block !important;
overflow: visible !important;
height: auto !important;
background-image: url(white.png);Welcome to the Forum!
If you can upload your page to a server and give us a link, we will be able to look at your page in action. Just seeing the code is not enough.
Is this the first time you have used an Accordion? It is probable that the bright neon blue you are seeing is the default style, which you can change in the CSS file. I believe it was designed that color to highlight the feature you want to change .
Take a look in the Accordion's CSS file (it will show as an associated file at the top of your document window) for color rules, and adjust them to suit your palette (and your palate!). Check out the CSS Styles Panel (use Current mode) for a handy way to know what you are looking at. Click on the Accordion in Design View and the rules will be highlighted in the CSS Styles Panel. (Click the right-hand stair-step icon to see the style cascade.)
Beth -
Spry Accordion No Highlight Upon Selection
Im working with the spry accordion and when ever i click on a tab the entire outline of the accordion gets highlighted in blue (ie,chrome) or gets a marquee kind of selection around entire outside ( firefox ) is there a way to turn this off so it just works like a normal element?
is there a way to turn this off so it just works like a normal element?
Yes there is - you check and modify the respective CSS rules for borders and outlines.
Mylenium -
How can you get the spry accordion to open and close on a
mouse click? Also, we do not want the first tab to be opened. We
would like the user to click on the tab first then it should
open.shawnBerger wrote:
> How can you get the spry accordion to open and close on
a mouse click? Also, we do not want the first tab to be opened. We
would like the user to click on the tab first then it should open.
You can set which panel to open in the code that creates the
Accordion panel:
http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html
If you do not want any panel to be opened when the page
loads, take a look at the "Starting with All Panels Closed" sample.
If you want a panel to open and close with a click, rather
than having to click on another panel in the accordion, then take a
look at the "Programatically Opening and Closing Panels" sample.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Spry Accordion Close on Mouseout
I've got two Spry Accordion menus on one page. Got them to open on mouseover, but would love for them to close on mouseout. How do I do that?
http://onewomanproduction.com/brochure/index.html
Thanks, Shirley
Dreamweaver CS3The following will only work when fixed panel heights has been turned off.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
<style>
body {width:960px; margin:auto;}
#Accordion1 {width:200px; float:left;}
#Accordion2 {width:200px; float:right;}
</style>
</head>
<body>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel AccordionPanelOpen">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<div id="Accordion2" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<script src="SpryAssets/SpryAccordion.js"></script>
<script>
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: -1 });
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, defaultPanel: -1 });
Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(e, panel) {
if (panel != this.currentPanel)
this.openPanel(panel);
else
this.closePanel();
return false;
Spry.Widget.Accordion.prototype.onPanelTabMouseOut = function(e, panel) {
this.closePanel();
return false;
</script>
</body>
</html>
Gramps -
Spry accordion wont close in IE
I apologize if this has been answered before, but I've been
searching everywhere and cant find the solution.
When the page loads all of the panels are open with the
default panel height, then they all close just enough to not show
any blank space. If you click on one of the headings then all the
panels go through the animation of closing and then immediately
snap back to the variable amount.
This is showing up in IE, but not in FF (there, it works just
fine).
I also can't figure out how to close one that I've opened
returning to the all closed state.
Here is a link to the page I'm working on:
http://localbusinessyellowbook.com/working/index2.php
If anyone could help me out I would be greatly appreciative.
ChrisHi Chris,
Please review this link for resolve your issue where you can
see most of the sample are covered for spry accordion widget.
http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html#VariablePan elHeights
Thanks,
Zan
e: [email protected]
w: www.zanmedia.net -
Spry Accordion Menu - Content Height
Hey everyone,
I have a (hopefully simple) problem. I have a spry accordion with 3 tabs. Two of them have the same number of lines in them, but the "what" tab only has 2 lines so there's a lot of white space underneath it. I've tried changing
this.useFixedPanelHeights to false in the spry java script... and it does resize the content area properly, but the open and close on mouseover gets really messed up. Things don't open when they should, and close randomly. It makes it impossible to navigate. I've tried several other things as well, but nothing seems to fix the problem
The website:
http://jmb2-arch.com
Thanks in advance for any help!
-CameronYou might try playing with the height specification as stated in the Spry CSS:
.AccordionPanelTab { -moz-user-select: none; -khtml-user-select: none; height: 76px; border: 2px solid #027dc3; width: 76px; color: #027dc3;
Setting a height is usually not necessary, unless there is a specific design reason (as there is here, with the main tabs and the sub tab area apparently intended to be identically sized).
Chris -
After I start my computer in the morning, I go to my email, then I click on firefox, with google as my homepage, it takes a long time for firefox to show up on the computer. It says it is connecting, then when I close firefox, and go to reopen it again, a dialog box opens up that says firefox is already running and I must close existing firefox process first. I have not run into this problem before.
* The first time you start up any application after turning on your computer is called a cold start, which is why Firefox takes a while to load right away. (I've noticed that future versions of Firefox start up faster on a cold start then Firefox 5.0.1.) Also, a lower amount of RAM could be slowing its start-up down since Firefox is kind of memory hungry.
* As for the second part of your question, press ctrl,Alt, and the delete keys on your keyboard. The Windows Task Manager should start. Go to the processes tab and look for 'firefox.exe'. Right click on the firefox.exe and click 'End Process'. Hit Yes and wait for a minute.
* Then opening Firefox again.
Hopefully this helped somewhat! -
Spry Accordion - Tabs open and then close after page loads
I am using a Spry Accordion menu driven from a database.
The menu opens up during the page load and then closes.
I'm using SpryAccordion.js 1.6.1
And to open a preset tab, I'm using:
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1",{useFixedPanelHeights:false, enableAnimation: false, defaultPanel: 0 });
//-->
</script>
But, all of the tabs open and then close on page load.
My page: http://www.texashotjobs.us/00C01.aspx
Any fix for this??
Thanks, RonWell to both thanks. Actually I wasn't disappointed as I had a two part question...
I tested the 1.6 JS and remembered that I had to modify the 1.4 so that tabs actually would link. So I reverted back to 1.4.
So, going to 1.6 fixed the open panel on load but "unfixed" the panel tab from linking.....
So changing this in the 1.6 js fixed the link issue as well:
Spry.Widget.Accordion.prototype.onPanelTabClick = function(e, panel)
if (panel != this.currentPanel)
this.openPanel(panel);
else
this.closePanel();
if (this.enableKeyboardNavigation)
this.focus();
// if (e.preventDefault) e.preventDefault();
// else e.returnValue = false;
// if (e.stopPropagation) e.stopPropagation();
// else e.cancelBubble = true;
I t appears everything is working........
Thanks, Ron Gaddis
Visual Reality Productions -
Spry Accordion 1.6.1 gains vert & hztl scrollbars in content area.
I've scratched my scalp raw. This page works fine in both Firefox and Chrome, but picks up vertical and horizontal scrollbars in the content area once open. Is this a known bug, or does it have something to do with the fact that I'm also using a Spry tabs inside the accordion content area? I'm using Spry 1.6.1 and Googling the issue turned up a few other people with the same problem. I've fiddled with the CSS overflow and height properties of the .AccordionPanelContent class, but to no avail. Please help!
I'm sorry, I did not complete the sentence correctly. The scrollbars appear in IE7. They're fine in Firefox, Chrome and IE8. Should I post html file and dependencies?
Maybe you are looking for
-
How do you determine what the default filename is when you do a SaveAs?
I have a shcedule that I saved and now I want to save it as a .pdf file, so I go into File, SaveAs and select .pdf in the drop down and the default filename is "document" not what the name of my schedule was. Where is that set? How do I make it def
-
HT1338 DVD drive in mac will not ply DVD's
My DVD drive in mac will not play full size DVD's,It says system extension cannot be used,please help.Thank you
-
How do I get my music off a laptop on to iPad
How do I get my music from ex hard drive or laptop onto my new iPad?
-
Hello Guru What r the Trasaction Keys/Event keys are hitting If CIN is running After MIGO < After MIRO IF is it right MIGO RG23APart1 - Debit Cenvat _Credit Miro Cenvat-Debit VendorA/c -credit if VAT is non deductible so it going to add materail C
-
HI Friends, When i excute the process order i got error message " Debit with cost element 943110 cannot be settled." kindly give me reply asap. kindly give me detail info how can i solve this issue. Warm Regards Bobby