dakotaablake (layanaqueen is offline) 100%

model is offline
function rcam(){ var width1 = $('.camblock_cb').width(); var width2 = $('#cb_iframe').width(); var scale = width1 / width2; $('.caminner').css('transform', 'scale('+scale+')'); var cr = 800/491; var h1 = $('.camblock_cb').width() / cr; $('.camblock_cb').height(h1); } rcam(); $(window).on('resize', function(){ rcam(); });