如何使嵌入表单具有响应性
How can I make a embeded form responsive?
如何使以下代码响应?在过去的几个小时里,我一直在努力,但徒劳无功!
<!DOCTYPE html>
<html>
<title>OTM - India's Largest Travel Trade Show</title>
<link rel="shortcut icon" href="http://www.otm.co.in/wp-content/uploads/2013/07/favicon.ico"/>
<body>
<div class="intrinsic-container">
<script>(function(e,t,c,n){var s,o,r;e.SMCX=e.SMCX||[],t.getElementById(n)||(s=t.getElementsByTagName(c),o=s[s.length-1],r=t.createElement(c),r.type="text/javascript",r.async=!0,r.id=n,r.src=["https:"===location.protocol?"https://":"http://","widget.surveymonkey.com/collect/website/js/7aGSqSw00rqyg6Tw_2FjuHxh37Sf45yyW7_2FNS7SGUQYwzciy8z1YFrcHGeEshrny3k.js"].join(""),o.parentNode.insertBefore(r,o))})(window,document,"script","smcx-sdk");</script><center><a style="font: 12px Helvetica, sans-serif; color: #FFFFFF; text-decoration: none;" target="blank" href=http://otm.co.in/>OTM - India's Largest Travel Trade Show</a></body></center>
</div>
<style type="text/css">
html {height:100%;}
body {
background-color: #c5302e;
height:100%;
overflow: hidden;
}
.smcx-embed {
width: 80% !important;
height: 100% !important;
margin:0 auto !important;
background:#c5302e !important;
}
.smcx-iframe-container {
width: 100% !important;
position: relative !important;
}
.smcx-iframe-container iframe {position:absolute;top:0;left:0;width:100%; height:100%;}
</style>
</html>
你不能用css做到这一点,你应该有权访问父页面并使用插件:http://npr.github.io/responsiveiframe/
相关文章:
- 如何创建对表单的自我更新响应
- 使用yii2表单等待ajax响应
- 引导表单向导 - 防止在提交 ajax 响应的每个页面表单出现错误时滚动到下一步
- 如何在 JavaScript 中对表单帖子的响应做出反应
- 提交表单时在弹出窗口中打开响应
- 使用php提交表单,并使用ajax向用户提供响应
- 通过响应按钮单击更改表标题,其中行使用 JSTL for 循环更新
- 异步表单w/Iframe Target——OnLoad适用于FF、Chrome、IE9,不适用于;无法在IE7中得到响应
- 在同一个html页面中显示servlet响应而不隐藏表单
- 使用AJAX提交登录表单并获得响应
- 谷歌表单:将项目添加到响应中
- 如何在java框架(JSF)中基于URL的json响应生成动态表单
- 如果我使用html表单(而不是ajax),则获取服务器的响应代码或返回值
- AJAX表单,通过JSON响应进行php验证
- 表单验证Javascript没有响应
- 移动响应表单不起作用
- 在 ruby 中自动填写、提交和审查 JavaScript 表单的响应
- 如何使用XMLHttpRequest获取响应表单servlet
- 以编程方式添加处理程序来响应表单处理程序
- 如何获得json响应表单parse.com使用query.find();在web应用中使用javascript