SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Sep 2003
    Location
    San Francisco
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question iframe and alternatives

    Hi,

    I'm looking for a solution to the following problem:

    A client's site has a few pages which display data from internal as well as external sources. The data is displayed in "modules", defined by table cells. If the external source is slow, it slows down the loading of the entire page. We're looking for a way to display the internal data immediately and wait for the external data, perhaps displaying a "loading..." message in the externally populated modules.

    One of the things I'm looking into is iframe - I've never used this, so any tips would be appreciated. Is this the appropriate solution? Also, does anyone have any other ideas?

    Thanks in advance,

    --PV

  2. #2
    SitePoint Guru kish's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    923
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, i'd recommend the Iframe solution.
    Fast Fwd Multimedia
    Web, IT & Cloud Computing Consultancy
    Currently looking for web freelancers. Get in touch!

  3. #3
    SitePoint Evangelist NokX's Avatar
    Join Date
    Feb 2003
    Location
    Knoxville, TN
    Posts
    525
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yah...for pulling in pages to view within your own page, i'd recommend iframes as well.

    <iframe src="otherpage.html" frameborder="0" width="200" height="200"></iframe>

  4. #4
    SitePoint Guru kish's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    923
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nokx's code is good, and if you need to position the iframe then just put it in a DIV, or, the cell of a table... if you're into that sort of thing, lol
    Fast Fwd Multimedia
    Web, IT & Cloud Computing Consultancy
    Currently looking for web freelancers. Get in touch!

  5. #5
    SitePoint Member
    Join Date
    Sep 2003
    Location
    San Francisco
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank, kish and NokX!
    --PV


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
  •