Solved

Dreamweaver; Spry Tabbed Panels

Posted on 2008-10-22
1
448 Views
Last Modified: 2008-11-21
A line change stops the tabs working:
Original:
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
New:
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});

The aim is to open a tab from an external URL. A similar approach works for the Accordion.
0
Comment
Question by:smudgemouse
1 Comment
 
LVL 7

Accepted Solution

by:
shirazti earned 500 total points
ID: 22774799
Second method requires the"SpryURLUtils.js" javascript file, have you linked it? If yes, Try the snippet

http://labs.adobe.com/technologies/spry/includes/SpryURLUtils.js
var params = Spry.Utils.getLocationParamsAsObject();

var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});

Open in new window

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now