[英]how can i allow user to scroll large text files?
I have very large text files that can reach 10's of gb's(on server side), and want the ability for user to scroll through them on my website.我有非常大的文本文件,可以达到 10 的 GB(在服务器端),并且希望用户能够在我的网站上滚动浏览它们。 This will allow them to view it without needing to download a program such as glogg.
这将允许他们查看它而无需下载诸如 glogg 之类的程序。 I thought about implementing something that shows lines of text based on the users scroll positon, although i dont really know how to start doing this.
我想实现一些基于用户滚动位置显示文本行的东西,尽管我真的不知道如何开始这样做。 My website is build on react and nodejs.
我的网站建立在 react 和 nodejs 之上。 Any ideas?
有任何想法吗?
您可以在 css 中使用overflow
属性
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.