本文介绍了谁能看这个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

myDoc.body.setAttribute(scrollTop,(screenHeight-5)* myPage,0);


我尝试使用此代码从c#.net滚动网页..但是对于某些网站它不起作用...例如google搜索结果页面..它不向下滚动..但是其他的它完美地运行了

你能告诉我为什么吗?..整个代码在这里...

使用C#捕获整个Web页面 [ ^ ]

myDoc.body.setAttribute(scrollTop, (screenHeight - 5) * myPage, 0);


i tried this code to scroll a web page from c#.net ..but for some site it don''t work ...like google search result page..it don''t scroll down.. but others it work perfectly

can u tell why???..the whole code is here...

Image Capture Whole Web Page using C#[^]

推荐答案


这篇关于谁能看这个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:27