Advanced Search

Results 1 to 4 of 4

Thread: Can't seem to get the iframe to work.

  1. #1
    Join Date
    Jan 2010
    Posts
    51
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Can't seem to get the iframe to work.

    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

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,136
    Thanks
    22
    Thanked 116 Times in 111 Posts
    Blog Entries
    26

    Default

    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.

  3. #3
    Join Date
    Jan 2010
    Posts
    51
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you. If this is not what you would do, what do you suggest?

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,136
    Thanks
    22
    Thanked 116 Times in 111 Posts
    Blog Entries
    26

    Default

    The way you use iframes (attributes), and the use of tables, is a little bit outdated. But if it works, it's OK.

Similar Threads

  1. Lytebox iframe doesn't work. Pls help!
    By thomasbrown in forum JavaScript
    Replies: 0
    Last Post: 01-28-2010, 04:13 PM
  2. Iframe SSI script II doesn't work in FF
    By davkraid in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-26-2009, 08:29 AM
  3. iframe ssi doesn't work in firefox 3 and ie 7
    By al3x in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-15-2008, 04:43 PM
  4. IFRAME (Iframe SSI script II) does not work on IE7
    By penny1jordan23 in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 08-08-2007, 09:49 PM
  5. Replies: 0
    Last Post: 06-16-2005, 03:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •