Tabbed panels, Collapsible Panel, and Server Side Include

Hi,
I'm having a problem with the way a Server Side Include inside a Collapsible Panel displays.
Here is how this particular page is set up.
The page has spry tabbed panels.
>>A panel has one overall Collapsible panel (the main product tab)
>>>>Nested in that Collapsible panel are four other collapsible panels (Overview, Features, Screenshots, What's New).
>>>>>>In each of these four collapsible panels is a server side Include that features that category's content
E verything works fine as far as opening and closing is concerned. However, the problem is with the display. The content panel doesn't resize with the Include content, and therefore, the Include content extends outside the border of the content panel.
I'm thinking this is because it is Include content rather than normal content. Is that right?
Do I fix this by changing the overflow value of one the Tabbed Panel CSS styles? If so, which one should I change, and to what value?
Or if that's not how to fix it, can anyone tell me how?
Thanks a lot,
Mike

Hi, I'm using the latest version of Spry. I modified some CSS rules of the tabbed panels, but not the javascript file. I didn't do anything to the Collapsible Panel rules.
Since first posting this thread, I changed the overflow of the Tabbed Panels Content Group CSS rule to "scroll". That did produce a scroll, but I'd much rather have the panel expand. So, I changed it back the way it was.
Here's the page I'm working on. Click the Court Solutions tab to get to the problem panel.
http://www.ptssolutions.com/Test/public_safety_products_3.shtml
It has different results in IE and FireFox, but doesn't work correctly in either.
Thanks a lot for all your help,
Mike

Similar Messages

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • RequestDispatcher.include and "server-side" include

    I have the following code in a servletA. It will dispatch a servletB within the same webapp. As a result, response content of servletB is included to a original servlet's response. Then servletA can add more data to a response before data is sent back to a client.
    servletB is called from client-side as normal, and then inside the servletA.
    Problem and Question to You:
    If I call servletB within servletA, then responses of these two servlets are merged together. This is a problem here.
    How can I dispatch servletB >>but then do not want to include<< that response data, but skip it. Only the response of servletA should be sent back to a client?
    RequestDispatcher dispatcher =
      getServletContext().getRequestDispatcher("/servlet/testServlet?id=AA");
    dispatcher.include(
      new HttpServletRequestWrapper(env.getRequest()),
      new HttpServletResponseWrapper(env.getResponse())
    );

    Thx and yes, you got it right. Due to a (bad) design, I cannot separate a logic to a standalone bean from servletB and then use that bean. So, I must call it through a url-dispatcher.
    If I'm right, I cannot take a reference to servlets from SessionContext object due to a deprecated-and-not-implemented getServlet method.
    I was hoping, that using a WrapperXXXX class would solve my problem but it did not. I am not sure about why and when should one use that WrapperXXX classes anyway in a dispatcher calls.
    Anyone has a good ideas?

  • Spry accordion widget - SSI (server side include) as content in the panel

    After having inserted the following command <!--# include file = "content2.asp" -> in the accordion Panel Content I get an error in Dreamweaver - every time I open the file. See the error in the attached picture.
    Once all files are uploaded to the server it works apparently without problems or script errors.
    Is there anyone who can help me to use SSI "server side include" as content in accordion panels?

    Thanks for your reply.
    The fault lay in the SSI file. This file contained these tag:
    </ html>
    And of course the tag </ html> generate an error if the tag is inserted in the content of the accordion panel via ssi file.

  • Spry Accordions, Tabbed Panels, and Collapsible Panels: changing colors

    I wanted to alert everyone to a great new Community article published by our very own David Powers. The article details the various best practices and methods for changing the colors of Accordion, Tabbed Panels, and Collapsible Panels widgets, including tab backgrounds, borders, and so on.
    Here's the article:
    http://kb2.adobe.com/community/publishing/504/cpsid_50437.html
    Customization questions are pretty frequent in both the Spry and Dreamweaver forums. This new styling guide is sure to answer lots of peoples' questions.
    Furthermore, the appearance of such an article is a great example of how Community content can interact and live symbiotically with Adobe Help. We've linked directly to David's piece from our own customization pages for the Spry Accordion, Tabbed Panels, and Collapsible Panels widgets:
    Customize the Accordion widget
    Customize the Tabbed Panels widget
    Customize the Collapsible Panels widget
    Thanks a lot to David for hammering out this article.
    If you're interested in publishing Community articles of your own, you can download the Community Publishing AIR application and get right to work!

    The borders you see, are called outline, its a accesiblity feature of the browsers,
    Actually called 'focus' lines  :-)
    Here's an article about the Bluefocus lines seen in Safari.
    http://www.brunobergher.com/blog/2009/01/19/safaris-blue-focus-lines/
    Without creating a Spry widget myself right now to test, but I'm sure thata there is a 'focus' rule in the css...
    trying the
    {outline:none;}
    on that rule.

  • Server Side Includes and Divs

    I have a template (dwt) for my site with editable regions for
    menus. I want to use Server Side Includes for the menu, as not all
    the pages will have the same menu.
    I have designed the site template (and pages) with css and
    divs. The area for the SSI is a div of size 145x335. The menu which
    I want to put inside this div will be a div based menu. I havent
    had any luck displaying the Div from the SSI yet. I have been
    looking on Google for help, but not much luck. I can get the Div to
    appear but the formatting doesnt show up.
    Im putting the SSI code in where I want it on the page, but
    im not sure exactly which code to get rid of in the shtml file. I
    know I need to remove body, head parts etc
    My site template uses CSS stored on the document, not an
    external css file.
    Any ideas?

    > Im sure Ive not got it right yet!! My head wont work
    lately!
    Yes. It's not working well here, either.
    Create your template with the editable region. In it, have
    links to a) the
    general stylesheet for all the pages, and b) the general
    stylesheet for all
    of the includes (these don't really need to be separate
    files). Spawn a
    child page, drop in the desired include, and save that page
    as
    whocares.shtml.
    That's it....
    The incude files themselves can be names anything you want -
    I like the
    'monkeybutt' extension, e.g.,
    yourinclude.monkeybutt
    The include files can make reference to CSS selectors, but
    cannot have
    embedded CSS rules, or links to external CSS files.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "~Billy~" <[email protected]> wrote in
    message
    news:eq234v$eq6$[email protected]..
    > Ive made myself confused now! I need it spelling out to
    me!
    >
    > Ok, a template file (dwt) with its css as an external
    style sheet.
    >
    > Rest of the sites pages made from the template file.
    >
    > Next, the template has one editable region for a choce
    of 2 div based
    > menus to
    > be placed into. Place either of these div menus into the
    template editable
    > region by creating two seperate SHTML files - one for
    each menu with the
    > body/head removed(and with internal or external css?)
    >
    > Next put the SSI code into the body of the template
    where I want the SSI
    > to
    > appear.
    >
    > Im sure Ive not got it right yet!! My head wont work
    lately!
    >

  • Server Side Includes for Apache and parsing text files

    I have an old website I used to do zipped up and I decided to set it up on my personal webserver in OS X . I got apache configured to allow server side includes (edited the httpd.conf to all them:
    <Directory />
    Options FollowSymLinks Indexes MultiViews Includes
    AllowOverride None
    </Directory>
    But I can't get the pages to come up. See I have this .shtml page which loads fine and a part of it has this line:
    <!--#include file="news/news.txt" -->
    But it won't parse that txt file and show the html that its formatted in.
    Anyone have any ideas on how to get it to parse that txt file? Even if I load just that txt file it shows raw code not it formatted. Please help.

    Ignore that first reply. I thought I was dealing with server.
    As usual, I fogot to make sure that Includes was in the Options directive for the DOCUMENT_ROOT or VirtualHost. After 10 years, you'd think I'd remember that. I just configged one of my macs to do SSI. Here's the 3 lines that I changed:
    Line 399 (the DOCUMENT_ROOT definition): Options Indexes FollowSymLinks MultiViews Includes
    Line 887 (To use server parsed HTML): AddType text/html .shtml
    Line 888: AddHandler server-parsed .shtml
    apachectl restart
    and off it went!
    Roger

  • Server side includes: outdated and not supported by host?

    I've been using SSI's for ages with no problem from any host. Recently I signed up with a new web hosting company, one of the more established ones in the Seattle area. They do not support SSI's and claim that using them is not safe and is not a modern approach to web design. They suggested I use a more advanced programming language to create my sites, such as ASP.NET (something I have no desire to do).
    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    -Jesse

    Are server side includes outdated and no longer the way to do things? I find that hard to believe.
    That language is from Microsoft who seem to think so along with Windows based hosting providers offering ASP.NET.
    IIS no longer comes with SSI installed by default. It has to be configured by the hosting provider.
    http://blogs.iis.net/robert_mcmurray/archive/2010/12/28/iis-notes-on-server-side-includes- ssi-syntax-kb-203064-revisited.aspx
    However, classic SSIs (in the sense of including static content from one page inside another) are still one of the most powerful, safe and flexible tools for managing repetitive page elements in any web page. Not to mention easy.
    ASP.NET has its own way of doing the equivalent of SSIs - and lots more beside but much of which does not interest web designers at this stage.
    http://stackoverflow.com/questions/894720/asp-net-equivalent-of-server-side-includes
    http://searchsoftwarequality.techtarget.com/answer/Alternatives-to-server-side-includes-fo r-ASPNET

  • Tabbed with Server Side Include

    Has anyone had any problems adding Server Side Include to the Spry Tabbed Pannels, everytime the I add a SSI to the tabbed content is locks up the tabs.
    Where the hell are to get support is this an interAKT, ADOBE or your on your own.

    Hello,
    I don't have an answer to your problem, because I've never tried this approach.
    However, I can tell you that this is an USER-TO-USER forum. If you need to request technical support from Adobe, you need to go here:
    http://www.adobe.com/go/support/
    regards,
    Ionut

  • Server Side Includes and Javascript

    Can one safely include javascript in a server-side include
    (SSI) file? It seems to work but don't know if it will create
    problems down the line. I am using a roll-over navigation bar
    created and generated in Fireworks. It seems to defeat the purpose
    of using SSI if you can't include the javascript since if there was
    a change at some point to the navigation bar you would have to
    change the javascript that went with it. And it is nice to keep all
    that extra coding out of every file on the site. IS there an
    official word on this or some process in creating a SSI file that
    could prevent any problems?
    You can see the file I created using this at
    http://www.hopkinsandporter.com/test.shtml

    > Can one safely include javascript in a server-side
    include (SSI) file?
    Yes, but it makes your parent page's derived code messy.
    > I am using a
    > roll-over navigation bar created and generated in
    Fireworks.
    This is a big mistake for so many reasons.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "TSemmes" <[email protected]> wrote in
    message
    news:e52id2$pt1$[email protected]..
    > Can one safely include javascript in a server-side
    include (SSI) file? It
    > seems
    > to work but don't know if it will create problems down
    the line. I am
    > using a
    > roll-over navigation bar created and generated in
    Fireworks. It seems to
    > defeat the purpose of using SSI if you can't include the
    javascript since
    > if
    > there was a change at some point to the navigation bar
    you would have to
    > change
    > the javascript that went with it. And it is nice to keep
    all that extra
    > coding
    > out of every file on the site. IS there an official word
    on this or some
    > process in creating a SSI file that could prevent any
    problems?
    >
    > You can see the file I created using this at <a
    target=_blank
    > class=ftalternatingbarlinklarge
    > href="
    http://www.hopkinsandporter.com/test.shtml">http://www.hopkinsandporter.co
    > m/test.shtml</a>
    >

  • Server Side Includes and php

    I have php forms on a site update.  I want to use a server side include to keep the dynamic menu off the template.  The include works on the home page and other .shtm pages, but not on the php.  This can't be impossible.  What's the hint?  I can't (or can I) save the php as .shtm. and the thread will not allow any of the file types to be attached.  Ergo ... the link:http://shrhabitat.org/index09.shtm, the include: http://shrhabitat.org/includes/hfhshrmenu.lbw, the contact form: http://shrhabitat.org/contactus.php
    don Carlos de la Playa

    Alrighty then,  What I did was add both html and php include code to the template.  It seems to work without duplication.  For the experts in the crowd, will this blow up in my face someday?  As near as I can tell, I just need to ensure that any changes are made to both files which, after all, clones of one another.
    Ya'll have a fine Virginia day, now. Y'hear?
    don Carlos de la playa

  • Server-side includes question

    I preface this all by saying that I have never used a
    server-side include but am considering it based on a suggestion
    from a thread yesterday.
    If I created a server-side include file that contained only
    my title banner/nav bar and placed that file at the top of each of
    my pages, would it then be possible to have content (Flash, in this
    case) from an editable region in a template-based file display on
    top of that banner? Can they overlap, I guess is what I'm asking.
    Thanks - JAY

    > This would probably be an issue mostly if you don't want
    to synchronize
    > your
    > entire site, I suppose. What about file directory
    issues? Can you keep
    > pages in
    > sub-directories based on the specific template from
    which they were
    > created or
    > will that cause problems (such as SSI functionality)?
    DW is quite smart enough to manage your page links.
    Plus, if you can use virtual includes, then the link to the
    include files
    will be the same for any page in any location in your site.
    So - you have no link worries in this sense. But a more
    specific example
    that leads you to ask your question might help get a better
    answer here.
    > class 1. I've got my nav bar/title banner
    > happening as an SSI to be included on all pages - class
    2. Lastly, all
    > page-specific content including detail text, images, and
    some info and nav
    > Spry
    > panels will appear in editable regions, (defined by
    divs, presumably?) -
    > class
    > 3. WIth the latter, I'll preload the editable regions
    with the type of
    > content
    > I want and then customize it on each page, relink, etc.
    Using an editable region for a section-specific navigation
    include is a
    great way to do it.
    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "LumberBisquit" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > But underlying it all is this nasty requirement to
    upload all changed
    > files.
    >
    >
    > This would probably be an issue mostly if you don't want
    to synchronize
    > your
    > entire site, I suppose. What about file directory
    issues? Can you keep
    > pages in
    > sub-directories based on the specific template from
    which they were
    > created or
    > will that cause problems (such as SSI functionality)?
    >
    >
    quote:
    > First, I mentally separate the page layout into three
    sections:
    >
    > 1. Stuff that will not change for the life of the site
    (i.e., the basic
    > structural elements)
    > 2. Stuff that *could* change from time to time (e.g.,
    navigation
    > elements,
    > burst advertisements, section-specific navigation, etc.)
    > 3. Stuff that *will* change from one page to the next
    >
    > Then I create a template containing all class1 elements.
    Next I create
    > server-side include files containing all class 2
    elements and place them
    > on the
    > template as needed. Note - some of the class 2 elements
    may be
    > "section-specific elements", and their placement on the
    template will be
    > subject to the next item. Finally, I insert editable
    regions to cover the
    > class
    > 3 items, INCLUDING the section-specific navigation.
    >
    >
    > This makes sense to me and is very much what I had in
    mind, (after asking
    > lots
    > of questions on this forum, that is). This site will
    need at least three
    > different structural pages - class 1. I've got my nav
    bar/title banner
    > happening as an SSI to be included on all pages - class
    2. Lastly, all
    > page-specific content including detail text, images, and
    some info and nav
    > Spry
    > panels will appear in editable regions, (defined by
    divs, presumably?) -
    > class
    > 3. WIth the latter, I'll preload the editable regions
    with the type of
    > content
    > I want and then customize it on each page, relink, etc.
    >
    > Thanks so much!
    >
    > JAY
    >

  • Server Side Includes with .irpt pages

    I am intrested in using server side includes within my .irpt pages for example
    <!#INCLUDE FILE="file.inc">
    specifically inside of my applet tags to reference a standard set of parameters that I would like to be passed into my display templates.  Does xMII have a similar representation of server side includes for .irpt pages?

    It might make your head explode, but in a good way...
    Also, you'll need 11.5 or newer to run this. There are so incredibly many opportunities that this might open up for you to deliver not only static, but also dynamic embedded server-side content.
    There are many aspects of xMII that are largely untapped.  A few common ones are the ability of the Runner servlet (which invokes xMII BLS transactions) to stream virtually any type of content back to the requestor (XML, HTML, text, images, PDFs, Excel, whatever).
    The other feature that not too many people use is the ability to use an xMII BLS transaction as a "stylesheet".
    Lastly, there is the little-known "<SERVLET>" tag that can be used in IRPT pages.
    Put all these pieces together, and amazing things can be done.  The example I'm going to show you uses a BLS transaction, but it can also be done with an XSL stylesheet (if the desired included HTML is static).  But let's go for the cool approach...
    Let's assume you have some "stuff", such HTML page content, that you want included in a specific position on your web page.  Let's also assume that this "stuff" resides in a file accessible at http://localhost/MyInclude.html (the file extension doesn't really matter).
    Create a new BLS transaction with no inputs and an output of type String (the name of the output doesn't matter - but in our case, let's assume you name it HTMLOutput).  To workaround a cosmetic bug (which will be fixed in a future patch), you should also create a second output (doesn't matter what name or type) - so add one called "DummyOutput" of type String.  Not worth explaining why - just do it. 
    Next, add either a TextLoader or HTMLLoader action (in the Web group) to your transaction (they both do the same thing, actually - just different icons).  In the Output links tab, assign the StringContent of the loader action to the transaction output.  This basically accomplishes the loading and streaming of your included "stuff".
    Save this transaction.  Let's save it in a folder called CoolStuff, with the name IncludeTest.
    In your IRPT page, add the following code where you want the "stuff" to appear.
      <SERVLET NAME="Illuminator">
           <param name="Stylesheet" value="xacute://CoolStuff/IncludeTest" />
         <param name="OutputParameter" value="HTMLOutput" />
         <param name="Output-Content-Type" value="text/html" />
         <param name="Content-Type" value="text/html" />
      </SERVLET>
    Save the IRPT page, load it, and you're in business!
    You can probably already start to envision to possibilities for adding more sophisticated business logic to create "dynamically" embedded content in your IRPT pages...
    Best regards,
    Rick

  • Server-side includes in cs5

    have used all previous versions of dw. no prior problem with server-side includes. now, they are not showing up in design view. Yes, I have marked preferences to include hidden items/server side includes. any thoughts anyone?

    I set up a static test site.  It has no testing server defined - just a local site.  In that site I have two files -
    1.  include-test.html
    2.  /_inc/test.html
    Their contents are -
    INCLUDE-TEST.SHTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <p>This is a test of SSI.  The following paragraph is an HTML include -</p>
    <!--#include file="_inc/test.html" -->
    </body>
    </html>
    TEST.HTML
    <p>Ut aliquip ex ea commodo consequat. Duis aute irure dolor eu fugiat nulla pariatur. Sunt in culpa ullamco laboris nisi quis nostrud exercitation.</p>
    When I look at Design view for include-test.html, I can see the contents of the include file, and I can see it listed as a related file below the filename tabs:
    So, I'm at a loss....

  • Converting Library Items to Server Side Includes

    Can someone direct me to a resource (Adobe or other) that
    explains how a LI can be converted into a SSI? Thanks in advance.
    tjinjax

    Open the *.lbi file, and save it wherever you want the
    includes to be saved
    with whatever extension you want your includes to have.
    Open the parent page, and find the code that represents the
    Library item.
    Select EVERYTHING between -
    this: <!-- #BeginLibraryItem "/Library/Address.lbi" -->
    and this: <!-- #EndLibraryItem -->
    INCLUDING those two lines.
    Click on the include icon on the Common tab on the toolbar,
    or use INSERT |
    Server Side Include. Browse to, and select the file in your
    list of include
    files. Click OK.
    You're done.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tjinjax" <[email protected]> wrote in
    message
    news:f49osl$ejk$[email protected]..
    > Can someone direct me to a resource (Adobe or other)
    that explains how a
    > LI can be converted into a SSI? Thanks in advance.
    > tjinjax

Maybe you are looking for

  • Two  iPods on one account?

    Aloha All, I'm buying a second iPod as my wife frequently borrows mine (she has no interest in using a computer) and I'm wondering if iTunes will support both my existing iPod and the second one I'm buying. I see no sense in having two separate accou

  • Weird graphics and other issues with internet explorer in all versions.

    One of our laptops has an issue with their Internet Explorer. First, whenever the user logs on and starts internet explorer and navigates to any website, the website loads for a bit but then immediately displays a "Page cannot be displayed" error. Ev

  • How much disk space does a typical system start up disk use?

    I am trying to partition a 640 GB hard drive for my 17" MacBook Pro. I created a partition of 30GB for the "System Start Up Disk", and after installing the original Tiger OSX software, and then doing the Leopard Upgrade Install, It says that I am out

  • Maximum hard drive size for HP HPE-180t

    Is there a way to have the entire space of a 4TB SATA III (6Gb/s) drive show up in Windows 7 x64 running on an HPE 180t?  I installed one such hard drive on my HPE-180t, and the BIOS only saw 2TB of space, and the drive did not show up in Windows.  H

  • How to get the size of driver[C: or D:]

    Hi Friends, I have a query regarding to java.. I want to get the name of all the drives that r connected to the System including network drives... and how to get the size of any system drive[For example C: or D: Drive]. I want the output to be displa