promisefeni / reallysimplehistory

Automatically exported from code.google.com/p/reallysimplehistory
Other
0 stars 0 forks source link

IE6 history not work,only closes off a browser!! #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I don't understand,it's my issue,or all this history is a ***. Simple
install like this:
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript" src="rsh.js"></script>

<script type="text/javascript">
window.dhtmlHistory.create({
        toJSON: function(o) {
                return Object.toJSON(o);
        }
        , fromJSON: function(s) {
                return s.evalJSON();
        }
});

var yourListener = function(newLocation, historyData) {
       ;
}

window.onload = function() {
        dhtmlHistory.initialize();
        dhtmlHistory.addListener(yourListener);
};
</script>

It works perfectly,but is one problem,IE6 throws critical error and closes
a browser... Why at documentation sayd that supported browsers IE6+???
Sorry for my bad English ))

Original issue reported on code.google.com by S...@one.lv on 15 Sep 2008 at 10:11

GoogleCodeExporter commented 8 years ago
Dear you.

I do believe this is not caused by Really Simple History, but by Internet 
Explorer 6
having a difficulty parsing Prototype in certain instances.

I discovered it when my testing version of Internet Explorer 6 started to crash 
every
time I visited apple.com, script.aculo.us etc. - all sites using prototype.js.

I know this may sound very weird, but you can fix this crashing problem by 
disabling
a plug-in in Internet Explorer 6. But as arguable as it may sound, I cannot 
remember
the exact name of the plug-in... I'm really sorry. But try to disable them one 
at a
time like this: 1) disable a plug-in, 2) test for crashing behaviour - if it 
still
happens, enable the plug-in and disable the next on one the list and so on. 
That's
how I made Internet Explorer 6 NOT crash and flee when encountering the mighty
prototype.js.

Internet Explorer 6 is teh sux.

Original comment by kasp...@gmail.com on 7 Jan 2009 at 7:32