Solved

Dreamweaver; Spry Tabbed Panels

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS HTML Text Alignment 13 423
Question about Dreamweaver CC 1 306
Dreamweaver CC + PhoneGap on Windows PC for IOS 1 240
WordPress on local PC and hosted 11 146
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

816 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

10 Experts available now in Live!

Get 1:1 Help Now