Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

New Post: Screen location/size of specific element

$
0
0
The scenario is to provide a level of interactivity by using HTMLRenderer for presentation and PhantomJS for Javascript processing. ie: when an HTML element is clicked on HTMLRenderer, the co-ordinates can be passed through to PhantomJS to perform a 'real' click. Any changes in the resulting HTML can then be passed back to HTMLRenderer to re-render and display.

This approach should enable me to create a very lightweight 'browser' - obviously not general-purpose, but for specifically designed web-pages whose HTML is HTMLRenderer-friendly. I'm not sure how well it would work, but would be worth a try.

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>