From: jtousignant on
Ok, I am not sure what I am missing because it looks pretty straight forward,
but I cannot get it to work.

I can get the Open by Simple Navigation: First | Previous | Next | Last to
work but not the Open by Panel indes or ID which is really what I would like:

I have the main div as:
<div id="Accordion1" class="Accordion" tabindex="0">

My link that should open panel 2:
<a href="#" onclick="Accordion1.openPanel('panel2'); return false;">panel 2</a>

And I have given panel 2 id of panel2
<div id="panel2" class="AccordionPanel">
<div class="AccordionPanelTab">Panel 2</div>
<div class="AccordionPanelContent">
<table width="615" border="0" cellspacing="5" cellpadding="0">
<tr>
<td><p>&nbsp;</p>
</td>
</tr>
</table>
</div>
</div>

I am completely stumpped... Looks pretty clear cut to me, but doesn't work.
Also, eventually these links will be from an outside page or even another
website so I would like to be able to link to any panel from anywhere not just
the page that contains the panels.

Again, thanks for the help

From: Speculumcm on
It would be better if you post a url, you know?

jtousignant escribió:
> Ok, I am not sure what I am missing because it looks pretty straight forward,
> but I cannot get it to work.
>
>
> I am completely stumpped... Looks pretty clear cut to me, but doesn't work.
> Also, eventually these links will be from an outside page or even another
> website so I would like to be able to link to any panel from anywhere not just
> the page that contains the panels.

Well for that purpose you better see this tutorial:

http://foundationphp.com/tutorials/spry_url_utils.php
From: yupieyi on
The tutorial link was jus what i was lookin for.. lookin to see if anyone completely resolves this issue. Cheers!
From: jtousignant on
Here is a link to the page:

http://www.amsoil.com/sponsorships/index_new.aspx
From: DizzDizzy on
the tutorial which i got is helpfull but i am looking for something more