Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1241 times and has 4 replies Next Thread
Male GregZimdahl
Stranger
Member's Avatar


Joined: Feb 4, 2008
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
SOLVED - I want to php include a panel for quick updating

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]
[Feb 6, 2008 8:47:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male GregZimdahl
Stranger
Member's Avatar


Joined: Feb 4, 2008
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: I want to php include a panel for quick updating..Help!

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.
[Feb 8, 2008 1:07:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male Zombie
Advanced Member
Member's Avatar

Right behind you...
Joined: Jul 25, 2007
Post Count: 328
Status: Offline
Reply to this Post  Reply with Quote 
Re: I want to php include a panel for quick updating..Help!

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
[Feb 8, 2008 1:53:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male GregZimdahl
Stranger
Member's Avatar


Joined: Feb 4, 2008
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: I want to php include a panel for quick updating..Help!

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]
[Feb 8, 2008 2:06:59 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male GregZimdahl
Stranger
Member's Avatar


Joined: Feb 4, 2008
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: I want to php include a panel for quick updating..Help!

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-->
[Feb 8, 2008 4:13:36 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread