On two testing sites, the Nifty Corners javascript apparently runs fine, on a third, located in a subdomain, the script fails. Attached is Operas javascript errorlog (it also fails in IE)

CommentFileSizeAuthor
nifty_javascripterror.txt15.38 KBnetbjarne

Comments

charlesc’s picture

Status: Active » Closed (won't fix)

You can check the readme.txt about the subdomain issue:
If you are using Drupal in a subdirectory, maybe you need modify the css path in niftycube.js:
l.setAttribute("href","/themes/niftyCorners/niftyCorners.css");

change it into something like:
l.setAttribute("href","/subdomain/themes/niftyCorners/niftyCorners.css");

netbjarne’s picture

I'm aware of the little subdirectory issue, but thats not exactly the same problem. Here's my experiences when using the theme:

mydomain.com/ : theme works
sudomain.com/subdir : theme works, with changes in script
subdomain.mydomain.com/ : can't get theme to work

The subdomain problem is a bit different from the subdirectory issue.

Regards
Bjarne