summaryrefslogtreecommitdiff
path: root/lib/scripts/events.js
Commit message (Collapse)AuthorAge
* 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