wiznv
06-06-2012, 13:39
Хотел разместить одну из форм проверка файлов на вирусы на своем сайте (Формы: http://www.freedrweb.com/for+web+sites/ ).
В опере оно выглядит отлично,в IE тоже а в Chrome :
http://forum.oszone.net/attachment.php?attachmentid=83342&stc=1&d=1338979103
А в Опере окуратная кнопочка ОБзор все четко...
вот код формы
<script language="JavaScript">
function resultURL()
{
var left = (screen.width - 640)/2
var top = (screen.height - 400)/2
window.open( "", "scan", "width=640"+
",height=400,left="+left+
",top="+top+",scrollbars=no,resizable=yes")
document.getElementById( "drwebscanformURL" ).target = "scan";
return true;
}
</script>
<form id="drwebscanformURL" action="http://online.us.drweb.com/result/" onSubmit="return resultURL()" method="post">
<div style="width: 474px; height: 65px; background: url(fon_white.gif)">
<div style="padding: 30px 0 0 137px;">
<div style="float: left;"><input type="text" name="url" value="http://" class=find style="width:200px; border: #9ac461 2px solid;"></div>
<div style="float: left; padding: 1px 0 0 5px"><input type="image" src="button.gif" width="121" height="21"></div>
</div>
</div>
</form>
В опере оно выглядит отлично,в IE тоже а в Chrome :
http://forum.oszone.net/attachment.php?attachmentid=83342&stc=1&d=1338979103
А в Опере окуратная кнопочка ОБзор все четко...
вот код формы
<script language="JavaScript">
function resultURL()
{
var left = (screen.width - 640)/2
var top = (screen.height - 400)/2
window.open( "", "scan", "width=640"+
",height=400,left="+left+
",top="+top+",scrollbars=no,resizable=yes")
document.getElementById( "drwebscanformURL" ).target = "scan";
return true;
}
</script>
<form id="drwebscanformURL" action="http://online.us.drweb.com/result/" onSubmit="return resultURL()" method="post">
<div style="width: 474px; height: 65px; background: url(fon_white.gif)">
<div style="padding: 30px 0 0 137px;">
<div style="float: left;"><input type="text" name="url" value="http://" class=find style="width:200px; border: #9ac461 2px solid;"></div>
<div style="float: left; padding: 1px 0 0 5px"><input type="image" src="button.gif" width="121" height="21"></div>
</div>
</div>
</form>