I have a mysql database with a bunch of quotations in it. I created a blog at http://aro2220.blogspot.com

At the top of the blog is an iframe window that directs to http://aro2220.com/blog

On that page it uses php to pull out a random quote from the database. The iframe window displays that quote onto the blog.

It works great except that the height is not automatically resizing.

Is there a way I can use javascript to do this instead? Here is some pseudo-code of what I'd like to be able to do: (p.s. I do not know javascript or much of anything so I am looking for people to tell me how to ACTUALLY do this)

var stringvariable = http://aro2220.com/blog/index.html;

int stringlength = stringlength(stringvariable);

int autosize = 200 + stringlength * 5;

<iframe width="100%" frameborder="0" src="http://aro2220.com/blog" height=$autosize scrolling="no"></iframe>
Obviously these are not real functions or proper syntax but hopefully it will paint a clear picture on what I am trying to do.