In a lot of languages you have a syntax like#include
E.g. I have two files with the same functions, but different implementations. Is it possible to do something like:
// Some code that checks browser and
// sets isMSIE to true if IE else sets isMSIE to false
// Anyway, you get the point, I guess
// Check browser
if (isMSIE) // Load functions for explorer
else // Load functions for other browser
the onLoadFunction is defined in both of the files, so the appropriate function is called when the page is loaded.
Any help would be greatly appreciated.