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
Similar Messages
-
Opening Spry Accordion on-hover - can this be done?
Hello,
I was wondering (1) if the Spry accordion could open on-rollover of the panels (without having to click), and if so, (2) how?
Thanks,
Qsearch is your friend
http://www.google.com/search?q=spry+accordion+onmouseover -
How to auto open PDF after saving a file?
Hi!!! How y'll doing? I just switch to Mac recently. So can you guys kindly advise how do set auto open PDF file after save as a PDF file.
What am I trying to say is that, I have a excel file and I want it to auto open after I save as PDF file.We are currently having users processing a large number of PDF's and would like to know if this is possible as well. The Save as PDF... option right now does not open the PDF file after it is created.
-
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!
ThanksThanks 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. -
How to Auto open PS CS3 instead of CS5
Clicking on a .psd file opens photoshop CS5. Is there a way to automatically open CS3 instead? I have changed the "open with" info several times but still I get CS5. My next step will be to rename the app or uninstall it. Thanks.
[http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox]
-
How to auto-open iCal at sign-in.
Is there a way to have iCal automatically open on my desktop when I log on? My aging one track mind seems to forget to check my calendar every day. I already am using the email alerts, but most times ignore my email account for days.
Thanks in advance for any help!You can do this In System Preferences > Accounts. However, much easier is to click on the icon in the Dock when it is open and select Options (from the 3-part panel that appears), one of which is to have it open at Login.
-
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 -
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
BrettBrett,
> 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 -
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
BrettBrett,
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 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 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 -
How to make spry accordion open on mouse hover ?
hi everybody i have just a simple question about spry accordion in cs4 it try to open it using mouse hover not onclick
can anyone help me plz ?This is one way
<!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" onMouseOver="Accordion1.openPanel(0); return false;">Label 1</div>
<div class="AccordionPanelContent">Content 1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab" onMouseOver="Accordion1.openPanel(1); return false;">Label 2</div>
<div class="AccordionPanelContent">Content 2</div>
</div>
</div>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
</script>
</body>
</html>
Another way is to have a SpryEventListener. Look that up for further info.
Ben -
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 -
Spry Accordion just stays open in IE8
I'm using Spy 1.6.1 and Dreamweaver CS5. The Spry Accordion menu on the left side of my page looks funky in IE and it's absolutely kiiiiiilling me.
~o~ On a PC using IE8 the panels all begin in the open position at first load and won't close no matter what. This is WRONG!
~o~ On a Mac using Safari, FireFox and Opera the accordion is working fine with one panel opening at once. This is CORRECT!
Ahhh I'm pulling out my hair. Previous threads have mentioned a similar problem but their solution has been to upgrade to Spry 1.6.1 and that's how I started off so presumably no issue for me.
So what the heck am I doing wrong? Thousand thanks for a moment of your time!
The website with problems: www.documentarymakers.com
Index of Spry Assets for this site: http://www.documentarymakers.com/SpryAssets/
AdamChange the following line in your main document
<script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
to
<script src="http://labs.adobe.com/technologies/spry/widgets/accordion/SpryAccordion.js" type="text/javascript"></script>
Either the online version of the JS is corrupt or there is a problem with version 0.17, Adobe uses version 0.15
Gramps -
Spry Accordion open on page load
How do you stop the Spry Accordion from being open while the page is loading - as soon as the page loads the Accordion closes to the way it has been designed - it is just annoying!
Starting with All Panels Closed
This feature is only supported when using variable height panels, so you must pass a false into the Accordion's constructor for the "useFixedPanelHeights" constructor option, and a -1 for the "defaultPanel" option.
Gramps
Maybe you are looking for
-
Sharepoint 2010 -Script to get file name from Document Library
Hi can anybody send be script that works in "SharePoint 2010 management Shell" to get list of file names in document library. Thank
-
Dear gurus, while executing some t-code i have to take F4 to insert some variable values. while doing that im unable to get in that filed and i have to do it manually can anybody suggest the solution. thanks in advance. RK
-
I have upgrade right now my MacBookPro, and i try to use Maps, it's beautiful, but i can't send the itinerary to my iPhone by the share button. I'm connected to the same WiFi and even via USB. Can Anyonr help me? Thanks
-
Problem with httpservice.length
Hi, I have written a httpservice which will return a dataset to me, now i am trying to loop that http service i have written the below code <mx:httpservice id="something" url="........default.aspx" /> var i:int = 0 for (i = 0; i<something.lastresult.
-
Full text index searching in large document sets
I have been placed in charge of a digital PDF document library for a small biotech company. The library consists of about 1000 100-300 page .pdf documents which have been scanned and OCRed. In order to facilitate the full text searching of the docume