Pvii Tpm2 (Tpm2) : Al Sparber & Gerry Jacobsen PVII
Pvii Tpm2 (Tpm2) : Al Sparber & Gerry Jacobsen PVII
Tab Panel Magic is a very modern, very engaging, and very easy tool with which to create Tabbed Panel widgets using a
fully automated graphical user interface that installs into Dreamweaver.
We hope you enjoy using this product as much as we did making it.
Contents
Installation............................................................................................................................................................... 9
Overview ............................................................................................................................................................... 10
Mode ............................................................................................................................................................. 17
Panels ............................................................................................................................................................ 17
Content Layout.............................................................................................................................................. 18
2
PVII TPM2 (TPM2) 3
Options .............................................................................................................................................................. 18
Page Load...................................................................................................................................................... 18
Triggers ......................................................................................................................................................... 19
Current Marking............................................................................................................................................ 20
Animation ..................................................................................................................................................... 20
3
PVII TPM2 (TPM2) 4
Content Layout...................................................................................................................................................... 29
How do I edit the Tabs in the iTabs or Glassy Green Themes? ....................................................................... 31
4
PVII TPM2 (TPM2) 5
Overview ........................................................................................................................................................... 34
Overview ........................................................................................................................................................... 36
Overview ........................................................................................................................................................... 38
Overview ....................................................................................................................................................... 40
5
PVII TPM2 (TPM2) 6
Overview ....................................................................................................................................................... 42
Overview ........................................................................................................................................................... 45
Overview ........................................................................................................................................................... 49
Finished ............................................................................................................................................................. 50
6
PVII TPM2 (TPM2) 7
Overview ........................................................................................................................................................... 51
Finished ............................................................................................................................................................. 52
Overview ........................................................................................................................................................... 53
Finished ............................................................................................................................................................. 54
7
PVII TPM2 (TPM2) 8
Overview ........................................................................................................................................................... 55
Finished ............................................................................................................................................................. 59
8
Installation 9
Installation
Look for the extension installer file p7_TPM2_250.mxp (or higher) in the root of the zip archive you downloaded. If you
purchased the upgrade to TPM1, the installer file name will be p7_TPM2_250_upg.mxp (or higher). Double-click the file
to install the extension. Dreamweaver's Extension Manager will open and you will be prompted to complete the
installation. Once the installation is complete, restart Dreamweaver.
OS X users: If, upon double-clicking the installer, Extension Manager does not properly launch, you have a file association issue. To remedy the problem
locate the installer file from inside a Finder window and double-click it.
9
Overview 10
Overview
Tab Panel Magic 2 includes some very powerful features. The list below describes some important features that you can
use to streamline your workflow and meet your project requirements.
Automatic Upgrade of Tab Panel 1 widgets: The TPM2 system includes an auto-convert feature that allows you to
convert existing Tab Panel Magic 1 widgets to TPM2.
Create or Modify - with Nesting Support: The user interface is designed to open to the correct mode, Create or Modify,
based on your current insertion point in the document:
If your insertion point is not within an existing TPM2 widget the user interface will open in Create mode.
If your insertion point is inside an existing TPM2 widget a dialog box will open allowing you to choose whether to
modify the existing widget or Create a Nested One. This allows you to easily add new TPM2 widgets into the
content panels of existing TPM2 widgets, a process called nesting.
When you nest one TPM2 widget inside another you need to select the same Style Theme for the nested widget as the one that is assigned to the
parent widget. This is not a product limitation but rather a limitation of the natural way that CSS cascades from parent element to child elements.
Style Themes: TPM2 includes 12 Style Themes, including freshened versions of the original TPM1 themes plus several
new themes employing some visually striking CSS3 effects.
Trigger Actions: TPM2 widgets can be set to work on Click or on Click and Mouse Over. These actions can be set
individually for each TPM2 widget on the page. Either method is compatible with Apple iDevices and phones.
Auto Width and Auto Height: By default, a TPM Widget automatically adapts to the width of the page element into which
you insert it—but can also be set to a fixed width by assigning a width in the CSS Style sheet. By default, a TPM Widget
automatically adapts to the height of each content panel.
Scrolling Triggers (Tabs) Support: The TPM system can automatically provide scrolling control arrows when the
number of triggers is such that they will not all fit within the width of your layout container. This allows you to add as
many triggers and panels as you like and still have the triggers fit into the allocated space. Arrows at either end of the Tabs
bar allow you to scroll the Tabs left and right to reveal those that do not fit in the available horizontal space. If you turn
this option off and your triggers do not fit on one line, they will wrap to multiple lines.
Dreamweaver Template Support: The system is 100% Dreamweaver Template compatible. You can insert one or more
widgets into a template (.dwt) page at any time. You can also insert one or more widgets into a template-based page. The
system will automatically detect the template and adjust to allow insertion into an editable region.
Visible Panel at Startup: Your widget can be set to open a specific or a random panel each time the page loads.
No animation
Vertical Panel Slider (the default)
Horizontal Panel Slider
Fade
Image Support: The system supports using images for the panel triggers and automatically handles pre-loading,
swapping, multiple state management and current marking. This automation requires that you follow an image file name
convention discussed later in this guide. The system supports up to 3 different image states.
10
Overview 11
External Linking and Bookmark Support: An opener detection system is included that allows you to set up links with
special parameters that will load a page and also trigger a specific panel in a TPM widget on that page. The opener will look
for the TPM widget number, an underscore, and the TPM content panel number. There are 2 methods available:
Anchor Method: The system will look for "#tpm" plus a panel reference after the anchor. The anchor
index.htm#tpm1_4 will trigger panel 4 in the first TPM Widget on the page.
URL Parameter Method: The system will look for "tpm=" in the URL parameter. The URL parameter
index.htm?tpm=2_4 will trigger panel 4 in the second TPM Widget on the page. You can then give out the link so
people can go directly to your specific content panel.
Note: This feature is meant to be used on links to your page from external locations—not on links that are in your page.
Included Dreamweaver Behaviors: The system also includes a suite of Behaviors that can be used to create custom
TPM2 actions on links located anywhere on your page:
Open Panel - The Open Panel Behavior can be used to create Open Panel actions on links located anywhere on
your page:
Auto Panel Rotator - The Rotator Behavior allows you to display each of your widget's panels in slide show
fashion. Each panel will be displayed sequentially with a timed pause (that you can adjust in the main TPM2
interface) between panels.
Removal: A handy Remove TPM2 command is included that can be used to quickly and thoroughly remove any TPM2
widget from your page.
11
Overview 12
TPM2 will adapt to the width of the element in which it was inserted—whether that width is fixed or flexible. In the
absence of a containing element, the widget will stretch the full available width of your browser window. You can insert as
many individual TPM2 widgets as you like on your page. Each one can be configured independently with different options
and features. Different TPM2 widgets on a single page can share the same style theme or be set to separate style themes. A
nested widget, however, should be set to the same theme as its parent. Each widget can contain any type of content. Content
panels are directly editable in Dreamweaver Design View using normal Dreamweaver editing techniques.
-Establish the insertion point for your new TPM2 widget by clicking in the area of the page where you would like the
widget to be created.
-Click the TPM2 icon in the PVII Section of Dreamweaver's Insert Bar or choose Insert > Studio VII > Tab Panel
Magic 2 by PVII.
12
Overview 13
Configure your widget, set your options, and then click OK to build the widget at your insertion point.
You can create more than one TPM2 widget on your page. Add as many as you like.
Tip: When you insert a TPM2 widget, all content will be visible and fully expanded in Dreamweaver to make adding and editing content a simple task. TPM2
functionality can be tested by previewing in your browser.
13
Overview 14
Asset Folders
When you create a TPM2 widget, the system creates an assets folder named p7tpm at the same level as the page that
contains your widget. This folder will contain a JavaScript file, relevant CSS file (or files), as well as an img sub-folder that
contains the background images used by the CSS. A Fireworks folder will be created at the same level as the p7tpm folder
and will contain editable versions of all necessary background images. Each Fireworks file is named to correspond with its
associated Style Theme: tpm01.png through tpm12.png. The Fireworks folder does not need to be uploaded to your Web
server. If you choose to insert multi-column content into panel, the system will also create a p7ehc folder, which will
contain a small script used to display your columns equal height.
When you publish your site, make sure you upload the entire p7TPM folder. The Fireworks folder does not need to be
uploaded to your Web server.
14
Overview 15
-Click the TPM2 icon in the PVII Section of Dreamweaver's Insert Bar or Insert Panel—or choose:
Modify > Studio VII > Modify Tab Panel Magic 2 by PVII
Note: If you use a Macintosh computer, Apple bugs will sometimes cause the Modify menu to be inactive (grayed out). If this happens to you, use the icon to
launch the interface. You can also launch the interface from the Insert menu. The system will open the interface in the appropriate mode whether you use the
Insert Menu, Insert Panel/Bar or the Modify menu.
Note: This dialog only appears when your insertion point is inside of another Panel system. If your insertion point is not inside a Panel widget the interface
will open directly to the main Panel interface in Create mode. If you are nesting, make sure that the nested widget is set to use the same Style Theme as its
parent.
15
Overview 16
16
Overview 17
Mode
Displays the current operational Mode for the user interface: either Create or Modify. When in Modify mode, the id of the
TPM2 widget being modified will also be displayed.
Panels
This box displays the text for each panel trigger in the TPM2—one line for each panel or external link. Select (click) the line
you wish to act on.
Add
Click the Add button to add a new content panel. A new line will be created with the default text "Trigger Text". The new
line will be created immediately after the currently selected line.
Delete
Click the Delete button to remove the currently selected line. The content panel will be removed.
Up
The Up button will move the selected line in the Panels list up one row. Successive clicks will keep moving the line up, one
row per click, until the line is at the top of the list.
Down
The Down button will move the selected line in the Panels list down one row. Successive clicks will keep moving the line
down, one row per click, until the line is at the bottom of the list.
Trigger Text
The Trigger Text box will always display the text of the currently selected line in the Panels list. The system will display
Trigger Text as the default text when first adding a new content panel. Enter or edit the text that you wish to display for
this panel heading. The box cannot be left blank.
Note: If an image has been assigned, this box will be disabled (grayed out) and contain the file name of the assigned image. Removing the Image Path will re-
enable this box.
17
Overview 18
Enter the path to your image, or Browse to it. Valid image types are: gif, jpg, and png. The image you select must always
be the default state image. TPM2 will automatically locate your over and open images based on the Image Swap Option
you select.
Alt Text
Enter a description (Alt Text) for the related image.
Content Layout
Select a custom column configuration for your content panel. This option is only available when you create a new panel
inside your widget. If you want to change the layout of an existing panel, create a new one below the existing one and set
the Content Layout you desire. After your widget is updated, copy the content from the existing panel into the new one.
Then open the TPM2 interface again and delete the original panel.
Options
These settings are applied to the current TPM2 widget. Other TPM2 widgets on the same page can have different options.
Page Load
You can configure how TPM2 sets up when the page first loads into the browser.
Auto Rotate
TPM2 includes an automated panel rotator system that will display each panel in succession, starting with the currently
active panel. The system also includes a Rotate Behavior that allows you to control the Rotator actions externally.
Play on Startup
Check this box if you want to have the panel rotator start automatically when the page first loads.
18
Overview 19
Number of Cycles
The system will display all of the panels in succession once—or you can set it to loop any number of times. Enter the
number of times you want the system to loop through the rotation. To have the Rotator loop indefinitely simply enter a
very high number, such as 9999.
Triggers
Scrolling
The TPM system can automatically provide scrolling control arrows when the number of triggers is such that they will not
all fit within the width of your layout container. This allows you to add as many triggers and panels as you like and still
have the triggers fit into the allocated space. If you turn this option off and your triggers do not fit on one line, they will
wrap to multiple lines. This option's animation speed can be adjusted using the Duration box.
None - Scrolling is disabled and no scrolling arrows will show. If there are more Tabs than can fit in one row then the Tabs
will wrap to a second row to assure that all of the Tabs are visible and accessible to the user.
Auto Tab Positioning - Scrolling is enabled. Scroll arrows will show at the left and right of the Tabs row. When scrolling
right the scroller will align the first Tab in the next series to the left of the Tab viewport. When scrolling left the scroller
will align the last Tab in the next series to the right of the viewport. This assures that each tab is fully visible at least once
through a complete scrolling session.
Normal Scrolling - Scrolling is enabled, scroll arrows will show at the left and right of the Tabs row. The scroller will
advance the Tab row by the width of the Tab viewport. No Auto Tab positioning is performed. This scrolling mode is the
ideal choice when using images for the Tab triggers.
Duration
This option allows you to control speed for the trigger Auto Scrolling animation. Duration defines the total amount of time
that the scrolling will run, in milliseconds, regardless of a trigger panel's dimensions. The default 250 (a quarter of a
second) is fine in most cases. Lower the Duration setting and the scrolling will be faster. Raise the setting to make the
scrolling slower.
19
Overview 20
Current Marking
These settings control the operation of the included automatic Current Marking system.
Enable
Check this box to enable automatic current marking (highlighting) of links. The system looks for links in the widget's
panels that match the current page URL (address). When a match is found, the link is highlighted and the panel that
contains the link is set to be the currently active one. The system assigns a special style class named current_ mark to this
link and also to its associated Trigger Link. This provides a visual "you are here" indicator.
Note: This box must be checked in order to use the Advanced Current Marker features for the widget.
Animation
You can choose from 3 animation methods or animation can be turned off.
Animation List
Duration
This option allows you to control the animation speed. Duration defines the total amount of time that the animation will
run, in milliseconds, regardless of a content panel's dimensions. The default 300 (a bit less than one third of a second) is
fine in most cases. Lower the Duration setting and the animation will be faster. Raise the setting to make the animation
slower.
20
Overview 21
Single Image Only -Choose this option if you are using just a single image and do not want any image swap
actions on any of the trigger states.
Normal and Over - Choose this option if you are using two images: one normal image and one for the over
(hover) state. The over state image will also be used as the open (down) state and current mark images.
Normal, Over and Open Images - Choose this option if you are using three images: one normal image, one for
the over (hover) state, and one for the open (down) state. The open state image will be used for the current
marker images.
Note: Be sure to choose the option carefully to match the number of image states you are using. The system will pre-load the various state images based on
this selection.
Style Theme
TPM2 comes with a variety of pre-defined CSS style themes. Choose a theme that best approximates the look you desire.
You can later make edits to the style sheet to fully customize your TPM2 widgets. You can change to a different style theme
at any time without affecting the contents of the TPM2 widget.
A preview of the selected Style Theme is displayed to the right of the Style Theme select list. This Preview will change
whenever you select a different Style Theme.
21
Overview 22
Command Buttons
The following command buttons are available.
OK
When you are done, click the OK button to build the TPM2 widget. The system will verify your selections and alert you to
any problems that need your attention. If there are no problems, the interface will close and a TPM2 will be added to your
page or updated—depending on whether you were in Create mode or Modify mode. You can then preview in a browser to
operate the TPM2 and check its functionality.
Tip: To make further changes, click inside an existing widget then open the TPM2 interface.
Cancel
Click the Cancel button to completely abort the current operation. This will close the interface and no changes will be made
to your page.
Help
Click the Help button to open the associated Help File in your browser. This page can remain open for easy reference while
you continue working with the TPM2 interface.
22
CSS Glossary 23
CSS Glossary
Each of the TPM2 Style Themes has its own related CSS file, which is named to match the theme. For example, the CSS file
associated with Style Theme 01-Win Tabs is named p7tpm01.css and each rule in the style sheet begins with the
matching class name ".p7tpm01". Let's explore each rule in the p7tpm01.css style sheet to see what it does and how you
can customize it.
Under certain circumstances, you might want to set a fixed width. If you do set a fixed width, your widget will
automatically center when placed in a wider container or if it is a direct child of the body. Centering occurs because margin
is set to "0 auto". If you set a fixed width but would like your widget left aligned, simply change the margin value from "0
auto" to "0".
In most of the themes the container provides a matte, which is created using padding, background color, and sometimes
borders. You can adjust these as you see fit.
Font-family for the entire widget and all its contents is set.
For some themes, we use border-radius to round the outer corners. Some themes also use the CSS3 box-shadow property
to assign drop shadows to the outer box. To read about the border-radius and box-shadow specifications, refer to the
actual W3 Specification.
Note: CSS3 border-radius and box-shadow are supported by modern browsers including Firefox, Opera, Safari, Chrome, and IE9. Older browsers default to
rectangular corners and no shadows.
23
CSS Glossary 24
.p7TPM_arrows_01 .p7TPM_arrow_R {
float: right;
}
.p7TPM_arrows_01 a {
display: block;
text-decoration: none;
color: #CCC;
text-indent: -9999px;
width: 26px;
background-repeat: no-repeat;
background-position: 0px 0px;
}
.p7TPM_arrows_01 .p7TPM_arrow_L a {
background-image: url(img/tpm01_west.jpg);
}
.p7TPM_arrows_01 .p7TPM_arrow_R a {
background-image: url(img/tpm01_east.jpg);
}
.p7TPM_arrows_01 a.off {
display: block;
background-position: 0px -138px;
cursor: default;
}
.p7TPM01 .p7TPMtabs_viewport {
position:relative;
overflow:hidden;
zoom: 1;
}
24
CSS Glossary 25
If you want to customize the image, do so in the included Fireworks file named tpm01.png in the Fireworks folder
generated when you created your Tab Panel. After editing the images, export the web slices back to your p7tpm/img
folder to overwrite the originals.
25
CSS Glossary 26
If you want to customize the image, do so in the included Fireworks file named tpm01.png in the Fireworks folder
generated when you created your Tab Panel. After editing the images, export the web slices back to your p7tpm/img
folder to overwrite the originals.
In other Style Themes, no images are used. Instead, you might see background-color, CSS3 box-shadow, CSS3 border-
radius, and CSS3 linear-gradient. To read more about CSS3 linear gradients, see the actual W3 specification. Here is a quick
example of how CSS linear gradients are deployed in the Carbon Style Theme:
.p7TPM10 {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#444444');
background: -webkit-gradient(linear, left top, left bottom, from(#222222), to(#444444));
background: -moz-linear-gradient(top,#222222,#444444);
background: linear-gradient(#222222, #444444);
}
It's really quite simple and all you need to be concerned with are the starting and ending colors in each version of the
property. We are created a simple linear gradient that starts on the top with color #222222 and ramps down to an ending
bottom color of #444444.
The Carbon Theme is quite remarkable in that it creates a gradient-based look that works in most modern browsers and
even in versions of IE down to IE5.5. And it's all done without using a single image.
26
CSS Glossary 27
The border-radius in this rule is expressed in CSS shorthand, with 4 values. The 4 values represent the 4 corners of the
box, starting with the top left, then moving clockwise to top right, bottom right, and bottom left. So the values "0 5px 5px
5px" render a 5px curve for all sides except for the top left, which remains rectangular.
Not all Themes use this rule due to different arrow designs or because the panel wrapper corners are not rounded.
27
Important notes 28
Panels Viewport
This special class turns off all Microsoft filters to ensure that the viewport element in a nested TPM widget will not inherit
filters assigned to its parent’s viewport.
.p7TPMcwrapper_01 .p7TPM_vp {
filter: none;
}
Important notes
Please note the following points
About Fading
Firefox and IE8 have some cosmetic issues with text fading that could cause flashing or ghosting until the fade
completes. The Firefox issue is duly noted on Mozilla's development site and will likely be fixed in Firefox version
4. The bug manifests itself only when using certain text colors over certain background colors. Black text over a
white background is fine, while gray text over white will cause ghosting. Setting a background color on the
content panel will sometimes help, but this is not always viable with some of the more advanced CSS3 style
themes. The IE8 issue will be fixed for IE9. This is not an issue caused by our script and is apparent when any
script is used for text fading. The fade animation works wonderfully and elegantly for content that is mostly
image-based. A little text here and there is not a problem, but you might want to consider another animation if
your content is all text.
28
Content Layout 29
Content Layout
When adding a new panel you can choose from 7 content layouts:
Note: This option is available ONLY for newly created panels and it will unavailable (grayed out) for any existing panels. If you want
to change the layout of an existing panel, create a new one below the existing one and set the Content Layout you desire. After your
widget is updated, copy the content from the existing panel into the new one. Then open the TPM2 interface again and delete the
original panel.
29
Content Layout 30
If you want to customize the appearance of a column, it is best to assign a custom class to the relevant DIV and create a CSS rule in
your page style sheet. As an example, let’s say you wanted to set a background color of orange on the left column of a 2-column 50-
50 structure. The default markup would look like this:
That’s it!
30
Content Layout 31
You simply need to change the background-color value. The value is expressed using RGBA, which stands for Red-Green-
Blue-Alpha. Dreamweaver can help you to determine the RGB values. The Alpha value is simply a percentage of
transparency.
31
Content Layout 32
To determine the RGB values, use the Hex color you set in the "old browser" rule above. Let's say you set that to #6C6.
Locate the property in your CSS Styles Panel and open the color picker. Click the System Color Picker icon (beach ball):
Your RGB numbers are listed as the Red, Green, Blue values: 102, 204, 102. So change your background color to:
background-color: rgba(102,204,102,1);
32
Content Layout 33
33
Converting a TPM1 Widget to TPM2 34
The Tab Panel Magic 2 user interface is designed to open to the correct mode based on your current insertion point in the
document:
If your insertion point is not within an existing Tab Panel Magic 1 widget the user interface will open in the
normal Tab Panel Magic 2 Create mode.
If your insertion point is inside an existing Tab Panel Magic 1 widget the Convert from Tab Panel 1 dialog box will
open allowing you to choose whether to Convert (Upgrade) the existing widget or Create a new Tab Panel Magic 2
widget inside the existing Tab Panel Magic 1 widget —a process known as nesting. If you do decide to nest, please
make sure you set your nested widget to the same Style Theme as its parent.
Whenever the current insertion point is inside of an existing Tab Panel Magic 1, the Convert from Tab Panel 1 interface will
open.
Choose an Action
Convert to TPM2
Click this button to launch the Convert (Upgrade) process. The system will open the Tab Panel Magic 2 Modify interface
populated with the existing Tab Trigger and Panel data from the Tab Panel Magic 1 system. The Style Theme and
Animation options will be reflected in the interface.
When the Tab Panel Magic 2 interface opens make any additional changes and set any new options as desired, then Click
OK to finish the Convert process.
34
Converting a TPM1 Widget to TPM2 35
The entire html markup of the original Tab Panel Magic 1 widget will be replaced by the new Tab Panel Magic 2
html markup.
The Tab Panel Magic 1 style sheet link will be removed, and a new, default, Tab Panel Magic 2 style sheet be
linked in its place.
The Tab Panel Magic 1 script link will be replaced by the Tab Panel Magic 2 script link.
The Tab Panel Magic 1 initializer, normally set to the <body> onLoad event, will be removed.
35
PVII Tab Panel Magic 2
36
Image File Naming Convention
The system automatically loads the appropriate image based on the Image Swap option chosen in the User Interface.
When you choose an image in the TPM User Interface, you only choose the Normal (base) image. The system will look at
your Swap Options and, if additional images are required, it will look for those images in the folder that contains your
Normal image.
This automation requires that you follow an image file naming convention. Your base (normal state) image file name can
be anything you like, but you must follow a naming convention for the "Over" and "Open" state images. For example, if you
name your base image myButton.gif, the following conventions must be used for your additional state images:
The image that displays when users mouse over the base image would be named: myButton_over.gif
The image that displays when its associated panel is showing would be named: myButton_down.gif
The default naming convention is designed to work with the default Fireworks (CS4) naming convention for exporting
multiple state images. Our naming convention is user-definable to allow you to match your image editor's capabilities or
your own requirements.
36
PVII Tab Panel Magic 2
37
Image File Naming Convention
1. Open the p7TPMscripts.js file located in the p7pmm folder. Near the top of the file you will see 3 lines (not counting the
comments):
// image for any trigger that has an open sub menu -no rollover
var p7TPMopen='_down';
2. To change the naming convention simply change the assigned text that follows the equal (=) sign in each of the three
lines.
For example, if you want to change the naming convention to use the appendages _over, _open, and _marked, change the
assignments so they look like this:
// image for any trigger that has an open sub menu -no rollover
var p7TPMopen='_open';
Now the Tab Panel Magic 2 system will use this revised naming convention to locate the over, open and mark state images.
The image file names, using this customized naming convention, would look like:
As you can see, any naming convention will work by managing the text assignment for each image state in the scripts file.
Note: If you create a system in another folder or site, and you want to use a revised naming convention, you will need to update the script file in that folder.
37
PVII Tab Panel Magic 2 -Remove 38
-Choose Commands > Studio VII > Remove Tab Panel Magic 2... to open the Remove interface.
Note: The Remove option will be unavailable (grayed out) if there is no Tab Panel Magic 2 widget on the page. Some Mac systems have compatibility
problems with Dreamweaver. If the Remove command is grayed out and completely inaccessible download and install this command: Return False Fix
After installing it, restart Dreamweaver and your menus will be accessible.
The interface will provide a listing of all of the Tab Panel Magic 2 widgets on your page. The list will display the root ID of
each widget.
-Select the widget that you wish to remove from the listing (you can only remove one widget at a time).
Tip: If you are unsure about which widget relates to which ID, click the Cancel button and switch to Code View. In Code View, locate all IDs that begin with
p7TPM. The opening DIV tag for a Tab Panel Magic 2 widget looks like this: <div id="p7TPM_1" class="p7TPM01">
38
PVII Tab Panel Magic 2 -Remove 39
If there are no remaining Tab Panel Magic 2 widgets on your page, the system will also remove the link to the Tab Panel
Magic 2 JavaScript file.
39
PVII Tab Panel Magic 2 -Remove 40
Overview
The Tab Panel Magic 2 system includes an Open Panel Behavior that allows you to remotely open any panel in any Tab
Panel Magic 2 widget on your page.
The Interface
Select the widget that you wish to apply the action to.
40
PVII Tab Panel Magic 2 -Remove 41
OK
When you have made your selection, click the OK button to apply the behavior. By default the behavior will be applied to
the "onClick" event of the text link or image. You can change the event by selecting the desired event in the Behaviors
panel.
Cancel
Click the Cancel button to completely abort the current operation. This will close the interface and no changes will be
made to your page.
Help
Click the Help button to open the associated Help File in your browser. This page can remain open for easy reference while
you continue working with the Tab Panel Magic 2 interface.
41
PVII Tab Panel Magic 2 -Remove 42
Overview
The Tab Panel Magic 2 system includes a Rotator Behavior that allows you to display each of your widget's panels in slide
show fashion. Each panel will be displayed sequentially with a timed pause (that you can adjust) between panels. The
rotation can be limited to one cycle of panels or can be set to loop multiple times.
This feature can also be set to run automatically when the page first loads, in order to gain the user's attention and/or
expose all of the content panels briefly, and is controlled as an option in the main Panel Tab Panel Magic 2 interface.
The Interface
The Rotator interface allows you to select the Rotation options.
42
PVII Tab Panel Magic 2 -Remove 43
Select the widget that you wish to apply the action to.
Action
Select the action to apply:
Start
This will start a new Rotator cycle. Each panel will be displayed successively and rotation will continue for the number of
cycles specified in the Number of Cycles box in the main Tab Panel Magic 2 user interface. The Rotation will start from the
currently active panel.
Stop
This will Stop the Rotator completely at its current panel location.
Pause
This will Pause the Rotator at its current panel location.
Resume
This will resume a Rotator cycle. Each panel will be displayed successively and rotation will continue until number of
cycles specified in the Number of Cycles box in the main Tab Panel Magic 2 user interface is reached. The Rotation will
start from the currently active panel.
Number of Cycles
This controls the number of times the system will repeat each rotation. All panels are displayed in one rotation. The
system will replay the rotation again for the number of times specified in this option. If you want the rotations to run
indefinitely, set a very large number of cycles such as 9999.
43
PVII Tab Panel Magic 2 -Remove 44
OK
When you have made your selection, click the OK button to apply the behavior. By default the behavior will be applied to
the "onClick" event of the text link or image. You can change the event by selecting the desired event in the Behaviors
panel.
Cancel
Click the Cancel button to completely abort the current operation. This will close the interface and no changes will be
made to your page.
Help
Click the Help button to open the associated Help File in your browser. This page can remain open for easy reference while
you continue working with the Tab Panel Magic 2 interface.
44
Advanced Current Marker 45
This default Current Marker feature works automatically, without user intervention—but it does rely on matching the
current page's URL to the hyperlinks contained in the widget. In most cases this will work just fine. However, when the
current page is not reflected as a link in the widget, the current marker will not be able to find a match and no marker is
applied. Fortunately, Tab Panel Magic 2 includes an Advanced Current Marker system to allow you to handle these
exceptions so that even pages that do not appear as links in the widget can have a specified link Current Marked.
Note: Use the Advanced Current Marker ONLY when the page does NOT appear as a link within the widget system. In other words, the Advanced Current
Marker is designed to handle the exceptions that go beyond the capabilities of the default current marking feature.
The Advanced Current Marker system is designed to be 100% Dreamweaver Template friendly. It can be applied to any
template or template-based page. The system will detect the page type and process accordingly.
45
Advanced Current Marker 46
-Click inside the Tab Panel Magic 2 widget that you wish to act on.
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker Options...
Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Tab Panel Magic 2 html markup on the page or if you have not
clicked on the widget you wish to act on.
The interface allows you to manage each of four options and also allows you to Remove an existing Advanced Current
Marker.
To activate the Advanced Current Marking feature you simply click the radio button next to the option you wish to use:
46
Advanced Current Marker 47
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker...
Note: When the Advanced Current Marker interface is in Modify mode, a Remove button appears in the column of command buttons on the right edge of the
interface window.
In this example, the interface opens with the URL option selected. The system will detect which option is being used on the
page and set the interface accordingly.
47
Advanced Current Marker 48
The system will completely remove the Advanced Current Marker settings from your page.
48
Advanced Current Marker
49
"None - Disable All"
-Click inside the Tab Panel Magic 2 widget you wish to act on.
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker Options...
Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Tab Panel Magic 2 html markup on the page or if you have not
clicked inside the widget you wish to act on.
49
Advanced Current Marker
50
"None - Disable All"
The interface has four options from which to choose. The radio button to the left of each option determines which option is
currently active. The default setting is always the second option.
Finished
-Click the OK button to apply the selected Advanced Current Marker to the current page.
Note: If your preferences are set to Preview using temporary file, this feature will not work locally. To preview locally, turn off the Preview using temporary file
option in Dreamweaver Preferences.
50
Advanced Current Marker
51
Link Text Marking Option
This feature should only be used on pages that are NOT linked in the widget. The Advanced Current Marker is designed to
address current marking only for those pages that are not represented in the widget. If the page does have a corresponding
link in the widget then that link will be used by the default current marker instead.
-Click inside the Tab Panel Magic 2 widget that you wish to act on.
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker Options...
Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Tab Panel Magic 2 html markup on the page or if you have not
clicked on the widget you wish to act on.
51
Advanced Current Marker
52
Link Text Marking Option
The interface has four options from which to choose. The radio button to the left of each option determines which option is
currently active. The default setting is always the second option.
For this example, let's assume that you want to highlight the root trigger link that contains Page Three as its text.
This tells the system to look for the item in the widget that contains Page Three as its text. When found, the system will
apply the special current marker style class to it.
Finished
-Click the OK button to apply the selected Advanced Current Marker to the current page.
Note: If your preferences are set to Preview using temporary file, this feature will not work locally. To preview locally, turn off the Preview using temporary file
option in Dreamweaver Preferences.
52
Advanced Current Marker
53
URL Match Option
-Click inside the Tab Panel Magic 2 widget that you wish to act on.
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker Options...
Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Tab Panel Magic 2 html markup on the page or if you have not
clicked on the widget you wish to act on.
53
Advanced Current Marker
54
URL Match Option
The interface has four options from which to choose. The radio button to the left of each option determines which option is
currently active. The default setting is always the second option.
For this example, let's assume that you have a page that pertains to the "Products" section of your site, but this page is not
represented as a link in the widget. Your products section is represented in the widget with a link (href) value of
page_three.htm.
This tells the system to look for the link value (href) in the widget that contains page_three.htm. When it's found, the
special current marker style class is assigned to it.
Finished
-Click the OK button to apply the selected Advanced Current Marker to the current page.
Note: If your preferences are set to Preview using temporary file, this feature will not work locally. To preview locally, turn off the Preview using temporary file
option in Dreamweaver Preferences.
54
Advanced Current Marker
55
"Folder:Text Match"
-Click inside the Tab Panel Magic 2 widget that you wish to act on.
-Choose Commands > Studio VII > Tab Panel Magic 2 by PVII > Advanced Current Marker Options...
Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Tab Panel Magic 2 html markup on the page or if you have not
clicked on the widget you wish to act on.
55
Advanced Current Marker
56
"Folder:Text Match"
The interface has four options from which to choose. The radio button to the left of each option determines which option is
currently active. The default setting is always the second option.
The interface allows you to add as many Folder Name :: Link Text pairs as you like. The first pair is always pre-defined and
ready for editing.
-Enter the folder name extensions into the If Url contains this Folder Name box.
56
Advanced Current Marker
57
"Folder:Text Match"
The interface now reflects your changes. The first Folder Name :: Link Text pair is defined.
The system will apply the current marker to the Extensions widget item whenever the page contains the extensions
folder in its address (URL).
-Click the Add button. A new Folder Name :: Link Text line item is created in the interface. The values are preset to default
values, ready for editing.
-Enter the folder name, products, into the If Url contains this Folder Name box.
57
Advanced Current Marker
58
"Folder:Text Match"
-Select the Products link text in the Mark this Link Text drop down.
The interface now reflects your changes. Two Folder Name :: Link Text pairs are defined.
A new Folder Name :: Link Text line item is created in the interface.
-Enter the folder name, products/menusystems into the If Url contains this Folder Name box.
This will instruct the system to apply the current mark to the widget Systems link item whenever the page contains
products/menusystems in its URL.
58
Advanced Current Marker
59
"Folder:Text Match"
The system moves the selected item up one line. Now the search for the compound folder name will be made before the
search for the products folder name.
You can move any selected line Up or Down. Each time the button is clicked the selected item will move one line.
Finished
-Click the OK button to apply the selected Advanced Current Marker to the current page.
Note: If your preferences are set to Preview using temporary file, this feature will not work locally. To preview locally, turn off the Preview using temporary file
option in Dreamweaver Preferences.
59
Support and Contact info 60
Note: If you have trouble linking directly to news servers, use your default newsreader's program options to set up a new account and
point it at the following server:
forums.projectseven.com
If you have another newsgroup-capable program that you are using, please see its documentation to learn how to add a
new newsgroup account.
Note: PVII newsgroups are private and have nothing to do with UseNet feeds that may be provided by your ISP. That is, you will not find
our newsgroups in a list of newsgroups distributed by your internet service provider. You must set up our news server as a new account.
60
Support and Contact info 61
E-Mail:
[email protected]
Phones:
330-650-3675
336-374-4611
Snail mail
Project Seven Development
339 Cristi Lane
Dobson, NC 27017
61