Loading ...
Sorry, an error occurred while loading the content.

How can I hide the resizable panel of Container Family when I load the page?

Expand Messages
  • sailer.shen
    When I load the page: http://developer.yahoo.com/yui/examples/container/panel-resize_source.html The resizable panel is seen before the buttom Show Resizable
    Message 1 of 2 , Jun 2 7:53 AM
    • 0 Attachment
      When I load the page:
      http://developer.yahoo.com/yui/examples/container/panel-resize_source.html

      The resizable panel is seen before the buttom "Show Resizable panel"
      clicked, I want the panel is hidden before the buttom is clicked, how
      can I do it?
      Thanks!
    • Dav Glass
      sailer.shen -- You should be able to change this: var panel = new YAHOO.widget.Panel( resizablepanel , { draggable: true, width: 500px , context: [ showbtn ,
      Message 2 of 2 , Jun 2 8:55 AM
      • 0 Attachment
        sailer.shen --

        You should be able to change this:

        var panel = new YAHOO.widget.Panel('resizablepanel', {
        draggable: true,
        width: '500px',
        context: ["showbtn", "tl", "bl"]
        });
        To this:

        var panel = new YAHOO.widget.Panel('resizablepanel', {
        visible: false,
        draggable: true,
        width: '500px',
        context: ["showbtn", "tl", "bl"]
        });


        Does that help?
        Dav

        Dav Glass
        dav.glass@...
        blog.davglass.com




        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +


        ----- Original Message ----
        From: sailer.shen <sailer.shen@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Monday, June 2, 2008 7:53:45 AM
        Subject: [ydn-javascript] How can I hide the resizable panel of Container Family when I load the page?

        When I load the page:
        http://developer.yahoo.com/yui/examples/container/panel-resize_source.html

        The resizable panel is seen before the buttom "Show Resizable panel"
        clicked, I want the panel is hidden before the buttom is clicked, how
        can I do it?
        Thanks!


        ------------------------------------

        Yahoo! Groups Links
      Your message has been successfully submitted and would be delivered to recipients shortly.