Results 1 to 8 of 8

Thread: Embed ext. page works in FF, but not IE!!

  1. #1
    Join Date
    Sep 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Embed ext. page works in FF, but not IE!!

    I thought it usually goes the other way round...anyway, I have a blogger.com page that I've stuck in the middle of a web page. This works just groovy in Firefox, but the page is blank (white) in IE.

    Here's what code I have stuck in:

    <tr>
    <td colspan="8">
    <object data=http://www.wasteofaces.com/sfp/sfpblog.html width="800" height="1249">
    <embed src=http://www.wasteofaces.com/sfp/sfpblog.html width="800" height="1249"> </embed></object>
    </td>
    </tr>

    Here's the site: http://www.stonefalconproductions.com


    Anyone know what I should do to get the embed to work on IE?

    thanks in advance,
    Jun

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The simple answer is: don't do that. Support for this kind of thing is awful. If you really must embed one page in another, use an iframe. There's no reason to use <object> and <embed> for this.

    You do also need to specify type="text/html" in that <object> tag, though.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Sep 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm kind of not the best person with all of this script, only able to copy/paste and alter measurements and stuff.

    How would I use iframe in this case? (I tried a script from the site and I screwed up my page )

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Code:
    <iframe src="http://www.wasteofaces.com/sfp/sfpblog.html" width="800" height="1249">

  5. #5
    Join Date
    Sep 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thankyou, that did solve my IE viewing problem, but it caused a couple of minor issues.

    The bottom of the html page doesn't show up any more now, theres how the code looks now:

    <tr>
    <td colspan="8">
    <iframe src="http://www.wasteofaces.com/sfp/sfpblog.html" width="800" height="1249">
    </td>
    </tr>
    <tr>
    <td colspan="8"><img name="footer" src="images/footer.gif" width="800" height="49" border="0" id="footer" alt="" /></td>
    <td><img src="images/spacer.gif" width="1" height="49" border="0" alt="" /></td>
    </tr>

    Also a javasript drop down list from the main html button area doesnt work any more.

    I can redesign around both these issues if I have to, just wondering if anyone might have fix suggestions.

    Thankyou for your help so far
    Jun

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    you need to close the iframe

    <iframe src="whatever.html"> Put noframes error message here if necessary. </iframe>
    Last edited by thetestingsite; 09-29-2006 at 12:16 AM. Reason: forgot to add something to it.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Sep 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oops, duh! Thanks!

  8. #8
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Well, that shows you how long it has been since I've used frame.

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
  •