Do you find that sometimes, u want some common code to run at the end of, or at the beginning of all your handlers? (I'm not talking about $.before(), or $.after() for inserting elements - but a "before_handler()", or "after_handler()" function that runs before, or after all of your handlers) Example of "after_handler()" code - de-activating any dropped menus when u click elsewhere on a document. Example of "before_handler()" code - prompting the user to login if he has not done so already.
While I know that the "after_handler()" could be done with a $(document).click() (provided propagation ISNT stopped!!!), perhaps using an actual "after_handler()" would be helpful? Has somebody implemented this, suggested this, or thought of this before? Thoughts?
not too sure if anybody noticed this (I did a cursory search through the archives - but didnt find anything), but what is with those first 3 non-ascii bytes at the head of the js? (0xef, 0xbb, 0xbf) Are they supposed to mean or do anything? They arent present in the old version, btw (http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js) - I am led to think that they are there somehow as an "accident" of editting, or something... If i could get a confirmation here (one doubts whether these characters have any functionality role to play as part of the js), that would be great. thanks, -jf --- In the meantime, here is your PSA: "It's so hard to write a graphics driver that open-sourcing it would not help." -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228