Javascript set frame width and height -
i must place afiliate script iframe, have code:
eturas.frame({ width: '100%' });
i want set height: try :
eturas.frame({ width: '100%', height: '1000px', });
but code not work - can problem?
all code:
<script type="text/javascript"> var _et = _et || []; _et.push(['project', 'daigera-egzotic']); _et.push(['type', 'hermes']); _et.push(['url', 'trips/index/type:exotic']); (function() { document.write('<' + 'script type="text/javascript" src="http://www.eturas.lt/js/v9/eturas.js"><' + '/script>'); }) (); </script> <script type="text/javascript"> eturas.frame({ style: 'width: 100%; height: 100px;' }); </script>
i make $('#idframe').css('height','100px'); example jquery or $("#idframe").css({"width":"100%","height":"100px"});
Comments
Post a Comment