Results 1 to 10 of 10

Thread: Page redirect

  1. #1
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default Page redirect

    could someone lead me to a automatic page rediration after a set aboout of time script bit like on mini-i.fm

    + rep if someone has a good one

  2. #2
    Join Date
    Jun 2006
    Location
    Nottingham
    Posts
    373
    Tokens
    0

  3. #3
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Where does Mini-I use redirects? o.O

  4. #4
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default

    well not a redirect as sutch the page loading thing

  5. #5
    Join Date
    Jun 2006
    Location
    Nottingham
    Posts
    373
    Tokens
    0

  6. #6
    Join Date
    Jun 2007
    Posts
    1,671
    Tokens
    130

    Latest Awards:

    Default

    Invent did you make that AJAX loading page script?

    I googled for you but don't no if its correct.

    PHP Code:
    ============================================================
    INSTRUCTIONS.

    This is a MUTI-PART Script.

    ============================================================
    PART I
    Copy code below into <HEADsection of your HTML pages
    ============================================================

    <
    SCRIPT TYPE="text/javascript" LANGUAGE="javascript">

    <!-- 
    PreLoad Wait Script -->
    <!-- 
    This script and more from http://www.rainbow.arch.scriptmania.com 

    function waitPreloadPage() { //DOM
    if (document.getElementById){
    document.getElementById('prepage').style.visibility='hidden';
    }else{
    if (
    document.layers){ //NS4
    document.prepage.visibility 'hidden';
    }
    else { 
    //IE4
    document.all.prepage.style.visibility 'hidden';
    }
    }
    }
    // End -->
    </SCRIPT>


    ============================================================
    PART II
    Add the onLoad event, as shown belowto your <BODYtag:
    ============================================================

    <
    BODY onLoad="waitPreloadPage();">


    ============================================================
    PART III
    Copy codes below to immediately after <BODYtag.
    ============================================================

    <
    DIV id="prepage" style="position:absolute; font-family:arial; font-size:16; left:0px; top:0px; background-color:white; layer-background-color:white; height:100%; width:100%;"
    <
    TABLE width=100%><TR><TD><B>Loading ... ... Please wait!</B></TD></TR></TABLE>
    </
    DIV
    Last edited by L!nK; 01-10-2007 at 04:22 PM.

  7. #7
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default

    thabks ye + rep for all of you

  8. #8
    Join Date
    Aug 2007
    Location
    South East London
    Posts
    28
    Tokens
    0

    Default

    Cant you just use meta refresh?

  9. #9
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    Quote Originally Posted by davidmarsh View Post
    Cant you just use meta refresh?
    No, he wants a page loader...
    James


    Connected to reality through a proxy server.

  10. #10
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default

    its ok now i got one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •