I remember seeing a lot of posts in Stack Overflow which said that the $ syntax has to be replaced with JQUERY in WordPress. Forogt where I saw this at, but know that it had fixed some issues with custom “box” installs ( colorbox, lightbox, slimbox etc. )