--- Trevor Warren <[EMAIL PROTECTED]> wrote:
> Hello Guys/Gals, > > One of me colleagues at work just called to check if i had a solution on > an IE to firefox porting issue. Glad to know that commercial applns are now > being forced the firefox way..:D. Will mention the challenge in brief : > > > 35000 html pages > > javascript written for IE > > DOM based on IE > > What would be the best way for me to port this IE based application to > firefox such that we can use it from Linux as well as MS???. Are there any > automated tools/parsers that i can make use of??. > None exist. You'd have to resort to one or a combination of the following: 1. When accessing IE specific object attributes, replace the object.property calls with a function call that returns a browser specific property. 2. On document load, add to the object's prototype those IE attributes that FF does not have. > Secondly, the other through process i had in mind was...if the first part > isnt feasible can we build plugin the IE javas script and DOM model support > into firefox as a plugin. This sounds ambitious but am just trying to > explore some options out here where none seem to exist. > This is not really far fetched. I'm teaching myself the Firefox architecture, and aim to write similar FF extensions. There is a market for such extensions, and willing customers. Getting the app to a wider audience would have higher priority as compared to making the app cross browser compatible. Just a tip: Before your colleague gets started with the migration, ask him to use Sahi (http://sahi.sourceforge.net/)to record the app's behaviour in IE. Then as they port the pages to FF/Safari, they could run Sahi tests to ensure that the application behaves as on Windows. -- Sriram __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://mm.glug-bom.org/mailman/listinfo/linuxers

