Fixed Again: ZIP Files for Really Simple History and AMASS
There is something seriously wrong with the latest versions of WinZip -- it seems to be incompatible with both the command-line Unix ZIP tool and the ZIP tool that comes with Mac OS X. I get reports of people not being able to uncompress the Really Simple History and the AMASS zip files when they use WinZip to uncompress an archive created with these tools.
To fix this, I downloaded WinZip 10 and recreated the ZIP files for both Really Simple History as well as AMASS. I hope this fixes things for folks. Note that AMASS is now deprecated and replaced with Dojo.Storage.
To fix this, I downloaded WinZip 10 and recreated the ZIP files for both Really Simple History as well as AMASS. I hope this fixes things for folks. Note that AMASS is now deprecated and replaced with Dojo.Storage.
Comments
Use the IE web developer (http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en)
and go to your simple test page (http://codinginparadise.org/projects/dhtml_history/testDhtmlHistory.html) and view the DOM. You will notice that everything is in the Head except for textarea id=historyStorageField.
- Move the following lines from the bottom of dhtmlHistory.js into a function called by body onload (you could probably also attach them to the onload event at the foot of dhtmlHistory.js):
window.historyStorage.init();
window.dhtmlHistory.create();
Change all lines that refer to document.write to ensure that they append their content to the end of the document body - I use JQuery so I just did $("body).append(newContent).
Change all lines that refer to blank.html to the absolute path, i.e. /js/rsh04/blank.html - not sure why but this only seems to be an issue in IE7.
Worked for me!
Mark.
Thanks in advance.