Sharing tips on using scroll bars in HTML_HTML/Xhtml_Web page production
- WBOYOriginal
- 2016-05-16 16:40:021408browse
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