我相信为代码行if($jQ.client.os == 'Mac')
应该重写以下窗口
if($jQ.client.os == 'Win')
....这是正确的吗?
<script language="javascript" type="text/javascript">
if($jQ.client.os == 'Mac'){
if($jQ.client.browser=="Safari"){
$jQ(".street").css("padding","5px 5px 0 14px");
$jQ(".city").css("padding","5px 5px 0 7px");
}else if($jQ.client.browser=="Chrome"){
$jQ(".street").css("padding","5px 5px 0 14px");
$jQ(".city").css("padding","5px 5px 0 7px");
}else {
$jQ(".street").css("padding","5px 5px 5px 5px");
$jQ(".city").css("padding","5px 5px 5px 5px");
}
}
swfobject.registerObject("FlashID");
</script>