Results 1 to 2 of 2

Thread: innerhtml in parent for iframe content source?

  1. #1
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default innerhtml in parent for iframe content source?

    Can you use innerHTML (or something else) in the parent of an iframe as the source of the iframe’s content? I believe innerHTML is the answer here, although I’m very much a novice.

    The idea is to use only one page. The site where my blog is located won’t let me upload a second page, so a js file is out, so is an iframe content page. Yes, I’ve tried linking it in from another site, and it works, but I get an error message: [‘top.w.frames’ is null or not an object]

    I’m using the iframe for my links, the blog is long (getting longer) and I’m using a floating iframe to follow the user down the page. Thanks for any suggestions, I’ll check back often.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If you can't upload any pages to your site, an iframe is useless. It can only show something on another page. If you want to use innerHTML to change the content of a floating division, that could work. You would need to be able to edit your existing page at or near the text level to do this.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •