View Full Version : Flex level Doesn't allow another document ready statement

04-16-2010, 03:59 AM
1) Script Title: Flex Level Popup Menu (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/popupmenu.htm

3) Describe problem: once installed the script doesn't allow me to use $(document).ready() anymore for other jQuery javascript scripts. It says "Object doesn't suppor this property or method" in IE and FF firebug says "$ is not a function"

If I remove the script then my jQuery in the document.ready works fine. Any ideas?

04-18-2010, 09:54 AM
It does actually, though the script calls jQuery.noconflict(), which means $ no longer references the main jQuery object by default, for the sake of other libraries on the same page (ie: Prototype). If your page only uses jQuery, the easiest solution is just to comment out this line inside the .js file: