This is a discussion on "Spry tabbed panel- java to open diff tabs" within the JavaScript Forum section. This forum, and the thread "Spry tabbed panel- java to open diff tabs are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Spry tabbed panel- java to open diff tabs
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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. |
|
|
|
|||
|
Re: Spry tabbed panel- java to open diff tabs
Place this is head of document
//change the number one in the parentheses to the tabs tab index. <!-- Start Java Tab Selection--> <script type="text/javascript"> function onload() { TabbedPanels1.showPanel(1); } </script> <!--End java Tab Selection--> |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spry works in FF - not in IE | overkil6 | JavaScript Forum | 1 | Apr 15th, 2008 15:58 |
| [SOLVED] Spry password confirmation widget in DW CS3 | grandadbob | Scripts and Online Services | 5 | Nov 30th, 2007 18:34 |
| Positioning Spry Menu Bar, etc. | Kurt | Web Page Design | 8 | Sep 11th, 2007 22:31 |
| Java/GUI/Server Developer (Java, EJB/Hibernate, SWING) - Berkshire | Web JobBot | Job Opportunities | 0 | Jan 16th, 2007 09:30 |
| I looking for Java code of ExamXML XML diff tool | alapick | Other Programming Languages | 0 | Jul 7th, 2006 13:26 |