1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Intemediate page displaying message

Discussion in 'Perl' started by Rakish, Apr 10, 2007.

  1. Rakish

    Rakish New Member

    Joined:
    Jun 30, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    Dear perl Gurus,

    I want to have a page that displays the message "1 item successfully deleted" which should be in between two pages and should only be displayed for 3-5 seconds.


    Also How can I have the loading file bar with percentage of file uploaded.

    Thank you. :)
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    You can use the META tag in the head section, or you can use javascript.

    HTML:
    <META HTTP-EQUIV='Refresh' CONTENT='<seconds>;<URL>'>
    
    Code:
    function goToURL()
    {
      location.href = 'index.html';
    }
    
    window.setTimeout('goToURL()',3000); //3 secs
    
     

Share This Page