<!-- Zip template --> <style type='text/css'> {{divId}} .container { background-color: #000; overflow:hidden; width: 100%; height: 100%; } iframe { width: 100%; height: 100%; } </style> <div class='container'> <iframe src='#'></iframe> </div> <script type='text/javascript'> var id = {{spotId}}; $('iframe').attr('src', 'zip_spots/'+id+'/index.html'); </script>