Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Double south panes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
toy4fun  
View profile  
 More options May 10 2012, 4:47 am
From: toy4fun <ron.e...@gmail.com>
Date: Thu, 10 May 2012 01:47:39 -0700 (PDT)
Local: Thurs, May 10 2012 4:47 am
Subject: Double south panes
Hi,
I'm trying to build a layout which consists of main layout with north
and east. The east layout will have a center and two south.
So far I couldn't manage that. I did manage to get a north, a center
and a south, but I want the center to remain open and both of the
south panes to be closed downward.

This is my layout for now:
function InitLayout() {
    $(document).ready(function () {
        mainLayout = $('body').layout({
            minSize: 50,
            north__slidable: false,
            north__resizable: false,
            north__spacing_open: 0,
            east__size: 630,
            east__initClosed: true,
            east__spacing_closed: 20,
            east__togglerLength_closed: 100,
            east__togglerAlign_closed: "top",
            east__togglerContent_closed: "ה<BR>ת<BR>ר<BR>א<BR>ו<BR>ת",
            east__togglerTip_closed: "פתח והשאר פתוח",
            east__sliderTip: "פתח לוח התראות",
            east__slideTrigger_open: "mouseover",
            onopen: function () {
                ForceMapResize();
            },
            onclose: function () {
                ForceMapResize();
            },
            onresize: function () {
                ForceMapResize();
            }
        });

        eastLayout = $('div.ui-layout-east').layout({
            minSize: 50,
            north__paneSelector: ".east-center",
            center__paneSelector: ".outer-east",
            center__resizable: false,
            center__size: 210,
            center__spacing_closed: 20,
            center__togglerLength_closed: 100,
            center__togglerAlign_closed: "center",
            center__togglerContent_closed: "מדידות",
            center__togglerTip_closed: "פתח והשאר פתוח",
            center__sliderTip: "פתח מדידות",
            center__slideTrigger_open: "mouseover",
            south__paneSelector: ".inner-east",
            south__resizable: false,
            south__size: 210,
            south__spacing_closed: 20,
            south__togglerLength_closed: 100,
            south__togglerAlign_closed: "center",
            south__togglerContent_closed: "מאפיינים",
            south__togglerTip_closed: "פתח והשאר פתוח",
            south__sliderTip: "פתח מאפיינים",
            south__slideTrigger_open: "mouseover"
        });
    });

}

Any help will be appreciated.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austin Roberts  
View profile  
 More options May 10 2012, 9:14 am
From: Austin Roberts <austin.g...@gmail.com>
Date: Thu, 10 May 2012 06:14:24 -0700
Local: Thurs, May 10 2012 9:14 am
Subject: Re: [UI Layout] Double south panes

If i understand what you want your main layout should have a North, center,
and East. In your East pane you should have a center and South and in this
center pane you should have a center and South pane. This should give you
"double South panes" in your East pane.

Sent from my Samsung Galaxy Nexus
On May 10, 2012 1:47 AM, "toy4fun" <ron.e...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
toy4fun  
View profile  
 More options May 10 2012, 9:28 am
From: toy4fun <ron.e...@gmail.com>
Date: Thu, 10 May 2012 06:28:08 -0700 (PDT)
Local: Thurs, May 10 2012 9:28 am
Subject: Re: [UI Layout] Double south panes

You understood me well.
I've tried to play with inner-south and outer-south but without luck.
Can you provide a code sample for your suggestion?
Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austin Roberts  
View profile  
 More options May 10 2012, 12:01 pm
From: Austin Roberts <austin.g...@gmail.com>
Date: Thu, 10 May 2012 09:01:15 -0700
Local: Thurs, May 10 2012 12:01 pm
Subject: Re: [UI Layout] Double south panes
I threw together a quick jsFiddle for you.  It's using the basic css
styles.  I think this is what your looking for.
http://jsfiddle.net/PvYz7/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
toy4fun  
View profile  
 More options May 10 2012, 5:13 pm
From: toy4fun <ron.e...@gmail.com>
Date: Thu, 10 May 2012 14:13:48 -0700 (PDT)
Local: Thurs, May 10 2012 5:13 pm
Subject: Re: [UI Layout] Double south panes

This is exacly what I wanted.
Thank you very much.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Dalman  
View profile  
 More options May 10 2012, 10:42 pm
From: Kevin Dalman <kevin.dal...@gmail.com>
Date: Thu, 10 May 2012 19:42:32 -0700 (PDT)
Local: Thurs, May 10 2012 10:42 pm
Subject: Re: Double south panes

I see Austin answered your question about the double-south panes. (thanks
Austin).

However I note an unrelated error in the code you posted. This will cause a
lot of callbacks to fire that will slow down your page unnecessary...

    onopen: function () {
        ForceMapResize();
    },
    onclose: function () {
        ForceMapResize();
    },
    onresize: function () {
        ForceMapResize();
    }  

You need only ONE callback (onresize) *on the specific pane that contains
the map*. So if that map is inside the center-pane, *this is all you need*
...

    center__onresize:  ForceMapResize

Setting callbacks as you did can cause the ForceMapResize function to run
up to 5 times in a row. For example, if you 'open' the north-pane, ALL the
callbacks below will fire, each calling your function, and most of them
before the center-pane has even been resized!

1. north.onopen     -> ForceMapResize
2. north.onresize   -> ForceMapResize
3. west.onresize    -> ForceMapResize
4. east.onresize    -> ForceMapResize
*5. center.onresize * -> ForceMapResize

/Kevin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
toy4fun  
View profile  
 More options May 11 2012, 2:09 am
From: toy4fun <ron.e...@gmail.com>
Date: Thu, 10 May 2012 23:09:40 -0700 (PDT)
Local: Fri, May 11 2012 2:09 am
Subject: Re: Double south panes

I did the change and it's working great, learning something new every day.
Thank you very much.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »