niche Posted September 14, 2010 Share Posted September 14, 2010 http://www.lincolnsrealdeals.com/temp.html displays as intended in ff,c,o,s, but not in ie8. I'm sure it's in the css, but don't see it. script validates.Do you see the problem? Link to comment Share on other sites More sharing options...
thescientist Posted September 14, 2010 Share Posted September 14, 2010 i think the issue is the reposition function. It gets called onresize, but since the the window is loading (only on the first viewing) as its opening that function gets called before the document has finished loading, and thus before myP is accessible in the DOM. You just need to make sure the functions are firing after the DOM has loaded. You will see the errors in the console in Firefox if you have Firebug open. Validation does not mean error free.edit: if you resize the page, you will see this happening in the error console too.EDIT: realized this was in the CSS forum. Well, helped you debug at least. Link to comment Share on other sites More sharing options...
niche Posted September 14, 2010 Author Share Posted September 14, 2010 are you saying the problem is the javascript? I just noticed that the mouseover doesn't work in ie8 either, but works in ff, c, o, & s.How would firebug work with ie8? Link to comment Share on other sites More sharing options...
thescientist Posted September 14, 2010 Share Posted September 14, 2010 it wouldn't. but ie8 has its own developers tools. Like I said, I'm note sure if this issue relates to your display issue, but you do have a Javascript bug that could be causing these problems. Link to comment Share on other sites More sharing options...
niche Posted September 14, 2010 Author Share Posted September 14, 2010 Do you think the failure of the red hover on the span is related to the javascript bug? Link to comment Share on other sites More sharing options...
niche Posted September 15, 2010 Author Share Posted September 15, 2010 I just discovered that the comment I put at the very top of my script was the problem. I took in out and it works fine. Link to comment Share on other sites More sharing options...
niche Posted September 15, 2010 Author Share Posted September 15, 2010 Thanks to thescientist for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.