27
August
2009
Author: Zeeshan
An AJAX (or AHAH) proof-of-concept page that allows the visitor to edit the very (x)HTML page they are viewing, without leaving the page.
The Concept
Click the text to be edited and magically a textarea appears with buttons beneath to save or cancel the changes. Changes are sent via AHAH to a PHP script which normally would be used to update a database (MYSQL or flatfile).
The Demonstration
Edit is place Example 1 below
Example 1
Read the rest of this entry »
25
August
2009
Author: Zeeshan
One of the features I find it interesting in Google calendar is the possibility to create shared calendars, but also the availability of your calendar as XML or ICAL whatever it’s a private or public one. As soon as we have XML of our calendar available I was wondering why not integrating Google calendar directly in website. For example a community that use the service to manage their events, or to display your future trips in your blog ?
Read the rest of this entry »
25
August
2009
Author: Zeeshan
Surfing the web one finds many different solutions for drop-down menus, of which many involve or even solely depend on JavaScript. I would like to present another option which I personally find really cool because it’s easy to use and utilizes features within the HTML and CSS standards without any weird workarounds.
Read the rest of this entry »
24
August
2009
Author: Zeeshan
I wanted to see if I could check if a user has scrolled to the bottom of the box. For example, to see if they have read all the terms and conditions.
We can find out the scroll position using $(selector).scrollTop() and to find the highest posible scroll position using $(selector)[0].scrollHeight.
Read the rest of this entry »
21
August
2009
Author: Zeeshan
If you’re into taking apart code, skip all this and download the source
In this tutorial you will learn how to display an alert to your users with jQuery and CSS similar to the one used by Twitter. The alert drops down from the top of the screen to display what is in a PHP $_SESSION variable.
Read the rest of this entry »