Load a section independently?

Discussion in 'Web Design and Development' started by Aranince, Jan 24, 2008.

  1. Aranince macrumors 65816

    Joined:
    Apr 18, 2007
    Location:
    California
    #1
    I have some PHP code the loads an RSS feed then tries to display it. But since this RSS feed is on another server, I can't guarantee it can be loaded quickly...or loaded at all. Is there a way to load the entire page, while this little part is doing its own thing separately...so it won't bog down the entire page?
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    One way is to use JavaScript and set an onload event that will use AJAX to call your PHP script to do its RSS things and return the results for you to display.
     

Share This Page