I don't seem to be able to make the iframe to work. I click on the small icon and it is suppose to make a video appear in the top box. What am I doing wrong?
http://www.escapebetweenthepages.com/videobox.html
I don't seem to be able to make the iframe to work. I click on the small icon and it is suppose to make a video appear in the top box. What am I doing wrong?
http://www.escapebetweenthepages.com/videobox.html
Replace
<iframe id="videobox" width="288px" height="160px" border="1" bordercolor="666666" bgcolor="010101" > </iframe>
with
<iframe id="videobox" name="videobox" width="288px" height="160px" border="1" bordercolor="666666" bgcolor="010101" > </iframe>
and
<td width="100%" align="center"> <a href="http://www.escapebetweenthepages.com/videos/worldwarz.html"><img src="http://i801.photobucket.com/albums/yy291/Lady_Roguepics/worldzicon_zps0947eaa8.gif" border="1" align="left"class=&{ns4class}; target="videobox"/></a><b>World War Z</b><br>June 21, 2013 </td>
with
<td width="100%" align="center"> <a href="javascript: void(0)" onclick="frames.videobox.location.href='http://www.escapebetweenthepages.com/videos/worldwarz.html'; return false"><img src="http://i801.photobucket.com/albums/yy291/Lady_Roguepics/worldzicon_zps0947eaa8.gif" border="1" align="left"class=&{ns4class}; target="videobox"/></a><b>World War Z</b><br>June 21, 2013 </td>
It's not exactly how I would do it, but it'll probably work.
Thank you. If this is not what you would do, what do you suggest?
The way you use iframes (attributes), and the use of tables, is a little bit outdated. But if it works, it's OK.
Bookmarks