|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 5
|
|
| Author |
|
|
Stranger Joined: Feb 4, 2008 Post Count: 6 Status: Offline |
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 php include the 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. http://livedocs.adobe.com/en_US/Spry/1.4/index.html I would like it to happen with some kind of java at the top of each page. I think I need to use tab indexing. I have looked and found things kind close but not quite what I need. I would guess this might be useful to others as well. If this is not clear on what I am trying to do please let me know and I will elaborate. Thanks much :) Sincerely, Greg ---------------------------------------- [Edit 6 times, last edit by GregZimdahl at Feb 8, 2008 4:13:57 PM] |
||
|
|
Stranger Joined: Feb 4, 2008 Post Count: 6 Status: Offline |
I just noticed the link I put above does not go exactly where I was looking. you have to navigate a tree of links. The link again is http://livedocs.adobe.com/en_US/Spry/1.4/index.html 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. 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 in advance! Greg. |
||
|
|
Advanced Member Right behind you... Joined: Jul 25, 2007 Post Count: 328 Status: Offline |
Java or JavaScript? Java - Programming language from Sun Microsystems JavaScript - Scripting language from Netscape. ---------------------------------------- "If you are bitten by a Zombie you should contact authorities and then kill yourself via traumatic head wound or have an acquaintance kill you." - A Pamphlet of the Department of Homeland Defence |
||
|
|
Stranger Joined: Feb 4, 2008 Post Count: 6 Status: Offline |
I am guessing javaScript. What ever works. Whatever is better or easier. What do you recommend? This is what I came up with. It does not work but maybe you can see what I'm shooting for. <!-- Start Java Tab Selection--> <script type="text/javascript"> function load() { TabbedPanels1.showPanel(3); } </script> <!--End Java Tab Selection--> ---------------------------------------- [Edit 1 times, last edit by GregZimdahl at Feb 8, 2008 3:35:24 PM] |
||
|
|
Stranger Joined: Feb 4, 2008 Post Count: 6 Status: Offline |
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--> |
||
|
|
|
|
|
Current timezone is GMT Mar 21, 2010 10:23:33 PM |