amackay11
4 Dec 2006, 6:29 AM
Hi,
I've spent some time reading about ajax, yui and yui-ext and it all seem very cool. Now I am trying to implement. My current 'home' page uses a <table> to layout items. I've got 4 thumbnail images in a 4x4 layout, some boxes with lists of links etc. All this is stacked nicely in the table kind of like:
1/2 1/2
1/2 1/2
1/3 1/3 1/3
1/1
1/2 1/2
I have tried to create the same layout with yui-g, yui-b, yui-u etc. but it ends up in a mess, with things not lining up. I could start punching in absolute widths in my divs but this does not seem like the 'right' way to do it.
Is there a better way with yui-ext? The yui grid seems too high level and the yui-ext grid seems to be more for data display with constant width columns? Does it make sense to nest with YAHOO.ext.BorderLayout ?
I think I just need to be pointed in the right direction and I hope I can go from there.
THANKS!!
Andy
I've spent some time reading about ajax, yui and yui-ext and it all seem very cool. Now I am trying to implement. My current 'home' page uses a <table> to layout items. I've got 4 thumbnail images in a 4x4 layout, some boxes with lists of links etc. All this is stacked nicely in the table kind of like:
1/2 1/2
1/2 1/2
1/3 1/3 1/3
1/1
1/2 1/2
I have tried to create the same layout with yui-g, yui-b, yui-u etc. but it ends up in a mess, with things not lining up. I could start punching in absolute widths in my divs but this does not seem like the 'right' way to do it.
Is there a better way with yui-ext? The yui grid seems too high level and the yui-ext grid seems to be more for data display with constant width columns? Does it make sense to nest with YAHOO.ext.BorderLayout ?
I think I just need to be pointed in the right direction and I hope I can go from there.
THANKS!!
Andy