jQuery (or anything else) basics of dragging

Here’s the most basic implementation of dragging I’m aware of… I’ll present an example usin jQuery, but the same logic can be used in any JS framework, raw JS, or even ActionScript, Java, or any other language or technology that processes similar user events and provided a UI. Here’s the idea: On mousedown: 1. record […]

run VBS functions from JScript

I know everybody hates JScript, but I write a ton of quick-and-dirty mini-apps – sometimes as straight .js, sometimes as .hta (gasp) – to automate tasks (especially screen-scrapers – they’re fast). Anyway, a little trick for executing VBS functions from JScript (most are allowed natively, but some aren’t – e.g., sleep). Basic idea is: 1. […]