lkcodk / htmlwrapper

Automatically exported from code.google.com/p/htmlwrapper
0 stars 0 forks source link

http://motionandcolor.com/ -> IE7 Resize Bug / Firefox Window Resize Bug #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Browser Window Width (Firefox): Resize the window so the content is a)
Larger than the content width then b) smaller than the window with
2. Widen the window.

3. Loading site in IE7

What is the expected output? What do you see instead?

Firefox: Window Resize Bug
The main content stretches further than the window resize.

IE7: Flash Debugger
TypeError: Error #1009: Cannot access a property or method of a null object
reference at com.base.application::Wrapper/onResize()

Original issue reported on code.google.com by friedja...@gmail.com on 2 Apr 2008 at 6:18

GoogleCodeExporter commented 8 years ago
the content height is based off the HTML, not the flash. Also, the supplied
wrapper.js does not scroll from my experience, use the one in the wordpress 
example.

Feature request:

Separate .css files for html and flash rendering, or at least have the flash 
ignore
unused css properties. My page height is insane because my content is only about
150px wide in the html version.

Original comment by i...@vancouveronlinemedia.com on 20 Oct 2008 at 7:51

GoogleCodeExporter commented 8 years ago
Something similar happends in Safari 4. When you resize the width of the 
window, the 
content move to the right.

Original comment by vincent....@gmail.com on 15 Oct 2009 at 12:30

GoogleCodeExporter commented 8 years ago
I don't know if this will fix your problem, but there _is_ an issue with the js 
file:

in the wrapper.js file, find line 25, and remove the parentheses.

Change:
    document.onresize = windowResize();
To:
    document.onresize = windowResize;

Original comment by diddle...@gmail.com on 3 Nov 2009 at 8:20

GoogleCodeExporter commented 8 years ago
this should be fixed in revision #28

Original comment by diddle...@gmail.com on 4 Nov 2009 at 2:45