RT
解决方案 »
- VS2010发布的问题
- asp.net 中FCK问题
- |zyciis| Repeater中的OnPreRender事件,如何得到HeaderItem的控件集合,谢谢
- 有没有高手啊?100分求解,分不够再加
- 接口的简单问题
- 请教: 如何在DataGrid Web 服务器控件的超链接列中向目标页传递两个值?.
- .net连数据库出错,在线求助?
- Datalist,有没有办法根据数据库的某一个字段是某一数据行为空?
- asp.net中怎么取得数据库(Oracle)中指定表的字段类型、长度、是否允许为空等信息
- 谁给介绍几个.net的控件
- 我想做一个文件下载时验证,必须通过验证才能下载.
- 为什么会添加二个按钮?
是要点超连接 在原来的窗口显示连接页吗?
<a href="new.aspx" target="_self">好象是这样吧 很久没弄程序 记不太清楚了
<a href=#锚的名称> 指定锚名称的超级链接
<a href> 指定超级链接
<a name=锚的名称> 被连结点的名称
The name attribute is used to create a named anchor. When using named anchors we can create links that can jump directly into a specific section on a page, instead of letting the user scroll around to find what he/she is looking for.Below is the syntax of a named anchor:<a name="label">Text to be displayed</a> The name attribute is used to create a named anchor. The name of the anchor can be any text you care to use.The line below defines a named anchor:<a name="tips">Useful Tips Section</a> You should notice that a named anchor is not displayed in a special way.To link directly to the "tips" section, add a # sign and the name of the anchor to the end of a URL, like this:<a href="http://www.w3schools.com/html_links.asp#tips">
Jump to the Useful Tips Section</a> A hyperlink to the Useful Tips Section from WITHIN the file "html_links.asp" will look like this: <a href="#tips">Jump to the Useful Tips Section</a>
方案一: 用框架;
方案二:用server.transfer()跳转;【这个用的时候,它跳转了,原来的页面就不往下执行了。】
应该楼主问的就是 锚点!<a href="#pagetop">顶部</a> <a href="#pagebottom">底部</a>
<a name="pagetop"></a>
<div style=" width:100%; height:500px; border:1px #3399FF dashed">1</div>
<a href="#pagetop">顶部</a> <a href="#pagebottom">底部</a>
<div style=" width:100%; height:500px; border:1px #3399FF dashed">2</div>
<a href="#pagetop">顶部</a> <a href="#pagebottom">底部</a>
<a name="pagebottom"></a>
<div style=" width:100%; height:500px; border:1px #3399FF dashed">3</div>
我用div+CSS布的局
就是在一个页面里点击一个超连接,让某个DIV改变,其他不变
而<a href="Dafatlt.aspx">homepage</a>好象实现不了
不知道该怎么做?
---------------------------------------------------
???什么意思,我又要咂摸了.
是不是跳到某个DIV块?
点击一个超连接后某个div改变,其它的不变(如顶部(top.ascx)和底部变(bottom.ascx))
不是我想要表达的意思
就那我经常上的网站来说吧(www.newegg.com.cn)点击上面的超连接(导航)的效果
难道是用frameset实现的吗?
这要用到css和javascript的知识
你点击数字按钮,实现某div显示,其它div隐藏.
javascript动态实现
在初始时,实际上这三个div已经加载了ps:如果数据量大的话,就建议不使用上述的方法了,要考虑ajax异步请求传输数据.
--------------------------------------------------- Content(div1,div2,div3)
-----------------------------------------------------------------
点击按钮时
-----------------------------------------------------------------
content(某一div)-----------------------------------------------------------------
-----------------------------------------------------------------
content(某一div) 其它div隐藏-----------------------------------------------------------------
我只是把大体的原理和实现方法说了,如果谁有现成的代码,能贴上来最好了. :=)