开发者

targeting div in some other page

I 开发者_StackOverflow社区have two pages say abc and xyz

in abc i have an anchor tag, and when i click on that it should go to some div in page xyz.

i used in the page abc

and in xyz i put ... before that div..what am i missing?


You add a # and the value of the id of the element you are targeting to the end of the URL:

http://example.com#id_value_of_target_element
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜