Results 1 to 4 of 4

Thread: What are the alternatives to loading content through an iframe?

  1. #1
    Join Date
    May 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What are the alternatives to loading content through an iframe?

    I'm having a problem with the way Opera handles the z-index of iframes.

    For detailed information:
    http://www.webreference.com/dhtml/diner/seethru/
    http://www.quirksmode.org/css/tests/op_iframes.html

    My site:
    http://ediblepoly.com

    I use iframes on my website to handle loading all of the off-page content to keep the size of index.htm at a minimum.

    The method I'm currently using isn't well supported. What is an alternative method for loading content in a similar way? I don't mind php but I would like to see something in javascript as well.

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

    Default

    Server-side is the best way to add external content.
    If you're set on Javascript, search for the AJAX Includes script here on DD.
    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
    May 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow. It was here all along, eh? I'll definately check this out!

    Thanks a bunch. ^^

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Server side coding is actually relatively simple if all you want to do is include another page.

    <?php include("http...."); ?>

    That's it.

    that's php, and there are other languages as well.

    But... ajax is good for certain things.


    The general rule is to use server side unless it will be changing due to a mouseover, a click, etc etc.
    Server side is processed THEN sent to the user, so it can't change without a refresh.
    ajax can get around that... that's why it's helpful.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •