All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
DropDownList联动简单实例_[Asp.Net教程]
经典php实现大文件上传源代码_[PHP教程]
asp.net2.0网站基础之创建ASP.NET 2.0网站
Delphi执行sql server普通查询
Asp.net,2.0,用C#,创建,PDF文件(示例代码下载)_[Asp.Net教程]
PHP session常见问题集锦及解决办法_[PHP教程]
PHP和AJAX创建的RSS聚合器_[PHP教程]
用C#实现中文验证码_[Asp.Net教程]
开发一个适合Ajax+JSON+jQuery环境使用的多功能页码栏——jPagerBar-1.1.1_[AJAX教程]
ASP.NET技巧:URL编码处理_[Asp.Net教程]
Reading number is top 10 pictures
The money of more than 100 countries and regions2
A man's favorite things1
Nikon microscopic photography of the first three
The money of more than 100 countries and regions4
美丽的风景--让你目瞪口呆
30 beautiful school beauty4
Very beautiful interior decoration
看如何给单纯的少女洗脑
5 meters long centenarians python and melee was successfully capture king snake (figure)
30 beautiful school beauty5
Download software ranking
传奇私服架设教程-chm
Kung.Fu.Panda.2
The cock of the Grosvenor LTD handsome
Sora aoi - one of more PK
塘西风月痕
Ashlynn Video1
I for your crazy
matrix1
Tram sex maniac 2 (H) rar bag11
Tram sex maniac 2 (H) rar bag3
归海一刀 published in(发表于) 2014/1/30 1:00:40 Edit(编辑)
asp.net页面中Menu控件下拉菜单被frame挡住和iframe自适应高度的解决办法_[Asp.Net教程]

asp.net页面中Menu控件下拉菜单被frame挡住和iframe自适应高度的解决办法_[Asp.Net教程]

asp.net页面中Menu控件下拉菜单被frame挡住和iframe自适应高度的解决办法_[Asp.Net教程]

























  当你在做一个仿windows程序的顶部菜单框架的时候,在asp.net中你可能会使用两个frame,一个frame在上面用来放菜单一个frame在下面用来方菜单点击后打开的页面.页面实现很简单,单运行的时候你就发现放菜单的那个frame将菜单的下列菜单在挡住根本伸不到下面的frame中.解决被挡住的问题是不能使用frame,做法是在一个单独的asp.net页面中放一个menu 和一个iframe,嗯,至此下拉菜单不会被挡住,单又有一个新问题出来了,那就是iframe的高度问题,如果强制写死它的高度,那根本是不可接受的.如果解决?解决的办法就是使用javascript 在body的onload和onsized事件中对iframe的高度进行控制.下面代码解决上述的问题.



<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %>







无标题页



















DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#666666"
StaticSubMenuIndent="10px">













































来源:http://www.cnblogs.com/firehang/
















































添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.