Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Spry Tabbed Panels

New Here ,
May 16, 2008 May 16, 2008
Hi everybody!
I am using the Spry Tabbed Panels from wihin a page I have created. The tabs work great and the page looks good, however I was wondering if there was a way where I can open a particlular tabed panel from clicking on a link within the same page. Example: There is a ceratin product that is displayed and to the right of the image there are bullets. Below the image is the Spry tabbed panel and each tab has the same name as the bullets near the image. If the viewer clicks on one of the bullets, I would like the corresponding tab in the tabbed panel to open (go to the content of the tabbed pannel). Can anyone help? Iwould be greatly appreciated.

Thank you and have a great week-end.
TOPICS
Extensions
550
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 16, 2008 May 16, 2008
FrancoDC wrote:
> Hi everybody!
> I am using the Spry Tabbed Panels from wihin a page I have created. The tabs
> work great and the page looks good, however I was wondering if there was a way
> where I can open a particlular tabed panel from clicking on a link within the
> same page. Example: There is a ceratin product that is displayed and to the
> right of the image there are bullets. Below the image is the Spry tabbed panel
> and each tab has the same name as the bullets near the image....
Translate
LEGEND ,
May 16, 2008 May 16, 2008
FrancoDC wrote:
> Hi everybody!
> I am using the Spry Tabbed Panels from wihin a page I have created. The tabs
> work great and the page looks good, however I was wondering if there was a way
> where I can open a particlular tabed panel from clicking on a link within the
> same page. Example: There is a ceratin product that is displayed and to the
> right of the image there are bullets. Below the image is the Spry tabbed panel
> and each tab has the same name as the bullets near the image. If the viewer
> clicks on one of the bullets, I would like the corresponding tab in the tabbed
> panel to open (go to the content of the tabbed pannel). Can anyone help? Iwould
> be greatly appreciated.
>
> Thank you and have a great week-end.


Sure, you can do this. Take a look at the code for this page:
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm

In particular this file:
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tp_unobtrusive.js

If it helps, generally the next question folks ask is if they can do this from a link on another page and yes, you can, take a look at the code at the bottom of this page:
http://labs.adobe.com/technologies/spry/samples/utils/URLUtilsSample.html



--
Danilo Celic
| Extending Knowledge Daily : http://CommunityMX.com/
| Adobe Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2008 May 20, 2008
Thanks for the information, it works great.
I have another question, I was wondering, since my panel is towards the end of the page, is there a way to keep the page at its current location as oppossed to refreshing and moving up when a link is clicked? When you click on the tab the page remains and the panel chanes as opposed to when you click on the link the pannel changes but the page refreshes and goes to the top.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2008 May 20, 2008
LATEST
Nevermind, I overlooked the obvious, it works fine now.

Thanks
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines