Preloader script

Discussion in 'PHP' started by computerzworld, May 29, 2008.

  1. #1
    Hello. I am having site on which home page is having the portion which displays news from other site using CURL but due to that the site loads very slowly so I want the preloader that should come before the home page loads fully. How can I put preloader? Please help me. Thanks in advance.
     
    computerzworld, May 29, 2008 IP
  2. Im The ONE

    Im The ONE Peon

    Messages:
    800
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can create a script to fetch news, store it in database and create a cronjob to process it every minute
     
    Im The ONE, May 29, 2008 IP
  3. computerzworld

    computerzworld Active Member

    Messages:
    214
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    thanks for the reply....but is there any way that can load preloader by means of javascript or ajax in my php script that comes before my whole page loads fully?
     
    computerzworld, May 29, 2008 IP
  4. Im The ONE

    Im The ONE Peon

    Messages:
    800
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #4
    nah that javascript preloader is for preloading rollover images, its certainly not for what you need here
     
    Im The ONE, May 30, 2008 IP