Forum Moderators: open

Message Too Old, No Replies

<iframe> problem

can you solve it...

         

Rolozo

10:37 am on Nov 11, 2005 (gmt 0)

10+ Year Member



i am not figuring out what is the problem.
I have two ad blocks and 1 image in between them.
first ad block width =300
image width =150
2nd ad block width =250
Above three items are in line so total width is 700.

I want to put above three items in <iframe> so that i can attach onClick event on it and eventually track clicks on it.
So my code look like

<iframe width=700 height 250>
Here is the above code of three items which are in table.
</iframe>
Some javascript code here to track clicks in <iframe> .

But problem is that my adblocks are not displaying inside <iframe> .
Certainly i am missing something can you plz figure out what is the problem?
Thank You.

kaled

10:55 am on Nov 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<iframe src="menu.html"> is used to include html data from another file into the page.

I don't know whether onclick events filter down, but you could try simply using a <div> rather than an <iframe>

Kaled.