1
3lr0n
Nifty corners
  • 2007/7/12 21:10

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


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

and 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.. :(
Spanish Overclocking Community xoops based site : http://www.overclocking.es

2
3lr0n
Re: Nifty corners
  • 2007/7/17 14:48

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


Bump!!
Spanish Overclocking Community xoops based site : http://www.overclocking.es

Login

Who's Online

232 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits