Xunnamius/HashNav — Issue #5: Issues Internet Explorer at fire Event.
Author: jarpz
Created: 2012-01-04 14:40:43+00:00
State: open

Hi! Your Lib is God made code.

But I have issue with fucking IE8. because i dont understand with chrome and firefox events and functions work very good.
however IE no fire event at change url. Testing with simple code inclusive..

Example code:

window.addEvent('domready',function(){
var hashNav = new HashNav(),
observerName = 'helloworld',
trigger = { page: true, params: {} },
callback = function(e){
//console.log('event triggered:', e, arguments);
alert('go!!');
},
arguments = [1, 2, 3, 4],
bind = null,
elementToScrollTo = null;

hashNav.registerObserver(observerName, trigger, callback, arguments, bind, elementToScrollTo);

hashNav.triggerEvent();

});

Hi

with this simple code i'm testing functionality.. but code inside callback function en ie8 never fire.

if you could me with this issue, i gratefull.. :)

Regards!!