Reply To: Resizing Grid

Million Dollar Script Forums General Resizing Grid Reply To: Resizing Grid



Thanks for the quick reply,

That would be great if you could point me in the right direction. Nearest solution i found was to set the iframe id=myframe, remove height and width from iframe and then call it from this piece of js:

$(document).ready(function() {
$(window).resize(function() {
function setMyFrame() {
var w = $(“#myframe”).innerWidth();
var h = (1400 * w) / 1400;

With a line of css:

#myframe { width:100%; }

didn’t work however.

Thanks for taking a look into this for me!