html - how can i set the specific area of a website in my iframe -


i need make iframe show me specific area of website in page. failed find answer on internet, tried several codes nothing seems work. if kind enough show me how exact location - need scrolling news part is. thank you!

this code-

<section><iframe src="http://www.walla.co.il" scrolling="no" frameborder="0"></iframe></section> 

the css -

iframe { width:130px; height:275px; position:absolute; top:40px; left:55px; clip:rect(692px 682px)} 

you can use window.scrollby commented anishsane, long know how many pixels scroll. change second pages design changes.

if page under control, acceptable solution, , need figure out how remove scrollbars (ie has posed problems me in past).

if page domain, have problem deal with. cross domain policy iframes.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -