Davs Rants and Random Thoughts

November 18, 2006

More Updates

Filed under: yui, ajax, javascript, code, Yahoo! — Dav Glass @ 3:00 pm

If the site appears a little slow, it’s because I have been YDNed 8-)

The Yahoo Developer Network has linked to my YUI Grids Builder directly from the YDN site..

I have updated one of my Code Samples to make it a reusable widget. I rebuilt the Sortable List example into a functional widget.

I have also released the 0.1 (beta) release of a YUI Loader tool. This tool will allow for you to dynamically load javascript into a page and have control over when they are loaded.

I also updated the docs for all of my tools, they can be found here.

Drop me a line and let me know what you think.

Add to:
| Digg it | Slashdot | Y! MyWeb

7 Responses to “More Updates”

  1. MyAvatars 0.2 James Says:

    When I use the Yahoo Builder, how do I save the results of what I built.

    When I select “show code”, the HTML displayed doesn’t render what I see on the screen.

  2. MyAvatars 0.2 Dav Glass Says:

    James –

    The Grids Builder is designed to work with the Yahoo User Interface (YUI) CSS Grids tools. They are freely available and you can download a copy from their developer site here:

    http://developer.yahoo.com/yui/grids

    Let me know if you need any other help..

  3. MyAvatars 0.2 James Says:

    Dav Glass

    Thanks for the response. I guess what I’m trying to do, is create a layout using your Grid Builder (very cool by the way) - then, save the layout so that I can use it (HTML/CSS) on my site.

    I was thinking that after I use the Grid Builder, I would be able to click the “show code” button and it would show me the CSS generated - so that I could copy and past it to my site.

    Is the Grid Builder not meant to save the CSS results of what you built?

    Thanks
    James

  4. MyAvatars 0.2 Dav Glass Says:

    James –

    If you click here:
    http://developer.yahoo.com/yui/download/

    And download the YUI Library, you will find the CSS files needed to make the code from the grid builder work.

    You will need the following files:

    reset.css
    fonts.css
    grids.css

    In that order..

    Or you can just grab the 0.12 release file here combined into a single include:
    http://blog.davglass.com/files/yui/css/yuicss.css

    Let me know if you need any other help..

  5. MyAvatars 0.2 James Says:

    Dav

    You have been extremely helpful, thank you!

    Though I don’t think I’m explaining exactly what I would like do. Since your builder is changing the CSS on the fly with JavaScript, when I use the builder - how might I obtain the results of what the builder is producing.

    Take this for example, when I use the builder - I set the following attributes:
    - body size = 100%
    - body columns = sidebar right 240px
    and I leave everything else set to the default.

    How might I get the resulting CSS when I set the YUI builder to the attributes I set above? Simply downloading the YUI CSS from Yahoo will not have the CSS attributes set to what I have set above.

    Thanks!

    James

  6. MyAvatars 0.2 Dav Glass Says:

    James –

    Yes, simply downloading the YUI css file will make the grids look as the builder does.
    First download the YUI CSS Grids css file, the from my builder click the “Show Code” button.. Copy that code and paste it into an HTML file. Link in the downloaded YUI CSS Grids files & you should get a layout just like the builder built.

    Note:
    The YUI CSS Grids files have all the templates available, my builder only puts the html in place, the CSS grids package does the rest of the work 8-)

    For a body size of 100%, the builder puts in a doc3 id on the main div, see this:
    http://developer.yahoo.com/yui/grids/#page_width

    For the 240px sidebar, the builder puts in a class called “yui-t5″, see this:
    http://developer.yahoo.com/yui/grids/#available_templates

    Dav

  7. MyAvatars 0.2 James Says:

    Dav

    Many, many thanks. I now have the template I like :)

    Thanks again.

    Micheal

Leave a Reply

© 2008 Dav Glass - All content is mine, except comments. Comments are the property of the poster. I speak for no person or company.
Can you tell me what this says? 01000100 01100001 01110110 01101001 01100100 00100000 01000111 01101100 01100001 01110011 01110011