Hi,
I am adding custom functions to a site with a 3rd party tracking software. I need to assign all events (mostly clicks) happening on the parent page to the iframe in the page.
Links do not have IDs that I can address. Any ideas?
Posting solution for anyone who runs into the similar problem.
Iframe document:
<html>
<head>
<script language="javascript">
var sA='Stuff A';
var sB='Stuff B';
function passToDIV1(t)
{
var x = window.parent;
x = x.showValueSA;
x(t);
}
function passToDIV2(t2)
{
var x2 = window.parent;
x2 =...
Hi feherke,
The usual approach (and I tested it) would be
to get the second variable to write out in the second DIV like this:
parent.document.getElementById('gads2').open();
parent.document.getElementById('gads2').innerHTML=sB;
parent.document.getElementById('gads2').close();
this code...
Hi everyone,
Here is a problem that I have.
In the age I call Iframe through Javascript (have to because of tracker).
<div id="gads1"></div>
document.getElementById('gads1').innerHTML ="<iframe name='google_ads_frame' id='google_ads_frame' src='http://mysite.com/iframe_file.htm'></iframe>"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.