Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-02-2006, 11:19 PM   PM User | #1
zro@rtv
Regular Coder

 
zro@rtv's Avatar
 
Join Date: Feb 2005
Location: on the network
Posts: 433
Thanks: 0
Thanked 1 Time in 1 Post
zro@rtv is an unknown quantity at this point
IE hates Nifty Corners Cube?

thanks in advance for any help.
http://www.redtv.org/jacor/

Im trying to use Nifty Corners on this site. 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:
Code:
 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:
Code:
if(side=="left"){

This error goes away if I remove the call to round out my footer:
Code:
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!
__________________
._-zro
zro@redtv
zro.redtv.org

"If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
-Tim Berners-Lee, Weaving the Web, 1999
zro@rtv is offline   Reply With Quote
Old 07-03-2006, 12:11 AM   PM User | #2
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
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.
Code:
x.style.backgroundColor=color;
x.style.borderColor=border;
if(side=="left"){
...
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Old 07-03-2006, 12:25 AM   PM User | #3
zro@rtv
Regular Coder

 
zro@rtv's Avatar
 
Join Date: Feb 2005
Location: on the network
Posts: 433
Thanks: 0
Thanked 1 Time in 1 Post
zro@rtv is an unknown quantity at this point
Excellent!

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....

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

thanks again, fr helpin!
__________________
._-zro
zro@redtv
zro.redtv.org

"If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
-Tim Berners-Lee, Weaving the Web, 1999
zro@rtv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:39 AM.


Advertisement
Log in to turn off these ads.