I want to provide my customers with a plugin which they can include in their website. Problem is that the content of the iframe changes everyday and has different heights. As I know the height of an iframe can be specified with css or a simple height
tag, but then the height is fixed. I want to make the height change dynamically with the content, and this can be done with JavaScript, but how can I include a working JavaScript line inline
the iframe code, so I don't confuse my customers?
Like
<iframe src="..." border="..." onload="..."></iframe>
EDIT I want to provide a single line of code, so that this code can be easily be implemented into the websites from my user.