弹窗的布局是上下布局的,上面的是一个div,下面是一个div,在下面的div中有滚动条,显示多条数据,现在做了一个按钮浮窗,当点击相应的按钮时,滚动到相应的位置,我是用的a锚点跳转的,但是整个页面都跟着跳转,上面的div就不见了
a标签阉割href属性
有没有代码,贴出一部分看看
表单1 | 表单2 | 表单3 | 表单4 | 表单5 | 表单6 |
---|---|---|---|---|---|
前一节点工作质量: | 请选择...优秀良好中等一般 | ||
办理意见: | |||
附件上传: | |||
抄送人: |
</div>
<!-- 页面底横条,关闭按钮 -->
<div id="footer">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="46" class="bottom_td">
<% if(isShowOpinion != null && "1".equals(isShowOpinion)){//点击审批按钮时,调用该页面中的审批方法
for ( int i = 0; i < actionList.size(); i++) {
Map attributesMap = (Map)actionList.get(i);
String ACTIONNAME = attributesMap.get("ACTIONNAME").toString();
if(ACTIONNAME.indexOf("@")!=-1)
{
String[] split=ACTIONNAME.split("@");
ACTIONNAME=split[0];
}
String ACTIONID =attributesMap.get("ACTIONID").toString();
String CHOOSEPEOPLE =attributesMap.get("CHOOSEPEOPLE").toString();
String CHOOSEPEOPLETYPE =attributesMap.get("CHOOSEPEOPLETYPE").toString();
String POSTFUNCTION =attributesMap.get("POSTFUNCTION").toString();
String REQUIREDFILE =attributesMap.get("REQUIREDFILE").toString();
%>
<input type="button" value="执行" class="button_bg" onclick="testGL()" /> </td>
</tr>
</table>
</div>
</form>
<div class="w"><a href="#optionTable">办 理</a><a href="#ifrNameId">业务表单</a></div>
以上是中间部分的代码,当我点击办理的时候,跳转到id为optionTable的位置,但是整个部分都在跳转
a标签阉割href属性是什么意思,能详细的说一下嘛?