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)
| Comment | File | Size | Author |
|---|---|---|---|
| nifty_javascripterror.txt | 15.38 KB | netbjarne |
Comments
Comment #1
charlesc commentedYou 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");
Comment #2
netbjarne commentedI'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