Announcement

Collapse
No announcement yet.

YUI Grid Questions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] YUI Grid Questions

    Hey guys,
    First, thank you Wayne for all the help in the other thread, but I feel that I was mucking up that users questions. SO, here is my own thread, with a new question.

    is it possible to set on unit within a grid to a custom width? For example, is it possible to set this unit to 500px, and leave the unit below it fluid?
    <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
    <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>

    Lastly...is this stuff I should be asking here or on .org?

  • #2
    Next question:
    What am I doing wrong/changing that the time code is now at the top of the page? (see Pic)

    Click image for larger version

Name:	timetop.jpg
Views:	1
Size:	97.6 KB
ID:	3687067

    Here is the yui code I am playing with (I make no claims to have any idea what I am doing yet )
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <grids>
        <grid name="Drayu Test2" auxheader="0" auxfooter="0" addcolumn="0" addcolumnsnap="0" addcolumnsize="1" columns="1"><![CDATA[<div id="doc3">
        <div id="bd">
            <div id="yui-main">
                <div class="yui-b">
                    <div class="yui-gc">
                        <div class="yui-u first yui-panel">
                            <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                        </div>
                        <div class="yui-u yui-panel">
                            <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
                        </div>
                    </div>
                </div>
            </div>
            <div id="yui-main">    
                <div class="yui-b">
                    <div class="yui-g">
                        <div class="yui-u first yui-panel">
                            <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
                        </div>
                        <div class="yui-u yui-panel">
                            <ul class="list_no_decoration widget_list" id="widgetlist_column4">$column[4]</ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    ]]></grid>
    </grids>

    Comment


    • #3
      Do not put that <grid> stuff in there.

      HTML Code:
      <div id="doc3">
          <div id="bd">
              <div id="yui-main">
                  <div class="yui-b">
                      <div class="yui-gc">
                          <div class="yui-u first yui-panel">
                              <ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>
                          </div>
                          <div class="yui-u yui-panel">
                              <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
                          </div>
                      </div>
                  </div>
              </div>
              <div id="yui-main">    
                  <div class="yui-b">
                      <div class="yui-g">
                          <div class="yui-u first yui-panel">
                              <ul class="list_no_decoration widget_list" id="widgetlist_column3">$column[3]</ul>
                          </div>
                          <div class="yui-u yui-panel">
                              <ul class="list_no_decoration widget_list" id="widgetlist_column4">$column[4]</ul>
                          </div>
                      </div>
                  </div>
              </div>
          </div>
      </div>

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to vbulletin.org
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools &lt;- awesome site for html/css help

      Comment


      • #4
        THanks Lynne. I will try that. I was leaving it in there because I was using Dreamweaver to edit the grid.xml and it was already there. I would edit and reupload the grid.xml. BUT, I will try your code.

        EDIT: Sweet. So instead of uploading the grid.xml. I flattened the grid in VB and then copy pasted the above. Time stamp now in right place.

        Comment

        Related Topics

        Collapse

        Working...
        X