BlackOpty
BlackOpty

Reputation: 241

VB.NET scroll to top webbrowser

I'm almost done with my project :)
i want to scroll the page to top evrey second

    WebBrowser1.ScrollBarsEnabled = True
    WebBrowser1.Document.Body.ScrollTop

it not work :/

Upvotes: 0

Views: 2267

Answers (1)

nnm
nnm

Reputation: 875

timer1.interval = 1000
Timer1.Tick:

wb.navigate("javascript:window.scroll(0,150);")

Upvotes: 1

Related Questions