...

View Full Version : IE hates Nifty Corners Cube?



zro@rtv
07-03-2006, 12:19 AM
thanks in advance for any help.
http://www.redtv.org/jacor/

Im trying to use Nifty Corners (http://www.html.it/articoli/niftycube/index.html) on this site (http://www.redtv.org/jacor/). It renders perfect(ish) in firefox.

In IE, I get anomolies (including the lack of "equal heights" in my two conent columns, and the footer does not render round corners.) and errors:

line:143
char:1
error:invalid property valu
code:0

there is no line 143 in my html doc, so i assume this error is in my nifty cube JS, but line 143 is just:

if(side=="left"){


This error goes away if I remove the call to round out my footer:

Nifty("#footer","small");

But, my columns still do not extend to equal heights. I can't imagine whats goin on here. The examples of Nifty Corners Cube all work in IE on their pages.... why does it hate me?

here's all relevant docs:
http://www.redtv.org/jacor/index.html
http://www.redtv.org/jacor/js/niftycube.js
http://www.redtv.org/jacor/js/niftycube-call.js

Thanks so much, again!

glenngv
07-03-2006, 01:11 AM
The error could be from any of the two previous statements from the statement you mentioned. You might be passing wrong value for backgroundColor or borderColor property.


x.style.backgroundColor=color;
x.style.borderColor=border;
if(side=="left"){
...

zro@rtv
07-03-2006, 01:25 AM
Wow, your awesome.

Thanks so much for quick reply.
I went thru my style sheet and changed all my colors to the full 6digit hex value (from keyword names and 3digit shorthands) and the error is gone, and the footer rounds!

There is still the issue that the "same-height" function doesnt seem to work in IE. (that is to say, #secondary isnt being expanded to the height of #primary) Any ideas? it works in FF and also, here in ie (http://www.html.it/articoli/niftycube/nifty7.html)....

I believe the relevant SameHeight function is on line 163 of http://www.redtv.org/jacor/js/niftycube.js

thanks again, fr helpin!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum