1
Hello,
I am trying to make the nifty cube (rounded borders using javascript ans css) works in my XOOPS local test server, but i couldnt.
The code is here
http://www.html.it/articoli/niftycube/index.htmland it works like this:
you have 2 css files and 1 js file, all are declared inside the section of the theme.html. Once declared I have to use the js like this (in the head section too):
<script type="text/javascript">
window.onload=function(){
Nifty("div#divsname","parameter");
}
script>
Where Nifty is the name of a function present in the js file, and div#divname the css id of the div i want to process for rounded corners, the parameter is this.. a parameter.
Well, it sounds simple but it didnt wotk on a 2.0.14 fresh install. putting it on the xoops.js didnt work, putting it directy on the theme, didnt work...
ANy help?, is there a problem with the onload? Iam totally lost.. :(