SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Clarksville, TN
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi!
    Can someone please help me? I am looking for a simple, adjustable, time delay redirect script, with the countdown to redirect NOT visible on the page. Thanks in advance!
    Chris

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This oughtta do the trick The number "5" is the number of seconds to delay, and it's obvious where the URL is

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>&lt;META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.URLGOESHERE.com"&gt;[/code]

    Hope this helps.

    ------------------
    Chris Bowyer chris@mycoding.com
    MyCoding.com: Visit for Launch Notification!
    DomainMailings.com: Who Says All The Good Ones Are Taken?
    MovieForums.com: Talk About Your Favorite Flicks!

  3. #3
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Clarksville, TN
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Chris,
    Thanks. Actually that is the redirect script I was using. Had content set for 15. Maybe I need to look into finding a way to make my applet load faster?
    Looks to me as though your URL will be very useful in the future. Thanks!
    Another question? I read somewhere that I can turn the applet background color to whatever I want by changing the "x" index in my gif image. I don't have a clue how to? Do you? Anybody?
    Thanks again,

    Chris http://www.woodylingle.com

  4. #4
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't understand...what applet are you referring to?



    ------------------
    Chris Bowyer chris@mycoding.com
    MyCoding.com: Visit for Launch Notification!
    DomainMailings.com: Who Says All The Good Ones Are Taken?
    MovieForums.com: Talk About Your Favorite Flicks!

  5. #5
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Clarksville, TN
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ooopsss, the applet on my site, Chris.
    The page loads way slow & what is happening is some folks get redirected before the applet even loads! Not cool...even afer 15 sec delay. http://www.woodylingle.com

    Chris

  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Java is slow... Even on a 500 megahertz Pentium III running natively compiled code, Java applications take 2-3 times as long to load as their C++ counter parts.

    If you absolutely have to have the java applet then you can create a javascript that interacts with the applet and let the applet redirect your user when it is done. Keep in mind that while I know this can be done, I am no Java guru and I don't know exactly how to accomplish at this time. It would require research on your part.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

  7. #7
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Clarksville, TN
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Wayne, I think I had mentioned before that Woody likes the applet. (Well not so much applet but the pixel duster.) Fans like it too! I'm working now on a new opening page, but it still has a dissovle applet in it. I'll never use another applet if I can help it...no kidding. &lt;OUCH!&gt; I can probably find a java script, not a large hassle to research, which will work with it. I've already seen a redirect script from within applet, out there... just a matter of finding it again.
    Appreciate your help, gentlemen!

    Chris http://www.woodylingle.com

  8. #8
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you want a jscript to redirect?

    put this into the header.

    &lt;script&gt;
    &lt;!--
    function fwd() {
    for (i=0;i&lt;10000;i++)
    {}
    location.href="./sub-dl7g/dl7g-dhm.htm"; }
    //--&gt;
    &lt;/script&gt;


    and put onLoad="javascript:fwd()" into your body tag. change the value 10000 if the time until you're redirected is too long/short.

    questions? email/icq me or re-post.


    ------------------
    felix geiger
    felix.geiger@gmx.ch
    icq# 21156665
    creator of sce


Bookmarks

Posting Permissions

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