Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
DeviseInnovations #1
Automatically Animating Spry Accordion Widget on PageLoad
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 Guest
-
Spry Widget Conversion
Hello everyone, thanks for looking. I have some php code I have developed that which creates a web-site navigation menu with a list of main... -
Spry Sliding Panel Widget
I have tried to use the Spry Widget Sliding Panel code from the Adobe tutorial and I keep getting an error message. The message is that "Spry" is... -
Spry - Accordion
Hi, I'm building a menu for a website with the Spry accordion widget. I want to open the accordion with a mouseOver-effect, but not close them... -
Editing CS3 Spry widget
Hi, I have created a accordion menu using a spry widget built into Dreamweaver CS3. However I want to amend this so that the menu is collapsed... -
Unordered list bullets and Spry Accordion widget
In all browsers except IE (surprise, surprise!), the page works fine. Otherwise the bullets in my unordered list appear at the bottom of the... -
danilocelic AdobeCommunityExpert #2
Re: Automatically Animating Spry Accordion Widget on Page Load
DeviseInnovations wrote:
Sounds more like you'd want sliding panels:> 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.
[url]http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsSample.html[/url]
I've seen an automatic version created that might do what you want:
[url]http://www.3rd-eden.com/Spry-it.com/examples/slidingpanelsautomatic/[/url]
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:
[url]http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602[/url]
--
Danilo Celic
| [url]http://blog.extensioneering.com/[/url]
| WebAssist Extensioneer
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest
-
tobyb121@hotmail.co.uk #3
Re: Automatically Animating Spry Accordion Widget on Page Load
On Jul 12, 1:07*am, "DeviseInnovations" <webforumsu...@macromedia.com>
wrote:I wrote this as a way of doing it, its my first piece of javascript> 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!
that I have ever written, so sorry if its a bit choppy, but it
definitely does the job.
You need to add this to the body tag
<body onload="start()">
And this script in the header:
<script type="text/javascript">
var c=0;
var t;
function start()
{
t=setTimeout("loop()",5000);
c=c+1
}
function loop()
{
if (c==5)
{
Accordion1.openFirstPanel(0);
c=0;
}
else
{
c=c+1;
Accordion1.openNextPanel();
}
t=setTimeout("loop()",5000);
}
</script>
tobyb121@hotmail.co.uk Guest
-
Gooner10 #4
Re: Automatically Animating Spry Accordion Widget on PageLoad
This works perfectly except when you mouse over a panel I would want it to pause. Any thoughts on how to do thi?
Gooner10 Guest



Reply With Quote

