How to link to another spry tab in include file.
Hello all,
I am new to using spry tabed pannels, acordians, etc. I was wonding if something is possible. Can you link to another spry tabed panel from another one where both are include files?
The following is a example of what I'm asking:
<!-- this is main.inc.php which is an include file in index.php -->
<div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">tab 1</li>
<li class="TabbedPanelsTab" tabindex="0">tab 2</li>
<li class="TabbedPanelsTab" tabindex="0">tab 3</li>
<li class="TabbedPanelsTab" tabindex="0">tab 4</li>
<li class="TabbedPanelsTab" tabindex="0">tab 5</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent"><?php include(content_page_1.inc.php'); ?></div>
<div class="TabbedPanelsContent">Content 2</div>
<div class="TabbedPanelsContent"><?php include('content_page_2.inc.php'); ?></div>
<div class="TabbedPanelsContent">Content 4</div>
<div class="TabbedPanelsContent"><?php include(content_page_3.inc.php'); ?></div>
</div>
</div>
So, if main.inc.php is included into index.php with content_page_1 and content_page_2 set up identically to main.inc.php ... Can you have text in tab 4 of content_page_1 take you to tab 2 in content_page_2?
If this is possible, does anyone know of a tutorial where I can learn how to do this?
Thanks
