Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to scroll a div via Gecko and C#

My code is


C#
GeckoDivElement div1 = new GeckoDivElement(icdIFrameElement.ContentDocument.GetHtmlElementById("t1::scroller").DomObject);
GeckoElementCollection divs = div1.GetElementsByTagName("div");
GeckoDivElement div = new GeckoDivElement(divs[0].DomObject);
div.ScrollIntoView(true);
div.ScrollTop += 10;


but it does not work

Can someone help me please?
Posted
Comments
ZurdoDev 24-Jul-13 8:01am    
I would ask at http://code.google.com/p/geckofx/ first.
Antonis Zalonis 24-Jul-13 8:32am    
I can not find where in code.google.com/geckofx the link of community does not work
Antonis Zalonis 25-Jul-13 10:23am    
ok I ask at http://code.google.com/p/geckofx/ but nothing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900