I was wondering if anyone knows if of javascript compatibility
tables or some program that can convert the html/javascript etc to
be as cross-browser as possible!
A list of what browsers support isn't going to be of much good as that
would lead to browser detection strategies which are just as unreliable as
the presence of JavaScript and it's proprietary components.
As for an automated conversion program, surely it would next to
impossible. Some things completely unsupported in certain browsers, so
there can be no equivalent alternative. Also, constructs might be too
complex for a machine to interprete and process.
Your safest approach is to implement standards, such as the DOM, which are
given good support by the more modern versions of Netscape, Opera,
Mozilla, and others (excluding IE). Using feature detection, you can then
determine when proprietary methods, such as DHTML and some minor aspects
of JavaScript v1.3, will be necessary. Finally, you should ensure that
nothing you do is dependant on the presence of some element of JavaScript,
so it shouldn't matter if you find a complete lack of support. This is
especially important for non-JavaScript enabled browsers.
Mike