ipromote — 2001-08-17T17:44:47-04:00 — #1
HTML Page 1 (page.html)
document.write ("<IFRAME src='/content.html' WIDTH='468' HEIGHT='60'>");
HTML Page 2 (content.html)
var gotoUrl = "http://www.mydomain.com";
var homewindow = window.open(gotoUrl);
<img src="/images/468x60.gif" name="banner" border="0">
vincent_puglia — 2001-08-21T13:12:13-04:00 — #2
You could try something like this:
<iframe.....src="/content.html?go2Url=" + newURL width=......>
and in your content page, use location.search & split to parse out the newURL
ipromote — 2001-08-21T20:01:00-04:00 — #3
I can't touch the content.html, but still I want to overide the variable gotoURL from the page that embed the content.html through the IFRAME tag
Any other suggestions ?
vincent_puglia — 2001-08-21T21:35:22-04:00 — #4
I can't touch the content.html,
Why not? And please be specific.
ipromote — 2001-08-22T21:30:12-04:00 — #5
I don't have access to the content.html, that's the reason, I would like to change the variable depending on different situations.