Problems when scrolling page on IE

  • Hello!
    Im having some trouble when scrolling a page containing a pano on IE browsers.
    The page consists of an introductory header, a div containing the pano, and some extra data about that pano below.
    The thing is that some scrolling needs to be made to read the information below and when I scroll the page on IE it shows ugly refresh problems and it keeps that way until I click inside the pano.
    I have tested the same page on Firefox and Chrome and it worked perfectly when scrolling.
    Has anyone been through this before?

    Thanks a lot!

  • Hello Graydon.
    Thanks for the reply.
    I'm using a javascript method for embedding the pano into the HTML. Here is the code:

    <script type="text/javascript" src="krpano/swfobject/swfobject.js"></script>
    <script type="text/javascript" src="krpano/swfobject/swfkrpanomousewheel.js"></script>
    <script type="text/javascript">
    // <![CDATA[
    if (typeof(deconcept) !== 'undefined' && deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
    {
    var so = new SWFObject("krpano/krpano.swf", "krpanoSWFObject", "100%", "500", "9.0.28","#000000");
    so.addParam("allowFullScreen","true");
    so.addVariable("pano", "vtours/00001/01.xml");
    so.useExpressInstall("krpano/swfobject/expressinstall.swf");
    so.setAttribute("xiRedirectUrl", window.location);
    if ( so.write("krpano") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
    }
    else
    {
    document.getElementById("krpano").innerHTML = '<table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Adobe Flash Player 9 needed<br><br><br><a href="http://www.adobe.com/go/getflashplayer/" target="_blank"><IMG SRC="http://www.macromedia.com/images/shared/…lash_player.gif" BORDER="1"></a><br>...click here to download...<br><br><br><br></center></td></tr></table>';
    }
    // ]]>
    </script>

    I don't send the link to the page because google will index the forum thread when someone looks for our site. I'll try to host the site in some other place so I can send the link without problems.

    Thanks!

  • Hello Shanti!
    I guess you are right. Here is the link:

    edit: link removed

    If you open that link with IE and you scroll down the page, you should see the refresh problems.

    Thanks!

  • I see what you mean. I've seen sites with problems like that before... but none where krpano / swfobject was used.

    I'm also having some issue in FF... I have my browser screen maximized and your site keeps forcing it out of it's maximized state.

    My only suggestion would be to remove some items piece by piece until it works correctly... add them back piece by piece and see where the problem is.

    Sorry I can't help more.

    Graydon

  • Basically what graydon said;

    You have so much stuff there, some of them for frame breaking (i guess) and I also see this

    onresize=function(){
    if(!window.ActiveXObject)
    window.location.href=window.location.href;
    }

    maybe IE is reading this wrong?

    also since this is a IE only problem, I see you use an IE only gradient.

    style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#e8dc7e', startColorstr='#FFFFFF', gradientType='0');">

    maybe all of this together is causing that strange behavior

    I think you should try on a "clean" page, then add 1 by one the JS functions until you find the problem.

  • Hello Shanti!
    Thanks again for your colaboration.
    I tried deleting the IE gradient, and that was the solution! Now the scrolling is working perfect on IE.
    I'll try to find a browser independent gradient, or just leave it without a gradient.

    Thanks very much!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!