Page 1 of 1

Nifty Corners

Posted: Wed Mar 19, 2008 9:58 pm
by Renwaar
I have seen a number of posts in the forum relating to Nifty Corners, but I am having a problem with the template... When I add:



{sitename} - {title}

{metadata}

{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}




window.onload=function(){
Nifty("div#container");
Nifty("div#content2");
Nifty("div#header,div#footer","transparent");
}



I'm getting one rounded footer, and nothing else seems to be working.

Many Thanks for any help on this.


Andy

Re: Nifty Corners

Posted: Wed Mar 19, 2008 10:41 pm
by Dr.CSS
Most times I've used it that bit about window.onload part is in the JS so it's not needed in the template just a call to the JS, uploads/java2/niftyLayout.js is where you would call the parts to be rounded...

Re: Nifty Corners

Posted: Thu Mar 20, 2008 8:10 am
by Renwaar
Thanks Mark,

Now I understand, sorted.