Archive for the ‘jQuery’ Category
jQuery – Loading Partial Content
In previous posts, I’ve covered the core architecture of jQuery. How it works. How you call methods. A brief overview of what’s available.
From here on out, we will focus more on specific solutions that jQuery can provide. One of those is the ability to load partial content from the server and display it back in a section of our web page.
Republished by Blog Post Promoter
JQuery, Cufon, and Dynamic Content
Yesterday I mentioned a new tool called Cufon that allows you to easily embed fonts in your web site.
One quirk about this tool is that your HTML has to be rendered prior to applying, or refreshing, the font. If you are using any kind of AJAXy stuff in your site, you’ll need to re-apply the font change. The trick is knowing when to do this.
Republished by Blog Post Promoter
Host jQuery at Google (with Intellisense support)
While reviewing my RSS feed this morning, I found this article:
3 reasons why you should let Google host jQuery for you | Encosia
I had no idea!
The three reasons are:
- Decreased Latency
Google will serve the data from the closest server - Increased Parallelism
More threads are available to download content specific to your application instead of downloading this common library. - Better caching
They may already have the library on their computer.
Here is the code you should be using to include jQuery in your application to use the Content Delivery Network at Google:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"> </script>
The one issue you may have to deal with is that if you are using the intellisense files for Visual Studio, you will need to find some alternate method. Here’s one:
Republished by Blog Post Promoter
jQuery – Modal Dialog
Last week I introduced the jQuery Dialog plugin, which allows us to put various dialogs on the screen.
I only gave out the basics of this flexible widget to keep things simple. Today, I want to expand on that a bit by showing off some of the other capabilities.
If you’ve been coding along, pull out the code from last week, because that’s where I’ll be starting from.
Republished by Blog Post Promoter
jQuery – Explaining Last Week’s Code
Last week I left you with a chunk of code that showed you that you had successfully installed jQuery into your web application.
The code we need to discuss looks like this:
$(document).ready(function() { alert("jquery is working"); });
Republished by Blog Post Promoter