Home > Web Front-end > HTML Tutorial > Web page identifier problem_html/css_WEB-ITnose

Web page identifier problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:23
Original
1626 people have browsed it


Content...



... .



..



This is what the web page looks like When I wrote it, I added three identifiers #page1, #page2, #page3. I want #page1 to go to the top of the webpage, and #page2,3 to the top of the webpage
but now it is slightly lower than the top, and # page1, #page2, #page3 are in the same web page. Pull down the scroll bar to see these 3 pages
How can I achieve that #page1, #page2, #page3 all go to the top of the webpage, and when #page1 The content of page2 and 3 is hidden, and the content of page 1 and 3 is hidden on #page2....


Reply to the discussion (solution)

It seems to be used The anchor point is fine, but it needs to be hidden, so how about using js to implement it together? With sliding door?

http://www.codefans.net/jscss/code/946.shtml
Copy after login

This is good and can be reused.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template