coldfingertips has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: OT: Javascript redirects
by tachyon (Chancellor) on Nov 30, 2003 at 13:21 UTC

    You don't need JS, a simple meta refresh will do the job.

    <head> .... <meta http-equiv="refresh" content="5; url=http://some.where.else.com/ +"> .... </head>

    cheers

    tachyon

Re: OT: Javascript redirects
by b10m (Vicar) on Nov 30, 2003 at 04:53 UTC
    Your title says "Java", but later on you talk about "JS", so I figure you want a JavaScript example. Funny ... Google showed me this URL rather easy. And it seems it's like what you want :)

    Update: changed the title, now that the original post makes more sense.
    --
    B10m
Re: OT: Javascript redirects
by simonm (Vicar) on Nov 30, 2003 at 08:03 UTC
    I looked and tried everywhere else...

    I don't believe you, since this information is so easy to find; a quick Google search would have sufficed.

    Please go read How (Not) To Ask A Question, particularly the section on "Show Some Effort" -- if you still need help, try asking again.

Re: OT: Javascript redirects
by bradcathey (Prior) on Nov 30, 2003 at 12:59 UTC
    There are more appropriate forums for your question. Try Devshed.

    —Brad
    "A little yeast leavens the whole dough."
Re: OT: Javascript redirects
by fraktalisman (Hermit) on Mar 10, 2004 at 23:17 UTC
    although it's nothing to do with perl:
    <head>
    <script>
    function redir() {
    window.location.href='next_page.pl';
    }
    function startredir() {
    window.setTimeout("redir()",5000);
    }
    </script>
    <body onLoad="startredir()">
    </body></html>