pancake bits

i'm a web developer wowowowowowow!
  • Message Me
  • @jennschiffer on the twizzlers
  • ask me anything
  • rss
  • archive
  • Jimmy and I accidentally watched two episodes of Walker, Texas Ranger this weekend, and all I could think about was this photo of Douglas Crockford.

    Jimmy and I accidentally watched two episodes of Walker, Texas Ranger this weekend, and all I could think about was this photo of Douglas Crockford.

    • 1 year ago
    • 10 notes
    • #douglas crockford
    • #javascript
    • #json
    • #jslint
    • #chuck norris
    • #walker texas ranger
  • Jimmy Wales All Over My Internet

    Jimmy Wales All Over My Internet

    Some totally jealous guys are slammin’ on Wikipedia founder, Jimmy Wales, because his face is showing up all over the site asking for donations. I’m totally crushin’ on this hunk, so for a limited time (now until it gets really annoying for me), clicking anywhere on this page will generate one of four images I grabbed from Wikipedia’s plea for donations.

    Here is the source code, feel free to use on your own site. I made the z-index negative so that you can enjoy his sexy face AND still enjoy my sexy blog.

    $(document).ready(function(){
    	$(document).click(function(e){
    		var $exe = e.pageX - 82;
    		var $why = e.pageY - 85;
    		var $imageToShow = 'http://jennschiffer.com/css/jimmywales/wales' + Math.floor(Math.random()*4) + '.png';
    		$(document.createElement("img"))
    			.attr({ src: $imageToShow, title: 'JIMMY WALES ALL OVER MY WEB' })
    			.addClass("jimmyWales")
    			.appendTo(document.body)
    			.css('position', 'absolute')
    			.css('top', $why)
    			.css('left', $exe)
    			.css('z-index', -10);
    	});
    });
    

    Also, please donate to Wikipedia - I did. Not only is it an amazing and groundbreaking source of information that EVERY SINGLE ONE OF US USE, I really want Mr. Wales to know that his campaign is working. I don’t mind seeing that face whenever I go to Wikipedia.

    Edit: I apologize for the repost - I deleted the original ‘Photo’ post and made it this ‘Text’ post. I’m working on being less lazy with Tumblr. As the great Kanye West once said, “IT’S A PROCESS.”

    • 2 years ago
    • 2 notes
    • #jimmy wales
    • #wikipedia
    • #code
    • #technology
    • #jquery
    • #javascript
  • JavaScript Syntax Highlighting on Tumblr

    Mr. Dipert did it so I didn’t have to. I created my own stylesheet, though, to make the colors a little less…abrasive.

    • 2 years ago
    • 1 notes
    • #javascript
    • #css
    • #syntax highlighting
    • #tumblr
    • #code
  • JS1k Demos

    If you’ve got time to kill (or no time to kill, but the killing happens regardless), check out the latest submissions to the JS1k contest.  Basically, entrants create demos with validating JavaScript that are no larger than 1024 bytes (and no external scripts, you  jQuery-heads).

    Demo 305 will keep me us busy for hours.

    • 2 years ago
    • 1 notes
    • #javascript
    • #jquery
    • #computer science
    • #code
© 2010–2013 pancake bits