We are using Prototype and Scriptaculous in a project and I can't find this in either of their documentations -- if you know it is a feature already in either of them please let me know as I'd rather not reinvent the wheel.

We have an online application we're writing and in a part of it we want to show a "preview" of content but we want it to be scaled down so we can fit a sidebar and other navigation around it.

I know it is possible to resize the contents of a div (including text, images, flash, etc.) I just don't know how to do it.

Anyone know if this is available in Prototype/Scriptaculous or know of a way to do it (maybe a function)?