FixedHeaders 2.0.4 - js issue/bug when init'ing with zTop in IE8
FixedHeaders 2.0.4 - js issue/bug when init'ing with zTop in IE8
Hey all, I saw this occurring and wanted to verify with the group.
I'm using FixedHeader 2.0.4 and it's working well enough on FF and Chrome. I had to add some display: none overrides into the js since the fresh draw of the cloned table header would be about 51px above the original table header, but after scrolling the clone snaps into place.
But.. that's not why I'm currently here :)
I'm getting a js error on this line:
[code]
c.className+=" FixedHeader_Cloned "+f+" "+e;if(f=="fixedHeader")
{c.style.zIndex=b.oZIndexes.top
[/code]
specifically, the 'c' in 'c.style.zIndex' is coming back as "invalid argument".
does not work:
[code]
var oFH = new FixedHeader(efileTable, {"zTop":"5px"});
[/code]
does work:
[code]
var oFH = new FixedHeader(efileTable);
[/code]
Anyone else seeing this?
-ryan
I'm using FixedHeader 2.0.4 and it's working well enough on FF and Chrome. I had to add some display: none overrides into the js since the fresh draw of the cloned table header would be about 51px above the original table header, but after scrolling the clone snaps into place.
But.. that's not why I'm currently here :)
I'm getting a js error on this line:
[code]
c.className+=" FixedHeader_Cloned "+f+" "+e;if(f=="fixedHeader")
{c.style.zIndex=b.oZIndexes.top
[/code]
specifically, the 'c' in 'c.style.zIndex' is coming back as "invalid argument".
does not work:
[code]
var oFH = new FixedHeader(efileTable, {"zTop":"5px"});
[/code]
does work:
[code]
var oFH = new FixedHeader(efileTable);
[/code]
Anyone else seeing this?
-ryan
This discussion has been closed.
Replies
[code]
var oFH = new FixedHeader(efileTable, {"zTop":"5"});
[/code]
This seems to work fine in all browsers.
Hazards of working late at night!
-ryan