You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, May 1st 2009, 5:33pm

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!

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Saturday, May 2nd 2009, 3:26am

there's some known issues if you set your "wmode" to "transparent" but that was with FF.

Can you tell us more about how you have embedded the pano and show some code or a link to the offending page?

3

Monday, May 4th 2009, 12:50am

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!

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

4

Monday, May 4th 2009, 4:03am

well why not post it with spaces ? www . some site . com or w w w [dot] some site [dot] com / e x am ple

:)

5

Monday, May 4th 2009, 3:14pm

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!

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

6

Tuesday, May 5th 2009, 6:34am

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

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

7

Tuesday, May 5th 2009, 8:39am

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.

8

Wednesday, May 6th 2009, 4:22am

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!