adplace wrong with windows+chrome

在windows的chrome中,如下adplace下面的select列表显示不出来。

<fieldset style=”border-color:#5f8ac5;border: 1px solid #5f8ac5;”><legend><h4>\xe5\xa2\x9e\xe4\xbf\xae\xe8\xae\xb0\xe5\xbd\x95</h4></legend><form id=”gtbl_add_form” name=”gtbl_add_form” method=”post” action=”jdo.php?tbl=advtbl&tit=\xe5\xb9\xbf\xe5\x91\x8a\xe5\x8f\x8a\xe4\xbf\x83\xe9\x94\x80&db=&act=list-addform” ><table align=”center” width=”98%” cellspacing=”0″ cellpadding=”0″ border=”0px”><tr><td width=”11%”>&nbsp;</td>\r\n <td width=”22%”>&nbsp;</td>\r\n <!– <td width=”2%”>&nbsp;</td> –>\r\n <td width=”11%”>&nbsp;</td>\r\n <td width=”22%”>&nbsp;</td>\r\n <td width=”11%”>&nbsp;</td>\r\n <td width=”22%”>&nbsp;</td>\r\n </tr>

<tr height=”30px” valign=”middle” onmouseover=”javascript:this.style.backgroundColor=’#afc4e2′;” onmouseout=”javascript:this.style.backgroundColor=”;”>
<td nowrap >\xe5\x90\x8d\xe7\xa7\xb0: </td><td><input type=”text” id=”title” name=”title” class=”noneinput wideinput” value=”” /> <br/> </td><td nowrap>\xe5\xb9\xbf\xe5\x91\x8a\xe4\xbd\x8d:&nbsp;</td>

<td>
<select id=”adplace” name=”adplace” >
<option value=””>-\xe9\x80\x89\xe6\x8b\xa9-</option>
<option value=”0″>\xe6\xad\xa3\xe5\xb8\xb8(0)</option>\n
<option value=”1″>\xe5\xb7\xb2\xe7\xbb\x93\xe6\x9d\x9f(1)</option>\n
</select> <br/>

<input type=”hidden” id=”adplace_select_orig” name=”adplace_select_orig” value=”” />

</td>

<td nowrap>\xe5\x9b\xbe\xe7\x89\x87:</td><td><input type=”file” id=”imagepath” name=”imagepath” size=”20″ class=”noneinput wideinput” /> <input type=”hidden” name=”imagepath_orig” value=”” /> <br/> </td><td> <script>document.getElementById(‘gtbl_add_form’).enctype=’multipart/form-data’;</script> </td></tr><tr></tr><tr height=”30px” valign=”middle” onmouseover=”javascript:this.style.backgroundColor=’#afc4e2′;” onmouseout=”javascript:this.style.backgroundColor=”;”><td nowrap >\xe9\x93\xbe\xe6\x8e\xa5: </td><td><input type=”text” id=”link” name=”link” class=”noneinput wideinput” value=”” /> <br/> </td>

<td nowrap>\xe7\x8a\xb6\xe6\x80\x81:&nbsp;</td>
<td>
<select id=”state” name=”state” >
<option value=””>-\xe9\x80\x89\xe6\x8b\xa9-</option>
<option value=”0″>\xe6\xad\xa3\xe5\xb8\xb8(0)</option>\n
<option value=”1″>\xe5\xb7\xb2\xe7\xbb\x93\xe6\x9d\x9f(1)</option>\n
</select> <br/>

<input type=”hidden” id=”state_select_orig” name=”state_select_orig” value=”” />

</td>

<tr height=”10px”><td style=”border-top: 1px dotted #cccccc; vertical-align:middle;” colspan=”6″> </td></tr><tr><td colspan=”6″ align=”center”><input type=”submit” name=”addsub” id=”addsub” value=”\xe9\x80\x92\xe4\xba\xa4″ onclick=”javascript:doActionEx(this.form.name,’actarea’);” /> \n<input type=”hidden” id=”id” name=”id” value=””/>\n \n<input type=”button” name=”cancelbtn” value=”\xe5\x8f\x96\xe6\xb6\x88″ onclick=”javascript:switchArea(‘contentarea_outer’,’off’);” /> </td></tr></table> </form> </fieldset> <br/>

诡异的是,如果将 adplace 换成 myadlocation 则相应的select就显示正常了。

========================== 找到原因了 =======================

Chrome的浏览器里安装了广告拦截插件 AdBlock Plus,这个家伙估计是侦测到 ad 或者 adplace 然后就不让显示了!

坑!

 

此条目发表在编程技术, 计算机技术分类目录。将固定链接加入收藏夹。

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code