English 中文(简体)
DIV 而不设方案 [复制]
原标题:DIV without ScrollBars [HTML | CSS | JavaScript] [duplicate]
This question already has answers here:
Closed 11 years ago.

Possible Duplicate:
How to disable browser or element scrollbar, but allow scrolling with wheel or arrow keys?

I want a DIV without scrollbars. Yes — I know how overflow:hidden; works.

I want to scroll an overflowing DIV via JavaScript. I would also hide the overflow. But how to scroll the hidden content via JS?

是否有良好的联合材料实例、辅导、促销或图书馆?

致谢,J。

问题回答

你们可以使用上文(四处稍微小的圆环内)的代号,以掩盖可能最简单的解决办法。 就各种情况而言,你也可以使用一种习惯的滚动bar,如tiny scrollbar,并使用其他 c来掩盖滚动酒吧。 这包括支持静态轮.,如果你需要,还可以让你选择横向滚动。

作为一个附带说明,是否在网页上向用户表明他们实际上能够浏览内容? 或者他们是否自食其力?





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签