vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
576 stars 102 forks source link

[question] How to set top offset/margin - scrolling page? #75

Open stefanmm opened 7 years ago

stefanmm commented 7 years ago

Can I create "illusion" of scrolling by passing top offset/margin params? Eg. top: 200px.

aubergene commented 7 years ago

If you know the width/height can you use clipRect to achieve this?

The instructions appear to be wrong, it looks like it should be top,left,width,height, so something like this might work.

clipRect=200%2C0%2C1024%2C2000