Spry tabbed panel- java to open diff tabs

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 7th, 2008, 22:39
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

  #2 (permalink)  
Old Feb 8th, 2008, 21:14
New Member
Join Date: Feb 2008
Location: Milwaukee Wisconsin
Age: 23
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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-->
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43