How to check if an element is empty in jQuery
By JortK on March 14, 2010
See the code snippet below to see how you can check if an element is empty when using jQuery:
if ($(‘#keks’).html()) {
//Nothing found
;}
Share and Enjoy:
Posted in How to | Tagged jquery | Leave a response
8 weird Android apps
By JortK on March 13, 2010
So you told your boss that you bought your Android smartphone so that you could track your business calls, be more effective when traveling for your company, have easy access to Gmail and keep your organization’s Twitter feed current. But we know what’s really going on — you got that smartphone because it was cool [...]
Posted in Tech news | Tagged android, apps | Leave a response
How to Correctly Use ToggleClass in jQuery
By JortK on March 12, 2010
See the code below to see how to use ToggleClass in jQuery:
//Toggle class allows you to add or remove a class
//from an element depending on the presence of that
//class. Where some developers would use:
a.hasClass(‘blueButton’) ? a.removeClass(‘blueButton’) : a.addClass(‘blueButton’);
//toggleClass allows you to easily do this using
a.toggleClass(‘blueButton’);
Share and Enjoy:
Posted in How to | Tagged jquery | Leave a response
How to clone an element in jQuery
By JortK on March 12, 2010
See the code example below to clone an element when you are using jQuery:
var cloned = $(‘#somediv’).clone();
Share and Enjoy:
Posted in How to | Tagged jquery | Leave a response
App scripts for Google Docs
By JortK on March 12, 2010
The Google Apps team here in New York City is a hotbed of movie fanatics. But while planning a recent movie night, we realized we spend too much time organizing our events and not enough time discussing, debating and watching movies.
To take the hard work out of planning, we turned to Google Apps Script, which [...]
Posted in google | Tagged apps, docs, google | Leave a response
Why the feedburner count is never correct
By JortK on March 12, 2010
We all know the Feedburner counter which displays how many users are viewing and reading your RSS feed.
The counter is never accurate, this is why…
Share and Enjoy:
Posted in Tech news | Tagged feedburner, rss | Leave a response
Motorale ships Bing instead of Google on it’s mobile phones
By JortK on March 12, 2010
If I were a spit takin’ man, I’d do a spit take right now. Motorola, stalwart of freedom, will work with Chinese carriers to add Bing to Chinese Android-based phones, ousting Google Search and Maps from the scene. Now this isn’t meanness on Motorola’s part although Reuters notes that this move could have something to [...]
Posted in Tech news | Tagged bing, google, mobile, motorola, search | Leave a response
Google Maps shows location of people on Chatroulette
By JortK on March 12, 2010
You can now see Chatroulette users’ locations, thanks to a new Google Maps mashup that pinpoints where in the world people are signing in to the voyeuristic video-conferencing service.
Share and Enjoy:
Posted in Tech news | Tagged chatroulette, google, maps | Leave a response
Confessions of a mediocre programmer
By JortK on March 11, 2010
As much as I enjoy programming, I must in all honesty admit that I am a mediocre programmer who has always found a way to get to the big payoff — that is, when the program ran without syntax errors and something magical happened. It is not too surprising then that I never worked as [...]
Posted in Tech news | Leave a response
Use jQuery in WordPress: wp_enqueue_script
By JortK on March 11, 2010
Great tutorial on the use of jQuery within Wordpress: Click here for the tutorial.
Share and Enjoy:
Posted in How to | Tagged jquery, wordpress | Leave a response