sliding headaches

trying to solve a problems as documented on this page:
http://dev.eyedea.eu/jquery/pages/slidepanel.html

got the sliding down working - but the position fixed and correct position within the page is jumping....

need to figure out how to stop the sliding motion once the footer is positioned correctly, then assign CSS fixed position

Server Maintenance

Just a heads up...

The hard drive that contains the database for this site is starting to act up. It's locked up the server once already, and is reporting SATA errors. So we are in the process of replacing that drive. While we're at it, we'll be doing an update of the server as well. So you may see spotty access over the next few days.

Server Move

Update:
The server move has been completed, and everything seems stable. (knock on wood).

Our host server will be moving in the next couple of days. If we're lucky we will only see the usual DNS propagation issues. If not, alternatives are ready to go.

This means the jQuery HowTo's may be unavailable for a short while.

Sorry for any inconvenience.

jQuery 1.2.2 is here!

The latest version of jQuery was released on 14 Jan 2008. Details are available on the blog. And you can download the latest version right from the jQuery Home Page.

Quoting from the release notes:

Primarily, this has been a bug fix and optimization release. We landed over 120 bug fixes and our test suite now has over 1157 tests in it - which we are quire proud of.

So we should be seeing improved stability and performance.

Great job guys! Thanks for your hard work!

How to remove content

Removing a page element is very easy, once you have a reference to it. Use the standard methods for getting the reference (jQuery selectors, etc.) then use the .remove() method.

$("#myUnWantedDIV").remove();

This code would remove the referenced element (if found), and everything within the element. Basically, that node is removed from the DOM tree.

You can get a little fancier by using the jQuery manipulation tags. For instance, to remove everything in the parent of the target element, we could do this:

$("#myUnwantedElement").parent().remove();

How to access a database

The inherent JavaScript security restrictions prevent us from accessing files or other resources (outside of web accessible content) directly. This means we cannot access a database directly. There is a way around this though, and that is utilizing Ajax.

Via Ajax we can pass a request to a database with a server side resource, get some results back, and then update our page with those results. The results can be whatever we'd like - full tables, report data, or just what background image the user likes.

There are a number of considerations before undertaking this task.

More site changes

I thought about the front page, and felt we needed to highlight the main areas of the site. With that, I created a quick blurb about the HowTo's, Blogs, the organization of the HowTo's, and the feeds. This is now the home page.

But I didn't want to loose the ability to make notes about changes to the site, or otherwise comment on the site. So we now have a "Site News" section where this type of information will be posted.

Site Changes

Overall, the feedback from the community has been encouraging. A few ideas were suggested and these have now been implemented to some degree:

  • Categories have been added for the book pages. An author can now indicate the skill level of the posting, what version of jQuery the post applies to, and free-form keywords (aka tags).

jQuery HowTo's Launched

And away we go!

I just posted the notice about this site to the jQuery Mailing List. I'm a little nervous to see if the community warms up to the site, but I'm intending on continuing regardless.

Let me answer a few questions:

jQuery HowTo's

Different people learn in different ways. One discussion that comes up on a regular basis is that the jQuery documentation is sometimes hard to follow for those new to jQuery. This may stem from the reference style the official documentation takes. Here we will provide another style of documentation to help those who do not like to learn from the reference style. Instead, we will use the "How-To" style. A "how to" statement will be made, then followed up with a description and some sample code.