summaryrefslogtreecommitdiff
path: root/lib/scripts/events.js
Commit message (Collapse)AuthorAge
* Fix currentTarget in fixeventAdrian Lang2010-08-02
|
* Fix event.pageX and pageY correctlyAdrian Lang2010-08-02
|
* JavaScript syntax fixesAdrian Lang2010-03-29
|
* Fix pageX and pageY in IE’s JS eventsAdrian Lang2010-03-02
|
* added bind() JS function got rid of all eval() callsAndreas Gohr2009-10-18
| | | | | | | | | | | | Ignore-this: 4c7b7b3ebc83ce596e8a7e41d6a88f09 Another round of cleaning up the JavaScript code. A new bind() utility function [1] was introduced and all eval() calls where removed from the toolbar code. [1] See http://www.cosmocode.de/en/blog/gohr/2009-10/15-javascript-fixing-the-closure-scope-in-loops darcs-hash:20091018201710-7ad00-d0bcfa62e28a7a360c8bb8303367a94a9fa78fe1.gz
* JS checks for .hasOwnPropertywingedfox2007-01-11
| | | | | | | | | This patch includes - several helper functions - is* checks - hasOwnProperty method emulator - checks for .hasOwnProperty in all for..in loops darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
* script fix for IEAndreas Gohr2006-09-15
| | | | darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
* another update for the IE+HTTPS init event problemAndreas Gohr2006-09-04
| | | | darcs-hash:20060904182033-7ad00-c72dfa5fa9f5c44e0fdf09db922a4915935169f7.gz
* https fix for window.onloadAndreas Gohr2006-09-03
| | | | | | | | | | | This should fix an issue with IE6 and https where the window.onload magic would raise a security warning. See http://dean.edwards.name/weblog/2006/06/again/#comment5776 http://dean.edwards.name/weblog/2006/06/again/#comment5788 needs testing darcs-hash:20060903162438-7ad00-b29cd50387d1fef95bb688910b41e6b64cfeebca.gz
* fix event.target in IEAndreas Gohr2006-07-11
| | | | | | Just a simple addition to fix the event.target property in IE's JavaScript darcs-hash:20060711181048-7ad00-ed9123f08d935584ab68b5c49b4b7a56ff87856d.gz
* better onload handlingAndreas Gohr2006-06-16
| | | | | | | | | | | | | | | | | | | | | | | | This patch improves the way the window.oninit JavaScript function is called. This function is used to initialiaze all JavaScript funcions attached to the DOM so it needs to be executed **after** the full DOM was parsed by the browser. Unfortunately currently only Mozilla supports a DOMContentLoaded event. In all other browsers we had to wait for the window.onload event which will only be called after **all** content (including images) was loaded - this caused a visible delay on all JavaScript generated content (like the toolbar) in non-Mozilla browsers. Dean Edwards now presented a solution [1] which will work for all the bigger Browsers and is used in this patch. The following browsers now should fire the init event right after parsing the DOM: All Mozilla based browsers Internet Explorer Safari Opera > darcs-hash:20060616104539-7ad00-db70d31fcb21cb812cf4982fe80a7d649e2daa1c.gz
* minor javascript cleanupAndreas Gohr2006-04-30
| | | | darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
* JS fixesAndreas Gohr2005-12-10
| | | | darcs-hash:20051210204439-7ad00-602f2ab029f37fa3886e826329d1e534811fd1f1.gz
* unobstrusive JS for TOC, better onload handlingAndreas Gohr2005-12-10
| | | | | | | | | This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet. darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
* JavaScript refactoringAndreas Gohr2005-10-29
This patch addes a first go on a central javascript and CSS dispatcher which builds a single script from all needed scripts, does optimizing and caching. darcs-hash:20051029002652-7ad00-7558b569c2bf65f5e41820644580d97c62edd0d6.gz