Category Archives: jQuery
my favorite website. reserved for a while. they made everything better
http://grooveshark.com/s/The+Boss/3WIOyQ?src=5
start of iGoogle replacement
I notice iGoogle’s notice of closure has disappeared from my, former, homepage. Either way, I have made some pretty good progress towards my requirements of filling the vacuum. The biggest being: stickynotes. I keep all sorts of random important stuff … Continue reading
Cross-Origin Resource Sharing – CORS – PHP example
Just a couple of days ago I posted about JSONP as a method for cross-domain access within current browser constraints. I kept thinking about the restrictive access method{GET}. Which limits the size of the request. I had started reading tangent … Continue reading
JSONP with jQuery – getting started
Method for ajax-ing cross-domain with current browser constraints. Drawback: POST method not supported, so parameters can’t get too big. Server side php response: else if(isset($_GET['requestJsonp'])){ header(“content-type: application/json”); echo ‘saythatCallback(‘.json_encode(array(‘sayiturl’ => ‘…value’)'; die(); } jquery ajax request: not exactly sure what … Continue reading
ytVision
http://lampforum.org/ytVision/?term=mac dre ytVision auto play youtube searches. It seams like YouTube used to have this feature but has now limited it to playlists. It’s useful because you don’t have to control the interface ever two and a half minutes. It … Continue reading
xpath and css selectors
two good examples with citations: 1 http://ejohn.org/blog/xpath-css-selectors/) Goal CSS 3 XPath All Elements * //* All P Elements p //p All Child Elements p > * //p/* Element By ID #foo //*[@id='foo'] Element By Class .foo //*[contains(@class,'foo')] 1 Element With … Continue reading
iPad compatible US regional map
There are lots of really cool abstract regional maps out there. They are a lot cooler than google maps for many applications. It’s really information overload if you have a use case which is to select a region, then implement … Continue reading
cool map web app
I made a web app that someone suggested to me. A way to find out who’s out at the bars. I used google maps javascript api (v3). Also used google federated login to make signing in as easy as possible … Continue reading
getting variables to an anonymous function
var x = 6; (function(y){ alert(y); })(x) I was trying to get a jQuery object into a setTimeout function. I remembered this. I didn’t get it working yet.
no wait no, I remember what I was trying to do before now
the cross window js thing, yeah, that wasn’t it. it was getting a variable to the jQuery(‘s) ajax(‘s) success function. tags: pass variable to ajax success jquery easy way I found my self: (thanks brain and firebug, up yours google) … Continue reading