The problem may be that jQuery's event handler wrapper must use window. Event to retrieve the current event in IE. If you set a handler from window A on an event in window B, the script in window A will be looking at window A's window.
Event whilst the event is actually occurring on window B But there may be more issues than that, too. Cross-window/frame scripting is fraught with difficulties and jQuery is not particularly designed to work around them. To make jQuery work properly cross-frame you will generally need an instance of jQuery in both windows, and you should only use the corresponding instance of jQuery ($) to interact with each window eta re comment: OK, having looked into mousewheel further, I don't know how your code can be working in Firefox (it certainly doesn't for me).
Firefox doesn't support mousewheel events at all; instead it supports DOMMouseScroll events. Also for the other browsers that support mousewheel it should be bound to a DOM Node rather than the window. So I guess what you're looking for is: if ('MouseScrollEvent' in window) { $(document).
Bind('DOMMouseScroll', function(event) { return scroll(event. Detail*-40); }); } else { $(document). Bind('mousewheel', function(event) { return scroll(event.
WheelDelta); }); } function scroll(d) { window. ScrollBy(-d, 0); return false; } (However in WebKit this will stop scrolling when the mouse moves out of the horizontal area corresponding to the viewport width. You may prefer to bind the events to the wider element like the div, if it fills the browser.).
The problem may be that jQuery's event handler wrapper must use window. Event to retrieve the current event in IE. If you set a handler from window A on an event in window B, the script in window A will be looking at window A's window.
Event, whilst the event is actually occurring on window B. But there may be more issues than that, too. Cross-window/frame scripting is fraught with difficulties and jQuery is not particularly designed to work around URL1 make jQuery work properly cross-frame you will generally need an instance of jQuery in both windows, and you should only use the corresponding instance of jQuery ($) to interact with each window.
Eta re comment: OK, having looked into mousewheel further, I don't know how your code can be working in Firefox (it certainly doesn't for me). Firefox doesn't support mousewheel events at all; instead it supports DOMMouseScroll events. Also for the other browsers that support mousewheel, it should be bound to a DOM Node rather than the window.
So I guess what you're looking for is: if ('MouseScrollEvent' in window) { $(document). Bind('DOMMouseScroll', function(event) { return scroll(event. Detail*-40); }); } else { $(document).
Bind('mousewheel', function(event) { return scroll(event. WheelDelta); }); } function scroll(d) { window. ScrollBy(-d, 0); return false; }; (However in WebKit this will stop scrolling when the mouse moves out of the horizontal area corresponding to the viewport width.
You may prefer to bind the events to the wider element like the div, if it fills the browser. ).
There is only one window in this case and I tried "window. Event" instead of "event" in the handler, yet it produces only syntax errors, both in dreamweaver and IE8. – Mohammad Nov 2 '09 at 11:19 If there is only one window, why are you accessing window.
Parent? – bobince Nov 2 '09 at 11:54 Anyhow, the delta property would normally be accessed as event.wheelDelta. But if you have syntax errors you aren't even getting that far!
– bobince Nov 2 '09 at 11:56 bobince could you please look at the code i've included in the question above, is it what you inferring. That code gives me syntax errors right after I ad the . WheelDelta thank you – Mohammad Nov 2 '09 at 13:41 You don't put the property access in the function argument list.It should be function(event) {...window.
ScrollBy(event. WheelDelta*-120, 0);. – bobince Nov 2 '09 at 14:31.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.