Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: images freeze in Ultimate Fade-in Slideshow

  1. #11
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hallo John,

    In IE your script works when hitting the back button it gives different numbers in the address bar overhere. In Safari the numbers r'nt showing same in Opera (as you said). So yup the code is uploaded and working.

  2. #12
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, in IE, has that taken care of the problem? If not, either the unique URL isn't causing enough of a 'cache bust', or reloading the page as a solution was only an illusion.

    I forgot to mention earlier on, that just because clearing the cache and refreshing a page, 'fixes it', doesn't mean that carrying out those steps in javascript will.

    I'm thinking that we may want to try tapping the:

    Code:
    location.reload(true);
    method (which is supposed to reload everything from the server), just to be sure, but once again, we run the risk of causing a loop. And, with the reload method, nothing may be appended to the address as a check against looping. Perhaps with two or three reloads/refreshes, it could be worked out to run a course, perhaps not. And, as I say, even we get the type of reload we think we want, it may not solve the problem.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #13
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    waaah it seems a bigger issue than expected. I realy appriciate your help here. As a n000b I c things more simple than as they r in "real cross browser life". an auto fresh reload from the server could do the trick in any browser but ahum how do I apply this code: location.reload(true); in my script?

  4. #14
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Calm down. If we are to move forward, I need you to be like a scientist, faithfully reporting results, or the lack thereof clearly and dispassionately. Have we made any progress in IE? I don't count the numbers being appended to the URL as progress, only if the slide shows no longer freeze upon hitting the back button. So, what happened? I have another idea. But before trying that, figure out if what we already did helps IE or not and tell me.

    I wouldn't need to be so 'persnickety' or whatever it is that I am being if I could test these ideas myself, but I cannot. I don't have the machine(s) or browsers that you are using.

    Here is the new idea, keeping everything we added to the body the same, use this script instead in the head:

    Code:
    <script type="text/javascript">
    function testForBack(){
    if(document.forms[0].elements[0].value=='later'){
    document.forms[0].elements[0].value='first';
    setTimeout('window.location.reload(true)',3000);
    }
    else
    document.forms[0].elements[0].value='later';
    }
    if ( typeof window.addEventListener != "undefined" )
        window.addEventListener( "load", testForBack, false );
    else if ( typeof window.attachEvent != "undefined" )
        window.attachEvent( "onload", testForBack );
    else {
        if ( window.onload != null ) {
            var oldOnload = window.onload;
            window.onload = function ( e ) {
                oldOnload( e );
                testForBack();
            };
        }
        else
            window.onload = testForBack;
    }
    </script>
    Now, there may not be a solution to this short of using something other than the U-Fade script. I think I have been up front about that from the beginning. But, another avenue would be to work on the server side. We cannot do that if your host doesn't support a server side language and/or you don't have permission to use it. Does your host support a server side language, and do you have permission to use it? If so, which language(s) are available to us on that basis (supported and available to us)?

    I should add that I'm not an expert in everything, no one is. Someone else might have a better idea or an entirely different approach. If we can and do decide to use a server side language, I'm not real strong in that area, but it seems to be a fairly straightforward issue, one that could be Googled, if we knew what language(s) we had at our disposal, if any.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #15
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Im with u mr. S in IE the probelm isnt there anymore - The freezing of slideshow is occouring in Safari and Opera when hitting the back button. This freezing is random, e.g. slideshow 5 and 2 freez onother time only slideshow 4 freezes (I think at first test in Opera it looked fine Bcause posible a black image freezed).

    For this next step here is the test results:
    • IE is showing the reloadnumbers in the address bar
    • Safari shows no reload in activity/status/address bar
    • Opera there is no reload showing in the status/address bar
    • FireFox is reloading the page one time after hitting the back button
    • Netscape is reloading the page one time after hitting the back button
    • Flock is reloading the page one time after hitting the back button


    The following languages r available 2 us on me hosting server 4 server-side scripting: •ASP/ADO •SQL •PHP

    I will make a testpage using Ur swissarmy script to c whats the effect when hitting the back button, u will read about the results - my mentor
    your help in this is more than appreciated sir and its a good cause to find a solution everyone can use eighter on a browser-side or server-side way.
    As u must have noticed my skills r zero to zip in scripting but its fascinating 2 make an effect on the web 2 work 4 everyone to c. i googled b4 i found this forum with no realy working result. so start at the source I thought ask the expert who created the script.

  6. #16
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default results swissarmy script

    In addition 2 my other relpy:

    With the swissarmy script the following results came:


    • IE is not showing the slideshows
    • Safari some images freeze random after hitting back button
    • Opera some images freeze random after hitting back button
    • FireFox works perfect
    • Netscape works perfect
    • Flock works perfect

  7. #17
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, I'm thinkin'. I'll get back later when I have more time. I think though, we will have to (if it's possible) go to the server side and reload the page once for any browser every time.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #18
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hi John

    Hi John, do u have an id yet how to do this?

  9. #19
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I have looked into it somewhat. So far there doesn't appear to be any easy way to do this on the server side (at least not for me), and no other client side solution has occurred to me.

    I'm fairly sure that using an incremented/decremented server side variable could work, but I'm not much up on the server side languages. My concept is this:

    The page loads with this variable set at 0.
    Since the variable is 0, it is set to 1 and the page is reloaded.
    Since the variable is 1, it is set to 0 and the page isn't reloaded.

    I really am not certain if there even is a way to reload server side, or if there is if there is time to check and set variables first, server side languages can be tricky in that regard. If those are not obstacles, then it would work, the result being that the page would always load twice in all browsers. Kind of like killing an ant with a sledgehammer, but if that would solve the problem, I suppose it wouldn't be too bad.

    Generally, using the back button is not how folks navigate a site anyway, and this problem appears to happen only in browsers not generally in wide use. I would be most concerned about Opera, but it really isn't that widely used, and most devotees of it are aware of how it doesn't fully load a page upon hitting the back button, so are used to refreshing on their own if things look odd at that point.

    I vote for either ignoring the browsers that have a problem with this or using Flash instead.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #20
    Join Date
    Nov 2007
    Location
    Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks very much for your expert advice, John. Unfortunatly I'm a bit of perfectionist on how my sites work, cross platform and browser shouldn't b an utopia or unreachable with the state of the art technics - so this is a good reason to start with flash instead of learning scripting in php, java-scripts or so (for me). When finished I'll post here the link to the results of the website. Again many thanks for your time and advice.

    Patje

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
  •