search for: attachev

Displaying 10 results from an estimated 10 matches for "attachev".

Did you mean: attached
2005 Dec 18
3
JavaScript question
...e so: this._addEvent(document,"click",this._clickhandler); where addEvent is the following function: org_apache_myfaces_PopupCalendar.prototype._addEvent=function(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, false); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } regards, Martin
2007 Jul 16
4
Problem with keypress event handling
...rary, we noticed that actually the keydown event is fired, which is not axactly what we expect when we intercept the keypress event ;-) We don''t know if it is a bug, but it seems to us that the test if (name == ''keypress'' && (Prototype.Browser.WebKit || element.attachEvent)) name = ''keydown''; is not working properly. Anyway, by commenting the test we only fixed the problem with IE. In order to fix the event handling with Opera, we had to avoid the bindAsEventListener call: Event.observe(domText, "keypress", this.onKeyPress); Is it...
2008 May 27
6
IE7 Problems
...t; on this line: // bloody microsoft -- this is broken var el = $m(this.pinID + "_" + this.maps[this.api].GUID).onmouseover; And if I click in the map and drag it, when I let go, I get "view.LatLong is null or not an object" on this line this.maps[api].AttachEvent("onclick", function(e) { me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, me); }); Since I''m kind of new to this sort of development and Mapstraction, I''m wondering how much testing is done on IE7 and Virtual Earth? Do these seem like legitimate er...
2009 Mar 23
4
Bird''s Eye integration in Mapstraction
Are there any plans to integrate Virtual Earth''s Bird''s Eye view to mapstraction? I tried an "integration hack" but then found out that there are too many issues involved (check whether birds eye is available for the current map area, disabling zoom controls,...). Has anyone else tried it? Franz
2007 Aug 31
5
prototype
Hi, is there some way to remove all event listeners for the specific element? Thanks for help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group,
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with JavaScript. This happens, because the various helper methods work only locally and simply append to the output. In order to hide the JavaScript away, rendering would probably have to be changed. A way I can think of is that a page-specific script is included in the head of the document and JavaScript code is not written to the
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...ense. * For details, see the Prototype web site: http://www.prototypejs.org/ @@ -7,23 +7,26 @@ *--------------------------------------------------------------------------*/ var Prototype = { - Version: '1.6.0.1', + Version: '1.6.0.3', Browser: { - IE: !!(window.attachEvent && !window.opera), - Opera: !!window.opera, + IE: !!(window.attachEvent && + navigator.userAgent.indexOf('Opera') === -1), + Opera: navigator.userAgent.indexOf('Opera') > -1, WebKit: navigator.userAgent.indexOf('AppleWebKit/') &...
2009 Sep 25
0
Wine release 1.1.30
...ent[XY] implementation. mshtml: Added IHTMLEventObj::get_screen[XY] implementation. mshtml: Improve IHTMLEventObj getter stubs. mshtml: Added IHTMLDocument2::onclick property implementation. mshtml: Store event handlers in vector structure. mshtml: Added IHTMLElement2::attachEvent implementation. mshtml: Added HTML events test. mshtml: Make empty string is a valid overflow style. mshtml: Improve debug messages for timer invocation. mshtml: Added JSProtocol class factory stub implementation. mshtml: Added JSProtocolInfo::ParseUrl implementatio...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2009 Oct 09
0
Wine release 1.1.31
...d3d9: Add tests for D3DSBT_PIXELSTATE stateblocks. Huw Davies (1): oledb32: Implement conversions to DBTYPE_BYREF | DBTYPE_WSTR. Jacek Caban (51): jscript: Use host global object as default 'this' if available and global object otherwise. mshtml: Added IHTMLDocument3::attachEvent implementation. urlmon.idl: Added IInternetHostSecurityManager and CONFIRMSAFETY declarations. jscript: Added ActiveXObject constructor stub implementation. mshtml: Added ScriptHost IServiceProvider stub implementation. mshtml: Added IInternetHostSecurityManager stub impl...