jQuery

Web development with the iPhone and iPad in Mind

Friday, July 30th, 2010 | Business | 1 Comment

In the very near future, I will be posting a series of posts on what you should/shouldn’t be doing to develop a website where the iPhone and iPad are a target demographic.  jQuery will figure prominently in the series, as I’ve seen almost all websites now require work with jQuery (or anther AJAX platform).

Let me know if you have any specific questions / concerns, and I’ll be glad to answer them.

Some interesting things to think about:

  • How are mouse clicks triggered? (It’s not as straightforward as you’d think)
  • How are hover states triggered? (Hint: the iPad has a hover state, but it’s not what you think — remember you only have a single touch, no arrow following your finger)
  • What types of gestures can we use?
  • What special considerations must we make for CSS?
  • What are the ideal screen dimensions? (this is easy, but remember we have multiple devices, and multiple orientations)
  • What types of video can we play? (iPad, iPhone 3GS, iPhone 3G, iPhone 2G and the original iPhone all have different specifications, it’s not that easy)

Tags: , , , , , , , , , ,

Google Code: jQuery Outages and a Fix

Monday, June 21st, 2010 | Business | No Comments

I’ve posted 2 articles in the past few weeks regarding Google Code going “down” (rather, the jQuery hosted there wouldn’t work), mostly out of frustration:

There are many pluses and minuses with regards to CDN usage (more pluses though).  There may be a solution…

› Continue reading

Tags: , , ,

Google Code’s jQuery hosting goes Down!

Friday, June 18th, 2010 | Business | 3 Comments

Web developers everywhere must be making double takes.  It’s not our code, it’s Google!

The 2nd time I’ve noticed this in the past 2 weeks, it makes it hard to consider Google Code a reliable host.  Not only do developer’s who did as Google recommended get calls from clients, some of our development time was wasted today trying to track this down (for me it was only a few minutes, but I’m sure other developers will spend hours).

From Google Code:

The AJAX Libraries API provides your applications with stable, reliable, high speed, globally available access to all of the most popular, open source JavaScript libraries. Your application can use our very flexible loader google.load() or direct, path based access to the scripts.

I like the “stable, reliable” part myself.

You can see the last time I complained about this problem.

We can only hope this is for some greater good, and not protecting against more evil.

Annoying.  Especially when I’m busy trying to get code done!

UPDATE: If you need to call jQuery code, use this:

<script type=”text/javascript” src=”http://code.jquery.com/jquery-1.4.2.min.js”></script>

Tags: , , , ,

Basic jQuery Tutorial: Modify CSS classes and attributes, Hover and Toggle example

Wednesday, June 16th, 2010 | Tutorials | No Comments

This tutorial will cover:

  • Modifying CSS attributes with jQuery
  • Setting a class for a page element
  • Removing a class from a page element
  • Testing if a class exists
  • A quick toggle click behavior example

The final example will use all of the other elements in a single exercise.

› Continue reading

Tags: , , , , , , , , , , , , ,

Web Developers: How to develop for iPhone / iPad / iPod Mobile Safari

Thursday, June 10th, 2010 | Business | 2 Comments

In short, don’t.  It’s an uphill fight.

There are a few obstacles in developing for the iPhone / iPad I thought I’d post while it was on my mind:

  • How can I test my “mobile” site?
  • How can I see errors on my iPhone?
  • Why is the iPad and iPhone different?

Basically Apple has decided to make life difficult for web developers.  This was ideally done to improve the user experience on their mobile platforms, but I don’t think it was fully thought out.

› Continue reading

Tags: , , , , , , , , , , , ,

Google Code: Did they break jQuery on some sites?

Thursday, June 3rd, 2010 | Business | 2 Comments

I was sitting around developing some code for a website yesterday (June 2, 2010) and my jQuery started to break.  It was after I had taken a break, and knew it worked beforehand.

When I looked into the problem I saw that the Google Code loaded jQuery 1.4.2 had a problem.  It wasn’t loading properly!

› Continue reading

Tags: ,

HTML Zen Coding: Speed up HTML creation

Tuesday, May 4th, 2010 | Business | 1 Comment

HTML Zen Coding is a plugin for many popular HTML editors that gives the web developer many tools for quickly building out HTML pages.  If you are comfortable (and enjoy) CSS selectors popular today in many frameworks (such as jQuery) then this may be for you.

When we build HTML documents, we are always building code that is repetitive, and we have ways of making that better.  Creative copying and pasting usually.  Sometimes I feel like I’m playing music on my keyboard when I do my copy paste and edit keyboards commands over and over.

With Zen Coding the process is much “simpler”.  You need to learn the syntax, which is straightforward for most selector friendly folks — but it will shorten your workload and let you do some things that you may have avoided before.

› Continue reading

Tags: , , , , , , , , , , , , , , , , ,

HTML 5 Presentation on HTML5

Saturday, April 17th, 2010 | Business | No Comments

Saw a great HTML5 presentation today at Apirocks.com: HTML5 Presentation.  Has tons of useful demos of new HTML5 technologies that you can actually USE TODAY.

› Continue reading

Tags: , , , , , , ,

HTML Fadein Fadeout: Basic Javascript/AJAX Tutorial using jQuery’s fadeTo

Tuesday, April 13th, 2010 | Business, Tutorials | 1 Comment

In this tutorial we will review:

  • Basic document jQuery preparation
  • Binding  jQuery actions to an anchor (A) tag
  • Fading In and Fading Out html elements with Javascript/AJAX

› Continue reading

Tags: , , , , , , , , ,

Help: IE7 won’t load my JSON but IE8 will – Using a JSON Validator

Monday, March 8th, 2010 | Business | 1 Comment

I just ran into this issue, and found surprisingly little documentation.  My JSON request wasn’t returning.  I was using the jQuery “getJSON” method to send the request out.  Nothing was coming back.

› Continue reading

Tags: , , , , , , , , , ,


Follow Me

Follow seangw on twitter

Email Subscription

Top Commentators

  • No commentators.

Archives

Categories