IE6 Loads blank HTML from same site

3 messages Options
Embed this post
Permalink
muttromedia

IE6 Loads blank HTML from same site

Reply Threaded More More options
Print post
Permalink
Hi there,

Having a stragne issue loading HTML content in IE6 only.

Content loads but only a black window shows, again ONLY in ie6 (images etc load)

And only content from the same site (google.com.au etc will load correctly)

Issue can be seen here

http://www.mastermakeup.com.au/staging/

(click on launch special or gift certificates button on the right)


I'm pulling my hair out, I'm sure its something simple that I missed.

Cheers!

Wizzud

Re: IE6 Loads blank HTML from same site

Reply Threaded More More options
Print post
Permalink
It's something on your pages(s) that is preventing IE6 displaying them properly. Changing the iframe's src to your home page (instead of launch.php) presents a brief flash of the home page then it disappears as the document load completes. It's not Shadowbox on the main page that is causing the problem, it is something about your page(s) being displayed within an iframe (as you will see - I hope, because I do! - if you run the code below).

The only thing I can suggest is a trial and error approach, using something like the code below, changing the iframe's src attribute to launch.php if you wish. Run the page below in your browser (IE6), and keep tinkering with the page that is brought into the iframe until it displays (take out/reinstate stylesheets and scripts until you've narrowed it down to a culprit, then try to fix that culprit). It's long-winded, but with IE6 you don't have a lot of options for dynamically modifying pages (a la Firebug, for example) so it's all I can suggest.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title>None</title>
  <style type='text/css'>
  body{background-color:#000000;}
  div{position:relative; width:600px; height:300px; top:100px; margin:0 auto;}
  </style>
</head>
<body>
  <div>
    <iframe scrolling="auto" height="100%" frameborder="0" width="100%"
        marginheight="0" marginwidth="0" name="sb-content" id="sb-content"
        src="http://www.mastermakeup.com.au/staging/index.php" />
  </div>
</body>
</html>
[ The iframe code is exactly what Shadowbox uses, with the exception of the src attribute being explicitly set to the desired url, rather than being set by javascript at a later stage. ]
Combine literacy with curiosity and a whole world of information opens up to you
muttromedia

Re: IE6 Loads blank HTML from same site

Reply Threaded More More options
Print post
Permalink
You, my friend a genius. Setting up a test iframe as a debugger is the defintion of simple but effective.

As a result you have helped me uncover the issue.

DD_belatedPNG - PNG Java script is causing the issue. How I am not sure but when it fires of for the png fix it is causing an issue somewhere.

For the recored this doesnt seem to be an issue with 'Unit PNG Fix'.

So I can either make the images non-pngs on any pages I want to load (which I have opted for) or use unit fix etc.

Once again, thank you so much for your quick help. It is most apprecaited!