By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,572 Members | 963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,572 IT Pros & Developers. It's quick & easy.

Reflection.js won't work - can someone explain please.

P: 1
Can someone please take a look at my test site and tell me why I can't get reflect.js to work. I've implemented it per the instructions and my directory calls are correct. I can't figure this one out. View the source. I only put the reflection on one image (for the state of grace) as a test, but it doesn't work.

http://tangierclarke.com/TCSite4/accordion/indexer.html
Feb 5 '08 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,325
hi ...

the page starts with 2 javascript errors when i load it with firefox. the errors come from 'accordion.js' and 'shadowbox.js' ... and since you include at least 10 external libs it is very difficult to say what really causes the error ... you should use firefox, install the firebug extension and fix the errors one by one ... may be some of the methods of the different libs interfere and you need to scope them correct or rename some methods ...

i'm sorry for that mainly unspecific answer ... but using a bunch of libs is generally a very bad idea, and i guess nobody wants to read all that code to find an unspecified error. try to remove the libs and use a minimum of them! in case you only need one or some function out of them ... then simply include only that methods you need (of course you need the related methods - and there is the point: the libs you use are libs that typically act as standalone frameworks and so they don't need to be working in a combination with others that stand for the same purpose) ... and i guess the page will even load much faster by using less of them ... ;)

kind regards
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.