temporaneità
English scratches and Italian notes written by Carlo Perassi
  • About
    • Borges
  • Curriculum Vitae
  • Contact
Browse: Home / jQuery

jQuery

Datepicker’s maxDate and ZendX_JQuery_Form_Element_DatePicker

By Carlo on 2010-05-13

This is just a short reminder for me and a note for you: it seems that jQuery Datepicker is not able to handle Date object as a value for minDate or maxDate parameters, at least when the jQuery object is called in the constructor of a ZendX_JQuery_Form_Element_DatePicker object: strings like ‘-1′ work fine, though.

Posted in English | Tagged jQuery, Zend Framework | Leave a response

jQuery easy checkbox

By Carlo on 2009-08-20

This little jQuery script (demo here) makes it easy to select checkboxes: it is almost comparable to Comodo Click.

Posted in English | Tagged jQuery, trivial hacks | Leave a response

KML and geoxml3

By Carlo on 2009-08-03

This little example (which is a modified version of the one written by Sterling Udell) reads a KML file using Google Maps JavaScript API Version 3 and geoxml3 to display the markers within a little Firebug/jQuery/JSON callback (useTheData) that shows how to process them.

Posted in English | Tagged Google maps, jQuery | 2 Responses

jQuery Quick Pagination (trivial patch)

By Carlo on 2009-05-05

jQuery Quick Pagination plugin is well… quick :) and it works well: this simple patch adds the options to change the text of the “next/prev” links. The new call is jQuery(document).ready(function(){ jQuery(‘#list_nav li’).quickpaginate({ prev_text: ‘blah previous’, next_text: ‘blah next’ }); });

Posted in English | Tagged jQuery, trivial hacks | Leave a response

Two notes on YCodaSlider

By Carlo on 2008-06-11

I think that newcomers need simple notes to use YCodaSlider. First, include the required libraries: jquery-1.2.6.pack.js jquery-easing-1.3.pack.js ycodaslider-2.0.js then fire it up with a short script like this one: YCodaSlider.Base.css(‘style.css’); jQuery(window).bind(“load”, function() { jQuery(“div.ycodaslider”).ycodaslider({width : 540, sidebars : false}); jQuery(“div.ycodaslider”).width(540); });

Posted in English | Tagged free software, jQuery | Leave a response

jQuery tabs and cookies

By Carlo on 2008-04-11

I’ve found many examples of scripts that save the selected tab inside a cookie but none of them worked out of the box… so let me write here a note and a snippet about how I got it working (big thanks to Massimiliano). The XHTML that the snippet refers to is available on http://docs.jquery.com/UI/Tabs#source (you [...]

Posted in English | Tagged jQuery, trivial hacks | 12 Responses

Search

It passes

it passes

My posts, unless otherwise expressly stated, are licensed under a Creative Commons Attribution-Share Alike 2.5 Italy License.

Copyright © 2006 - 2012 by Carlo Perassi. Powered by WordPress and Hybrid.