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,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice