search for: my_js_file

Displaying 1 result from an estimated 1 matches for "my_js_file".

Did you mean: my_c_file
2008 Apr 22
2
Prototype's cumulativeOffset() is not a function
Hi all, I''m sure I''m missing something obvious. I add prototype.js and my custom js file in the head: <script src="prototype.js" type="text/javascript"></script> <script src="my_js_file.js" type="text/javascript"></script> my_js_file.js looks like this: Event.observe(window, ''load'', loadTasks, false); function loadTasks() { var foo = $(''content_menu'').cumulativeOffset()[0]; alert(foo); } And in my html I have <d...