Seperating Spry Tabs and Panel.

I know this is asked a lot. And on some topic someone said it was impossible.
But i cant believe it cant be done.
I posted the same message here: http://forums.adobe.com/message/2694106
But because no one awnsers to it, and i believe it IS possible to alter the Spry code so it works in a seperate way im posting this as a new topic.
I have a site already and hate to change everything just because i like to use Spry tabbed panels.
I now have this set up with div floats.
HEADER
MENU  CONTENT
FOOTER
I already have this working code in the Menu div. The buttons work and the code is ready for Spry if i get the seperate content working.
<div id="WNavigation">
         <div id="TabbedPanels1" class="VTabbedPanels">
            <ul class="TabbedPanelsTabGroup">
         <li class="TabbedPanelsTab" tabindex="0">
          <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
          <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr>
          <td style="padding-right:0px" title ="Home">
          <a href="/index.html" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td>
          </tr></table>
          </li>
         <li class="TabbedPanelsTab" tabindex="0">
          <style>#Info a{display:block;color:transparent;} #Info a:hover{background-position:left bottom;}a#Info {display:none}</style>
          <table id="Info" width=0 cellpadding=0 cellspacing=0 border=0><tr>
          <td style="padding-right:0px" title ="Info">
          <a href="/Info.html" title="Info" style="background-image:url(Buttons/Info.png);width:172px;height:75px;display:block;"><br/></a></td>
          </tr></table>
          </li>
         <li class="TabbedPanelsTab" tabindex="0">
          <style>#Gallerij a{display:block;color:transparent;} #Gallerij a:hover{background-position:left bottom;}a#Gallerij {display:none}</style>
          <table id="Gallerij" width=0 cellpadding=0 cellspacing=0 border=0><tr>
          <td style="padding-right:0px" title ="Gallerij">
          <a href="/gallerij.html" title="Gallerij" style="background-image:url(Buttons/Gallerij.png);width:172px;height:75px;display:block;"><br/></a></td>
          </tr></table>
        </li>
          <li class="TabbedPanelsTab" tabindex="0">
          <style>#Contact a{display:block;color:transparent;} #Contact a:hover{background-position:left bottom;}a#Contact {display:none}</style>
          <table id="Contact" width=0 cellpadding=0 cellspacing=0 border=0><tr>
          <td style="padding-right:0px" title ="Contact">
          <a href="/Contact.html" title="Contact" style="background-image:url(Buttons/Contact.png);width:172px;height:75px;display:block;"><br/></a></td>
          </tr></table>
        </li>
        </ul>
        </div>
     </div>
I put animated buttons on it. And if i ever get the seperate Content div working i need to change the links to open the panel instead of a normal URL.
What i want to do next is put the TabbedPanelsContent into the Content div instead of the Menu div.
But everything i tried didnt work out right.
The TabbedPanelsTabGroup is now completly in the Menu div and i wish someone can post alternate code that i can put in the Content div.
So i am not using this code right now: (my page works without it for now)
  <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">Content 1</div>
    <div class="TabbedPanelsContent">Content 2</div>
  </div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
Please let someone make the content and tabs seperate!!!

WRobN1 wrote:
I know this is asked a lot. And on some topic someone said it was impossible.
But i cant believe it cant be done.
In a previous post I did say that you cannot separate the tabs from the panel. By that I really meant that you must keep the structure, including ID's and CLASSes as follows for the widget to work in its standard format.
<div id="TabbedPanels1" class="TabbedPanels">
  <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
    <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
</ul>
  <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">Content 1</div>
    <div class="TabbedPanelsContent">Content 2</div>
  </div>
</div>
If you want to use the DIV <div id="TabbedPanels1" class="TabbedPanels"> as your mainContent area, UL <ul class="TabbedPanelsTabGroup"><div class="TabbedPanelsContentGroup"> as your menu and DIV  as your content area, then that is OK.
Using style rules you can style the tabs as you wish as well as the content area. You can move the content area down from the tabs using the following style rule
.TabbedPanelsContentGroup {
   margin-top: 150px;
As said, it does not matter how you style the widget, the structure must stay intact.
WRobN1 wrote:
         <li class="TabbedPanelsTab" tabindex="0">
          <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
          <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Home"><a href="/index.html" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td></tr></table></li>
When you do use the mark-up as above, please remember that by definition  the <STYLE>-tag must be within the <HEAD>-area and try to use DIV's, SPAN's etc instead of using tables.
I hope the above helps.
Ben

Similar Messages

  • ANN: Linking to non-default Spry tab or panel - tutorial

    Spry 1.6 includes a file called SpryURLUtil.js that makes it
    easy to
    link to a specific tab or panel in a Tabbed Panels or
    Accordion widget.
    I've created a step-by-step tutorial explaining how to use
    it. You can
    find it on my site at the following URL:
    http://foundationphp.com/tutorials/spry_url_utils.php
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

    That should be built in, as it is in all PVII Widgets.
    Being how Spry has grown to be such an important part of your
    books and
    other writings, perhaps you would agree (and maybe even be
    able to influence
    Adobe) that what Spry needs is a re-writing rather than
    updates.
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"
    "David Powers" <[email protected]> wrote in message
    news:fokosr$l1e$[email protected]..
    > Spry 1.6 includes a file called SpryURLUtil.js that
    makes it easy to link
    > to a specific tab or panel in a Tabbed Panels or
    Accordion widget. I've
    > created a step-by-step tutorial explaining how to use
    it. You can find it
    > on my site at the following URL:
    >
    >
    http://foundationphp.com/tutorials/spry_url_utils.php
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Spry Tabs + Collapsable Panels

    Hello,
    I have tabs within collapsable panels and in firefox and IE you can see the tabs even if that panel is not open. Any ideas on how to fix this situation?
    Thanks, here's my example:
    http://www.robvanwyen.com/cv/rfblair/
    Best,
    Rob

    V1 Fusion I was going through Spry forums and saw a problem
    that another user had similiar to mine and was wondering if you
    could offer some support. I am using the Tabbed panel from Spry and
    can only get 5 tabs across before it starts a new tab below the
    others. I was looking thru CSS file but not sure what can be
    changed so I can allow 6 tabs accross. I'd send you link but it's
    behind a firewall. I can send you a screen shot with email address.
    Any help greatly appreciate it!!!!!!

  • Spry tabbing and URL variables

    Hi there,
    Thanks to these forums I can now link to my lovely Spry tabs.
    However, I'm no longer able to pass my page variable by URL and I
    was wondering if there was a work-around for this. My basic link is
    as follows:
    <a href="index.cfm?ID=#ID#"
    onclick="TabbedPanels1.showPanel('third'); return
    false;">#eventName#</a>
    The link is tied to a specific database entry and, when
    clicked, should load that entry on the panel. The entry is to
    display on the third panel. While the panel links fine, the
    database entry isn't called as the variable isn't passed.
    Any ideas how I can best this little problem?
    Thanks!

    Kibbage.TEESO wrote:
    The biggest reason I try to not use URL parametersis that URL paramteres open you to SQL injection attacks.
    No more then Form variables do.  If you think that form variables are somehow magically more secure from injection or any other type of tampering then url variables then you have a very week understanding of Internet technology.
    It is no harder for me to modify a form [POST] variable then it for me to modify a url [GET] variable on any request I send to your server.  If your server trusts the form variables and does not take precautions; then your application is open to SQL injuection and other hacks.

  • Multiple sets of Spry Tabbed Sliding Panels?

    I have my code set up for one sliding panel set with three tabs but I want to copy that set and create another set of the same 3 sliding tabs right below it with different content. However, when I copy it to the next set, clicking the second set of tabs still causes the first sets sliding Panel to slide. Furthermore, a few elements of the css are no longer being read for the second set, including the script in the .SlidingPanels that hides any of the text box outside of the specified dimensions.
    Attached are a txt file for my html and css if that helps.
    Any help on this would be greatly appreciated.
    Thanks!
    [Moved to Spry forum by moderator]

    The constructor appears at the bottom of your sliding panel code, in exactly the format that Arnout has shown. You do not need to go into the javascript file for it.
    But the first thing I think you need to do is to make sure that you match the classes (and format) you are using with the classes per your sliding panels style sheet.
    Here is the essential markup (your content is not here; this is based on a plain example widget):
    <div style="margin: 0 auto; width: 350px; border: solid 1px red;">
    <a href="#" onclick="sp.showFirstPanel();">First Panel</a> | <a href="#" onclick="sp1.showPreviousPanel();">Previous Panel</a> | <a href="#" onclick="sp1.showNextPanel();">Next Panel</a> | <a href="#" onclick="sp1.showLastPanel();">Last Panel</a> | <a href="#" onclick="sp1.showPanel('p4');">Panel 4</a><!--example to show specific panel-->
    <div id="panelwidget" class="SlidingPanels" style="margin: 0 auto;">
    <div class="SlidingPanelsContentGroup">
        <div class="SlidingPanelsContent" id="p1">Panel 1</div>
        <div class="SlidingPanelsContent" id="p2">Panel 2</div>
        <div class="SlidingPanelsContent" id="p3">Panel 3</div>
        <div class="SlidingPanelsContent" id="p4">Panel 4</div>
        <div class="SlidingPanelsContent" id="p5">Panel 5</div>
        <div class="SlidingPanelsContent" id="p6">Panel 6</div>
            </div>
        </div>
        <script type="text/javascript">
       var sp1 = new Spry.Widget.SlidingPanels("panelwidget");
        </script>
    Note that the ID of the <div id="panelwidget" class="SlidingPanels"> matches the "panelwidget" in the constructor
    var sp1 = new Spry.Widget.SlidingPanels("panelwidget");
    For your second panelgroup, make <div id="panelwidget_01" class="SlidingPanels"> and change the constructor to
    var sp2 = new Spry.Widget.SlidingPanels("panelwidget_01");
    And of course the onclicks in the nav area should change for the second sliding panels set to use sp2 instead of sp1.
    I hope that Arnout will correct me if I have got it wrong!
    Best,
    Beth

  • Tabs and Panels

    Hey again. I have a JTabbedPane, with buttons, and another, larger Panel to the right of it. I need to be able to change the main Panel when a button is clicked. Unfortunatly, when I add content to it, the change doesn't show up until I change tabs on my TabbedPane. Changing the background colour works instantly though. Any ideas?
    Thanks!

    Swing related questions should be posted in the Swing forum.
    The method revalidate() is undefined for the type Panel revalidate() is for Swing components.
    You shouldn't be mixing AWT components with Swing components. Panel is AWT. You should be using JPanel which is a Swing component.
    You could also consider using a CardLayout, which was designed for this purpose:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html

  • Spry Tabs Panel and Paypal

    Is there a way to integrate paypal with Dreamweaver Spry Tab Panels?  I have a site and have used the add to cart code outside of the spry tabs and it works fine as in adds my product to the paypal shopping cart.  When I put the same code into the spry tables, it simply sends me to the paypal homepage and not to the shopping cart.  I need help!!  Any advice would be truly appreciated.
    http://www.takingteainstyle.com/black.html
    Thank you

    Most likely caused by malformed code.  Use the W3C validation tool to check your HTML code for errors.
    http://validator.w3.org/
    You have unclosed <tr> tags in your tables.
    Nancy O.

  • Spry Menus on Spry Tabbed Panels?

    Hi,
    I'm designing a site that has major tabs at the top, each of which takes the visitor to an appropriate section of the site... each with a default section overview page and a horizontal nav menu that's appropriate for that section. (This design is similar to going to a site like AT&T and clicking on top tabs for Home, Small Business or Enterprise. Once you've done so, the menu below then presents links appropriate to the Home, Small Business or Enterprise products.) I've been trying to implement this by putting instances of Spry Menus in Spry Tabbed Panels within the TabbedPanelsContentGroup div. Specifically, I have the MenuBarHorizontal class is each TabbedPanelsContent div/class.
    I have the basic layout working, but the wiring is mystifying me. Clicking the various tabs indeed presents the correct corresponding menus. But I also need to figure out how to make clicking a section tab go to the section overview page (which happens to also correspond the first menu item, "Overview", in each section). There's no real <a href> kind of option that's apparent in conjunction with the TabbedPanelTabs in the TabbedPanelsGroup. Is there a way to force a particular page to display when switching tabs? Or am I trying to use the wrong tool for the job and there's a better technical approach to implementing this design?
    I've tried David Powers' blog entry re "Opening Specific Tabs and Panels from Another Page" (http://foundationphp.com/tutorials/spry_url_utils.php), but it describes exactly what the title implies.
    Thanks!
    Jeffrey

    Hi, Jeffrey,
    I think I'm going to need to diagram this out!
    Let's see...when you say "major tabs at the top" are you referring to a separate MenuBar or are you speaking of Spry Tabbed Panels?
    You of course realize that if you are speaking of Spry Tabbed Panels, that EVERYTHING on the panels is on one page. If that is your main organization, yeah, it's a little hairy.
    Now, if you have a "normal" one-level set of nav buttons that each takes you to a page that contains a set of Tabbed Panels for that "department," that will get you where you need to be without quite as much mind-blowing follow-the-wire through the wall hijinks, if you know what I mean.
    Here is a site that I put together using Spry Tabbed Panels: http://www25.uua.org/uuhs/index.html Although the top "tabs" nav looks like Tabbed Panels tabs, the Tabbed Panels don't start until you get inside the site, and there I use Vertical tabs (on the left side) and on the Panels have put lots of Spry Accordions.
    By using this technique, you have an effective "landing page" on each "department" linked to with the top navigation buttons.
    Best of luck, and watch out for short-circuits!
    Beth

  • How to use H1, h3, h4 etc when using Spry Tabbed Panels?

    Hi folks,
    I am using Spry Tabbed Panels 2 on my site as it's the only way I know to direct visitors to particular tabs with links.
    Unfortunately I can't use any of my header tags because H2 is dedicated to the Spry tabs, and for some reason has also taken "ownership" o all H tags.
    Is there another way to mark my headings accordingly without having them turn into tabs?
    My site is at www.qtnz.co.nz/activities
    Thanks in advance for advice,
    Jo

    To help you on your way, have a look at the following. Just copy and paste into a new document and view in your favourite browser.
    <!DOCTYPE html>
    <html>
    <head>
      <!-- To avoid horizontal scrolling in this code listing. -->
      <base href="http://ajax.googleapis.com/" />
      <!-- Reference the theme's stylesheet on the Google CDN -->
      <link href="/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css"
            type="text/css" rel="Stylesheet" />
      <!-- Reference jQuery and jQuery UI from the CDN. Remember
           that the order of these two elements is important -->
      <script src="/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
      <script src="/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
      <!-- Initialize the tabs when the document is ready -->
      <script type="text/javascript">
        $(document).ready(function() {
          // See the jQuery UI Tabs documentation for
          //  more information about how this works.
          $('#tabs').tabs();
      </script>
    </head>
    <body>
      <div id="tabs">
        <ul>
          <li><a href="#tab-1">Tab 1</a></li>
          <li><a href="#tab-2">Tab 2</a></li>
          <li><a href="#tab-3">Tab 3</a></li>
        </ul>
        <div id="tab-1">
          <p>These tabs were created with JavaScript, CSS, and
            images hosted on Google's AJAX APIs CDN.</p>
          <p>Thanks, Google!</p>
        </div>
        <div id="tab-2">
          <h1>YEAH!</h1>
          <p>My header!</p>
        </div>
        <div id="tab-3">
          <!-- Tab 3's content goes here. -->
        </div>
      </div>
    </body>
    </html>

  • Is it possible to change the selectedTab text color in SPRY Tabs?

    Was working with SPRY tabs and the client would like the font color to change to white on roll over and select.
    Is this possible through simply adding a single line of code to the css file of the SPRY file under
    .TabbedPanelsTabSelected {
        height: 46px;
        width: 168px;
        background-color: #a7b9c3;
        color: #f7f7f7;
    as you can see I already attempted to change the color and wasn't able to achieve the results on
    http://ebnerproductions.com/index22.html
    If it is possible, awesome, if not, I will replace with rollover images to get the desired result.
    Adam Ebner
    Thank you again to everyone in the forum as you have all helped me big time in the last couple of days!!!!!

    I've gone through the coding now for a couple of days and still cannot get the font color to change on select.
    I tried to inserted the recommended
    <style>
    .TabbedPanelsTabSelected,
    .TabbedPanelsTabHover {
         color: #FFF;
    </style>
    coding that was offered earlier, and it did nothing....
    here is the CSS for my tabbed panels... PLEASE LET ME KNOW WHAT I HAVE DONE WRONG, OR FORGOT!!!!
    site is ... http://ebnerproductions.com/index22.html
    Here is the Spry css ....
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* Horizontal Tabbed Panels
    * The default style for a TabbedPanels widget places all tab buttons
    * (left aligned) above the content panel.
    /* This is the selector for the main TabbedPanels container. For our
    * default style, this container does not contribute anything visually,
    * but it is floated left to make sure that any floating or clearing done
    * with any of its child elements are contained completely within the
    * TabbedPanels container, to minimize any impact or undesireable
    * interaction with other floated elements on the page that may be used
    * for layout.
    * If you want to constrain the width of the TabbedPanels widget, set a
    * width on the TabbedPanels container. By default, the TabbedPanels widget
    * expands horizontally to fill up available space.
    * The name of the class ("TabbedPanels") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabbedPanels container.
    .TabbedPanels {
        margin: 0px;
        padding: 0px;
        float: left;
        clear: none;
        width: 810px; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
        position: absolute;
        left: auto;
        top: auto;
        color: #666;   
    /* This is the selector for the TabGroup. The TabGroup container houses
    * all of the tab buttons for each tabbed panel in the widget. This container
    * does not contribute anything visually to the look of the widget for our
    * default style.
    * The name of the class ("TabbedPanelsTabGroup") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabGroup container.
    .TabbedPanelsTabGroup {
        margin: 0px;
        padding: 0px;
        width: 840px;
        color: #666;
    /* This is the selector for the TabbedPanelsTab. This container houses
    * the title for the panel. This is also the tab "button" that the user clicks
    * on to activate the corresponding content panel so that it appears on top
    * of the other tabbed panels contained in the widget.
    * For our default style, each tab is positioned relatively 1 pixel down from
    * where it wold normally render. This allows each tab to overlap the content
    * panel that renders below it. Each tab is rendered with a 1 pixel bottom
    * border that has a color that matches the top border of the current content
    * panel. This gives the appearance that the tab is being drawn behind the
    * content panel.
    * The name of the class ("TabbedPanelsTab") used in this selector is not
    * necessary to make the widget function. You can use any class name you want
    * to style this tab container.
    .TabbedPanelsTab {
        position: relative;
        top: 0px;
        float: left;
        padding: 0px;
        margin: 0px;
        list-style: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        cursor: pointer;
        height: 41px;
        width: 158px;
        outline:none;
        text-align: center;
        font-family: Archer-Medium-Pro.otf;
        font-size: 1.4em;
        font-weight: normal;
        color: #666;
        font-style: normal;
        padding-top: 8px;
        -moz-border-top-right-radius: 8px;
        -moz-border-top-left-radius: 8px;/* for older versions of Firefox) */
        -webkit-border-top-right-radius: 8px;
        -webkit-border-top-left-radius: 8px;/* for older versions of Safari and Chrome */
        border-top-right-radius: 8px;
        border-top-left-radius: 8px;/* Newer browsers */
    /* This selector is an example of how to change the appearnce of a tab button
    * container as the mouse enters it. The class "TabbedPanelsTabHover" is
    * programatically added and removed from the tab element as the mouse enters
    * and exits the container.
    .TabbedPanelsTabHover {
        background-color: #EEE;
        color: #FFF;
        width: 158px;
        outline:none;
    /* This selector is an example of how to change the appearance of a tab button
    * container after the user has clicked on it to activate a content panel.
    * The class "TabbedPanelsTabSelected" is programatically added and removed
    * from the tab element as the user clicks on the tab button containers in
    * the widget.
    * As mentioned above, for our default style, tab buttons are positioned
    * 1 pixel down from where it would normally render. When the tab button is
    * selected, we change its bottom border to match the background color of the
    * content panel so that it looks like the tab is part of the content panel.
    .TabbedPanelsTabSelected {
        height: 41px;
        width: 158px;
        background-color: #a7b9c3;
        font: Archer-Pro-Medium;
        color: #FFF;
        outline:none;
    /* This selector is an example of how to make a link inside of a tab button
    * look like normal text. Users may want to use links inside of a tab button
    * so that when it gets focus, the text *inside* the tab button gets a focus
    * ring around it, instead of the focus ring around the entire tab.
    .TabbedPanelsTab a {
        color: #666;
        text-decoration: none;
        outline:none;
    /* This is the selector for the ContentGroup. The ContentGroup container houses
    * all of the content panels for each tabbed panel in the widget. For our
    * default style, this container provides the background color and borders that
    * surround the content.
    * The name of the class ("TabbedPanelsContentGroup") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the ContentGroup container.
    .TabbedPanelsContentGroup {
        clear: both;
        background-color: ;
        outline:none;
    /* This is the selector for the Content panel. The Content panel holds the
    * content for a single tabbed panel. For our default style, this container
    * provides some padding, so that the content is not pushed up against the
    * widget borders.
    * The name of the class ("TabbedPanelsContent") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the Content container.
    .TabbedPanelsContent {
        padding: 0px;
    /* This selector is an example of how to change the appearnce of the currently
    * active container panel. The class "TabbedPanelsContentVisible" is
    * programatically added and removed from the content element as the panel
    * is activated/deactivated.
    .TabbedPanelsContentVisible {
    /* Vertical Tabbed Panels
    * The following rules override some of the default rules above so that the
    * TabbedPanels widget renders with its tab buttons along the left side of
    * the currently active content panel.
    * With the rules defined below, the only change that will have to be made
    * to switch a horizontal tabbed panels widget to a vertical tabbed panels
    * widget, is to use the "VTabbedPanels" class on the top-level widget
    * container element, instead of "TabbedPanels".
    /* This selector floats the TabGroup so that the tab buttons it contains
    * render to the left of the active content panel. A border is drawn around
    * the group container to make it look like a list container.
    .VTabbedPanels .TabbedPanelsTabGroup {
        float: left;
        width: 10em;
        height: 20em;
        background-color: #EEE;
        position: relative;
        border-top: solid 1px #999;
        border-right: solid 1px #999;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTab {
        float: none;
        margin: 0px;
        border-top: none;
        border-left: none;
        border-right: none;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTabSelected {
        background-color: #EEE;
    /* This selector floats the content panels for the widget so that they
    * render to the right of the tabbed buttons.
    .VTabbedPanels .TabbedPanelsContentGroup {
        clear: none;
        float: left;
        padding: 0px;
        width: 30em;
        height: 20em;
    Thank everyone again for all the help!

  • Help with spry tabbed menu bar

    Hi.
    I need help with the spry tabbed menu panel (horizontal) It
    works fine in dreamweaver ( pressing f12 ) but when i goto my
    website www.so-nouveau.com it puts it all over and not in boxes
    either just the writing.
    I ahve double checked all uploading is correct and files are
    located but it wont work.
    Here is what i did >
    new> html> 1 column elastic,centered. i have not
    changed any other settings at all. Do i need to change the doc type
    or css layout in the drop down menus before starting (doc
    type=xhtnl 1.0 transitional and layout css=add to head)
    I am still on cs3 , does this matter ? or is 4 easier ?
    any help out there guys is much appreciated but please bear
    in mind that i am not a web designer or pc expert at all , this is
    just me building my own site , until nowit has been an enjoyable
    experience but grrrrrr when it dont work
    Thanks
    Jay

    so-nouveau wrote:
    > Hi.
    > I need help with the spry tabbed menu panel (horizontal)
    It works fine in
    > dreamweaver ( pressing f12 ) but when i goto my website
    www.so-nouveau.com it
    > puts it all over and not in boxes either just the
    writing.
    Please post links directly to the page having an issue. I saw
    no tabs on the home page, but I noticed that there is a link on the
    bottom of the page to this page that has a Spry tab on it:
    http://www.so-nouveau.com/test%208.html
    > I ahve double checked all uploading is correct and files
    are located but it
    > wont work.
    That page refers to a Spry JavaScript file and a Spry CSS
    file, which should be at the following locations but are not
    present:
    http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.js
    http://www.so-nouveau.com/SpryAssets/SpryTabbedPanels.css
    Make sure you upload the SpryAssests folder and see where
    you're at after that.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Linking between spry tabs

    I've created a page with spry tabs and want to place a link
    on a tab that will take the user to a place on another tab. I
    assumed that I would use named achors but can't get them to work.
    Any ideas?

    RSW14 wrote:
    > I've created a page with spry tabs and want to place a
    link on a tab that will
    > take the user to a place on another tab.
    To open another tab from anywhere in the same page, give the
    target tab
    an ID, and create the link like this:
    <a href="javascript:;"
    onclick="TabbedPanels1.showPanel('targetID')">Go
    to other tab</a>
    To go to a specific place within a tabbed panel, you would
    need to use
    SpryURLUtils.js, which is part of the Spry framework that you
    can
    download from Adobe Labs. Details of how to use it are on the
    following
    page:
    http://labs.adobe.com/technologies/spry/samples/utils/URLUtilsSample.html
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • Help me control Spry Tabs or Spry Accordion width

    I am using Spry Tabs and Spry Accordions in Liquid pages, inside a DIV with ID.
    I use an external CSS stytle sheet to control this ID and properly position the Spry Tabs or Spry Accordions inside the page.
    I would like to have these Tabs or Accordions panels filling the page with a 10px margin on both sides.
    I tried many CSS properties to have the DIV ID position the panel with both 10px margins...
    If I use a 100% width, the panel overshoots the width of the page by about 10 to 20 pixels.
    Using a 0px position and a 10px border on the right does not work.
    The only solution I found is using a 98% width (box and position), but it varies on larger screens...
    I am using Dreamweaver CS 5.5 on a Mac Pro.
    There must be some CSS trick that I don't know... But CSS should also be easier to use...

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
        padding: 0
        margin: 0
    html {
        background: #CCC;
        height: 100%;
    body {
        width: 960px;
        margin: auto;
        background: #FFF;
        height: 100%;
    .aside {
        width: 260px;
        float: left;
        background: #030;
        padding: 10px;
    .main {
        background: #6F3;
        padding: 10px;
        margin-left: 280px;
    </style>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
    </head>
    <body>
    <div class="aside">
      <div id="TabbedPanels1" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
          <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">Content 1</div>
          <div class="TabbedPanelsContent">Content 2</div>
        </div>
      </div>
    </div>
    <div class="main">
      <div id="Accordion1" class="Accordion" tabindex="0">
        <div class="AccordionPanel">
          <div class="AccordionPanelTab">Label 1</div>
          <div class="AccordionPanelContent">Content 1</div>
        </div>
        <div class="AccordionPanel">
          <div class="AccordionPanelTab">Label 2</div>
          <div class="AccordionPanelContent">Content 2</div>
        </div>
      </div>
    </div>
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script src="SpryAssets/SpryAccordion.js"></script>
    <script>
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </body>
    </html>
    Gramps
    PS Sorry, horible colours

  • Jump links to spry tabs don't work in firefox

    I created jump links from the top of a page to spry collapsible panel tabs. In Internet Explorer, the link doesn't bring me to the tab, but the tab changes color (rollover)--an unintended but very nice effect. In Firefox, the link does nothing.
    This is the 3rd time I've asked this question; I hope that someone can help.
    One example is here: http://www.judydiamondstone.net/Writing.html (click any of the jump links; in Firefox nothing happens; compare to most recent version of IE)
    Thanks.

    I checked out David Powers' tutorial
    Spry: Opening Specific Tabs and Panels from Another Page
    http://foundationphp.com/tutorials/spry_url_utils.php
    Although I couldn't open the zip file (spry_target.zip), I followed the directions to insert the URL.utils java script code needed to open tabs from another page, but it didn't work for me.
    I'd like to get the same effects in Firefox and Safari as I get in IE-8 (see below)
    What's the difference between these browsers that causes the difference in functionality?

  • Putting Spry Tabs below the content

    I need to put the navigation tabs below the content and have
    tried to cut-n-paste the <ul></ul> tags that hold the
    navigation but I just mess up the structure.
    How can I do this?
    Thanks ahead of time.
    C

    SecretSanta wrote:
    > I need to put the navigation tabs below the content and
    have tried to
    > cut-n-paste the tags that hold the navigation but I just
    mess
    > up the structure.
    >
    > How can I do this?
    FYI: Spry questions are probably best asked in the Spry
    forums:
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    The Spry tabbed panels are set up for top tabs or vertical
    left tabs (although you have to change classes in code view to get
    a vertical view of the tabs). So you'd have to go in and rearrange
    the HTML code, change a little CSS and a couple of lines of
    JavaScript for the tabbed panels in order to accomplish what you're
    trying to do.
    Please note that you'll not see this visually within
    Dreamweaver properly as these changes will change the code base and
    Dreamweaver won't recognize what to do with the changes, however, a
    browser should show you what you want.
    Ok, first add a tabbed panel to your document and save the
    page to get the Spry assets into place. Next go into code view and
    move the UL that has the tabs below the DIV that has the content
    panels.
    Next we'll make the changes to the CSS and JavaScript within
    this page rather than modifying the Spry files. This will allow you
    to override the Spry defaults without messing up the base files in
    case you need the "regular" functionality later.
    So add a STYLE block to your page and open the
    SpryTabbedPanels.css file. Copy the .TabbedPanelsTab selector
    (lines 67-83) into your new style block. Then copy
    .TabbedPanelsTabSelected selector (lins 105-108) into the style
    block.
    In .TabbedPanelsTab change top:1px to top: -1px. Then in
    .TabbedPanelsTabSelected change border-bottom to border-top. These
    changes will allow the bottom tab to overlap the bottom of the
    content making it look seamless for the "selected" tab.
    You'll have this when you're done:
    <style type="text/css">
    <!--
    .TabbedPanelsTab {
    position: relative;
    top: -1px;
    float: left;
    padding: 4px 10px;
    margin: 0px 1px 0px 0px;
    font: bold 0.7em sans-serif;
    background-color: #DDD;
    list-style: none;
    border-left: solid 1px #CCC;
    border-bottom: solid 1px #999;
    border-top: solid 1px #999;
    border-right: solid 1px #999;
    -moz-user-select: none;
    -khtml-user-select: none;
    cursor: pointer;
    .TabbedPanelsTabSelected {
    background-color: #EEE;
    border-top: 1px solid #EEE;
    -->
    </style>
    Next create a SCRIPT block then copy the
    Spry.Widget.TabbedPanels.prototype.getTabGroup function (lines
    124-133) and
    Spry.Widget.TabbedPanels.prototype.getContentPanelGroup (lines
    144-153) into your script block. Next change the
    Spry.Widget.TabbedPanels.prototype.getTabGroup function return to
    return children[1] in its 7th line, and change
    Spry.Widget.TabbedPanels.prototype.getContentPanelGroup to return
    children[0] in its 7th lines as well. You'll have something like
    this in your page:
    <script type="text/javascript">
    <!--
    Spry.Widget.TabbedPanels.prototype.getTabGroup = function()
    if (this.element)
    var children = this.getElementChildren(this.element);
    if (children.length)
    return children[1];
    return null;
    Spry.Widget.TabbedPanels.prototype.getContentPanelGroup =
    function()
    if (this.element)
    var children = this.getElementChildren(this.element);
    if (children.length > 1)
    return children[0];
    return null;
    -->
    </script>
    Basically what this JavaScript change does is to move from
    the tabs being the first element within the div that wraps the tabs
    and panels, that is children[0] to its new position of the second
    element children[1]. Same thing with the content panels, except in
    the opposite direction, moving from second child element to first
    child element (JavaScript uses a start position of 0 for the first
    element).
    Should be good to go from there. If not, please post in the
    Spry forums.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

Maybe you are looking for

  • HP smart web printing is incompatible with Firefox 7.0.1

    HP smart web printing is incompatible with Firefox 7.0.1 Product name and model number: HP PHotosmart X7280 all in one printer OS : Windows seven 32 bit system

  • Update "error" message

    When trying to update my iPod the error message "The ipod cannot be updated because one or more of the iTunes playlists selected to be updated no longer exists" appears. Not sure what this means... any help circumventing this error message would be m

  • Cant uninstall acrobat 9.0 trial version

    1) I have windows 7 2) I downloaded acrobat pro trial version 3) I bought acrobat pro and downloaded via disk 4) I cannot delete trial version, or the purchased version. 5) acrobat pro will not work at all and I get an error message that by TRIAL has

  • Down payemt restriction for some vendors

    The issue is like this Down payment to some vendors to be restricted but not through the separate vendor account group because after some point of time my client may allow them (vendor) for down payment. Thanks in Advance

  • Alior Bank, MasterCard and iTunes App Store

    Hi, I'm from Poland. Propably activating payment methods in Poland is working correctly, but not wita my card. I've got 'flat' MasterCard from Alior Bank and I can't activate it. Can you do something wita it?