Trying out niftycube module...got problems!

ludo1960 - December 24, 2007 - 11:54

Hi There,

Just downloaded the niftycube module and installed it, tried one of the samples but i keep getting an error In the browser window ie "done but with errors on page" in the bottom bar. I installed the module and where it says "NiftyCube code that goes in the header section: " I put

html,body{margin:0;padding:0}
body{background: #FFF;
font: 70% Arial,sans-serif}
div#menu{float:left;width: 100%;padding-top:120px;background: #002455}
ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0}
ul#nav{margin-left: 100px;width:650px}
ul#nav li{float:left;margin-right: 3px;text-align: center}
ul#nav a{float:left;width: 8em;padding: 6px 0;text-decoration:none;color: #222}
ul#nav a:hover{color: #000}
ul#nav li.activelink a{background: #FFF}
ul#nav li.activelink a,ul#nav a:hover{color: #000;font-weight:bold}
li#home a{background: #FF749C}
li#who a{background: #DF3694}
li#prod a{background: #4D80FF}
li#serv a{background: #80FF4D}
li#cont a{background: #FFCB4D}

window.onload=function(){
Nifty("ul#nav a","top");
}

as per the sample, then I created a block and configured it:

Anyone used this block before? any guidence?

the configured block

ludo1960 - December 24, 2007 - 11:56
 
 

Drupal is a registered trademark of Dries Buytaert.