I have a page inside it that has another one, this inner page is placed in an iframe, I need it to be in a certain position and not the whole one. width="250" height="350" scrolling="no". I can not do this in iframe because I am not allowed so I put this iframe inside a div. I've tried this but it does not work:
var frm_doc = document.getElementById("frm");
//frm_doc.documentElement.scrollTop = 500;
//document.getElementById("frm").contentWindow.scrollTo(100, 500);
frm_doc.contentWindow.scrollTop(500, 500);
The problem is that I need to set the vertical position of this page included in the other, since I only want to show the user only a frame that does a certain function.