Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4031518
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:36:26+00:00 2026-05-20T11:36:26+00:00

I need to build a 3 x 3 page with 9 YUI panels. I

  • 0

I need to build a 3 x 3 page with 9 YUI panels.

I could build 3 33% vertical columns with YUI grids. 3 panels appear in the three columns. But when I put 3 panels within each column (to appear one below another), it gets stacked over each other. I think i should give x,y co-ordinates to align it, but panel heights could vary, so I may need to dynamically determine the x,y coordinates.

code is somewhat like this (using within Django – the child page which extends the main puts it the panel content):-

<div id="doc3">
<div id="bd" role="main">
<div class="yui-gb">
<div class="yui-u first">
{% block panel1 %}{% endblock %}
{% block panel2 %}{% endblock %}
{% block panel3 %}{% endblock %}
</div>
<div class="yui-u">
{% block panel4 %}{% endblock %}
{% block panel5 %}{% endblock %}
{% block panel6 %}{% endblock %}
</div>
<div class="yui-u">
{% block panel7 %}{% endblock %}
{% block panel8 %}{% endblock %}
{% block panel9 %}{% endblock %}
</div>
</div>
</div>
</div>

I render using:-

YAHOO.example.container.panel1 = new YAHOO.widget.Panel("panel1", { width:"390px", visible:true, constraintoviewport:true } );
YAHOO.example.container.panel1.render();

I have tried using context to do something like align one panel to the bottom of another like giving context:["panel1","bl","tl] to the panel which should come below panel1. But doesn’t seem to help.

Any pointers to do this – position YUI panels one below another in a YUI grid?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:36:27+00:00Added an answer on May 20, 2026 at 11:36 am

    As of now used below to position one panel below another. Found the underlay (shadow, matte etc) not to be moving, set it for “none” as of now. Need to research some more.

    panel4y = YAHOO.util.Dom.getY('panel1') + document.getElementById("panel1").offsetHeight + 10;
    YAHOO.util.Dom.setY('panel4',panel4y);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to build an activity feed to go on each users profile page
I need to build simple site one big page like 37signals product's pages, and
I have a page I need to build out where depending on the selection
I need to build a web page with a DetailsView which has a bunch
I need to build HTML page to show and organize my results. Where do
I need to build a Statistics System but I don't know if MongoDB would
I need to build a page that looks like Mac Mail or an Outlook
I need to build a page that is scrolling up and down after x
I need to build a web page that has categorized data that looks like
In one of my projects I need to build an ASP.NET page and some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.