Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Spry: Opening Tabs from Another Page
Old 05-16-2010, 06:15 PM Spry: Opening Tabs from Another Page
Junior Talker

Posts: 4
Trades: 0
Hi,

I'v been following this tutorial:
http://foundationphp.com/tutorials/spry_url_utils.php

However i have a problem, my site has Spry tabs with 3 tabs
inside tab each tab, is another Spry tabs with 3 tabs.

-----------------------------------
- [TAB1] [TAB2] [TAB3] -----------
--------|______|-------------------
- [TAB1] [TAB2] [TAB3] ------------
---------------|_______|------------
Content
-------------------------------------

For example, if i want to link to the second tab
in the first set of tabs, i would put:

Code:
target.html?tab=1#TabbedPanels1
but when you use this, it does the same to the tabs inside
so it kind of does

Code:
target.html?tab=1#TabbedPanels1
and 
target.html?tab=1#TabbedPanels2
i want to open tab 2 (first tabs) and tab 3 (tabs inside tab 2)
i though i could put:

Code:
target.html?tab=1#TabbedPanels1&tab=2#TabbedPanels2
But that doesn't work

Any help, please?
Carlryds is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-24-2010, 06:30 AM Re: Spry: Opening Tabs from Another Page
Junior Talker

Posts: 4
Trades: 0
Better discription of problem...

So i have Spry Tab Panels and i used this tutorial to get the links to work
http://foundationphp.com/tutorials/spry_url_utils.php

However, if i put..
Code:
software/index.html?tab=1#TabbedPanels1
it does the same to the pannels within (basicaly my site has a set of Spry Panels within each tab of the main Tab Panels.

Heres an Example of how its set up

Overview | Features | Pricing (TabbedPanels1)

That code takes you to...

Overview | Features | Pricing (TabbedPanels1)

within that is these panels...
(basically a break down of the fetures with screenshots, video, etc)

Main Sales Screen | System Admin | Stock Manager | Suppliers (TabbedPanels2)

Now i though the code above would do this to the Spry panels...

Overview | Features | Pricing (TabbedPanels1)
Main Sales Screen | System Admin | Stock Manager | Suppliers (TabbedPanels2)

But it doesn't it does this...

Overview | Features | Pricing (TabbedPanels1)
Main Sales Screen | System Admin | Stock Manager | Suppliers (TabbedPanels2)

Now, i believe its applying the same instruction to both sets of TabPanels, which it shouldn't be i thought it would only do the above if i put this code

Code:
software/index.html?tab=1#TabbedPanels1&tab=1#TabbedPanels2
even if i put..

Code:
 software/index.html?tab=1#TabbedPanels1&tab=2#TabbedPanels2
i still get...

Overview | Features | Pricing (TabbedPanels1)
Main Sales Screen | System Admin | Stock Manager | Suppliers (TabbedPanels2)

and not..

Overview | Features | Pricing (TabbedPanels1)
Main Sales Screen | System Admin | Stock Manager | Suppliers (TabbedPanels2)

Can anyone help me stop the instruction being applied to both Spry Panels?
Carlryds is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Spry: Opening Tabs from Another Page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10434 seconds with 12 queries