The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Convert javascript for IE to NS and Safari

Hi,
Anyone have any tips on a good site with a few pointers on how to convert javascript working on IE to work with NS and Safari. For example, this code doesn't work on Safari but on IE and I have no idea why:

Neither do we. Any chance of seeing those functions? What's 'B.ie5' and 'B.ie4'? Probably a sniffer object, but...

Probably best to learn how to write DOM-compliant JavaScript, period. This will generally run in Internet Explorer, albeit with a few (key) changes, and you won't be developing bad habits. Unless you're tied to specific scripts, why not just use ones that are already cross-browser? 'Conversion' can be more trouble than it's worth.