# How is this done? Expanding grid (dynamic)

**URL:** https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983
**Category:** flash
**Created:** [March 22, 2006, 11:19pm UTC](https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983 "2006-03-22T23:19:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hgfl](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@hgfl](https://forum.kirupa.com/u/hgfl)
#### Post date: [March 22, 2006, 11:19pm UTC](https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983/1 "2006-03-22T23:19:56Z")

</div>

How is this done?

Go to this site: [http://www.kurtnoble.com/](http://www.kurtnoble.com/)

When the “Portfolio” section opens, click on an item. Notice how it expands?

Each item will expand to fit the box, no matter where it is positioned. I imagine this is done dynamically according to the item’s location.

Anyone know of a tutorial or example file that can explain this?

Thanks.

---

<div class="post-metadata">

### Author: ![dsull](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@dsull](https://forum.kirupa.com/u/dsull)
#### Post date: [March 23, 2006, 2:27am UTC](https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983/2 "2006-03-23T02:27:23Z")

</div>

[http://laco.wz.cz/tween/?page=examples](http://laco.wz.cz/tween/?page=examples)

“resize like [Kurtnoble.com](http://Kurtnoble.com) by Lucas Motta”

---

<div class="post-metadata">

### Author: ![hgfl](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@hgfl](https://forum.kirupa.com/u/hgfl)
#### Post date: [March 30, 2006, 11:22pm UTC](https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983/3 "2006-03-30T23:22:19Z")

</div>

Thank you for that. That example is helpful for working out how to achieve the main menu effect, but what about the grid effect in the Portfolio section - the grid with 9 divisions (3x3) that will expand to fill the area? The grid division expands according to its location e.g. if the division is at the bottom it will expand upwards, or if it is at the left it will expand out to the right - is there a dynamic way of telling objects to expand to fill according to their location (\_x and \_y positions)? Thanks

---

<div class="post-metadata">

### Author: ![hgfl](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@hgfl](https://forum.kirupa.com/u/hgfl)
#### Post date: [April 7, 2006, 4:08am UTC](https://forum.kirupa.com/t/how-is-this-done-expanding-grid-dynamic/182983/4 "2006-04-07T04:08:14Z")

</div>

anyone?
