PDA

View Full Version : Conflicting js files


fozzy
09-18-03, 06:34 AM
I have a project were I need to use 2 js includes. One file handels my menu and the other handles fields in a form and a date picker.

The menu stops working when I open the page with the field and date picker js file.

Here is the error:
Line: 3
Char: 6329
Error: 'd.body.scrollLeft' is null or not an object
Code:0

I need these files to work together or a way around would help.

modgen
10-01-03, 08:09 PM
It might be helpful if you post part of your code so we can get a little better idea of what you have there.

fozzy
10-06-03, 06:20 AM
It might be helpful if you post part of your code so we can get a little better idea of what you have there.

I would but the js file for the date picker and field verification is to big. Give me your email address so that I can mail them. From there you can test but I will submit a part of the project so you can see. I will give the URL if you have no joy with the files.

I did how ever get it to work with an Iframe. The menu is in an iframe so the files don't conflict but it is a bit of a botch job. I would like things to run smoothly but thats never the case.