Sliding Panel - default panel

Hello,
I have looked in the documents section for the sliding panels
but I can't find a solution how NOT to show the content until a
user clicks on a link. If there is a solution documented, please
point me in the right direction. If not, can you advise how to best
go about it - or is it an effect?
Cheers,
tintin

add style visibility hidden to the div,
than use the SpryDOMUtirls.js onloadlistener to show it
(using document.getElementById and style.visibility

Similar Messages

  • Spry Sliding Panels - current panel height problem

    Hi guys,
    Ive been trying for a while to make the sliding panels widget
    show each panel in its own height instead of the longest panel's height in the container.
    I tried reading all the js file to play with it and find a solution but the truth is i dont know how to do what i want.
    I do, however, have a list of things that i believe if implemented should work,
    could you guys help me do these fixes on the js? ( the one you think will work )
    1. edit so that:  Panels dont have any height ( or panel content display none ) if it isnt current panel. If current panel is "id:1" the assume class 1 style properties. As soon as it looses focus/"currentpanel" class it looses its class 1 properties. And the new current panel ("id:2") assumes its own class 2 properties. And so on.
    2. edit so that:  PanelContainer ( the one that holds all the panels ) displays none BUT the current panel. So all panels could be display none unless they assume the "currentpanel" class and so they change to display. Maybe this way the container assumes only the height of the displayed panel and looses it once its no longer displayed assuming the next displayed one.
    3. edit so that:  Panel container checks for current panel's height and assumes that height instantly ( there is still a panel inside the container that would be longer than the current panel, maybe with overflow hidden this isnt a problem )
    Please, if you can make the change in the js, i would appreciate greatly appreciate it. There is nothing in the entire web in to fixing this.
    This is the SprySlidingPanels.js:
    // SprySlidingPanels.js - version 0.5 - Spry Pre-Release 1.6
    // Copyright (c) 2006. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    var Spry;
    if (!Spry) Spry = {};
    if (!Spry.Widget) Spry.Widget = {};
    Spry.Widget.SlidingPanels = function(element, opts)
        this.element = this.getElement(element);
        this.enableAnimation = true;
        this.currentPanel = null;
        this.enableKeyboardNavigation = true;
        this.hasFocus = false;
        this.previousPanelKeyCode = Spry.Widget.SlidingPanels.KEY_LEFT;
        this.nextPanelKeyCode = Spry.Widget.SlidingPanels.KEY_RIGHT;
        this.currentPanelClass = "SlidingPanelsCurrentPanel";
        this.focusedClass = "SlidingPanelsFocused";
        this.animatingClass = "SlidingPanelsAnimating";
        Spry.Widget.SlidingPanels.setOptions(this, opts);
        if (this.element)
            this.element.style.overflow = "hidden";
        // Developers can specify the default panel as an index,
        // id or an actual element node. Make sure to normalize
        // it into an element node because that is what we expect
        // internally.
        if (this.defaultPanel)
            if (typeof this.defaultPanel == "number")
                this.currentPanel = this.getContentPanels()[this.defaultPanel];
            else
                this.currentPanel = this.getElement(this.defaultPanel);
        // If we still don't have a current panel, use the first one!
        if (!this.currentPanel)
            this.currentPanel = this.getContentPanels()[0];
        // Since we rely on the positioning information of the
        // panels, we need to wait for the onload event to fire before
        // we can attempt to show the initial panel. Once the onload
        // fires, we know that all CSS files have loaded. This is
        // especially important for Safari.
        if (Spry.Widget.SlidingPanels.onloadDidFire)
            this.attachBehaviors();
        else
            Spry.Widget.SlidingPanels.loadQueue.push(this);
    Spry.Widget.SlidingPanels.prototype.onFocus = function(e)
        this.hasFocus = true;
        this.addClassName(this.element, this.focusedClass);
        return false;
    Spry.Widget.SlidingPanels.prototype.onBlur = function(e)
        this.hasFocus = false;
        this.removeClassName(this.element, this.focusedClass);
        return false;
    Spry.Widget.SlidingPanels.KEY_LEFT = 37;
    Spry.Widget.SlidingPanels.KEY_UP = 38;
    Spry.Widget.SlidingPanels.KEY_RIGHT = 39;
    Spry.Widget.SlidingPanels.KEY_DOWN = 40;
    Spry.Widget.SlidingPanels.prototype.onKeyDown = function(e)
        var key = e.keyCode;
        if (!this.hasFocus || (key != this.previousPanelKeyCode && key != this.nextPanelKeyCode))
            return true;
        if (key == this.nextPanelKeyCode)
            this.showNextPanel();
        else /* if (key == this.previousPanelKeyCode) */
            this.showPreviousPanel();
        if (e.preventDefault) e.preventDefault();
        else e.returnValue = false;
        if (e.stopPropagation) e.stopPropagation();
        else e.cancelBubble = true;
        return false;
    Spry.Widget.SlidingPanels.prototype.attachBehaviors = function()
        var ele = this.element;
        if (!ele)
            return;
        if (this.enableKeyboardNavigation)
            var focusEle = null;
            var tabIndexAttr = ele.attributes.getNamedItem("tabindex");
            if (tabIndexAttr || ele.nodeName.toLowerCase() == "a")
                focusEle = ele;
            if (focusEle)
                var self = this;
                Spry.Widget.SlidingPanels.addEventListener(focusEle, "focus", function(e) { return self.onFocus(e || window.event); }, false);
                Spry.Widget.SlidingPanels.addEventListener(focusEle, "blur", function(e) { return self.onBlur(e || window.event); }, false);
                Spry.Widget.SlidingPanels.addEventListener(focusEle, "keydown", function(e) { return self.onKeyDown(e || window.event); }, false);
        if (this.currentPanel)
            // Temporarily turn off animation when showing the
            // initial panel.
            var ea = this.enableAnimation;
            this.enableAnimation = false;
            this.showPanel(this.currentPanel);
            this.enableAnimation = ea;
    Spry.Widget.SlidingPanels.prototype.getElement = function(ele)
        if (ele && typeof ele == "string")
            return document.getElementById(ele);
        return ele;
    Spry.Widget.SlidingPanels.prototype.addClassName = function(ele, className)
        if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) != -1))
            return;
        ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.SlidingPanels.prototype.removeClassName = function(ele, className)
        if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) == -1))
            return;
        ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    Spry.Widget.SlidingPanels.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
        if (!optionsObj)
            return;
        for (var optionName in optionsObj)
            if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
                continue;
            obj[optionName] = optionsObj[optionName];
    Spry.Widget.SlidingPanels.prototype.getElementChildren = function(element)
        var children = [];
        var child = element.firstChild;
        while (child)
            if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
                children.push(child);
            child = child.nextSibling;
        return children;
    Spry.Widget.SlidingPanels.prototype.getCurrentPanel = function()
        return this.currentPanel;
    Spry.Widget.SlidingPanels.prototype.getContentGroup = function()
        return this.getElementChildren(this.element)[0];
    Spry.Widget.SlidingPanels.prototype.getContentPanels = function()
        return this.getElementChildren(this.getContentGroup());
    Spry.Widget.SlidingPanels.prototype.getContentPanelsCount = function()
        return this.getContentPanels().length;
    Spry.Widget.SlidingPanels.onloadDidFire = false;
    Spry.Widget.SlidingPanels.loadQueue = [];
    Spry.Widget.SlidingPanels.addLoadListener = function(handler)
        if (typeof window.addEventListener != 'undefined')
            window.addEventListener('load', handler, false);
        else if (typeof document.addEventListener != 'undefined')
            document.addEventListener('load', handler, false);
        else if (typeof window.attachEvent != 'undefined')
            window.attachEvent('onload', handler);
    Spry.Widget.SlidingPanels.processLoadQueue = function(handler)
        Spry.Widget.SlidingPanels.onloadDidFire = true;
        var q = Spry.Widget.SlidingPanels.loadQueue;
        var qlen = q.length;
        for (var i = 0; i < qlen; i++)
            q[i].attachBehaviors();
    Spry.Widget.SlidingPanels.addLoadListener(Spry.Widget.SlidingPanels.pr ocessLoadQueue);
    Spry.Widget.SlidingPanels.addEventListener = function(element, eventType, handler, capture)
        try
            if (element.addEventListener)
                element.addEventListener(eventType, handler, capture);
            else if (element.attachEvent)
                element.attachEvent("on" + eventType, handler);
        catch (e) {}
    Spry.Widget.SlidingPanels.prototype.getContentPanelIndex = function(ele)
        if (ele)
            ele = this.getElement(ele);
            var panels = this.getContentPanels();
            var numPanels = panels.length;
            for (var i = 0; i < numPanels; i++)
                if (panels[i] == ele)
                    return i;
        return -1;
    Spry.Widget.SlidingPanels.prototype.showPanel = function(elementOrIndex)
        var pIndex = -1;
        if (typeof elementOrIndex == "number")
            pIndex = elementOrIndex;
        else // Must be the element for the content panel.
            pIndex = this.getContentPanelIndex(elementOrIndex);
        var numPanels = this.getContentPanelsCount();
        if (numPanels > 0)
            pIndex = (pIndex >= numPanels) ? numPanels - 1 : pIndex;
        else
            pIndex = 0;
        var panel = this.getContentPanels()[pIndex];
        var contentGroup = this.getContentGroup();
        if (panel && contentGroup)
            if (this.currentPanel)
                this.removeClassName(this.currentPanel, this.currentPanelClass);
            this.currentPanel = panel;
            var nx = -panel.offsetLeft;
            var ny = -panel.offsetTop;
            if (this.enableAnimation)
                if (this.animator)
                    this.animator.stop();
                var cx = contentGroup.offsetLeft;
                var cy = contentGroup.offsetTop;
                if (cx != nx || cy != ny)
                    var self = this;
                    this.addClassName(this.element, this.animatingClass);
                    this.animator = new Spry.Widget.SlidingPanels.PanelAnimator(contentGroup, cx, cy, nx, ny, { duration: this.duration, fps: this.fps, transition: this.transition, finish: function()
                        self.removeClassName(self.element, self.animatingClass);
                        self.addClassName(panel, self.currentPanelClass);
                    this.animator.start();
            else
                contentGroup.style.left = nx + "px";
                contentGroup.style.top = ny + "px";
                this.addClassName(panel, this.currentPanelClass);
        return panel;
    Spry.Widget.SlidingPanels.prototype.showFirstPanel = function()
        return this.showPanel(0);
    Spry.Widget.SlidingPanels.prototype.showLastPanel = function()
        return this.showPanel(this.getContentPanels().length - 1);
    Spry.Widget.SlidingPanels.prototype.showPreviousPanel = function()
        return this.showPanel(this.getContentPanelIndex(this.currentPanel) - 1);
    Spry.Widget.SlidingPanels.prototype.showNextPanel = function()
        return this.showPanel(this.getContentPanelIndex(this.currentPanel) + 1);
    Spry.Widget.SlidingPanels.PanelAnimator = function(ele, curX, curY, dstX, dstY, opts)
        this.element = ele;
        this.curX = curX;
        this.curY = curY;
        this.dstX = dstX;
        this.dstY = dstY;
        this.fps = 60;
        this.duration = 500;
        this.transition = Spry.Widget.SlidingPanels.PanelAnimator.defaultTransition;
        this.startTime = 0;
        this.timerID = 0;
        this.finish = null;
        var self = this;
        this.intervalFunc = function() { self.step(); };
        Spry.Widget.SlidingPanels.setOptions(this, opts, true);
        this.interval = 1000/this.fps;
    Spry.Widget.SlidingPanels.PanelAnimator.defaultTransition = function(time, begin, finish, duration) { time /= duration; return begin + ((2 - time) * time * finish); };
    Spry.Widget.SlidingPanels.PanelAnimator.prototype.start = function()
        this.stop();
        this.startTime = (new Date()).getTime();
        this.timerID = setTimeout(this.intervalFunc, this.interval);
    Spry.Widget.SlidingPanels.PanelAnimator.prototype.stop = function()
        if (this.timerID)
            clearTimeout(this.timerID);
        this.timerID = 0;
    Spry.Widget.SlidingPanels.PanelAnimator.prototype.step = function()
        var elapsedTime = (new Date()).getTime() - this.startTime;
        var done = elapsedTime >= this.duration;
        var x, y;
        if (done)
            x = this.curX = this.dstX;
            y = this.curY = this.dstY;
        else
            x = this.transition(elapsedTime, this.curX, this.dstX - this.curX, this.duration);
            y = this.transition(elapsedTime, this.curY, this.dstY - this.curY, this.duration);
        this.element.style.left = x + "px";
        this.element.style.top = y + "px";
        if (!done)
            this.timerID = setTimeout(this.intervalFunc, this.interval);
        else if (this.finish)
            this.finish();

    Add a valid Document Type Declaration on your page. (DTD) and it should work smoothly.. You could have found this out if you would just validate your page. validator.w3.org.

  • Multiple SPRY Collapsible Panel Defaults

    I have a page with three collapsible bars and want the only the first to be open and the other two to be closed when the page loads. How do I do this?

    I figured this one out - duh! The properties panel allows you to set the panel defaults to opened or closed.

  • Why default panel in Spry Accordeon doesnt work ?

    The solution do the default panel when a new page is loaded seems to be:
    <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Acc1", { defaultPanel: x });
    </script>
    (x=number of the panel minus 1)
    This is written in many tutorials.
    But i've tried and only works with default panel 0. When i try with
    number 2 for instance, the head/tab is marked but doesnt expand.
    Anyone knows what's wrong ?

    I don't see any defaultPanel options in your constructor..
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    Should be:
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel:2});
    //-->
    </script>
    Keep in mind that default panels are zero based, so panel 1 is actually panel 0.

  • How to hide the default panels of a dreamweaver spry tabbed panel?

    i put several spry tabbed panels in the same page (one widget inside the other). the problem is that when the page loads all of the default panels (4 in total) appear for about 6 seconds and then they collapse into the main pannel. how do i fix this?
    you can see this problem in this page:
    http://www.eye-dealswing.com/Parents/WhereToStay/index1.html
    do i need to add something in this section?
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1"…
    //-->
    </script>
    <script type="text/javascript">
    <!--
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3"…
    //-->
    </script>
    <script type="text/javascript">
    <!--
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2"…
    //-->
    </script>
    <script type="text/javascript">
    <!--
    //-->
    </script>
    <script type="text/javascript">
    <!--
    var TabbedPanels4 = new Spry.Widget.TabbedPanels("TabbedPanels4"…
    //-->
    </script>
    thank you
    Alejandra

    im sorry, i dont understand what you mean. i am using the tabbed panels spry and not the accordion.  i am just a rookie with html coding. can you please explain me what do i need to do?
    thank you very much
    Alejandra

  • Using a non-default Panel

    I have created a new panel called abc_panel which contains only the Last Name, First Name, Company Name, and Mail. I set the Attribute Access policies to Read/Modify for
    anyone/self at the dc=company, dc=com level. When I go to the "My
    Profile" page in view mode and select my new Panel, I can see the attributes to which I have read access. When I click the Modify button, the page is redisplayed with the
    appropriate buttons (Save, Cancel, etc), but the attributes are not displayed.
    Niether the field label or the fields themselves are displayed.
    I assume that there is some configuration that I have not done yet which allows me to modify attributes in a panel that is not the Default Panel. By the way, all the
    attributes are viewable and editable in the Default Panel regardelss of the
    Attribute Access settings.
    Any ideas?

    I have created a new panel called abc_panel which contains only the Last Name, First Name, Company Name, and Mail. I set the Attribute Access policies to Read/Modify for
    anyone/self at the dc=company, dc=com level. When I go to the "My
    Profile" page in view mode and select my new Panel, I can see the attributes to which I have read access. When I click the Modify button, the page is redisplayed with the
    appropriate buttons (Save, Cancel, etc), but the attributes are not displayed.
    Niether the field label or the fields themselves are displayed.
    I assume that there is some configuration that I have not done yet which allows me to modify attributes in a panel that is not the Default Panel. By the way, all the
    attributes are viewable and editable in the Default Panel regardelss of the
    Attribute Access settings.
    Any ideas?

  • Accordion Default Panel Based on Date

    I created an accordion panel with a Spry dataset consisting of elements relating to an event schedule. By default, I have all content panels closed, but I would like to set the default content panel based on an event's date.
    So, if the first event is on September 7, I would like the content panel open for the September 7 event (through the end of that day). On September 8th, I would like the next event's content panel open through that date and so on.
    It looks like I'll need to set a javascript date conditional, then loop through the dataset with "addObserver" and have it set the default panel through scripting in the widget javascript.
    Anyone have specific insight on how to accomplish this?
    Much Thanks,
    Colin
    Here's my basic code:
                                    <div style="width:622px" id="Acc1" class="Accordion" tabindex="0">
                                        <div spry:repeat="ds1" class="AccordionPanel">
                                        <div class="AccordionPanelTab" >
                                            <div class="rowsched" spry:even="schedeven" spry:odd="schedodd" spry:hover="schedhover">
                                            <ul style="display:inline;padding-left:4px">
                                                <li class="rositem" style="left:13px"><span spry:content="{Date}"></span></li>
                                                <li class="rositem" style="left:155px"><span spry:content="{Opponent}"></span></div> </li>
                                                <li class="rositem" style="left:310px"><span spry:content="{Location}"></span></li>
                                                <li class="rositem" style="left:455px"><span spry:content="{TV}"></span></li>
                                                <li class="rositem" style="left:555px"><span spry:content="{Time}{result}"></span></li>
                                              </ul>
                                        </div>
                                        </div>
                                        <div class="AccordionPanelContent">
                                            <div style="color:#000000"><img src="{icon}" alt="{Opponent}" width="100" height="67" /> Other content goes here</div>
                                      </div>
                                      </div>
    <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false, defaultPanel: -1 });
    </script>

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • Spry Accordion default panels

    Hello,
    I have been trying to get the panels on the Spry Accordion to open while on the corresponding pages. I have tried setting the default panel to the corresponding panel number, but that does not work. Right now I have all of the panels set to -1 so they are all closed initiall. The only one I get to stay open is when I set it to 0, then my first panel will stay open, but if I try 1, 2, 3, etc. nothing happens.
    I really appreciate any help with this, I am a student and this web portfolio is part of a requirement and I would love to get it so funtion properly.
    Thank you,
    Jessica
    here is my url
    http://jessicaallen.us/portfolio_2/index.html
    Here is what I have in my Accordion CSS styles
    @charset "UTF-8";
    /* SpryAccordion.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    .Accordion2 {
        font-family:"Trebuchet MS", Geneva, Arial, helvetica, san-serif;
        color:#666;
        margin-left:0px;
        margin-right:20px;
        width:260px;
        border:none;
        overflow: hidden;
    .AccordionPanel {
        margin-left: 0px;
        margin-right:20px;
        margin-bottom:0px;
        padding: 0px;
    .AccordionPanelTab {
        color:#666;
        font-weight:bold;
        font-size:14px;
        line-height:18px;
        background-color:transparent;
        border:none;
        margin-left: 10px;
        margin-bottom:0px;
        margin-right:-40px;
        padding: 0px;
        cursor: pointer;
        -moz-user-select: none;
        -khtml-user-select: none;
        text-align:right;
    .AccordionPanelContent {
        font-size:12px;
        line-height:14px;
        color:#666;
        overflow: auto;
        margin: 5px -40px 5px 20px;
        padding: 0px;
        text-align:right;
    .AccordionPanelContent p{
        margin-top:0.5em;
        margin-bottom:0.5em;
    .AccordionPanelContent p a:visited{
        color:#ff9a00;
    .AccordionPanelOpen .AccordionPanelTab {
        color:#f15922;
        background-color: #fff;
    .AccordionPanelOpen .AccordionPanelTabHover {
        color: #f15922;
    .AccordionFocused .AccordionPanelTab {
        background-color: #fff;
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
        background-color: #fff;

    Jessica,
    First of all, I hate you. Perfect web page design, perfect colour co-ordination, perfect drawings not to mention perfect age. It makes this old codger wonder where he has gone wrong 
    Having gotten that off my chest, the problem is that you have two constructors for the same object as per
    <script type="text/javascript">
    <!--
    var Accordion2 = new Spry.Widget.Accordion("Accordion2");
    //-->
    </script>
    <script type="text/javascript">
    var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, defaultPanel: -1 });
    </script>
    Just get rid of the first one and apply the correct panel number, for example Fine Arts use
    <script type="text/javascript">
    var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, defaultPanel: 6 });
    </script>
    Gramps

  • Bug: Default Panel width on Photoshop CS5 12.0.2 (all CS5 products?)

    Hi!
    It seems, the Photoshop CS5 12.0.2 update sets the default panel's width to 10 px on Mac.
    When I clean install the panel on new Photoshop it first opens like a thin line about 10 px width
    and about 300px height. It looks very strange and some people cannot scale it back with ease.
    (On Windows the 132px problem persists (bug #9 from here) even after update - panel cannot be scaled less than
    132px)
    Thanks
    Update: This behaviour is also confirmed on Illustrator CS5, so I guess it's a wider thing connected to the latest update of some CS5 component.

    OK, I found the source of this bug.
    minWidth. When you set minWidth on CSXSWindowedApplication with the latest updates to CS5, the suite will strangerly resize your panel to this minWidth whenever you try to set this.width. I will post it to the list of bugs.
    The test case is very simple:
    <csxs:CSXSWindowedApplication minWidth="10" applicationComplete="on_creation_complete()"  xmlns:csxs="com.adobe.csxs.core.*" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false">
        <mx:Script>
            <![CDATA[
                 private function on_creation_complete(): void
                    // the following line will scale the panel to its minWidth value instead of 500
                    this.width = 500;
                    this.height = 500;
            ]]>
        </mx:Script>
        <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center">
        </mx:VBox>
    </csxs:CSXSWindowedApplication>

  • ACR 7 Basic panel defaults

    For my GH2 (.rw2 raw files) the Basic panel defaults are Exposure = +.54, Contrast = +31, Whites = -15, and all other at 0.
    For my S100 (.cr2 raw files) Blacks = +25, all other at 0.
    From this limited sample I deduce that each camera model has a baked-in set of defaults on the Basic panel, apparently independent of the individual profile.  Is this now the game?
    Richard Southworth

    I might be misunderstanding you here (still quite early for me and coffee just kicking in!), but your defaults for PV2012 should all go to zero for each of the controls, and not vary between cameras. I therefore suspect that you previoulsy set some personalised defaults in ACR 6 (or whichever version you were using), and that ACR 7 has picked up on these and set the PV2012 defaults to take that into account? This happened with me when I first used LR4: I'd tweaked my default settings for ACR, and they were picked up by LR - for example, in ACR 5.6, my blacks were set to 3, and that became +10 in LR4/PV2012.
    For the time being, I've reset my defaults to zero until I get a proper handle on PV2012 as it's a whole new ball game (but so far, I'm finding it to be far better than PV2010).
    M

  • Accordian default panel

    I'm using a Spry Accordian in Dreamweaver CS5 and cannot get the a default panel to work properly. No matter what I do it just doesn't work and always displays the first panel as open. I'm following the instructions here:
    http://labs.adobe.com/technologies/spry/articles/accordion_overview/

    Here is a page in development:
    http://startreksoundtracks.com.s134653.gridserver.com/tng/tng-lala-1.html
    I've made some progress by moving the script into the body, which results in all panels closed. This is better than always having the top panel open, but still not the behavior I want. In the above example the "Star Trek: The Next Generation" panel (panel 1) should be open, but it is not.
    In IE9 the panel opens for a fraction of a second and then collpases. I don't see this behavior in other browsers.

  • Accordian Set Default Panel Issues

    I have a default panel that I am setting in my pages and when
    I set default panel to 0 then it opens the first one, but now when
    I try to set default panel to 1 it won't open the second one.
    http://208.112.121.107/company/mission-statement.asp
    (This has the default panel set = 0, Works!)
    http://208.112.121.107/company/management-team.asp
    (This has the default panel set = 1, doesn't work)
    Any help would be appreciated.
    Thanks!

    Nevermind I figured it out!

  • Tools- FP Grid Default panel grid size (pixels) does nothing

    Hi all,
    LV 2013 SP1
    I want to set up FP grid of 5 x 5 pixels.
    When I go to LV Tools -> Options FP Grid Default panel grid size (pixels) and change to 5 pixels it does nothing.
    The FP still uses 12 sq pixel grid even when I restart LV.
    Does this happen to others?  Am I doing something wrong?
    Thanks.
    Solved!
    Go to Solution.

    Hi battler,
    what happens when you open a new VI after changing the grid settings?
    Those changes do not apply to old VIs as is written in the LabVIEW help here!
    Read the LabVIEW help also here…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Xfce panels defaulting at boot

    Everytime I go into Xfce, there is a prompt asking if I want to use the default panels on the desktop or none at all. The prompt assumes that this is the first time I have started Xfce in my entire life. I have fully customized my panels everytime I get in just on the off chance that they save that time. For those wondering, I start SLiM with the rest of daemons and have it use Xfce from there. I am not quite sure where the config file responsible would be or even if there is one to blame. My ~/.xinitrc file says:
    exec startxfce4
    and I have removed the last bits of gnome3 (gross) which were causing previous, but now fixed, issues. All of my other applications are remembering their prefs except for whatever controls the xfce panels. What I find odd isn't that xfce can't remember my panel layout (or any other theme prefrences) but that it is starting from scratch at every boot. I was looking for solutions earlier and did find that there was a bug back in 4.2.something that would cause panels not to save but I have the newest 4.8. I did see something else about file permissions for ~/.config (apparently an xfce4-panel file). Just for giggles, I set it at 777 to see if that would do anything but alas, nothing. I can post my config files, just tell me which ones. The default panel layout and theme wouldn't be so bad except there is some awful looking dock at the bottom of my screen and the color scheme annoys me.

    ConnorBehan wrote:
    Something I tell all xfce users to do if they have session related problems is to clear out ~/.cache/xfce4 and ~/.cache/sessions. There is a checkbox besides the one on the logout prompt. It's in the "Sessions and Startup" settings dialog. There is also a tab in there that lets you manually save the session so you can see if any errors are thrown during a terminal instance of "xfce4-session-settings". Hell, while you're at it, see if any autostarted application could be screwing it up.
    I would say the relevant config files are ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml and ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml. As a hack if nothing else works, you could change the default to something more desirable by editing /etc/xdg/xfce4/panel/default.xml.
    Alright, I began with removing the ~/.cache/xfce4 and ~/.cache/sessions. I moved a panel and then logged out. Logged back in and first run dialog was back. I went to the "Sessions and Startup" box ( I don't know how I missed this earlier) and checked the autosave box. I also looked at the other tabs just incase but I didn't want to flip switches too much otherwise I wouldn't know what to do next time it happens. I logged out then in and still the first run dialog box. I went back to the "Sessions and Startup" box and forced a save on the session tab. A dialog box came up and closed pretty quickly, something about saving session. I removed a panel, logged out and then in, and that panel was still gone. Turns out I had to force a save for the stupid thing to catch on. Thank you.

  • Tabbed Panel: First Panel Content Not From a Tab?

    I am having a go witha tabbed panel which is what the screenshot is showing.  This is experimenting so I haven't had the courage to upload it yet.
    I would like the default panel to not contain anything except perhaps, the instruction to click and a colour background logo image.  When the user clicks a panel I want the logo image to be pale and greyscale and the course deatails to present.
    My question is how do I start the tabbed panel with a pane that isn't one of the tabs?  I can see a way around it by making the first tab "Instructions" but I don't think it will look so good.
    Thanks
    Martin

    OK so I got an answer to this on the Spry forum.
    I'm going to try putting style="display: none;" on the first <li> element.
    Easy as that and thanks/credt  to .V1 who answered the post.
    Martin

Maybe you are looking for

  • VPN not working after 10.6.8 update

    I am using checkpoint VPN-1 version SecureClient_B634006015_1 for Snow Leopard. After updating to 10.6.8 my network connection outside my local LAN is not accessible. Can't ssh, ping any outside resource. If I turn off secure client then no problems.

  • Error message while creating configurable material for variant configuration.

    Dear All, I want to create configurable material for the purpose of variant configuration. When trying to create configurable material using mm 01 or mm k1, it is displaying an error message that internal number assignment is not possible for the mat

  • How to filter data from a source XML? Please help!

    Hi Experts,    I have a source XML as shown below:     <Inventory>      <InventoryItem>        <ItemCode>InTransit</ItemCode>        <Quantity>1000</Quantity>      </InventoryItem>      <InventoryItem>        <ItemCode>Available</ItemCode>        <Qu

  • FBL3N standard program to ZCOPY program issue

    When I take a ZCOPY of standard program ‘RFITEMGL’ of transaction code FBL3N and put break point over Function Module “FI_ITEMS_DISPLAY’ and look into the table it_pos the material number and vendor numbers are not getting populated but without takin

  • Owb client 10.2.0.2.8

    Hi does anybody know if there are owb client versions new than 10.2.0.2.8 but not yet 11G? If you know the answer or where I can find the answer I would greatly appreciate it. I check Oracle documents and patches sections and could not find anything.