显示/隐藏侧边菜单栏div
2017-04-12 16:00
323 查看
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <html> <head> <base href="<%=basePath%>"> <title>button_title_l</title> <script> function oa_tool(){ if(window.parent.oa_frame.cols=="0,10,*"){ frameshow.src="img/main/img/p_1.gifGGG"; oa_tree.title="隐藏工具栏" window.parent.oa_frame.cols="180,10,*"; } else{ frameshow.src="img/main/img/p_2.gifGGG"; oa_tree.title="显示工具栏" window.parent.oa_frame.cols="0,10,*"; } } </script> <style type="text/css"> body { background-image: url(img/main/img/Abg.gifGGG); background-color:blue; } </style> </head> <body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF"> <table width="9" border="0" height="100%" cellpadding="0" cellspacing="0" align="left"> <tr align="center"> <td background="img/main/img/bg_1_hr.gifGGG" width=10> <div id=oa_tree onclick="oa_tool();" title=隐藏工具栏><br> <img id=frameshow src="img/main/img/p_1.gif" width="9" height="50" > </div> </td> </tr> </table> </body> </html>
相关文章推荐
- 显示和隐藏菜单栏(两种方式div、table)
- 显示和隐藏菜单栏(两种方式div、table)
- Div显示/隐藏
- div 显示与隐藏
- Css+DIV关于层的显示与隐藏
- 多个DIV显示/隐藏
- javascript实现div的显示和隐藏
- 用同一按钮控制DIV的显示/隐藏
- div Js隐藏显示
- 显示隐藏div
- jquery对div隐藏与显示
- 显示和隐藏一个div
- 显示或隐藏客户端页面中包含指定文字的DIV 标签
- DIV+CSS实现的拖动+隐藏/显示效果+背景变暗
- javaScript控制<div>的显示,隐藏
- JavaScript实现DIV层的隐藏与显示
- [HTML]显示/隐藏DIV的技巧(visibility与display的差别)
- javascript实现div的显示和隐藏
- div 显示和隐藏
- DIV应用之显示与隐藏