Solved

Dreamweaver; Spry Tabbed Panels

Posted on 2008-10-22
1
449 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
background image shifts depending on browser 17 364
Adobe Web Premium CS3 5 374
I want to center my image horizontally with CSS3 8 452
Replace Dreamweaver with what? 8 162
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 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

12 Experts available now in Live!

Get 1:1 Help Now