Display webpages in sequence automatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmala26
    New Member
    • Nov 2008
    • 7

    Display webpages in sequence automatically

    Hi All,

    Language Used - C#.net
    I have a web application containing 6 aspx pages and their code files. Now I want to design a automatic display of these webpages in sequence. In detail, once i open the weblink - it should show the Main webpage (Main.aspx) for 2 mins, then automatically redirect to the second webpage (Second.aspx), display this for 2 mins and then redirect to the third and so on... Once the 6th webpage (Six.aspx) is displayed for 2 mins, it should redirect to Main.aspx again and the cycle should keep on repeating.
    Can anyone suggest how I can get this worked out ? Thanks..
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Originally posted by nirmala26
    Hi All,

    Language Used - C#.net
    I have a web application containing 6 aspx pages and their code files. Now I want to design a automatic display of these webpages in sequence. In detail, once i open the weblink - it should show the Main webpage (Main.aspx) for 2 mins, then automatically redirect to the second webpage (Second.aspx), display this for 2 mins and then redirect to the third and so on... Once the 6th webpage (Six.aspx) is displayed for 2 mins, it should redirect to Main.aspx again and the cycle should keep on repeating.
    Can anyone suggest how I can get this worked out ? Thanks..
    You could use javascripts....
    Code:
    function v()
    {
    var t=setTimeout("window.location = 'http://.../WebSite1/Default2.aspx'",4000)//("alert('5 seconds!')",7000);// 7 secs
    }
    
    <body onload="javascript:v()">
        <form id="form1" runat="server">
    check for JavaScript timer

    Comment

    Working...