Links to spry tab content

Within one html file divided into Spry-tabs, I set a named
anchor in tab-content <div> of one tab and try to link to it
from within a different tab-content division of the same page.
Doesn't work - just sends me to bottom of division in the which
link is located. Surely this is doable -- Am I missing some simple
point?

bob_atlanta wrote:
> Within one html file divided into Spry-tabs, I set a
named anchor in
> tab-content <div> of one tab and try to link to it
from within a different
> tab-content division of the same page. Doesn't work -
just sends me to bottom
> of division in the which link is located. Surely this is
doable -- Am I
> missing some simple point?
You have to know which tab the anchor is within and then you
can show a specific tab. Check out the code on this page:
http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm
FYI: Spry questions are probably best asked in the Spry
forum:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert

Similar Messages

  • Internal Links in Spry tabbed Panels

    Does anyone know how to create internal links from tabbed
    panel to tabbed panel in a Spry tabbed panel asset?
    I used a tabbed panel layout for articls on my site, with
    each subsection of the article in a different tabbed panel.
    I want to put a link at the bottom of each tabbed panel's
    content allowing the reader to go to the next tabbed panel's
    content.
    I know the reader can click on the tabs at the top, but I
    want them to be able to click a "next page" button
    at the bottom of each tab as well.
    When I place a named anchor within the content of a tab's
    content and link to it from a word within another tab's content,
    the link does not work. I've tried it in Safari, Firefox, and IE.
    Doesn't work in any.
    If there's a Spry/Ajax expert out there, could you come up
    with a work around? Internal links within Spry Tabbed Panels would
    be very useful.
    An example of using the Spry tabbed panel format for a news
    article is here:
    http://www.avalonwine.com/Zanzibar-Cellars.php
    Thanks for help anyone can offer.
    Jean

    I am having the exact same problem. I would like to link an
    image from my "Home" tab to the top of my "Projects" tab. But the
    image link to the Named Anchor at the top of the "Projects" tab
    does not work. Named anchors within a tabbed panel work fine. I'm
    just not able to cross between tabs. Is there some script we can
    add to the link to invoke the Spry tabbed panel widget? thanks,
    Jen

  • Editing  spry tab content  using  adobe contribute 4

    Hi Everyone,
    We have used Sprytabs for different tabs section for there respective pages.
    We are using Contribute CS4 for editing spry tabs content, But after study I have figured that we can't edit
    sprytabs using Contribue CS4
    Is there any way in contribute that we can edit Spry tab content in contribue CS4
    Thanks in advance!
    Rohit Yog

    Spry widget editing is allowed from Adobe Contribute CS5 version only. Please refer to http://blogs.adobe.com/contribute/2010/06/spry_widget_rendering.html

  • PHP Form in Spry Tabbed Content Div

    I have placed some PHP forms inside some Spry Tabbed Content
    divs. When the forms are submitted, the page reloads with the
    default tabbed content displayed instead of the tab where the form
    is. If I click to the tab with the form, I can see the information
    PHP properly returned.
    Does anybody know how to make the Spry Tabbed Content script
    return to the tab that had focus when a PHP form is submitted
    instead of the default tab?
    Thanks in advance for any advice.

    Hi,
    On the main forum page you will have read the following.
    Announcement: New to Spry, or  the Spry forums?
    Hide Details
    Before you post a topic please verify that:
    You are using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    After you have upgraded and not removed the remarks from the Spry files, we will have another look at it.
    Ben

  • Change text "link" color only in Spry Tab content area

    I need to have multiple text link colors in my site for light
    and dark background colors. The only regions in my site that have a
    white background are in the Spry Tab Panel content area. I can't
    figure out how to change the text color for text links in the spry
    content only. I tried to add a:link ..etc... to the style sheet,
    but it did not effect anything
    (I also need to clean my style sheet (s). But that comes
    next.
    Here
    is a Link to a Sample Page in my site
    null

    Here is the SpryTabbedPanels style sheet in my site. I can't
    seem to figure out the changes I need to make to effect the content
    area.
    I tried to add the following (see .TabbedPanelsContentGroup
    below)
    a: link {
    color: #0099CC;
    text-decoration: none
    a:active {
    color: #99CC33;
    text-decoration: none
    a:visited {
    color: #0099CC;
    text-decoration: none
    a:hover {
    color: #99CC33;
    text-decoration: underline
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6
    /* 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;
    float: right;
    clear: none;
    width: 82%; /* IE Hack to force proper layout when preceded
    by a paragraph. (hasLayout Bug)*/
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 2px;
    padding-left: 0px;
    /* 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;
    /* 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: 1px;
    float: left;
    padding: 4px 10px;
    margin: 0px 1px 0px 0px;
    background-color: #CCCC99;
    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;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    /* 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: #99CC33;
    color: #000000;
    /* 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 {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEE;
    color: #000000;
    /* 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: black;
    text-decoration: 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;
    border-left: solid 1px #CCC;
    border-bottom: solid 1px #CCC;
    border-top: solid 1px #999;
    border-right: solid 1px #999;
    background-color: #FFFFFF;
    color: #000000;
    a: link {
    color: #0099CC;
    text-decoration: none
    a:active {
    color: #99CC33;
    text-decoration: none
    a:visited {
    color: #0099CC;
    text-decoration: none
    a:hover {
    color: #99CC33;
    text-decoration: underline
    /* 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: 4px;
    /* 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: #CCCC99;
    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: #CCCC99;
    border-bottom: solid 1px #999;
    /* 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;

  • Using links in Spry tabs

    I am using the spry accordion widget to allow an author to
    have a table of contents with the tab containing the name of the
    article and a link to the article page, and the accordion content
    area is an abstract of the article. The problem is that the link
    (in the tab) simply does not work in Internet Explorer. It works
    fine on mozilla based browsers and safari, you click on the link
    and go to that page successfully, but it refuses to work on
    Internet Explorer - clicking the link does nothing. I tried this on
    collapsable panels and found the same problem. If I place the link
    in the content area, the link works fine, but it will not work when
    the link is in the tab in Internet Explorer. Other interesting
    information: if I disable ONLY the spry javascript the links work
    fine, and if I disable ONLY the spry css the links work as well.
    Has anyone found a workaround to this problem?

    Hi,
    No. We do not have a way to achieve this as of now.
    Regards,
    Mukul

  • Link to spry tabbed section

    Hello,
    Is there a way to link to one of the spry tabbed sections? For example, I have a webpage in a site that has a spry vertical tabbed that has 7 tabs that display 7 section of content. I want to link to one of these sections from another page in the site. The page in question can be found here:
    http://www.troyldavis.com/capstone/products_services.html Similar to the way anchor tags work. I have DW CS4 and I'm using the vertical spry tab tool.
    I wasn't sure if I needed to post this to the general DW thread, so if I do let me know.
    Thanks,
    Troy

    I checked this out, but can't get it to work. Not sure what I'm doing wrong.
    The test file is here: http://www.troyldavis.com/capstone/linkfrom.html
    Thanks for the help.
    Troy

  • Issue using spry regions in spry tabbed content

    I am having a slight issue with making a slideshow in a spry tabbed panel set. I have tested my XML used for the slideshow in a basic blank page, where I created the spry source and detail regions, and it loads fine. When you click on the thumbnail, the detail region loads the image. But when I place the slideshow in my websites page, it is inside a spry tabbed panel set. Where it just doesn't seem to want to work.
    Has anyone had this issue?
    I posted a copy of the page at the link below. The slideshow is under the portfolio tab
    http://www.fscproductions.net/spry/
    Thanks
    JF

    Hi,
    On the main forum page you will have read the following.
    Announcement: New to Spry, or  the Spry forums?
    Hide Details
    Before you post a topic please verify that:
    You are using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    After you have upgraded and not removed the remarks from the Spry files, we will have another look at it.
    Ben

  • 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/

  • How to Display Repeat List In Spry Tab Content

    Hello,
    I am new to Spry. I thought I could just create an XML
    dataset, Insert a Spry Tabbed Panel, and then insert a Spry repeat
    list inside the Tabbed Content area of the Tabbed Panel. It is not
    working at all for me. Is this doable at all? If so, how?
    Thanks!

    hi,
    i have created an example in http://apex.oracle.com/pls/apex/f?p=44310:1:3623155419174978:::::
    username/password: demo/demo
    check, it may help you:)
    *please mark the thread answered if it done:)
    regards
    Little Foot

  • SPRY tabs content loading

    I am using SPRY tabs to display static content. I have 4
    tabs. When the page loads the content on all 4 tabs shows up one
    below the other.
    Could anybody suggest how I can stop that. The content for
    first tab should only show up on page load.
    Other tab content should load when that tab is
    clicked.

    My tabs work but the problem I have is that the content of
    all tabs loads when the page loads making it extremely slow.
    I've got galleries in the tabs, tab1 2008 tab 2 2007 tab 3
    2006 and photos in each gallery all load together.
    On another site I did I managed to get it to load the images
    in the tab when the user clicks on the tab speeding up initial load
    times for the page but I can't remember how I did it, it was
    accidental!!!

  • Link to spry tab panels

    HI there I'm new to this whole spry thing heck I'm even new
    to posting; I'm trying to link to a spry tab from a flash button
    and well it's just not working I can use the sample as written
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    and it will work to change tabs but I guess I'm not using it
    right for the flash button I've tried to set the
    onclick="TabbedPanels1.showPanel(0); return false;"
    and that didn't work and I also tried going into the code and
    adding
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="132" height="31" a href="#"
    onclick="TabbedPanels1.showPanel(0); return false;">
    and that doesn't work either what am I doing wrong? sorry if
    I posted in the wrong place. Thanks in advance for the help
    labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm

    It is possible to link to a specific tabbed panel from another page, may I suggest you use the following link to visit a post in the spry forum were you will find all the steps needed to do this.
    http://forums.adobe.com/thread/48312
    Richard

  • Link to spry tab or accorion not working

    I have gone to http://foundationphp.com/tutorials/spry_url_utils.php by Mr.Powers (great suff by the way!) and tried using the code in the tutorial just as described to create links to non-default tabs or accordions on other pages but not having any luck. The link takes me to the page, but not the target tab or accordion - whichever I try.
    Also, once I change the scrip code at the bottom of the page, it causes the tab or accordion panels to display as a continuation down the page, not contained within the element. As if a div tag were left out or something.
    First I copied SpryURLUtils.js from the Spry 1.6 release into the SpryAssets folder.
    (The 2 pages shown here are working test pages within my site for an accordion panel link).
    Here are the locations and code I entered into this page ( www.wilsonchiropractic.net/Research/Copy_CurrentLit.html )
    for a link to the bottom unopened (H1N1...) accordion panel:
    At the end of the head section:
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    Then at the end of the page withing the script tags, I modified the Accordion1 variable identifier to:
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: params.panel ? params.panel: 0});
    (this is the code that makes the entire panel set, accordion or tabs, to continue out of the panel container).
    Lastly this is the link from the starting page - ( http://www.wilsonchiropractic.net/LinkTest.html ):
    <a href="http://www.wilsonchiropractic.net/Research/Copy_CurrentLit.html?Panel=1#Addordion1">test link to research panel</a>
    There are a number of other links to tabs or other accordions I need to create. I would assume if I can get this coding figured out, I can get the others to work.
    Please Help!! Thank you!! --Jeff

    One obvious problem is this:
    <link href="../SpryAssets/SpryAccordion2.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    The link to SpryURLUtils.js is pointing to the wrong location. It should be this:
    <script type="text/javascript" src="../SpryAssets/SpryURLUtils.js"></script>

  • Link to Spry Tabbed Panels Tab?

    Is it possible to link to a specific Spy Tabbed Panels tab from another page?
    Thanks.

    It is possible to link to a specific tabbed panel from another page, may I suggest you use the following link to visit a post in the spry forum were you will find all the steps needed to do this.
    http://forums.adobe.com/thread/48312
    Richard

  • 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?

Maybe you are looking for

  • Getting Java 1.4 and 1.6 to both be available for applets on one machine.

    My problem is this, several of our clients are also clients of a banking institution who's online business banking solution is written in J2SE 1.4.2 or some such and will not run on any other version. Up until around J2SE1.5_06 this wasn't a problem,

  • I have lost all my notes data after restore. Anyone know how to retrieve notes after restore?

    I have lost all my notes data after restore. Anyone know how to retrieve notes after restore? I havent' took any backup of my notes in icloud. The moment I enter the password after restore my notes will be empty. The only option to get notes back is

  • Installing itunes on a new computer

    Please help!! I bought my daughter an ipod touch for xmas and set up itunes on my laptop and synced her music and some apps that i thought she might like, so her ipod is ready to go on xmas morning. Okay....problem is i've now got her a laptop of her

  • Servlets not working in tomcat-4.1.24

    Servlets are not working in a new context which I have created in tomcat-4.1.24. if i put the same servlet in examples context it is working. jsps are working in the new context also. any idea???? binny

  • Selecting album individually in new iTunes

    Hi, I just downloaded the iTunes update and I need some help. I used to use iTunes in list display. I would scroll to the artist I desired and then in the box next to it, there would be a list of albums by that artist. I'd then select an album and in