Sharing tips on using scroll bars in HTML_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:40:02
Original
1393 people have browsed it

Today when I was studying the Beef Brisket press release system, Mr. Beef Bristle talked about some knowledge about scroll bars. He didn’t mention much about them. It only touched on part of the knowledge about scroll bars. If you want to study in depth, these are not enough. You have to collect some relevant knowledge yourself. Knowledge
I would like to say that a common phenomenon must be common to everyone, that is, when deleting something on a web page, the scroll bar is often still at the position before deleting the thing, instead of running to the top of the page in a very inhumane manner, then this How is it achieved? In fact, the method is very simple. You only need to add MaintainScrollPositionOnPostback = "true" to the top part of the .aspx source code. See the picture below:

The above phenomenon was encountered when learning the Brisket news release system. Let me share with you some other tips on using HTML scroll bars
(1) Hide scroll bars

(2) How to appear scroll bars in cells or layers


(3)javascript changes the style of the scroll bar in the frame, such as changing the color or changing it to flat Effects, etc.


 


 

1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ

 

1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
2234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
3234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
4234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
5234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
6234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
7234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
8234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
9234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
0234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
2234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ

class="MainDIV">
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
2234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
3234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
4234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
5234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
6234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
7234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
8234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
9234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
0234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
2234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ





The use of scroll bars is very common, and there is quite a lot of related knowledge about it. I hope that I can continue to learn and summarize, so that my learning ability and learning efficiency can be improved to a certain extent.
Related labels:
source:php.cn
Previous article:Three common style selectors for CSS in HTML_HTML/Xhtml_Web page production Next article:Several methods of calling js in a are organized and recommended for use_HTML/Xhtml_Web page production
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
Latest Articles by Author
Latest Issues
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template