News and Musings login
[1] << Back 661 662 663 664  Next >> [776]
daylog posted: Sat 2013-07-20 19:22:58 tags: daylogs
Slept long and deep. Coffee (+vitamins, check) staved off hunger til ~1PM. PB sammich, a little pretzels and crackers, and a scramble dog wrap fixed me up til evening.

gotta get down on daylog posted: Fri 2013-07-19 12:23:13 tags: daylogs
Grocery shopping last night meant half a cantaloupe waiting for me this morning. Good night's sleep, coffee, vitamins, and though weather is not exactly fine and clear, it's a marked improvement over yesterday's. 16x DBx2x15 tricep extensions 25 lazy DBx2x15 squats 10+15 crunches 20 tricep dips 10 bench push-ups, halted by elbow stress pay bills, 2nd bk course, 2nd breakfast and 2nd coffee commission new toothbrush (soft, we'll try this) and water-pitcher-filter (on sale yay) hell of a drive ... (...more)
recursive function calls in JavaScript posted: Thu 2013-07-18 17:10:12 tags: tech
Yesterday I left off looking at 3 loopish ways to apply a jQuery effect on each child element contained in a parent element - iconically, all DIVs within a parent DIV, but just as easily, all TRs in a TABLE, all LI elements in a UL, etc. The code in its originally-accepted form was: (function hidenext(jq){ jq.eq(0).fadeOut("fast", function(){ (jq=jq.slice(1)).length && hidenext(jq); }); })($('div#bodyContent a')) So, given a DIV with id=bodyContent, containing an arbitrary number of... (...more)
jQuery fadeIn() demo 2 posted: Wed 2013-07-17 20:08:25 tags: tech
Consider the following: $("#div1").fadeIn("slow", function(){ $("#div2").fadeIn("slow", function(){ $("#div3").fadeIn("slow", function(){ $("#div4").fadeIn("slow"); }); }); }); div1 div2 div3 div4 $(document).ready(function(){ $("#div1").fadeIn("slow", function(){ $("#div2").fadeIn("slow", function(){ $("#div3").fadeIn("slow", function(){ $("#div4").fadeIn("slow"); }); }); }); }); It works, but the code is ... I don't want to say "ugly", be... (...more)
jQuery enable test 1 posted: Wed 2013-07-17 18:18:36 tags: tech
Back in October I made an entry about centralizing JavaScript library references in dev, but I never got around to actually applying the technique in Phosphoros. Or technically, in the mindfire.net site container. Either way, JQ libraries uploaded and referenced in the site template head, and although it's not strict HTML, most browsers let you declare script within the body element. click to fadeIn Ohhai, jQuery here var superclick = function(target){ $(target).fadeIn('slow'); } $("#... (...more)