I have an iframe on a page of one of my ZebraHost sites, and it works as expected. When I log onto http://XX.XXX.XX.XXX/ABC/test_iframe.a5w the page from
http://XX.XXX.XX.XXX/XYZ/login.a5w
shows in the iframe and the url in the browser stays at http://XX.XXX.XX.XXX/ABC/test_iframe.a5w which is exactly what I want to happen.
Here is the html on page http://XX.XXX.XX.XXX/ABC/test_iframe.a5w
***************************************************************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Web-site Title Here</title>
<META name="description" content="Put your description here">
<META name="keywords" content="keywords go here, separated by a comma,">
</head>
<body>
<iframe scrolling="no" width="1000" height="800" src="http://XX.XXX.XX.XXX/XYZ/login.a5w"></iframe>
</body>
</html>
***************************************************************************************************************************
However, when I replace the src code in the iframe with another page which is hosted on ZebraHost, namely:
http://XX.XXX.XX.XXX/QRS/login.a5w
the url in the browser changes to http://XX.XXX.XX.XXX/QRS/login.a5w, when I want it to stay at
http://XX.XXX.XX.XXX/ABC/test_iframe.a5w
Do you have any idea why this is happening? Could it be Xbasic or javascript that is causing that problem? I will post the html from the offending page (http://XX.XXX.XX.XXX/QRS/login.a5w) later this evening if that is relevant. It probably is, because from what I can tell, it is the only variable.
Thanks,
Jay
http://XX.XXX.XX.XXX/XYZ/login.a5w
shows in the iframe and the url in the browser stays at http://XX.XXX.XX.XXX/ABC/test_iframe.a5w which is exactly what I want to happen.
Here is the html on page http://XX.XXX.XX.XXX/ABC/test_iframe.a5w
***************************************************************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Web-site Title Here</title>
<META name="description" content="Put your description here">
<META name="keywords" content="keywords go here, separated by a comma,">
</head>
<body>
<iframe scrolling="no" width="1000" height="800" src="http://XX.XXX.XX.XXX/XYZ/login.a5w"></iframe>
</body>
</html>
***************************************************************************************************************************
However, when I replace the src code in the iframe with another page which is hosted on ZebraHost, namely:
http://XX.XXX.XX.XXX/QRS/login.a5w
the url in the browser changes to http://XX.XXX.XX.XXX/QRS/login.a5w, when I want it to stay at
http://XX.XXX.XX.XXX/ABC/test_iframe.a5w
Do you have any idea why this is happening? Could it be Xbasic or javascript that is causing that problem? I will post the html from the offending page (http://XX.XXX.XX.XXX/QRS/login.a5w) later this evening if that is relevant. It probably is, because from what I can tell, it is the only variable.
Thanks,
Jay
Comment