View Single Post
  #1 (permalink)  
Old Feb 7th, 2008, 22:39
GregZimdahl GregZimdahl is offline
New Member
Join Date: Feb 2008
Location: Milwaukee Wisconsin
Age: 23
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
SOLVED - Spry tabbed panel- java to open diff tabs

I don't figure this should be too hard for anyone who knows java. I am working on a site with a DW CS3 Spry tabbed panel. I am including the tabbed panel from an external php page (so my index page is .php as well). I want to use a php include command for the tabbed panel for quick updating. I will have it on 5 different pages. Each page needs to open a different panel. I saw the the Adobe site has some information on open the panels with the click of a button.



The link is

http://livedocs.adobe.com/en_US/Spry/1.4/index.html

~you have to navigate a tree of links.

click

-Working with Spry widgets

Then click

-Working with the Tabbed Panels widget

Lastly click

-Open panels programatically


--Hope this will show people what I am trying to do. But rather then have the tab open from a press of a button I want the tab to open when you go to a page.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~

This is what I have come up with so far. Maybe you can see where I am going wrong.


<!-- Start Java Tab Selection-->

<script type="text/javascript">

function load()
{
TabbedPanels1.showPanel(3);
}

</script>

<!--End Java Tab Selection-->


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~



If I am not making sense please some one tell me. I need to figure this one out. So even a link to a tut they someone thinks might be sorta relevant would be greatly appreciated.


Thanks much.

Sincerely, Greg

Last edited by GregZimdahl; Feb 8th, 2008 at 21:14.
Reply With Quote