谁能看这个 [英] can anyone look into this
本文介绍了谁能看这个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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#[^]
推荐答案
如果它适用于某些页面而不适用于其他页面,则需要查看页面以尝试找出原因.也许与页面格式有关?
If it works for some pages and not for others, then you need to look at the pages to try to work out why. Perhaps it has to do with the format of the pages ?
这篇关于谁能看这个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文