从页面上的某个位置开始 [英] Starting at a certain spot on the page
问题描述
我有一个网页,页面大约在页面的一半。当它加载时从页面顶部开始而不是
我希望它直接转到表单的顶部
。这可以吗?
Dave
J。大卫肯特写道:
我有一个网页,页面大约在页面的一半。当它被加载时,它不是从页面顶部开始,而是希望它直接转到表单的顶部。可以这样做吗?
< form ... id =" myForm">
并追加 ;#myForm的"到了URI。
参见: http://david.us-lot.org/software/frag/
-
David Dorward http://david.us-lot.org/
< br>
在文章< -H ******************** @ berkshire.net>在
comp.infosystems。 www.authoring.html ,J大卫肯特
< jd *@ccsispXXX.com>写道:我有一个网页,页面大约在页面的一半。当它被加载时,它不是从页面顶部开始,而是希望它直接转到表单的顶部。可以这样做吗?
是的,当然。在表单的开头放置一个锚点,例如
< a name =" BuyForm">立即购买!< / a>
然后make确保所有指向此页面的链接都链接到它
< a href =" blahblah ... page.htm#BuyForm">
-
Stan Brown,Oak Road Systems,美国纽约州科特兰县
http://OakRoadSystems.com/
HTML 4.01规范: http://www.w3.org/TR/html401/
验证者: http://validator.w3.org/
CSS 2规范: http://www.w3.org/TR/REC-CSS2/
验证者: http://jigsaw.w3.org/css-validator/
酷!非常感谢。
不是我会这样做,但我写的那个人认为它会更好。
会更好。啊欢迎.....
再次感谢,
Dave
" David Dorward" <做***** @ yahoo.com>在留言中写道
新闻:bf ******************* @ news.demon.co.uk ...
:J。David Kent写道:
:
:>我有一个页面大约一半的网页。相反
:>从页面顶部开始加载时我想要它
go
:>直接到表单的顶部。可以这样做吗?
:
:< form ... id =" myForm">
:
:并附加#myForm到URI。
:
:另请参阅: http://david.us-lot.org/software/frag/
:
: -
:David Dorward
http://david.us- lot.org/
I have a web page with a form about halfway down the page. Instead of
starting at the top of the page when it is loaded I would like it to go
directly to the top of the form. Can this be done?
Dave解决方案J. David Kent wrote:
I have a web page with a form about halfway down the page. Instead of
starting at the top of the page when it is loaded I would like it to go
directly to the top of the form. Can this be done?
<form ... id="myForm">
And append "#myForm" to the URI.
See also: http://david.us-lot.org/software/frag/
--
David Dorward http://david.us-lot.org/
In article <-H********************@berkshire.net> in
comp.infosystems.www.authoring.html, J. David Kent
<jd*@ccsispXXX.com> wrote:I have a web page with a form about halfway down the page. Instead of
starting at the top of the page when it is loaded I would like it to go
directly to the top of the form. Can this be done?
Yes, certainly. Put an anchor at the start of the form, for instance
<a name="BuyForm">Buy Now!</a>
and then make sure that all links to this page link to it as
<a href="blahblah...page.htm#BuyForm">
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Cool! Thanks much.
Not that I would do it that way, but the guy I wrote it for thinks it
would be better. Ah welll.....
Thanks again,
Dave
"David Dorward" <do*****@yahoo.com> wrote in message
news:bf*******************@news.demon.co.uk...
: J. David Kent wrote:
:
: > I have a web page with a form about halfway down the page. Instead
of
: > starting at the top of the page when it is loaded I would like it to
go
: > directly to the top of the form. Can this be done?
:
: <form ... id="myForm">
:
: And append "#myForm" to the URI.
:
: See also: http://david.us-lot.org/software/frag/
:
: --
: David Dorward
http://david.us-lot.org/
这篇关于从页面上的某个位置开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!