I have a page Im working on, on which I want to use an iframe. I want the iframe to be a login page which is already built and functional.
If I insert an iframe linking to google, e.g.
then it displays just as expected.
However, if I change the iframe source to that login page, e.g.:
something strange happens. When I load the page, it appears normally for a brief moment, but then the whole browser page changes to just the iframe source, full screen.
Since the iframe source page features some javascript, and is in the form .aspx, im wondering if this may be the reason why its acting strange? if thats the case, are there any known hacks to force it to stay in an iframe instead of opening as a new page?
thanks in advance.
If I insert an iframe linking to google, e.g.
HTML:
<iframe src="http://www.google.com/" width="100%" height="260px" scrolling="no" /></iframe>
then it displays just as expected.
However, if I change the iframe source to that login page, e.g.:
HTML:
<iframe src="myLoginPage.aspx" width="100%" height="260px" scrolling="no" /></iframe>
something strange happens. When I load the page, it appears normally for a brief moment, but then the whole browser page changes to just the iframe source, full screen.
Since the iframe source page features some javascript, and is in the form .aspx, im wondering if this may be the reason why its acting strange? if thats the case, are there any known hacks to force it to stay in an iframe instead of opening as a new page?
thanks in advance.