frePPLe 0.6.1 在 IE 6 的 Operation Report 死當

最近在公司有一個project就是要幫忙處理生產排程的程式,看到有一個免費的排程程式frepple,就下載來用,後來發現重點的生產排程報表不能產生,死當,就寫信給作者,作者給我的回覆是

『Try installing a better browser
frePPLe is tested to work fine with the following browsers: Firefox, Internet Explorer 7, Safari, Opera.

Internet Explorer 6 is not complying to the industry standards in many ways, which creates problems for frePPLe (and a lot of web developers as well).
I am not planning to hack up my application to work with such a bad browser.』

果真在FireFox上執行是ok的,所以我只好請Johan給我一個建議看看如何在IE6上執行,

>>Ok.I understand your meaning.But in my company I only use Internet Explorer 6.
>>So I need to hack your application.

If you send me a patch, I am willing to merge it in the code and support it as part of frePPLe.

>>I think it may be javascript’s problem.
>>So could you cue me how I can do?

It is very likely a javascript problem indeed, but I have not investigated the problem in detail. It is possible that the problem is relatively minor and can fixed pretty easily.

FrePPLe uses javascript code (among others) to synchronize the scrolling in different DIVs. I suspect the problem is in that part. See the functions syncInitialize, syncScroll, and syncResize in the file frepple.js.

Note also that frePPLe is using the “prototype” javascript library (see http://www.prototypejs.org/) to support multiple browser dialects easily.

Good luck & keep me posted,

經過兩天的測試終於在Google中發現這個在IE 6 onresize的bug,我想在IE6不太會resize window所以我就把

Event.observe(window, ‘resize’, syncResize);

這一行給遮蔽了,

改後的檔案:

frepple

※2022/05/30

今日再回來看這個frePPLe已經不是免費的了,如果朋友們想要繼續學習這個軟體,可以看看下面的《Production Planning – frePPLe full demo》

網址:https://frepple.com/

感謝你看到這裡,很快就可以離開了,但最好的獎勵行動就是按一下幫我分享或留言,感恩喔~

點我分享到Facebook

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *