Trying to resize an iframe window or find an alternative
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.
Obviously these are not real functions or proper syntax but hopefully it will paint a clear picture on what I am trying to do.
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>