A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Every Time...

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    16

    Smile

    Every Time someone visits pages in my site they have to reload the swf on it. Is there a way that a visitor wouldnt have to reload the swf every time so that it wouldnt take so long every visit? Reply with anything please, thanx Brian Covelli

    http://www.angelfire.com/il3/bncovelli

  2. #2
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    Delete the cache busting javascript code in your html.

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    16

    Smile

    ummmm i dont mean to sound stupid but... how? (slow people need details) thanx

  4. #4
    Junior Member
    Join Date
    Jun 2001
    Posts
    16
    how?

  5. #5
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    Code:
    <script language="JavaScript">
    <!--
    // Cache-busting LUBID bug.
    var ran = Math.round(Math.random() * 899999) + 100000;
    var lubid_string = "<img src=\"http://lubid.lycos.com/one.asp?site=angelfire.lycos.com&ord=" + ran + "\" height=\"1\" width=\"1\">";
    document.write(lubid_string);
    //-->
    </script>
    Is on your page. Remove it.

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Posts
    16
    i dont see that anywhere!? im really confused maybe i should just give up hahaha

  7. #7
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    It is towards the top. Look hard. You must really be bad at coding HTML or are very lazy.

  8. #8
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    I guess it's a script that put your host into your page. Try to erase it (download the html file, edit it and upload it again) but I think it will automatically reappear.

  9. #9
    Junior Member
    Join Date
    Jun 2001
    Posts
    16
    yup... your right, angelfire automatically puts it there. I downloaded the html file and it was there but it didnt disappear when i uploaded the html without that code. Thanx anyways though.

  10. #10
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    Maybe try adding this (not sure if it will work, not even what will it do):
    Code:
    <script language="JavaScript">
    <!--
    // Cache-busting LUBID bug.
    var ran = NuN;
    var lubid_string = NuN;
    document.write(lubid_string);
    //-->
    </script>

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center