code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
;(function($){ /** * jqGrid French Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Enregistrements {0} - {1} sur {2}", emptyrecords: "Aucun enregistrement à afficher", loadtext: "Chargement...", pgtext : "Page {0} sur {1}" }, search : { caption: "Recherche...", Find: "Chercher", Reset: "Annuler", odata : ['égal', 'différent', 'inférieur', 'inférieur ou égal','supérieur','supérieur ou égal', 'commence par','ne commence pas par','est dans',"n'est pas dans",'finit par','ne finit pas par','contient','ne contient pas'], groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "aucun" } ], matchText: " correspondance", rulesText: " règles" }, edit : { addCaption: "Ajouter", editCaption: "Editer", bSubmit: "Valider", bCancel: "Annuler", bClose: "Fermer", saveData: "Les données ont changé ! Enregistrer les modifications ?", bYes: "Oui", bNo: "Non", bExit: "Annuler", msg: { required: "Champ obligatoire", number: "Saisissez un nombre correct", minValue: "La valeur doit être supérieure ou égale à", maxValue: "La valeur doit être inférieure ou égale à", email: "n'est pas un email correct", integer: "Saisissez un entier correct", url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')", nodefined : " n'est pas défini!", novalue : " la valeur de retour est requise!", customarray : "Une fonction personnalisée devrait retourner un tableau (array)!", customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!" } }, view : { caption: "Voir les enregistrement", bClose: "Fermer" }, del : { caption: "Supprimer", msg: "Supprimer les enregistrements sélectionnés ?", bSubmit: "Supprimer", bCancel: "Annuler" }, nav : { edittext: " ", edittitle: "Editer la ligne sélectionnée", addtext:" ", addtitle: "Ajouter une ligne", deltext: " ", deltitle: "Supprimer la ligne sélectionnée", searchtext: " ", searchtitle: "Chercher un enregistrement", refreshtext: "", refreshtitle: "Recharger le tableau", alertcap: "Avertissement", alerttext: "Veuillez sélectionner une ligne", viewtext: "", viewtitle: "Afficher la ligne sélectionnée" }, col : { caption: "Afficher/Masquer les colonnes", bSubmit: "Valider", bCancel: "Annuler" }, errors : { errcap : "Erreur", nourl : "Aucune adresse n'est paramétrée", norecords: "Aucun enregistrement à traiter", model : "Nombre de titres (colNames) <> Nombre de données (colModel)!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi" ], monthNames: [ "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc", "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j == 1 ? 'er' : 'e';}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-fr.js
JavaScript
gpl2
4,273
;(function($){ /** * jqGrid Danish Translation * Aesiras A/S * http://www.aesiras.dk * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Vis {0} - {1} of {2}", emptyrecords: "Ingen linjer fundet", loadtext: "Henter...", pgtext : "Side {0} af {1}" }, search : { caption: "Søg...", Find: "Find", Reset: "Nulstil", odata : ['lig', 'forskellige fra', 'mindre', 'mindre eller lig','større','større eller lig', 'begynder med','begynder ikke med','findes i','findes ikke i','ender med','ender ikke med','indeholder','indeholder ikke'], groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], matchText: " lig", rulesText: " regler" }, edit : { addCaption: "Tilføj", editCaption: "Ret", bSubmit: "Send", bCancel: "Annuller", bClose: "Luk", saveData: "Data er ændret. Gem data?", bYes : "Ja", bNo : "Nej", bExit : "Fortryd", msg: { required:"Felt er nødvendigt", number:"Indtast venligst et validt tal", minValue:"værdi skal være større end eller lig med", maxValue:"værdi skal være mindre end eller lig med", email: "er ikke en gyldig email", integer: "Indtast venligst et gyldigt heltal", date: "Indtast venligst en gyldig datoværdi", url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')", nodefined : " er ikke defineret!", novalue : " returværdi kræves!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Vis linje", bClose: "Luk" }, del : { caption: "Slet", msg: "Slet valgte linje(r)?", bSubmit: "Slet", bCancel: "Fortryd" }, nav : { edittext: " ", edittitle: "Rediger valgte linje", addtext:" ", addtitle: "Tilføj ny linje", deltext: " ", deltitle: "Slet valgte linje", searchtext: " ", searchtitle: "Find linjer", refreshtext: "", refreshtitle: "Indlæs igen", alertcap: "Advarsel", alerttext: "Vælg venligst linje", viewtext: "", viewtitle: "Vis valgte linje" }, col : { caption: "Vis/skjul kolonner", bSubmit: "Opdatere", bCancel: "Fortryd" }, errors : { errcap : "Fejl", nourl : "Ingen url valgt", norecords: "Ingen linjer at behandle", model : "colNames og colModel har ikke samme længde!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag" ], monthNames: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec", "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December" ], AmPm : ["","","",""], S: function (j) {return '.'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "j/n/Y", LongDate: "l d. F Y", FullDateTime: "l d F Y G:i:s", MonthDay: "d. F", ShortTime: "G:i", LongTime: "G:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); // DA })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-da.js
JavaScript
gpl2
4,131
;(function($){ /** * jqGrid Serbian Translation * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Преглед {0} - {1} од {2}", emptyrecords: "Не постоји ниједан запис", loadtext: "Учитавање...", pgtext : "Страна {0} од {1}" }, search : { caption: "Тражење...", Find: "Тражи", Reset: "Ресетуј", odata : ['једнако', 'није једнако', 'мање', 'мање или једнако','веће','веће или једнако', 'почиње са','не почиње са','је у','није у','завршава са','не завршава са','садржи','не садржи'], groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ], matchText: " match", rulesText: " правила" }, edit : { addCaption: "Додај запис", editCaption: "Измени запис", bSubmit: "Пошаљи", bCancel: "Одустани", bClose: "Затвори", saveData: "Податак је измењен! Сачувај измене?", bYes : "Да", bNo : "Не", bExit : "Одустани", msg: { required:"Поље је обавезно", number:"Молим, унесите исправан број", minValue:"вредност мора бити већа од или једнака са ", maxValue:"вредност мора бити мања од или једнака са", email: "није исправна имејл адреса", integer: "Молим, унесите исправну целобројну вредност ", date: "Молим, унесите исправан датум", url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')", nodefined : " није дефинисан!", novalue : " захтевана је повратна вредност!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Погледај запис", bClose: "Затвори" }, del : { caption: "Избриши", msg: "Избриши изабран(е) запис(е)?", bSubmit: "Ибриши", bCancel: "Одбаци" }, nav : { edittext: "", edittitle: "Измени изабрани ред", addtext:"", addtitle: "Додај нови ред", deltext: "", deltitle: "Избриши изабран ред", searchtext: "", searchtitle: "Нађи записе", refreshtext: "", refreshtitle: "Поново учитај податке", alertcap: "Упозорење", alerttext: "Молим, изаберите ред", viewtext: "", viewtitle: "Погледај изабрани ред" }, col : { caption: "Изабери колоне", bSubmit: "ОК", bCancel: "Одбаци" }, errors : { errcap : "Грешка", nourl : "Није постављен URL", norecords: "Нема записа за обраду", model : "Дужина модела colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота" ], monthNames: [ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец", "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-sr.js
JavaScript
gpl2
5,061
;(function($){ /** * jqGrid Spanish Translation * Traduccion jqGrid en Español por Yamil Bracho * Traduccion corregida y ampliada por Faserline, S.L. * http://www.faserline.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Mostrando {0} - {1} de {2}", emptyrecords: "Sin registros que mostrar", loadtext: "Cargando...", pgtext : "Página {0} de {1}" }, search : { caption: "Búsqueda...", Find: "Buscar", Reset: "Limpiar", odata : ['igual ', 'no igual a', 'menor que', 'menor o igual que','mayor que','mayor o igual a', 'empiece por','no empiece por','está en','no está en','termina por','no termina por','contiene','no contiene'], groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ], matchText: " match", rulesText: " reglas" }, edit : { addCaption: "Agregar registro", editCaption: "Modificar registro", bSubmit: "Guardar", bCancel: "Cancelar", bClose: "Cerrar", saveData: "Se han modificado los datos, ¿guardar cambios?", bYes : "Si", bNo : "No", bExit : "Cancelar", msg: { required:"Campo obligatorio", number:"Introduzca un número", minValue:"El valor debe ser mayor o igual a ", maxValue:"El valor debe ser menor o igual a ", email: "no es una dirección de correo válida", integer: "Introduzca un valor entero", date: "Introduza una fecha correcta ", url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')", nodefined : " no está definido.", novalue : " valor de retorno es requerido.", customarray : "La función personalizada debe devolver un array.", customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada." } }, view : { caption: "Consultar registro", bClose: "Cerrar" }, del : { caption: "Eliminar", msg: "¿Desea eliminar los registros seleccionados?", bSubmit: "Eliminar", bCancel: "Cancelar" }, nav : { edittext: " ", edittitle: "Modificar fila seleccionada", addtext:" ", addtitle: "Agregar nueva fila", deltext: " ", deltitle: "Eliminar fila seleccionada", searchtext: " ", searchtitle: "Buscar información", refreshtext: "", refreshtitle: "Recargar datos", alertcap: "Aviso", alerttext: "Seleccione una fila", viewtext: "", viewtitle: "Ver fila seleccionada" }, col : { caption: "Mostrar/ocultar columnas", bSubmit: "Enviar", bCancel: "Cancelar" }, errors : { errcap : "Error", nourl : "No se ha especificado una URL", norecords: "No hay datos para procesar", model : "Las columnas de nombres son diferentes de las columnas de modelo" }, formatter : { integer : {thousandsSeparator: ".", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado" ], monthNames: [ "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic", "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd-m-Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-es.js
JavaScript
gpl2
4,529
;(function($){ /** * jqGrid Catalan Translation * Traducció jqGrid en Catatà per Faserline, S.L. * http://www.faserline.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Mostrant {0} - {1} de {2}", emptyrecords: "Sense registres que mostrar", loadtext: "Carregant...", pgtext : "Pàgina {0} de {1}" }, search : { caption: "Cerca...", Find: "Cercar", Reset: "Buidar", odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'], groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ], matchText: " match", rulesText: " rules" }, edit : { addCaption: "Afegir registre", editCaption: "Modificar registre", bSubmit: "Guardar", bCancel: "Cancelar", bClose: "Tancar", saveData: "Les dades han canviat. Guardar canvis?", bYes : "Yes", bNo : "No", bExit : "Cancel", msg: { required:"Camp obligatori", number:"Introdueixi un nombre", minValue:"El valor ha de ser major o igual que ", maxValue:"El valor ha de ser menor o igual a ", email: "no és una direcció de correu vàlida", integer: "Introdueixi un valor enter", date: "Introdueixi una data correcta ", url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')", nodefined : " is not defined!", novalue : " return value is required!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Veure registre", bClose: "Tancar" }, del : { caption: "Eliminar", msg: "¿Desitja eliminar els registres seleccionats?", bSubmit: "Eliminar", bCancel: "Cancelar" }, nav : { edittext: " ", edittitle: "Modificar fila seleccionada", addtext:" ", addtitle: "Agregar nova fila", deltext: " ", deltitle: "Eliminar fila seleccionada", searchtext: " ", searchtitle: "Cercar informació", refreshtext: "", refreshtitle: "Refrescar taula", alertcap: "Avís", alerttext: "Seleccioni una fila", viewtext: " ", viewtitle: "Veure fila seleccionada" }, // setcolumns module col : { caption: "Mostrar/ocultar columnes", bSubmit: "Enviar", bCancel: "Cancelar" }, errors : { errcap : "Error", nourl : "No s'ha especificat una URL", norecords: "No hi ha dades per processar", model : "Les columnes de noms són diferents de les columnes del model" }, formatter : { integer : {thousandsSeparator: ".", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds", "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte" ], monthNames: [ "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des", "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd-m-Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: 'show', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-cat.js
JavaScript
gpl2
4,294
;(function($){ /** * jqGrid Montenegrian Translation * Bild Studio info@bild-studio.net * http://www.bild-studio.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Pregled {0} - {1} od {2}", emptyrecords: "Ne postoji nijedan zapis", loadtext: "Učitivanje...", pgtext : "Strana {0} od {1}" }, search : { caption: "Traženje...", Find: "Traži", Reset: "Resetuj", odata : ['jednako', 'nije jednako', 'manje', 'manje ili jednako','veće','veće ili jednako', 'počinje sa','ne počinje sa','je u','nije u','završava sa','ne završava sa','sadrži','ne sadrži'], groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ], matchText: " primjeni", rulesText: " pravila" }, edit : { addCaption: "Dodaj zapis", editCaption: "Izmjeni zapis", bSubmit: "Pošalji", bCancel: "Odustani", bClose: "Zatvori", saveData: "Podatak je izmjenjen! Sačuvaj izmjene?", bYes : "Da", bNo : "Ne", bExit : "Odustani", msg: { required:"Polje je obavezno", number:"Unesite ispravan broj", minValue:"vrijednost mora biti veća od ili jednaka sa ", maxValue:"vrijednost mora biti manja ili jednaka sa", email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?", integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ", date: "Unesite ispravan datum", url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')", nodefined : " nije definisan!", novalue : " zahtjevana je povratna vrijednost!", customarray : "Prilagođena funkcija treba da vrati niz!", customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!" } }, view : { caption: "Pogledaj zapis", bClose: "Zatvori" }, del : { caption: "Izbrisi", msg: "Izbrisi izabran(e) zapise(e)?", bSubmit: "Izbriši", bCancel: "Odbaci" }, nav : { edittext: "", edittitle: "Izmjeni izabrani red", addtext:"", addtitle: "Dodaj novi red", deltext: "", deltitle: "Izbriši izabran red", searchtext: "", searchtitle: "Nađi zapise", refreshtext: "", refreshtitle: "Ponovo učitaj podatke", alertcap: "Upozorenje", alerttext: "Izaberite red", viewtext: "", viewtitle: "Pogledaj izabrani red" }, col : { caption: "Izaberi kolone", bSubmit: "OK", bCancel: "Odbaci" }, errors : { errcap : "Greška", nourl : "Nije postavljen URL", norecords: "Nema zapisa za obradu", model : "Dužina modela colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" ], monthNames: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec", "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-mne.js
JavaScript
gpl2
4,144
;(function($){ /** * jqGrid Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Pregled {0} - {1} od {2}", emptyrecords: "Nema zapisa", loadtext: "U�itavam...", pgtext : "Stranica {0} od {1}" }, search : { caption: "pretra�ivanje...", Find: "Tra�i", Reset: "Poni�ti", odata : ['jednak', 'nije identi�an', 'manje', 'manje ili identi�no','ve�e','ve�e ili identi�no', 'po�inje sa','ne po�inje sa ','je u','nije u','zavr�ava sa','ne zavr�ava sa','sadr�i','ne sadr�i'], groupOps: [ { op: "U", text: "sve" }, { op: "ILI", text: "bilo koji" } ], matchText: " podudata se", rulesText: " pravila" }, edit : { addCaption: "Dodaj zapis", editCaption: "Promijeni zapis", bSubmit: "Preuzmi", bCancel: "Odustani", bClose: "Zatvri", saveData: "Podaci su promijenjeni! Preuzmi promijene?", bYes : "Da", bNo : "Ne", bExit : "Odustani", msg: { required:"Polje je obavezno", number:"Molim, unesite ispravan broj", minValue:"vrijednost mora biti ve�a ili identi�na ", maxValue:"vrijednost mora biti manja ili identi�na", email: "neispravan e-mail", integer: "Molim, unjeti ispravan cijeli broj (integer)", date: "Molim, unjeti ispravan datum ", url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')", nodefined : " nije definiran!", novalue : " zahtjevan podatak je obavezan!", customarray : "Opcionalna funkcija trebala bi bili polje (array)!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Otvori zapis", bClose: "Zatvori" }, del : { caption: "Obri�i", msg: "Obri�i ozna�en zapis ili vi�e njih?", bSubmit: "Obri�i", bCancel: "Odustani" }, nav : { edittext: "", edittitle: "Promijeni obilje�eni red", addtext:"", addtitle: "Dodaj novi red", deltext: "", deltitle: "Obri�i obilje�eni red", searchtext: "", searchtitle: "Potra�i zapise", refreshtext: "", refreshtitle: "Ponovo preuzmi podatke", alertcap: "Upozorenje", alerttext: "Molim, odaberi red", viewtext: "", viewtitle: "Pregled obilje�enog reda" }, col : { caption: "Obilje�i kolonu", bSubmit: "Uredu", bCancel: "Odustani" }, errors : { errcap : "Gre�ka", nourl : "Nedostaje URL", norecords: "Bez zapisa za obradu", model : "Duljina colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub", "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota" ], monthNames: [ "Sij", "Vel", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro", "Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return ''}, srcformat: 'Y-m-d', newformat: 'd.m.Y.', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "j.n.Y.", LongDate: "l, j. F Y", FullDateTime: "l, d. F Y G:i:s", MonthDay: "d. F", ShortTime: "G:i", LongTime: "G:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-hr1250.js
JavaScript
gpl2
4,074
;(function($){ /** * jqGrid Arabic Translation * * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "تسجيل {0} - {1} على {2}", emptyrecords: "لا يوجد تسجيل", loadtext: "تحميل...", pgtext : "صفحة {0} على {1}" }, search : { caption: "بحث...", Find: "بحث", Reset: "إلغاء", odata : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'], groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" } ], matchText: " توافق", rulesText: " قواعد" }, edit : { addCaption: "اضافة", editCaption: "تحديث", bSubmit: "تثبيث", bCancel: "إلغاء", bClose: "غلق", saveData: "تغيرت المعطيات هل تريد التسجيل ?", bYes: "نعم", bNo: "لا", bExit: "إلغاء", msg: { required: "خانة إجبارية", number: "سجل رقم صحيح", minValue: "يجب أن تكون القيمة أكبر أو تساوي 0", maxValue: "يجب أن تكون القيمة أقل أو تساوي 0", email: "بريد غير صحيح", integer: "سجل عدد طبييعي صحيح", url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')", nodefined : " ليس محدد!", novalue : " قيمة الرجوع مطلوبة!", customarray : "يجب على الدالة الشخصية أن تنتج جدولا", customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي" } }, view : { caption: "رأيت التسجيلات", bClose: "غلق" }, del : { caption: "حذف", msg: "حذف التسجيلات المختارة ?", bSubmit: "حذف", bCancel: "إلغاء" }, nav : { edittext: " ", edittitle: "تغيير التسجيل المختار", addtext:" ", addtitle: "إضافة تسجيل", deltext: " ", deltitle: "حذف التسجيل المختار", searchtext: " ", searchtitle: "بحث عن تسجيل", refreshtext: "", refreshtitle: "تحديث الجدول", alertcap: "تحذير", alerttext: "يرجى إختيار السطر", viewtext: "", viewtitle: "إظهار السطر المختار" }, col : { caption: "إظهار/إخفاء الأعمدة", bSubmit: "تثبيث", bCancel: "إلغاء" }, errors : { errcap : "خطأ", nourl : "لا يوجد عنوان محدد", norecords: "لا يوجد تسجيل للمعالجة", model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ], monthNames: [ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر", "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ], AmPm : ["صباحا","مساءا","صباحا","مساءا"], S: function (j) {return j == 1 ? 'er' : 'e';}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-ar.js
JavaScript
gpl2
4,644
;(function($){ /** * jqGrid Polish Translation * Łukasz Schab lukasz@freetree.pl * http://FreeTree.pl * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Pokaż {0} - {1} z {2}", emptyrecords: "Brak rekordów do pokazania", loadtext: "\u0142adowanie...", pgtext : "Strona {0} z {1}" }, search : { caption: "Wyszukiwanie...", Find: "Szukaj", Reset: "Czyść", odata : ['dok\u0142adnie', 'różne od', 'mniejsze od', 'mniejsze lub równe','większe od','większe lub równe', 'zaczyna się od','nie zaczyna się od','jest w','nie jest w','kończy się na','nie kończy się na','zawiera','nie zawiera'], groupOps: [ { op: "AND", text: "oraz" }, { op: "OR", text: "lub" } ], matchText: " pasuje", rulesText: " regu\u0142y" }, edit : { addCaption: "Dodaj rekord", editCaption: "Edytuj rekord", bSubmit: "Zapisz", bCancel: "Anuluj", bClose: "Zamknij", saveData: "Dane zosta\u0142y zmienione! Zapisać zmiany?", bYes : "Tak", bNo : "Nie", bExit : "Anuluj", msg: { required:"Pole jest wymagane", number:"Proszę wpisać poprawną liczbę", minValue:"wartość musi być większa lub równa od", maxValue:"wartość musi być mniejsza lub równa od", email: "nie jest poprawnym adresem e-mail", integer: "Proszę wpisać poprawną liczbę", date: "Proszę podaj poprawną datę", url: "jest niew\u0142aściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')", nodefined : " niezdefiniowane!", novalue : " wymagana jest wartość zwracana !", customarray : "Funkcja niestandardowa powinna zwracać tablicę!", customfcheck : "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania !" } }, view : { caption: "Pokaż rekord", bClose: "Zamknij" }, del : { caption: "Usuń", msg: "Czy usunąć wybrany rekord(y)?", bSubmit: "Usuń", bCancel: "Anuluj" }, nav : { edittext: " ", edittitle: "Edytuj wybrany wiersz", addtext:" ", addtitle: "Dodaj nowy wiersz", deltext: " ", deltitle: "Usuń wybrany wiersz", searchtext: " ", searchtitle: "Wyszukaj rekord", refreshtext: "", refreshtitle: "Prze\u0142aduj", alertcap: "Uwaga", alerttext: "Proszę wybrać wiersz", viewtext: "", viewtitle: "Pokaż wybrany wiersz" }, col : { caption: "Pokaż/Ukryj kolumny", bSubmit: "Zatwierdź", bCancel: "Anuluj" }, errors : { errcap : "B\u0142ąd", nourl : "Brak adresu url", norecords: "Brak danych", model : "D\u0142ugość colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Nie", "Pon", "Wt", "Śr", "Cz", "Pi", "So", "Niedziela", "Poniedzia\u0142ek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota" ], monthNames: [ "Sty", "Lu", "Mar", "Kwie", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru", "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-pl.js
JavaScript
gpl2
4,380
;(function($){ /** * jqGrid Lithuanian Translation * aur1mas aur1mas@devnet.lt * http://aur1mas.devnet.lt * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Peržiūrima {0} - {1} iš {2}", emptyrecords: "Įrašų nėra", loadtext: "Kraunama...", pgtext : "Puslapis {0} iš {1}" }, search : { caption: "Paieška...", Find: "Ieškoti", Reset: "Atstatyti", odata : ['lygu', 'nelygu', 'mažiau', 'mažiau arba lygu','daugiau','daugiau arba lygu', 'prasideda','neprasideda','reikšmė yra','reikšmės nėra','baigiasi','nesibaigia','yra sudarytas','nėra sudarytas'], groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ], matchText: " match", rulesText: " rules" }, edit : { addCaption: "Sukurti įrašą", editCaption: "Redaguoti įrašą", bSubmit: "Išsaugoti", bCancel: "Atšaukti", bClose: "Uždaryti", saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?", bYes : "Taip", bNo : "Ne", bExit : "Atšaukti", msg: { required:"Privalomas laukas", number:"Įveskite tinkamą numerį", minValue:"reikšmė turi būti didesnė arba lygi ", maxValue:"reikšmė turi būti mažesnė arba lygi", email: "neteisingas el. pašto adresas", integer: "Įveskite teisingą sveikąjį skaičių", date: "Įveskite teisingą datą", url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')", nodefined : " nėra apibrėžta!", novalue : " turi būti gražinama kokia nors reikšmė!", customarray : "Custom f-ja turi grąžinti masyvą!", customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!" } }, view : { caption: "Peržiūrėti įrašus", bClose: "Uždaryti" }, del : { caption: "Ištrinti", msg: "Ištrinti pažymėtus įrašus(-ą)?", bSubmit: "Ištrinti", bCancel: "Atšaukti" }, nav : { edittext: "", edittitle: "Redaguoti pažymėtą eilutę", addtext:"", addtitle: "Pridėti naują eilutę", deltext: "", deltitle: "Ištrinti pažymėtą eilutę", searchtext: "", searchtitle: "Rasti įrašus", refreshtext: "", refreshtitle: "Perkrauti lentelę", alertcap: "Įspėjimas", alerttext: "Pasirinkite eilutę", viewtext: "", viewtitle: "Peržiūrėti pasirinktą eilutę" }, col : { caption: "Pasirinkti stulpelius", bSubmit: "Gerai", bCancel: "Atšaukti" }, errors : { errcap : "Klaida", nourl : "Url reikšmė turi būti perduota", norecords: "Nėra įrašų, kuriuos būtų galima apdoroti", model : "colNames skaičius <> colModel skaičiui!" }, formatter : { integer : {thousandsSeparator: "", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš", "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis" ], monthNames: [ "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru", "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-lt.js
JavaScript
gpl2
4,296
;(function($){ /** * jqGrid Turkish Translation * Erhan Gündoğan (erhan@trposta.net) * http://blog.zakkum.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "{0}-{1} listeleniyor. Toplam:{2}", emptyrecords: "Kayıt bulunamadı", loadtext: "Yükleniyor...", pgtext : "{0}/{1}. Sayfa" }, search : { caption: "Arama...", Find: "Bul", Reset: "Temizle", odata : ['eşit', 'eşit değil', 'daha az', 'daha az veya eşit', 'daha fazla', 'daha fazla veya eşit', 'ile başlayan', 'ile başlamayan', 'içinde', 'içinde değil', 'ile biten', 'ile bitmeyen', 'içeren', 'içermeyen'], groupOps: [ { op: "VE", text: "tüm" }, { op: "VEYA", text: "herhangi" } ], matchText: " uyan", rulesText: " kurallar" }, edit : { addCaption: "Kayıt Ekle", editCaption: "Kayıt Düzenle", bSubmit: "Gönder", bCancel: "İptal", bClose: "Kapat", saveData: "Veriler değişti! Kayıt edilsin mi?", bYes : "Evet", bNo : "Hayıt", bExit : "İptal", msg: { required:"Alan gerekli", number:"Lütfen bir numara giriniz", minValue:"girilen değer daha büyük ya da buna eşit olmalıdır", maxValue:"girilen değer daha küçük ya da buna eşit olmalıdır", email: "geçerli bir e-posta adresi değildir", integer: "Lütfen bir tamsayı giriniz", url: "Geçerli bir URL değil. ('http://' or 'https://') ön eki gerekli.", nodefined : " is not defined!", novalue : " return value is required!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Kayıt Görüntüle", bClose: "Kapat" }, del : { caption: "Sil", msg: "Seçilen kayıtlar silinsin mi?", bSubmit: "Sil", bCancel: "İptal" }, nav : { edittext: " ", edittitle: "Seçili satırı düzenle", addtext:" ", addtitle: "Yeni satır ekle", deltext: " ", deltitle: "Seçili satırı sil", searchtext: " ", searchtitle: "Kayıtları bul", refreshtext: "", refreshtitle: "Tabloyu yenile", alertcap: "Uyarı", alerttext: "Lütfen bir satır seçiniz", viewtext: "", viewtitle: "Seçilen satırı görüntüle" }, col : { caption: "Sütunları göster/gizle", bSubmit: "Gönder", bCancel: "İptal" }, errors : { errcap : "Hata", nourl : "Bir url yapılandırılmamış", norecords: "İşlem yapılacak bir kayıt yok", model : "colNames uzunluğu <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts", "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi" ], monthNames: [ "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-tr.js
JavaScript
gpl2
4,372
;(function($){ /** * jqGrid Danish Translation * Kaare Rasmussen kjs@jasonic.dk * http://jasonic.dk/blog * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}", emptyrecords: "No records to view", loadtext: "Loading...", pgtext : "Page {0} of {1}" }, search : { caption: "Søg...", Find: "Find", Reset: "Nulstil", odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'], groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], matchText: " match", rulesText: " rules" }, edit : { addCaption: "Tilføj", editCaption: "Ret", bSubmit: "Send", bCancel: "Annuller", bClose: "Luk", saveData: "Data has been changed! Save changes?", bYes : "Yes", bNo : "No", bExit : "Cancel", msg: { required:"Felt er nødvendigt", number:"Indtast venligst et validt tal", minValue:"værdi skal være større end eller lig med", maxValue:"værdi skal være mindre end eller lig med", email: "er ikke en valid email", integer: "Indtast venligst et validt heltalt", date: "Indtast venligst en valid datoværdi", url: "is not a valid URL. Prefix required ('http://' or 'https://')", nodefined : " is not defined!", novalue : " return value is required!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "View Record", bClose: "Close" }, del : { caption: "Slet", msg: "Slet valgte række(r)?", bSubmit: "Slet", bCancel: "Annuller" }, nav : { edittext: " ", edittitle: "Rediger valgte række", addtext:" ", addtitle: "Tilføj ny række", deltext: " ", deltitle: "Slet valgte række", searchtext: " ", searchtitle: "Find poster", refreshtext: "", refreshtitle: "Indlæs igen", alertcap: "Advarsel", alerttext: "Vælg venligst række", viewtext: "", viewtitle: "View selected row" }, col : { caption: "Vis/skjul kolonner", bSubmit: "Send", bCancel: "Annuller" }, errors : { errcap : "Fejl", nourl : "Ingel url valgt", norecords: "Ingen poster at behandle", model : "colNames og colModel har ikke samme længde!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag" ], monthNames: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec", "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December" ], AmPm : ["","","",""], S: function (j) {return '.'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "j/n/Y", LongDate: "l d. F Y", FullDateTime: "l d F Y G:i:s", MonthDay: "d. F", ShortTime: "G:i", LongTime: "G:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }; // DK })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-dk.js
JavaScript
gpl2
4,002
;(function($){ /** * jqGrid Chinese Translation for v4.2 * henryyan 2011.11.30 * http://www.wsria.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * update 2011.11.30 * add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7 **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格 emptyrecords: "无数据显示", loadtext: "读取中...", pgtext : " {0} 共 {1} 页" }, search : { caption: "搜索...", Find: "查找", Reset: "重置", odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于', '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含','空值于\u3000\u3000','非空值'], groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ], matchText: " 匹配", rulesText: " 规则" }, edit : { addCaption: "添加记录", editCaption: "编辑记录", bSubmit: "提交", bCancel: "取消", bClose: "关闭", saveData: "数据已改变,是否保存?", bYes : "是", bNo : "否", bExit : "取消", msg: { required:"此字段必需", number:"请输入有效数字", minValue:"输值必须大于等于 ", maxValue:"输值必须小于等于 ", email: "这不是有效的e-mail地址", integer: "请输入有效整数", date: "请输入有效时间", url: "无效网址。前缀必须为 ('http://' 或 'https://')", nodefined : " 未定义!", novalue : " 需要返回值!", customarray : "自定义函数需要返回数组!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "查看记录", bClose: "关闭" }, del : { caption: "删除", msg: "删除所选记录?", bSubmit: "删除", bCancel: "取消" }, nav : { edittext: "", edittitle: "编辑所选记录", addtext:"", addtitle: "添加新记录", deltext: "", deltitle: "删除所选记录", searchtext: "", searchtitle: "查找", refreshtext: "", refreshtitle: "刷新表格", alertcap: "注意", alerttext: "请选择记录", viewtext: "", viewtitle: "查看所选记录" }, col : { caption: "选择列", bSubmit: "确定", bCancel: "取消" }, errors : { errcap : "错误", nourl : "没有设置url", norecords: "没有要处理的记录", model : "colNames 和 colModel 长度不等!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], monthNames: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, srcformat: 'Y-m-d', newformat: 'm-d-Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "Y/j/n", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-cn.js
JavaScript
gpl2
4,218
;(function($){ /** * jqGrid Hungarian Translation * Őrszigety Ádám udx6bs@freemail.hu * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Oldal {0} - {1} / {2}", emptyrecords: "Nincs találat", loadtext: "Betöltés...", pgtext : "Oldal {0} / {1}" }, search : { caption: "Keresés...", Find: "Keres", Reset: "Alapértelmezett", odata : ['egyenlő', 'nem egyenlő', 'kevesebb', 'kevesebb vagy egyenlő','nagyobb','nagyobb vagy egyenlő', 'ezzel kezdődik','nem ezzel kezdődik','tartalmaz','nem tartalmaz','végződik','nem végződik','tartalmaz','nem tartalmaz'], groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], matchText: " match", rulesText: " rules" }, edit : { addCaption: "Új tétel", editCaption: "Tétel szerkesztése", bSubmit: "Mentés", bCancel: "Mégse", bClose: "Bezárás", saveData: "A tétel megváltozott! Tétel mentése?", bYes : "Igen", bNo : "Nem", bExit : "Mégse", msg: { required:"Kötelező mező", number:"Kérjük, adjon meg egy helyes számot", minValue:"Nagyobb vagy egyenlőnek kell lenni mint ", maxValue:"Kisebb vagy egyenlőnek kell lennie mint", email: "hibás emailcím", integer: "Kérjük adjon meg egy helyes egész számot", date: "Kérjük adjon meg egy helyes dátumot", url: "nem helyes cím. Előtag kötelező ('http://' vagy 'https://')", nodefined : " nem definiált!", novalue : " visszatérési érték kötelező!!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "Tétel megtekintése", bClose: "Bezárás" }, del : { caption: "Törlés", msg: "Kiválaztott tétel(ek) törlése?", bSubmit: "Törlés", bCancel: "Mégse" }, nav : { edittext: "", edittitle: "Tétel szerkesztése", addtext:"", addtitle: "Új tétel hozzáadása", deltext: "", deltitle: "Tétel törlése", searchtext: "", searchtitle: "Keresés", refreshtext: "", refreshtitle: "Frissítés", alertcap: "Figyelmeztetés", alerttext: "Kérem válasszon tételt.", viewtext: "", viewtitle: "Tétel megtekintése" }, col : { caption: "Oszlopok kiválasztása", bSubmit: "Ok", bCancel: "Mégse" }, errors : { errcap : "Hiba", nourl : "Nincs URL beállítva", norecords: "Nincs feldolgozásra váró tétel", model : "colNames és colModel hossza nem egyenlő!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo", "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat" ], monthNames: [ "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec", "Január", "Február", "Március", "Áprili", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December" ], AmPm : ["de","du","DE","DU"], S: function (j) {return '.-ik';}, srcformat: 'Y-m-d', newformat: 'Y/m/d', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "Y/j/n", LongDate: "Y. F hó d., l", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "a g:i", LongTime: "a g:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "Y, F" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-hu.js
JavaScript
gpl2
4,136
;(function($){ /** * jqGrid Thai Translation * Kittituch Manakul m.kittituch@Gmail.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "แสดง {0} - {1} จาก {2}", emptyrecords: "ไม่พบข้อมูล", loadtext: "กำลังร้องขอข้อมูล...", pgtext : "หน้า {0} จาก {1}" }, search : { caption: "กำลังค้นหา...", Find: "ค้นหา", Reset: "คืนค่ากลับ", odata : ['เท่ากับ', 'ไม่เท่ากับ', 'น้อยกว่า', 'ไม่มากกว่า','มากกกว่า','ไม่น้อยกว่า', 'ขึ้นต้นด้วย','ไม่ขึ้นต้นด้วย','มีคำใดคำหนึ่งใน','ไม่มีคำใดคำหนึ่งใน','ลงท้ายด้วย','ไม่ลงท้ายด้วย','มีคำว่า','ไม่มีคำว่า'], groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ], matchText: " ตรงกันกับ", rulesText: " ตามกฏ" }, edit : { addCaption: "เพิ่มข้อมูล", editCaption: "แก้ไขข้อมูล", bSubmit: "บันทึก", bCancel: "ยกเลิก", bClose: "ปิด", saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?", bYes : "บันทึก", bNo : "ละทิ้งการแก้ไข", bExit : "ยกเลิก", msg: { required:"ข้อมูลนี้จำเป็น", number:"กรุณากรอกหมายเลขให้ถูกต้อง", minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า", maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า", email: "อีเมลล์นี้ไม่ถูกต้อง", integer: "กรุณากรอกเป็นจำนวนเต็ม", date: "กรุณากรอกวันที่ให้ถูกต้อง", url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'", nodefined : "ไม่ได้ถูกกำหนดค่า!", novalue : "ต้องการการคืนค่า!", customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์", customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!" } }, view : { caption: "เรียกดูข้อมูล", bClose: "ปิด" }, del : { caption: "ลบข้อมูล", msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?", bSubmit: "ต้องการลบ", bCancel: "ยกเลิก" }, nav : { edittext: "", edittitle: "แก้ไขข้อมูล", addtext:"", addtitle: "เพิ่มข้อมูล", deltext: "", deltitle: "ลบข้อมูล", searchtext: "", searchtitle: "ค้นหาข้อมูล", refreshtext: "", refreshtitle: "รีเฟรช", alertcap: "คำเตือน", alerttext: "กรุณาเลือกข้อมูล", viewtext: "", viewtitle: "ดูรายละเอียดข้อมูล" }, col : { caption: "กรุณาเลือกคอลัมน์", bSubmit: "ตกลง", bCancel: "ยกเลิก" }, errors : { errcap : "เกิดความผิดพลาด", nourl : "ไม่ได้กำหนด URL", norecords: "ไม่มีข้อมูลให้ดำเนินการ", model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์" ], monthNames: [ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.", "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return ''}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-th.js
JavaScript
gpl2
6,164
(function(a) { a.jgrid = a.jgrid || {}; a.extend(a.jgrid,{ defaults: { recordtext: "regels {0} - {1} van {2}", emptyrecords: "Geen data gevonden.", loadtext: "laden...", pgtext: "pagina {0} van {1}" }, search: { caption: "Zoeken...", Find: "Zoek", Reset: "Herstellen", odata: ["gelijk aan", "niet gelijk aan", "kleiner dan", "kleiner dan of gelijk aan", "groter dan", "groter dan of gelijk aan", "begint met", "begint niet met", "is in", "is niet in", "eindigd met", "eindigd niet met", "bevat", "bevat niet"], groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}], matchText: " match", rulesText: " regels" }, edit: { addCaption: "Nieuw", editCaption: "Bewerken", bSubmit: "Opslaan", bCancel: "Annuleren", bClose: "Sluiten", saveData: "Er is data aangepast! Wijzigingen opslaan?", bYes: "Ja", bNo: "Nee", bExit: "Sluiten", msg: { required: "Veld is verplicht", number: "Voer a.u.b. geldig nummer in", minValue: "Waarde moet groter of gelijk zijn aan ", maxValue: "Waarde moet kleiner of gelijks zijn aan", email: "is geen geldig e-mailadres", integer: "Voer a.u.b. een geldig getal in", date: "Voer a.u.b. een geldige waarde in", url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')", nodefined : " is not defined!", novalue : " return value is required!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view: { caption: "Tonen", bClose: "Sluiten" }, del: { caption: "Verwijderen", msg: "Verwijder geselecteerde regel(s)?", bSubmit: "Verwijderen", bCancel: "Annuleren" }, nav: { edittext: "", edittitle: "Bewerken", addtext: "", addtitle: "Nieuw", deltext: "", deltitle: "Verwijderen", searchtext: "", searchtitle: "Zoeken", refreshtext: "", refreshtitle: "Vernieuwen", alertcap: "Waarschuwing", alerttext: "Selecteer a.u.b. een regel", viewtext: "", viewtitle: "Openen" }, col: { caption: "Tonen/verbergen kolommen", bSubmit: "OK", bCancel: "Annuleren" }, errors: { errcap: "Fout", nourl: "Er is geen URL gedefinieerd", norecords: "Geen data om te verwerken", model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!" }, formatter: { integer: { thousandsSeparator: ".", defaultValue: "0" }, number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0.00" }, currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "EUR ", suffix: "", defaultValue: "0.00" }, date: { dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"], monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"], AmPm: ["am", "pm", "AM", "PM"], S: function(b) { return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th" }, srcformat: "Y-m-d", newformat: "d/m/Y", masks: { ISO8601Long: "Y-m-d H:i:s", ISO8601Short: "Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l d F Y G:i:s", MonthDay: "d F", ShortTime: "G:i", LongTime: "G:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit: false }, baseLinkUrl: "", showAction: "", target: "", checkbox: { disabled: true }, idName: "id" } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-nl.js
JavaScript
gpl2
5,432
;(function($){ /** * jqGrid Brazilian-Portuguese Translation * Sergio Righi sergio.righi@gmail.com * http://curve.com.br * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "Ver {0} - {1} of {2}", emptyrecords: "Nenhum registro para visualizar", loadtext: "Carregando...", pgtext : "Página {0} de {1}" }, search : { caption: "Procurar...", Find: "Procurar", Reset: "Resetar", odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'], groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], matchText: " iguala", rulesText: " regras" }, edit : { addCaption: "Incluir", editCaption: "Alterar", bSubmit: "Enviar", bCancel: "Cancelar", bClose: "Fechar", saveData: "Os dados foram alterados! Salvar alterações?", bYes : "Sim", bNo : "Não", bExit : "Cancelar", msg: { required:"Campo obrigatório", number:"Por favor, informe um número válido", minValue:"valor deve ser igual ou maior que ", maxValue:"valor deve ser menor ou igual a", email: "este e-mail não é válido", integer: "Por favor, informe um valor inteiro", date: "Por favor, informe uma data válida", url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')", nodefined : " não está definido!", novalue : " um valor de retorno é obrigatório!", customarray : "Função customizada deve retornar um array!", customfcheck : "Função customizada deve estar presente em caso de validação customizada!" } }, view : { caption: "Ver Registro", bClose: "Fechar" }, del : { caption: "Apagar", msg: "Apagar registros selecionado(s)?", bSubmit: "Apagar", bCancel: "Cancelar" }, nav : { edittext: " ", edittitle: "Alterar registro selecionado", addtext:" ", addtitle: "Incluir novo registro", deltext: " ", deltitle: "Apagar registro selecionado", searchtext: " ", searchtitle: "Procurar registros", refreshtext: "", refreshtitle: "Recarrgando Tabela", alertcap: "Aviso", alerttext: "Por favor, selecione um registro", viewtext: "", viewtitle: "Ver linha selecionada" }, col : { caption: "Mostrar/Esconder Colunas", bSubmit: "Enviar", bCancel: "Cancelar" }, errors : { errcap : "Erro", nourl : "Nenhuma URL defenida", norecords: "Sem registros para exibir", model : "Comprimento de colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'}, date : { dayNames: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado" ], monthNames: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-pt-br.js
JavaScript
gpl2
4,424
;(function($){ /** * jqGrid Hebrew Translation * Shuki Shukrun shukrun.shuki@gmail.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { recordtext: "מציג {0} - {1} מתוך {2}", emptyrecords: "אין רשומות להציג", loadtext: "טוען...", pgtext : "דף {0} מתוך {1}" }, search : { caption: "מחפש...", Find: "חפש", Reset: "התחל", odata : ['שווה', 'לא שווה', 'קטן', 'קטן או שווה','גדול','גדול או שווה', 'מתחיל ב','לא מתחיל ב','נמצא ב','לא נמצא ב','מסתיים ב','לא מסתיים ב','מכיל','לא מכיל'], groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" } ], matchText: " תואם", rulesText: " חוקים" }, edit : { addCaption: "הוסף רשומה", editCaption: "ערוך רשומה", bSubmit: "שלח", bCancel: "בטל", bClose: "סגור", saveData: "נתונים השתנו! לשמור?", bYes : "כן", bNo : "לא", bExit : "בטל", msg: { required:"שדה חובה", number:"אנא, הכנס מספר תקין", minValue:"ערך צריך להיות גדול או שווה ל ", maxValue:"ערך צריך להיות קטן או שווה ל ", email: "היא לא כתובת איימל תקינה", integer: "אנא, הכנס מספר שלם", date: "אנא, הכנס תאריך תקין", url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')", nodefined : " is not defined!", novalue : " return value is required!", customarray : "Custom function should return array!", customfcheck : "Custom function should be present in case of custom checking!" } }, view : { caption: "הצג רשומה", bClose: "סגור" }, del : { caption: "מחק", msg: "האם למחוק את הרשומה/ות המסומנות?", bSubmit: "מחק", bCancel: "בטל" }, nav : { edittext: "", edittitle: "ערוך שורה מסומנת", addtext:"", addtitle: "הוסף שורה חדשה", deltext: "", deltitle: "מחק שורה מסומנת", searchtext: "", searchtitle: "חפש רשומות", refreshtext: "", refreshtitle: "טען גריד מחדש", alertcap: "אזהרה", alerttext: "אנא, בחר שורה", viewtext: "", viewtitle: "הצג שורה מסומנת" }, col : { caption: "הצג/הסתר עמודות", bSubmit: "שלח", bCancel: "בטל" }, errors : { errcap : "שגיאה", nourl : "לא הוגדרה כתובת url", norecords: "אין רשומות לעבד", model : "אורך של colNames <> colModel!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "א", "ב", "ג", "ד", "ה", "ו", "ש", "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת" ], monthNames: [ "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ", "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר" ], AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"], S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''}, srcformat: 'Y-m-d', newformat: 'd/m/Y', masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }); })(jQuery);
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/src/i18n/grid.locale-he.js
JavaScript
gpl2
4,489
/*Grid*/ .ui-jqgrid {position: relative; font-size:11px;} .ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em;} /* caption*/ .ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;} .ui-jqgrid .ui-jqgrid-title { float: left; margin: .1em 0 .2em; } .ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height:18px;}.ui-jqgrid .ui-jqgrid-titlebar-close span { display: block; margin: 1px; } .ui-jqgrid .ui-jqgrid-titlebar-close:hover { padding: 0; } /* header*/ .ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0em;padding: 0em; overflow-x: hidden; border-left: 0px none !important; border-top : 0px none !important; border-right : 0px none !important;} .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;} .ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0em;} .ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;} .ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; height:17px;} .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0px none;border-bottom : 0px none;} .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0px none;} .ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0px none;} .ui-first-th-ltr {border-right: 1px solid; } .ui-first-th-rtl {border-left: 1px solid; } .ui-jqgrid .ui-th-div-ie {white-space: nowrap; zoom :1; height:17px;} .ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; cursor :e-resize;display: inline;overflow: hidden;} .ui-jqgrid .ui-grid-ico-sort {overflow:hidden;position:absolute;display:inline; cursor: pointer !important;} .ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;} .ui-jqgrid .ui-icon-desc {margin-top:3px;height:12px;} .ui-jqgrid .ui-i-asc {margin-top:0px;height:16px;} .ui-jqgrid .ui-i-desc {margin-top:0px;margin-left:13px;height:16px;} .ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;} .ui-jqgrid tr.ui-search-toolbar th { border-top-width: 1px !important; border-top-color: inherit !important; border-top-style: ridge !important } tr.ui-search-toolbar input {margin: 1px 0px 0px 0px} tr.ui-search-toolbar select {margin: 1px 0px 0px 0px} /* body */ .ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0em; padding:0; overflow: auto; text-align:left;} .ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0em; outline-style: none; } .ui-jqgrid tr.jqgrow { outline-style: none; } .ui-jqgrid tr.jqgroup { outline-style: none; } .ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;} .ui-jqgrid tr.jqgfirstrow td {padding: 0 2px 0 2px;border-right-width: 1px; border-right-style: solid;} .ui-jqgrid tr.jqgroup td {font-weight: normal; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;} .ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;} .ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;} .ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;} .ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0px; border: 0px none;} .ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none; border:0 none; z-index: 99999;} /* footer */ .ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0em;padding: 0em; overflow: hidden; border-left: 0px none !important; border-top : 0px none !important; border-right : 0px none !important;} .ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0em;} .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 21px;padding: 0 2px 0 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;} .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;} .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;} /* Pager*/ .ui-jqgrid .ui-jqgrid-pager { border-left: 0px none !important;border-right: 0px none !important; border-bottom: 0px none !important; margin: 0px !important; padding: 0px !important; position: relative; height: 25px;white-space: nowrap;overflow: hidden;} .ui-jqgrid .ui-pager-control {position: relative;} .ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; margin: 0em;} .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; padding:1px;} .ui-jqgrid .ui-pg-button { height:19px !important;} .ui-jqgrid .ui-pg-button span { display: block; margin: 1px; float:left;} .ui-jqgrid .ui-pg-button:hover { padding: 0px; } .ui-jqgrid .ui-state-disabled:hover {padding:1px;} .ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0em;} .ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0em;} .ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;} .ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-top:3px;margin-right:4px;} .ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 0;float:left;position:relative;} .ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; } .ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon {float:left;margin:0 2px;} .ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0em;} .ui-jqgrid td textarea {width:auto;height:auto;} .ui-jqgrid .ui-jqgrid-toppager {border-left: 0px none !important;border-right: 0px none !important; border-top: 0px none !important; margin: 0px !important; padding: 0px !important; position: relative; height: 25px !important;white-space: nowrap;overflow: hidden;} .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {padding:1px 0;float:left;position:relative;} .ui-jqgrid .ui-jqgrid-toppager .ui-pg-button { cursor:pointer; } .ui-jqgrid .ui-jqgrid-toppager .ui-pg-div span.ui-icon {float:left;margin:0 2px;} /*subgrid*/ .ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;} .ui-jqgrid .ui-subgrid {margin:0em;padding:0em; width:100%;} .ui-jqgrid .ui-subgrid table {table-layout: fixed;} .ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;} .ui-jqgrid .ui-subgrid td.subgrid-data {border-top: 0px none !important;} .ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0px 0px 1px 0px;} .ui-jqgrid .ui-th-subgrid {height:20px;} /* loading */ .ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: bold;display: none;border-width: 2px !important;} .ui-jqgrid .jqgrid-overlay {display:none;z-index:100;} * html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');} * .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');} /* end loading div */ /* toolbar */ .ui-jqgrid .ui-userdata {border-left: 0px none; border-right: 0px none; height : 21px;overflow: hidden; } /*Modal Window */ .ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; font-size:11px; overflow:visible;} .ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; position: relative; } .ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; } .ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; } .ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog .ui-jqdialog-titlebar-close:focus { padding: 0; } .ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: .3em .2em; background: none; height:auto;} .ui-jqdialog .ui-jqconfirm {padding: .4em 1em; border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;} /* end Modal window*/ /* Form edit */ .ui-jqdialog-content .FormGrid {margin: 0px;} .ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0em;} .ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0em;} .EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0em;} .EditTable td textarea { width:auto; height:auto;} .ui-jqdialog-content td.EditButton {text-align: right;border-top: 0px none;border-left: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;} .ui-jqdialog-content td.navButton {text-align: center; border-left: 0px none;border-top: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;} .ui-jqdialog-content input.FormElement {padding:.3em} .ui-jqdialog-content .data-line {padding-top:.1em;border: 0px none;} .ui-jqdialog-content .CaptionTD {vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;} .ui-jqdialog-content .DataTD {padding: 2px; border: 0px none; vertical-align: top;} .ui-jqdialog-content .form-view-data {white-space:pre} .fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; } .fm-button-icon-left { padding-left: 1.9em; } .fm-button-icon-right { padding-right: 1.9em; } .fm-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px; } .fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px;} #nData, #pData { float: left; margin:3px;padding: 0; width: 15px; } /* End Eorm edit */ /*.ui-jqgrid .edit-cell {}*/ .ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0px none;} /* inline edit actions button*/ .ui-inline-del.ui-state-hover span, .ui-inline-edit.ui-state-hover span, .ui-inline-save.ui-state-hover span, .ui-inline-cancel.ui-state-hover span { margin: -1px; } /* Tree Grid */ .ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;} .ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;} .ui-jqgrid .tree-plus {position: absolute; height: 18px; width: 18px; overflow: hidden;} .ui-jqgrid .tree-leaf {position: absolute; height: 18px; width: 18px;overflow: hidden;} .ui-jqgrid .treeclick {cursor: pointer;} /* moda dialog */ * iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');} .ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; border-right-style: solid; height:20px} /* RTL Support */ .ui-jqgrid .ui-jqgrid-title-rtl {float:right;margin: .1em 0 .2em; } .ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;} .ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0px;} .ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0px -1px -3px;} .ui-jqgrid .ui-sort-rtl {left:0px;} .ui-jqgrid .tree-wrap-ltr {float: left;} .ui-jqgrid .tree-wrap-rtl {float: right;} .ui-jqgrid .ui-ellipsis {text-overflow:ellipsis;}
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery.jqGrid-4.3.2/css/ui.jqgrid.css
CSS
gpl2
12,167
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>jQuery UI Example Page</title> <link type="text/css" href="css/redmond/jquery-ui-1.8.19.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.19.custom.min.js"></script> <script type="text/javascript"> $(function(){ // Accordion $("#accordion").accordion({ header: "h3" }); // Tabs $('#tabs').tabs(); // Dialog $('#dialog').dialog({ autoOpen: false, width: 600, buttons: { "Ok": function() { $(this).dialog("close"); }, "Cancel": function() { $(this).dialog("close"); } } }); // Dialog Link $('#dialog_link').click(function(){ $('#dialog').dialog('open'); return false; }); // Datepicker $('#datepicker').datepicker({ inline: true }); // Slider $('#slider').slider({ range: true, values: [17, 67] }); // Progressbar $("#progressbar").progressbar({ value: 20 }); //hover states on the static widgets $('#dialog_link, ul#icons li').hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }); </script> <style type="text/css"> /*demo page css*/ body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;} .demoHeaders { margin-top: 2em; } #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} ul#icons {margin: 0; padding: 0;} ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;} ul#icons span.ui-icon {float: left; margin: 0 4px;} </style> </head> <body> <h1>Welcome to jQuery UI!</h1> <p style="font-size: 1.3em; line-height: 1.5; margin: 1em 0; width: 50%;">This page demonstrates the widgets you downloaded using the theme you selected in the download builder. We've included and linked to minified versions of <a href="js/jquery-1.7.2.min.js">jQuery</a>, your personalized copy of <a href="js/jquery-ui-1.8.19.custom.min.js">jQuery UI (js/jquery-ui-1.8.19.custom.min.js)</a>, and <a href="css/redmond/jquery-ui-1.8.19.custom.css">css/redmond/jquery-ui-1.8.19.custom.css</a> which imports the entire jQuery UI CSS Framework. You can choose to link a subset of the CSS Framework depending on your needs. </p> <p style="font-size: 1.2em; line-height: 1.5; margin: 1em 0; width: 50%;">You've downloaded components and a theme that are compatible with jQuery 1.3+. Please make sure you are using jQuery 1.3+ in your production environment.</p> <p style="font-weight: bold; margin: 2em 0 1em; font-size: 1.3em;">YOUR COMPONENTS:</p> <!-- Accordion --> <h2 class="demoHeaders">Accordion</h2> <div id="accordion"> <div> <h3><a href="#">First</a></h3> <div>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</div> </div> <div> <h3><a href="#">Second</a></h3> <div>Phasellus mattis tincidunt nibh.</div> </div> <div> <h3><a href="#">Third</a></h3> <div>Nam dui erat, auctor a, dignissim quis.</div> </div> </div> <!-- Autocomplete --> <h2 class="demoHeaders">Autocomplete</h2> <div> <input id="autocomplete" style="z-index: 100; position: relative" title="type &quot;a&quot;" /> </div> <!-- Button --> <h2 class="demoHeaders">Button</h2> <button id="button">A button element</button> <form style="margin-top: 1em;"> <div id="radioset"> <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label> <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label> <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label> </div> </form> <!-- Tabs --> <h2 class="demoHeaders">Tabs</h2> <div id="tabs"> <ul> <li><a href="#tabs-1">First</a></li> <li><a href="#tabs-2">Second</a></li> <li><a href="#tabs-3">Third</a></li> </ul> <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> <div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div> <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div> </div> <!-- Dialog NOTE: Dialog is not generated by UI in this demo so it can be visually styled in themeroller--> <h2 class="demoHeaders">Dialog</h2> <p><a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>Open Dialog</a></p> <h2 class="demoHeaders">Overlay and Shadow Classes <em>(not currently used in UI widgets)</em></h2> <div style="position: relative; width: 96%; height: 200px; padding:1% 4%; overflow:hidden;" class="fakewindowcontain"> <p>Lorem ipsum dolor sit amet, Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. </p><p>Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. </p><p>Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. </p><p>Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. </p> <!-- ui-dialog --> <div class="ui-overlay"><div class="ui-widget-overlay"></div><div class="ui-widget-shadow ui-corner-all" style="width: 302px; height: 152px; position: absolute; left: 50px; top: 30px;"></div></div> <div style="position: absolute; width: 280px; height: 130px;left: 50px; top: 30px; padding: 10px;" class="ui-widget ui-widget-content ui-corner-all"> <div class="ui-dialog-content ui-widget-content" style="background: none; border: 0;"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> </div> </div> </div> <!-- ui-dialog --> <div id="dialog" title="Dialog Title"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> </div> <h2 class="demoHeaders">Framework Icons (content color preview)</h2> <ul id="icons" class="ui-widget ui-helper-clearfix"> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-n"><span class="ui-icon ui-icon-carat-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-ne"><span class="ui-icon ui-icon-carat-1-ne"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-e"><span class="ui-icon ui-icon-carat-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-se"><span class="ui-icon ui-icon-carat-1-se"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-s"><span class="ui-icon ui-icon-carat-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-sw"><span class="ui-icon ui-icon-carat-1-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-w"><span class="ui-icon ui-icon-carat-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-nw"><span class="ui-icon ui-icon-carat-1-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-n-s"><span class="ui-icon ui-icon-carat-2-n-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-e-w"><span class="ui-icon ui-icon-carat-2-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span class="ui-icon ui-icon-triangle-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-ne"><span class="ui-icon ui-icon-triangle-1-ne"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-e"><span class="ui-icon ui-icon-triangle-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-se"><span class="ui-icon ui-icon-triangle-1-se"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-s"><span class="ui-icon ui-icon-triangle-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-sw"><span class="ui-icon ui-icon-triangle-1-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-w"><span class="ui-icon ui-icon-triangle-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span class="ui-icon ui-icon-triangle-1-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span class="ui-icon ui-icon-triangle-2-n-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span class="ui-icon ui-icon-triangle-2-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span class="ui-icon ui-icon-arrow-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-ne"><span class="ui-icon ui-icon-arrow-1-ne"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-e"><span class="ui-icon ui-icon-arrow-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-se"><span class="ui-icon ui-icon-arrow-1-se"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-s"><span class="ui-icon ui-icon-arrow-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-sw"><span class="ui-icon ui-icon-arrow-1-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-w"><span class="ui-icon ui-icon-arrow-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-nw"><span class="ui-icon ui-icon-arrow-1-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-n-s"><span class="ui-icon ui-icon-arrow-2-n-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-ne-sw"><span class="ui-icon ui-icon-arrow-2-ne-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-e-w"><span class="ui-icon ui-icon-arrow-2-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-2-se-nw"><span class="ui-icon ui-icon-arrow-2-se-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-n"><span class="ui-icon ui-icon-arrowstop-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-e"><span class="ui-icon ui-icon-arrowstop-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-s"><span class="ui-icon ui-icon-arrowstop-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowstop-1-w"><span class="ui-icon ui-icon-arrowstop-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-n"><span class="ui-icon ui-icon-arrowthick-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-ne"><span class="ui-icon ui-icon-arrowthick-1-ne"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-e"><span class="ui-icon ui-icon-arrowthick-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-se"><span class="ui-icon ui-icon-arrowthick-1-se"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-s"><span class="ui-icon ui-icon-arrowthick-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-sw"><span class="ui-icon ui-icon-arrowthick-1-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-w"><span class="ui-icon ui-icon-arrowthick-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-1-nw"><span class="ui-icon ui-icon-arrowthick-1-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-n-s"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-ne-sw"><span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-e-w"><span class="ui-icon ui-icon-arrowthick-2-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthick-2-se-nw"><span class="ui-icon ui-icon-arrowthick-2-se-nw"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-n"><span class="ui-icon ui-icon-arrowthickstop-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-e"><span class="ui-icon ui-icon-arrowthickstop-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-s"><span class="ui-icon ui-icon-arrowthickstop-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowthickstop-1-w"><span class="ui-icon ui-icon-arrowthickstop-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-w"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-n"><span class="ui-icon ui-icon-arrowreturnthick-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-e"><span class="ui-icon ui-icon-arrowreturnthick-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturnthick-1-s"><span class="ui-icon ui-icon-arrowreturnthick-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-w"><span class="ui-icon ui-icon-arrowreturn-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-n"><span class="ui-icon ui-icon-arrowreturn-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-e"><span class="ui-icon ui-icon-arrowreturn-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowreturn-1-s"><span class="ui-icon ui-icon-arrowreturn-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-w"><span class="ui-icon ui-icon-arrowrefresh-1-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span class="ui-icon ui-icon-arrowrefresh-1-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span class="ui-icon ui-icon-arrowrefresh-1-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4-diag"><span class="ui-icon ui-icon-arrow-4-diag"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-extlink"><span class="ui-icon ui-icon-extlink"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-newwin"><span class="ui-icon ui-icon-newwin"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-refresh"><span class="ui-icon ui-icon-refresh"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span class="ui-icon ui-icon-transfer-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span class="ui-icon ui-icon-transferthick-e-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span class="ui-icon ui-icon-folder-collapsed"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-folder-open"><span class="ui-icon ui-icon-folder-open"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-document"><span class="ui-icon ui-icon-document"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-document-b"><span class="ui-icon ui-icon-document-b"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-note"><span class="ui-icon ui-icon-note"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-mail-closed"><span class="ui-icon ui-icon-mail-closed"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-mail-open"><span class="ui-icon ui-icon-mail-open"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-suitcase"><span class="ui-icon ui-icon-suitcase"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-comment"><span class="ui-icon ui-icon-comment"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-person"><span class="ui-icon ui-icon-person"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-print"><span class="ui-icon ui-icon-print"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-trash"><span class="ui-icon ui-icon-trash"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-locked"><span class="ui-icon ui-icon-locked"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-unlocked"><span class="ui-icon ui-icon-unlocked"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-bookmark"><span class="ui-icon ui-icon-bookmark"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-tag"><span class="ui-icon ui-icon-tag"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-flag"><span class="ui-icon ui-icon-flag"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-calculator"><span class="ui-icon ui-icon-calculator"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-cart"><span class="ui-icon ui-icon-cart"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-pencil"><span class="ui-icon ui-icon-pencil"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-disk"><span class="ui-icon ui-icon-disk"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-calendar"><span class="ui-icon ui-icon-calendar"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-zoomin"><span class="ui-icon ui-icon-zoomin"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-zoomout"><span class="ui-icon ui-icon-zoomout"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-search"><span class="ui-icon ui-icon-search"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-wrench"><span class="ui-icon ui-icon-wrench"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-gear"><span class="ui-icon ui-icon-gear"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-heart"><span class="ui-icon ui-icon-heart"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-star"><span class="ui-icon ui-icon-star"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-link"><span class="ui-icon ui-icon-link"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-cancel"><span class="ui-icon ui-icon-cancel"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-plus"><span class="ui-icon ui-icon-plus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-plusthick"><span class="ui-icon ui-icon-plusthick"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-minus"><span class="ui-icon ui-icon-minus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-minusthick"><span class="ui-icon ui-icon-minusthick"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-close"><span class="ui-icon ui-icon-close"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-closethick"><span class="ui-icon ui-icon-closethick"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-key"><span class="ui-icon ui-icon-key"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-lightbulb"><span class="ui-icon ui-icon-lightbulb"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-scissors"><span class="ui-icon ui-icon-scissors"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-clipboard"><span class="ui-icon ui-icon-clipboard"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-copy"><span class="ui-icon ui-icon-copy"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-contact"><span class="ui-icon ui-icon-contact"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-image"><span class="ui-icon ui-icon-image"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-video"><span class="ui-icon ui-icon-video"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-script"><span class="ui-icon ui-icon-script"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-alert"><span class="ui-icon ui-icon-alert"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-info"><span class="ui-icon ui-icon-info"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-notice"><span class="ui-icon ui-icon-notice"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-help"><span class="ui-icon ui-icon-help"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-check"><span class="ui-icon ui-icon-check"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-bullet"><span class="ui-icon ui-icon-bullet"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-radio-off"><span class="ui-icon ui-icon-radio-off"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-pause"><span class="ui-icon ui-icon-pause"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-next"><span class="ui-icon ui-icon-seek-next"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-prev"><span class="ui-icon ui-icon-seek-prev"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-end"><span class="ui-icon ui-icon-seek-end"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-seek-first"><span class="ui-icon ui-icon-seek-first"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-stop"><span class="ui-icon ui-icon-stop"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span class="ui-icon ui-icon-volume-off"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span class="ui-icon ui-icon-volume-on"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-signal-diag"><span class="ui-icon ui-icon-signal-diag"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-signal"><span class="ui-icon ui-icon-signal"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-0"><span class="ui-icon ui-icon-battery-0"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span class="ui-icon ui-icon-battery-1"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span class="ui-icon ui-icon-battery-2"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span class="ui-icon ui-icon-battery-3"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span class="ui-icon ui-icon-circle-plus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-minus"><span class="ui-icon ui-icon-circle-minus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-close"><span class="ui-icon ui-icon-circle-close"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-e"><span class="ui-icon ui-icon-circle-triangle-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-s"><span class="ui-icon ui-icon-circle-triangle-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-w"><span class="ui-icon ui-icon-circle-triangle-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-triangle-n"><span class="ui-icon ui-icon-circle-triangle-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-e"><span class="ui-icon ui-icon-circle-arrow-e"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-s"><span class="ui-icon ui-icon-circle-arrow-s"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-w"><span class="ui-icon ui-icon-circle-arrow-w"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-arrow-n"><span class="ui-icon ui-icon-circle-arrow-n"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span class="ui-icon ui-icon-circle-zoomin"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span class="ui-icon ui-icon-circle-zoomout"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span class="ui-icon ui-icon-circle-check"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span class="ui-icon ui-icon-circlesmall-plus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-minus"><span class="ui-icon ui-icon-circlesmall-minus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-close"><span class="ui-icon ui-icon-circlesmall-close"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span class="ui-icon ui-icon-squaresmall-plus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span class="ui-icon ui-icon-squaresmall-minus"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span class="ui-icon ui-icon-squaresmall-close"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span class="ui-icon ui-icon-grip-dotted-vertical"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-horizontal"><span class="ui-icon ui-icon-grip-dotted-horizontal"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-vertical"><span class="ui-icon ui-icon-grip-solid-vertical"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span class="ui-icon ui-icon-grip-solid-horizontal"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span class="ui-icon ui-icon-gripsmall-diagonal-se"></span></li> <li class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span class="ui-icon ui-icon-grip-diagonal-se"></span></li> </ul> <!-- Slider --> <h2 class="demoHeaders">Slider</h2> <div id="slider"></div> <!-- Datepicker --> <h2 class="demoHeaders">Datepicker</h2> <div id="datepicker"></div> <!-- Progressbar --> <h2 class="demoHeaders">Progressbar</h2> <div id="progressbar"></div> <!-- Highlight / Error --> <h2 class="demoHeaders">Highlight / Error</h2> <div class="ui-widget"> <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;"> <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span> <strong>Hey!</strong> Sample ui-state-highlight style.</p> </div> </div> <br/> <div class="ui-widget"> <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> <strong>Alert:</strong> Sample ui-state-error style.</p> </div> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/index.html
HTML
gpl2
32,112
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI removeClass</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/removeClass?section=1" title="Edit section: removeClass( [class], [duration] )">edit</a>]</div><a name="removeClass.28_.5Bclass.5D.2C_.5Bduration.5D_.29"></a><h3>removeClass( <span class="optional">[</span>class<span class="optional">]</span>, <span class="optional">[</span>duration<span class="optional">]</span> )</h3> <p>Removes all or specified class from each of the set of matched elements with an optional transition between the states.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> Removes the class 'selected' from the matched elements with a one second transition.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">removeClass</strong>(&quot;selected&quot;, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; p { cursor: pointer; font-size: 1.2em; } .selected { color:red; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">removeClass</strong>(&quot;selected&quot;, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p class=&quot;selected&quot;&gt;Click me to remove 'selected' class.&lt;/p&gt; &lt;p class=&quot;selected&quot;&gt;Click me to remove 'selected' class.&lt;/p&gt; &lt;p class=&quot;selected&quot;&gt;Click me to remove 'selected' class.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-class"> <div class="option-header"> <h3 class="option-name"><a href="#option-class">class</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>CSS classes to remove from the elements.</p> </div> </li> <li class="option" id="option-duration"> <div class="option-header"> <h3 class="option-name"><a href="#option-duration">duration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 5297 bytes Post-expand include size: 7164 bytes Template argument size: 4498 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2607-1!1!0!!en!2 and timestamp 20120416171312 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/removeClass.html
HTML
gpl2
4,306
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Dialog</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>A dialog is a floating window that contains a title bar and a content area. The dialog window can be moved, resized and closed with the 'x' icon by default.</p> <p>If the content length exceeds the maximum height, a scrollbar will automatically appear.</p> <p>A bottom button bar and semi-transparent modal overlay layer are common options that can be added.</p> <p>A call to <code>$(foo).dialog()</code> will initialize a dialog instance and will auto-open the dialog by default. If you want to reuse a dialog, the easiest way is to disable the "auto-open" option with: <code>$(foo).dialog({ autoOpen: false })</code> and open it with <code>$(foo).dialog('open')</code>. To close it, use <code>$(foo).dialog('close')</code>. A more in-depth explanation with a full demo is available on <a href="http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/" class="external text" title="http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/">the Nemikor blog</a>.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Position</li> <li>UI Widget</li> <li>UI Mouse (Optional; only needed if using UI Draggable or UI Resizable)</li> <li>UI Draggable (Optional)</li> <li>UI Resizable (Optional)</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="300"> A simple jQuery UI Dialog.<br /> </p> <pre>$(&quot;#dialog&quot;).dialog(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#dialog&quot;).dialog(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;dialog&quot; title=&quot;Dialog Title&quot;&gt;I'm in a dialog&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).dialog( "option", "disabled" ); //setter $( ".selector" ).dialog( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoOpen"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoOpen">autoOpen</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>When <i>autoOpen</i> is <i>true</i> the dialog will open automatically when <i>dialog</i> is called. If <i>false</i> it will stay hidden until <i>.dialog("open")</i> is called on it.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>autoOpen</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ autoOpen: false });</code></pre> </dd> <dt> Get or set the <code>autoOpen</code> option, after init. </dt> <dd> <pre><code>//getter var autoOpen = $( ".selector" ).dialog( "option", "autoOpen" ); //setter $( ".selector" ).dialog( "option", "autoOpen", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-buttons"> <div class="option-header"> <h3 class="option-name"><a href="#option-buttons">buttons</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">{ }</dd> </dl> </div> <div class="option-description"> <p>Specifies which buttons should be displayed on the dialog. The property key is the text of the button. The value is the callback function for when the button is clicked. The context of the callback is the dialog element; if you need access to the button, it is available as the target of the event object. </p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>buttons</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ buttons: { &quot;Ok&quot;: function() { $(this).dialog(&quot;close&quot;); } } });</code></pre> </dd> <dt> Get or set the <code>buttons</code> option, after init. </dt> <dd> <pre><code>//getter var buttons = $( ".selector" ).dialog( "option", "buttons" ); //setter $( ".selector" ).dialog( "option", "buttons", { &quot;Ok&quot;: function() { $(this).dialog(&quot;close&quot;); } } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-buttons"> <div class="option-header"> <h3 class="option-name"><a href="#option-buttons">buttons</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">[ ]</dd> </dl> </div> <div class="option-description"> <p>Specifies which buttons should be displayed on the dialog. Each element of the array must be an Object defining the properties to set on the button. </p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>buttons</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ buttons: [ { text: &quot;Ok&quot;, click: function() { $(this).dialog(&quot;close&quot;); } } ] });</code></pre> </dd> <dt> Get or set the <code>buttons</code> option, after init. </dt> <dd> <pre><code>//getter var buttons = $( ".selector" ).dialog( "option", "buttons" ); //setter $( ".selector" ).dialog( "option", "buttons", [ { text: &quot;Ok&quot;, click: function() { $(this).dialog(&quot;close&quot;); } } ] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-closeOnEscape"> <div class="option-header"> <h3 class="option-name"><a href="#option-closeOnEscape">closeOnEscape</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>closeOnEscape</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ closeOnEscape: false });</code></pre> </dd> <dt> Get or set the <code>closeOnEscape</code> option, after init. </dt> <dd> <pre><code>//getter var closeOnEscape = $( ".selector" ).dialog( "option", "closeOnEscape" ); //setter $( ".selector" ).dialog( "option", "closeOnEscape", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-closeText"> <div class="option-header"> <h3 class="option-name"><a href="#option-closeText">closeText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;close&quot;</dd> </dl> </div> <div class="option-description"> <p>Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>closeText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ closeText: 'hide' });</code></pre> </dd> <dt> Get or set the <code>closeText</code> option, after init. </dt> <dd> <pre><code>//getter var closeText = $( ".selector" ).dialog( "option", "closeText" ); //setter $( ".selector" ).dialog( "option", "closeText", 'hide' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dialogClass"> <div class="option-header"> <h3 class="option-name"><a href="#option-dialogClass">dialogClass</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>The specified class name(s) will be added to the dialog, for additional theming.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>dialogClass</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ dialogClass: "alert" });</code></pre> </dd> <dt> Get or set the <code>dialogClass</code> option, after init. </dt> <dd> <pre><code>//getter var dialogClass = $( ".selector" ).dialog( "option", "dialogClass" ); //setter $( ".selector" ).dialog( "option", "dialogClass", "alert" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-draggable"> <div class="option-header"> <h3 class="option-name"><a href="#option-draggable">draggable</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to true, the dialog will be draggable will be draggable by the titlebar.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>draggable</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ draggable: false });</code></pre> </dd> <dt> Get or set the <code>draggable</code> option, after init. </dt> <dd> <pre><code>//getter var draggable = $( ".selector" ).dialog( "option", "draggable" ); //setter $( ".selector" ).dialog( "option", "draggable", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-height"> <div class="option-header"> <h3 class="option-name"><a href="#option-height">height</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"auto"</dd> </dl> </div> <div class="option-description"> <p>The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>height</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ height: 530 });</code></pre> </dd> <dt> Get or set the <code>height</code> option, after init. </dt> <dd> <pre><code>//getter var height = $( ".selector" ).dialog( "option", "height" ); //setter $( ".selector" ).dialog( "option", "height", 530 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-hide"> <div class="option-header"> <h3 class="option-name"><a href="#option-hide">hide</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>The effect to be used when the dialog is closed.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>hide</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ hide: "slide" });</code></pre> </dd> <dt> Get or set the <code>hide</code> option, after init. </dt> <dd> <pre><code>//getter var hide = $( ".selector" ).dialog( "option", "hide" ); //setter $( ".selector" ).dialog( "option", "hide", "slide" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-hide"> <div class="option-header"> <h3 class="option-name"><a href="#option-hide">hide</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>The effect to be used when the dialog is closed.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>hide</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ hide: { effect: 'drop', direction: "down" } });</code></pre> </dd> <dt> Get or set the <code>hide</code> option, after init. </dt> <dd> <pre><code>//getter var hide = $( ".selector" ).dialog( "option", "hide" ); //setter $( ".selector" ).dialog( "option", "hide", { effect: 'drop', direction: "down" } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-maxHeight"> <div class="option-header"> <h3 class="option-name"><a href="#option-maxHeight">maxHeight</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>The maximum height to which the dialog can be resized, in pixels.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>maxHeight</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ maxHeight: 400 });</code></pre> </dd> <dt> Get or set the <code>maxHeight</code> option, after init. </dt> <dd> <pre><code>//getter var maxHeight = $( ".selector" ).dialog( "option", "maxHeight" ); //setter $( ".selector" ).dialog( "option", "maxHeight", 400 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-maxWidth"> <div class="option-header"> <h3 class="option-name"><a href="#option-maxWidth">maxWidth</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>The maximum width to which the dialog can be resized, in pixels.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>maxWidth</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ maxWidth: 600 });</code></pre> </dd> <dt> Get or set the <code>maxWidth</code> option, after init. </dt> <dd> <pre><code>//getter var maxWidth = $( ".selector" ).dialog( "option", "maxWidth" ); //setter $( ".selector" ).dialog( "option", "maxWidth", 600 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minHeight"> <div class="option-header"> <h3 class="option-name"><a href="#option-minHeight">minHeight</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">150</dd> </dl> </div> <div class="option-description"> <p>The minimum height to which the dialog can be resized, in pixels.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>minHeight</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ minHeight: 300 });</code></pre> </dd> <dt> Get or set the <code>minHeight</code> option, after init. </dt> <dd> <pre><code>//getter var minHeight = $( ".selector" ).dialog( "option", "minHeight" ); //setter $( ".selector" ).dialog( "option", "minHeight", 300 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minWidth"> <div class="option-header"> <h3 class="option-name"><a href="#option-minWidth">minWidth</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">150</dd> </dl> </div> <div class="option-description"> <p>The minimum width to which the dialog can be resized, in pixels.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>minWidth</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ minWidth: 400 });</code></pre> </dd> <dt> Get or set the <code>minWidth</code> option, after init. </dt> <dd> <pre><code>//getter var minWidth = $( ".selector" ).dialog( "option", "minWidth" ); //setter $( ".selector" ).dialog( "option", "minWidth", 400 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-modal"> <div class="option-header"> <h3 class="option-name"><a href="#option-modal">modal</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>modal</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ modal: true });</code></pre> </dd> <dt> Get or set the <code>modal</code> option, after init. </dt> <dd> <pre><code>//getter var modal = $( ".selector" ).dialog( "option", "modal" ); //setter $( ".selector" ).dialog( "option", "modal", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-position"> <div class="option-header"> <h3 class="option-name"><a href="#option-position">position</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"center"</dd> </dl> </div> <div class="option-description"> <p>Specifies where the dialog should be displayed. Possible values: <br />1) a single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. <br />2) an array containing an <em>x,y</em> coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100]) <br />3) an array containing <em>x,y</em> position string values (e.g. ['right','top'] for top right corner).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>position</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ position: "top" });</code></pre> </dd> <dt> Get or set the <code>position</code> option, after init. </dt> <dd> <pre><code>//getter var position = $( ".selector" ).dialog( "option", "position" ); //setter $( ".selector" ).dialog( "option", "position", "top" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-resizable"> <div class="option-header"> <h3 class="option-name"><a href="#option-resizable">resizable</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to true, the dialog will be resizable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>resizable</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ resizable: false });</code></pre> </dd> <dt> Get or set the <code>resizable</code> option, after init. </dt> <dd> <pre><code>//getter var resizable = $( ".selector" ).dialog( "option", "resizable" ); //setter $( ".selector" ).dialog( "option", "resizable", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-show"> <div class="option-header"> <h3 class="option-name"><a href="#option-show">show</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>The effect to be used when the dialog is opened.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>show</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ show: "slide" });</code></pre> </dd> <dt> Get or set the <code>show</code> option, after init. </dt> <dd> <pre><code>//getter var show = $( ".selector" ).dialog( "option", "show" ); //setter $( ".selector" ).dialog( "option", "show", "slide" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-show"> <div class="option-header"> <h3 class="option-name"><a href="#option-show">show</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>The effect to be used when the dialog is opened.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>show</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ show: { effect: 'drop', direction: "up" } });</code></pre> </dd> <dt> Get or set the <code>show</code> option, after init. </dt> <dd> <pre><code>//getter var show = $( ".selector" ).dialog( "option", "show" ); //setter $( ".selector" ).dialog( "option", "show", { effect: 'drop', direction: "up" } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-stack"> <div class="option-header"> <h3 class="option-name"><a href="#option-stack">stack</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>stack</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ stack: false });</code></pre> </dd> <dt> Get or set the <code>stack</code> option, after init. </dt> <dd> <pre><code>//getter var stack = $( ".selector" ).dialog( "option", "stack" ); //setter $( ".selector" ).dialog( "option", "stack", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-title"> <div class="option-header"> <h3 class="option-name"><a href="#option-title">title</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>title</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ title: "Dialog Title" });</code></pre> </dd> <dt> Get or set the <code>title</code> option, after init. </dt> <dd> <pre><code>//getter var title = $( ".selector" ).dialog( "option", "title" ); //setter $( ".selector" ).dialog( "option", "title", "Dialog Title" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-width"> <div class="option-header"> <h3 class="option-name"><a href="#option-width">width</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">300</dd> </dl> </div> <div class="option-description"> <p>The width of the dialog, in pixels.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>width</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ width: 460 });</code></pre> </dd> <dt> Get or set the <code>width</code> option, after init. </dt> <dd> <pre><code>//getter var width = $( ".selector" ).dialog( "option", "width" ); //setter $( ".selector" ).dialog( "option", "width", 460 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-zIndex"> <div class="option-header"> <h3 class="option-name"><a href="#option-zIndex">zIndex</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1000</dd> </dl> </div> <div class="option-description"> <p>The starting z-index for the dialog.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a dialog with the <code>zIndex</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).dialog({ zIndex: 3999 });</code></pre> </dd> <dt> Get or set the <code>zIndex</code> option, after init. </dt> <dd> <pre><code>//getter var zIndex = $( ".selector" ).dialog( "option", "zIndex" ); //setter $( ".selector" ).dialog( "option", "zIndex", 3999 );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogcreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when dialog is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>dialogcreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogcreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-beforeClose"> <div class="event-header"> <h3 class="event-name"><a href="#event-beforeClose">beforeClose</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogbeforeclose</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a dialog attempts to close. If the beforeClose event handler (callback function) returns false, the close will be prevented.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>beforeClose</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ beforeClose: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>beforeClose</code> event by type: <code>dialogbeforeclose</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogbeforeclose&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-open"> <div class="event-header"> <h3 class="event-name"><a href="#event-open">open</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogopen</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when dialog is opened.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>open</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ open: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>open</code> event by type: <code>dialogopen</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogopen&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-focus"> <div class="event-header"> <h3 class="event-name"><a href="#event-focus">focus</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogfocus</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the dialog gains focus.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>focus</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ focus: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>focus</code> event by type: <code>dialogfocus</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogfocus&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-dragStart"> <div class="event-header"> <h3 class="event-name"><a href="#event-dragStart">dragStart</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogdragstart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the beginning of the dialog being dragged.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>dragStart</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ dragStart: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>dragStart</code> event by type: <code>dialogdragstart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdragstart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-drag"> <div class="event-header"> <h3 class="event-name"><a href="#event-drag">drag</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogdrag</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the dialog is dragged.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>drag</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ drag: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>drag</code> event by type: <code>dialogdrag</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdrag&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-dragStop"> <div class="event-header"> <h3 class="event-name"><a href="#event-dragStop">dragStop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogdragstop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered after the dialog has been dragged.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>dragStop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ dragStop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>dragStop</code> event by type: <code>dialogdragstop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdragstop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-resizeStart"> <div class="event-header"> <h3 class="event-name"><a href="#event-resizeStart">resizeStart</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogresizestart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the beginning of the dialog being resized.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>resizeStart</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ resizeStart: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>resizeStart</code> event by type: <code>dialogresizestart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresizestart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-resize"> <div class="event-header"> <h3 class="event-name"><a href="#event-resize">resize</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogresize</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the dialog is resized. <a href="http://www.jsfiddle.net/Jp7TM/18/" class="external text" title="http://www.jsfiddle.net/Jp7TM/18/">demo</a></p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>resize</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ resize: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>resize</code> event by type: <code>dialogresize</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresize&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-resizeStop"> <div class="event-header"> <h3 class="event-name"><a href="#event-resizeStop">resizeStop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogresizestop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered after the dialog has been resized.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>resizeStop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ resizeStop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>resizeStop</code> event by type: <code>dialogresizestop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresizestop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-close"> <div class="event-header"> <h3 class="event-name"><a href="#event-close">close</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dialogclose</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the dialog is closed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>close</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).dialog({ close: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>close</code> event by type: <code>dialogclose</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogclose&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the dialog functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the dialog.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the dialog.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any dialog option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple dialog options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-dialog element.</p> </div> </li> <li class="method" id="method-close"> <div class="method-header"> <h3 class="method-name"><a href="#method-close">close</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "close" )</dd> </dl> </div> <div class="method-description"> <p>Close the dialog.</p> </div> </li> <li class="method" id="method-isOpen"> <div class="method-header"> <h3 class="method-name"><a href="#method-isOpen">isOpen</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "isOpen" )</dd> </dl> </div> <div class="method-description"> <p>Returns true if the dialog is currently open.</p> </div> </li> <li class="method" id="method-moveToTop"> <div class="method-header"> <h3 class="method-name"><a href="#method-moveToTop">moveToTop</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "moveToTop" )</dd> </dl> </div> <div class="method-description"> <p>Move the dialog to the top of the dialogs stack.</p> </div> </li> <li class="method" id="method-open"> <div class="method-header"> <h3 class="method-name"><a href="#method-open">open</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.dialog( "open" )</dd> </dl> </div> <div class="method-description"> <p>Open the dialog.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Dialog plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.dialog.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-dialog</strong> ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-dialog-titlebar</strong> ui-widget-header ui-corner-all ui-helper-clearfix&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span id=&quot;<strong>ui-dialog-title-dialog</strong>&quot; class=&quot;ui-dialog-title&quot;&gt;Dialog title&lt;/span&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;<strong>ui-dialog-titlebar-close</strong> ui-corner-all&quot; href=&quot;#&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-closethick&quot;&gt;close&lt;/span&gt;&lt;/a&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div style=&quot;height: 200px; min-height: 109px; width: auto;&quot; class=&quot;<strong>ui-dialog-content</strong> ui-widget-content&quot; id=&quot;dialog&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Dialog content goes here.&lt;/p&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &lt;/div&gt;<br /> <p class="theme-note"> <strong> Note: This is a sample of markup generated by the dialog plugin, not markup you should use to create a dialog. The only markup needed for that is &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 69635 bytes Post-expand include size: 118811 bytes Template argument size: 65296 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3775-1!1!0!!en!2 and timestamp 20120416183421 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/dialog.html
HTML
gpl2
46,412
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI toggle</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/toggle?section=1" title="Edit section: toggle( effect, [options], [speed], [callback] )">edit</a>]</div><a name="toggle.28_effect.2C_.5Boptions.5D.2C_.5Bspeed.5D.2C_.5Bcallback.5D_.29"></a><h3>toggle( effect, <span class="optional">[</span>options<span class="optional">]</span>, <span class="optional">[</span>speed<span class="optional">]</span>, <span class="optional">[</span>callback<span class="optional">]</span> )</h3> <p>The enhanced toggle method optionally accepts jQuery UI advanced effects.</p> <p>Uses a specific effect on an element to toggle the element if the first argument is an effect string.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Apply the effect slide if you click on the p to toggle a div.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">toggle</strong>(&quot;slide&quot;, {}, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.slide.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; div { display: none; margin: 0px; width: 100px; height: 80px; background: blue; position: relative; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">toggle</strong>(&quot;slide&quot;, {}, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me&lt;/p&gt;&lt;div&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-effect"> <div class="option-header"> <h3 class="option-name"><a href="#option-effect">effect</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'.</p> </div> </li> <li class="option" id="option-options"> <div class="option-header"> <h3 class="option-name"><a href="#option-options">options</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Hash</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A object/hash including specific options for the effect.</p> </div> </li> <li class="option" id="option-speed"> <div class="option-header"> <h3 class="option-name"><a href="#option-speed">speed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the predefined speeds ("slow" or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> <li class="option" id="option-callback"> <div class="option-header"> <h3 class="option-name"><a href="#option-callback">callback</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A function that is called after the effect is completed.</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 6372 bytes Post-expand include size: 8797 bytes Template argument size: 5515 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2615-1!1!0!!en!2 and timestamp 20120416170911 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/toggle.html
HTML
gpl2
5,293
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Slider</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Slider plugin makes selected elements into sliders. There are various options such as multiple handles, and ranges. The handle can be moved with the mouse or the arrow keys.</p> <p>The start, slide, and stop callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'): </p><p>The slider widget will create handle elements with the class 'ui-slider-handle' on initialization. You can specify custom handle elements by creating and appending the elements and adding the 'ui-slider-handle' class before init. It will only create the number of handles needed to match the length of value/values. For example, if you specify 'values: [1, 5, 18]' and create one custom handle, the plugin will create the other two. </p> <ul> <li><b>ui.handle</b>: DOMElement - the current focused handle</li> <li><b>ui.value</b>: Integer - the current handle's value</li> </ul> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel=""> A simple jQuery UI Slider.<br /> </p> <pre>$(&quot;#slider&quot;).slider(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #slider { margin: 10px; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#slider&quot;).slider(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;slider&quot;&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the slider. Can be set when initialising (first creating) the slider.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).slider( "option", "disabled" ); //setter $( ".selector" ).slider( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-animate"> <div class="option-header"> <h3 class="option-name"><a href="#option-animate">animate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, String, Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Whether to slide handle smoothly when user click outside handle on the bar. Will also accept a string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>animate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ animate: true });</code></pre> </dd> <dt> Get or set the <code>animate</code> option, after init. </dt> <dd> <pre><code>//getter var animate = $( ".selector" ).slider( "option", "animate" ); //setter $( ".selector" ).slider( "option", "animate", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-max"> <div class="option-header"> <h3 class="option-name"><a href="#option-max">max</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">100</dd> </dl> </div> <div class="option-description"> <p>The maximum value of the slider.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>max</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ max: 7 });</code></pre> </dd> <dt> Get or set the <code>max</code> option, after init. </dt> <dd> <pre><code>//getter var max = $( ".selector" ).slider( "option", "max" ); //setter $( ".selector" ).slider( "option", "max", 7 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-min"> <div class="option-header"> <h3 class="option-name"><a href="#option-min">min</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>The minimum value of the slider.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>min</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ min: -7 });</code></pre> </dd> <dt> Get or set the <code>min</code> option, after init. </dt> <dd> <pre><code>//getter var min = $( ".selector" ).slider( "option", "min" ); //setter $( ".selector" ).slider( "option", "min", -7 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-orientation"> <div class="option-header"> <h3 class="option-name"><a href="#option-orientation">orientation</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"horizontal"</dd> </dl> </div> <div class="option-description"> <p>This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>orientation</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ orientation: "vertical" });</code></pre> </dd> <dt> Get or set the <code>orientation</code> option, after init. </dt> <dd> <pre><code>//getter var orientation = $( ".selector" ).slider( "option", "orientation" ); //setter $( ".selector" ).slider( "option", "orientation", "vertical" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-range"> <div class="option-header"> <h3 class="option-name"><a href="#option-range">range</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>range</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ range: 'min' });</code></pre> </dd> <dt> Get or set the <code>range</code> option, after init. </dt> <dd> <pre><code>//getter var range = $( ".selector" ).slider( "option", "range" ); //setter $( ".selector" ).slider( "option", "range", 'min' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-step"> <div class="option-header"> <h3 class="option-name"><a href="#option-step">step</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>step</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ step: 5 });</code></pre> </dd> <dt> Get or set the <code>step</code> option, after init. </dt> <dd> <pre><code>//getter var step = $( ".selector" ).slider( "option", "step" ); //setter $( ".selector" ).slider( "option", "step", 5 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-value"> <div class="option-header"> <h3 class="option-name"><a href="#option-value">value</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Determines the value of the slider, if there's only one handle. If there is more than one handle, determines the value of the first handle.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>value</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ value: 37 });</code></pre> </dd> <dt> Get or set the <code>value</code> option, after init. </dt> <dd> <pre><code>//getter var value = $( ".selector" ).slider( "option", "value" ); //setter $( ".selector" ).slider( "option", "value", 37 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-values"> <div class="option-header"> <h3 class="option-name"><a href="#option-values">values</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>This option can be used to specify multiple handles. If range is set to true, the length of 'values' should be 2.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a slider with the <code>values</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).slider({ values: [1,5,9] });</code></pre> </dd> <dt> Get or set the <code>values</code> option, after init. </dt> <dd> <pre><code>//getter var values = $( ".selector" ).slider( "option", "values" ); //setter $( ".selector" ).slider( "option", "values", [1,5,9] );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">slidecreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when slider is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).slider({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>slidecreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;slidecreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-start"> <div class="event-header"> <h3 class="event-name"><a href="#event-start">start</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">slidestart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the user starts sliding.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>start</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).slider({ start: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>start</code> event by type: <code>slidestart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;slidestart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-slide"> <div class="event-header"> <h3 class="event-name"><a href="#event-slide">slide</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">slide</dd> </dl> </div> <div class="event-description"> <p>This event is triggered on every mouse move during slide. Use ui.value (single-handled sliders) to obtain the value of the current handle, $(..).slider('value', index) to get another handles' value. </p><p>Return false in order to prevent a slide, based on ui.value.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>slide</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).slider({ slide: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>slide</code> event by type: <code>slide</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;slide&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-change"> <div class="event-header"> <h3 class="event-name"><a href="#event-change">change</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">slidechange</dd> </dl> </div> <div class="event-description"> <p>This event is triggered on slide stop, or if the value is changed programmatically (by the <code>value</code> method). Takes arguments event and ui. Use event.originalEvent to detect whether the value changed by mouse, keyboard, or programmatically. Use ui.value (single-handled sliders) to obtain the value of the current handle, $(this).slider('values', index) to get another handle's value.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>change</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).slider({ change: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>change</code> event by type: <code>slidechange</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;slidechange&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-stop"> <div class="event-header"> <h3 class="event-name"><a href="#event-stop">stop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">slidestop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the user stops sliding.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>stop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).slider({ stop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>stop</code> event by type: <code>slidestop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;slidestop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the slider functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the slider.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the slider.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any slider option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple slider options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-slider element.</p> </div> </li> <li class="method" id="method-value"> <div class="method-header"> <h3 class="method-name"><a href="#method-value">value</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "value" , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Gets or sets the value of the slider. For single handle sliders.</p> </div> </li> <li class="method" id="method-values"> <div class="method-header"> <h3 class="method-name"><a href="#method-values">values</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.slider( "values" , index , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Gets or sets the values of the slider. For multiple handle or range sliders.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Slider plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.slider.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;ui-slider<strong> ui-slider-horizontal</strong> ui-widget ui-widget-content ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;a style=&quot;left: 0%;&quot; class=&quot;<strong>ui-slider-handle</strong> ui-state-default ui-corner-all&quot; href=&quot;#&quot;&gt;&lt;/a&gt;<br /> &lt;/div&gt;<br /> <p class="theme-note"> <strong> Note: This is a sample of markup generated by the slider plugin, not markup you should use to create a slider. The only markup needed for that is &lt;div&gt;&lt;div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 36451 bytes Post-expand include size: 55617 bytes Template argument size: 27679 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3776-1!1!0!!en!2 and timestamp 20120416183447 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/slider.html
HTML
gpl2
23,073
<p>The jQuery UI effects core extends the <a href="http://docs.jquery.com/Effects/animate" title="Effects/animate">animate</a> function to be able to animate colors as well. It's heavily used by the class transition feature and it's able to color animate the following properties: </p> <ul><li> <b>backgroundColor</b> </li><li> <b>borderBottomColor</b> </li><li> <b>borderLeftColor</b> </li><li> <b>borderRightColor</b> </li><li> <b>borderTopColor</b> </li><li> <b>color</b> </li><li> <b>outlineColor</b> </li></ul> <p>with one of the following combinations: </p> <ul><li> <b>hex (#FF0000)</b> </li><li> <b>rgb (rgb(255,255,255))</b> </li><li> <b>names ("black")</b> </li></ul> <p><br /> </p><p><div class="options list"><table class="options examples" cellspacing="0"><thead><tr><th>Name</th><th>Type</th></tr></thead><tbody> </table><b class="options">Example:</b><table class="options examples" cellspacing="0"><thead><tr><th>Name</th><th>Type</th></tr></thead><tbody> <div class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <div id="demo" class="tabs-container" rel="125"> A simple color animation.<br /> </p> <pre>$(&quot;.block&quot;).<a href="http://docs.jquery.com/Events/toggle" title="Events/toggle">toggle</a>(function() { $(this).<a href="http://docs.jquery.com/Effects/animate" title="Effects/animate">animate</a>({ backgroundColor: &quot;black&quot; }, 1000); },function() { $(this).<a href="http://docs.jquery.com/Effects/animate" title="Effects/animate">animate</a>({ backgroundColor: &quot;#68BFEF&quot; }, 500); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<a href="http://www.w3.org/TR/html4/loose.dtd" class="external free" title="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>"&gt; &lt;html&gt; &lt;head&gt; &lt;script src="<a href="http://code.jquery.com/jquery-latest.js" class="external free" title="http://code.jquery.com/jquery-latest.js">http://code.jquery.com/jquery-latest.js</a>"&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function(){ $(&quot;.block&quot;).<a href="http://docs.jquery.com/Events/toggle" title="Events/toggle">toggle</a>(function() { $(this).<a href="http://docs.jquery.com/Effects/animate" title="Effects/animate">animate</a>({ backgroundColor: &quot;black&quot; }, 1000); },function() { $(this).<a href="http://docs.jquery.com/Effects/animate" title="Effects/animate">animate</a>({ backgroundColor: &quot;#68BFEF&quot; }, 500); }); }); &lt;/script&gt; &lt;style&gt; .block { color: white; background-color: #68BFEF; width: 150px; height: 70px; margin: 10px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class=&quot;block&quot;&gt; Click me&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </p><p></tbody></table></div> </p><!-- Pre-expand include size: 3730 bytes Post-expand include size: 5382 bytes Template argument size: 3450 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3094-1!1!0!!en!2 and timestamp 20120416180646 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/animate.html
HTML
gpl2
3,480
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Selectable</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Selectable plugin allows for elements to be selected by dragging a box (sometimes called a lasso) with the mouse over the elements. Also, elements can be selected by click or drag while holding the Ctrl/Meta key, allowing for multiple (non-contiguous) selections.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel=""> A simple jQuery UI Selectable.<br /> </p> <pre>$(&quot;#selectable&quot;).selectable(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #selectable .ui-selecting { background: silver; } #selectable .ui-selected { background: gray; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#selectable&quot;).selectable(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;ul id=&quot;selectable&quot;&gt; &lt;li&gt;Item 1&lt;/li&gt; &lt;li&gt;Item 2&lt;/li&gt; &lt;li&gt;Item 3&lt;/li&gt; &lt;li&gt;Item 4&lt;/li&gt; &lt;li&gt;Item 5&lt;/li&gt; &lt;/ul&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the selectable. Can be set when initialising (first creating) the selectable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).selectable( "option", "disabled" ); //setter $( ".selector" ).selectable( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoRefresh"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoRefresh">autoRefresh</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>This determines whether to refresh (recalculate) the position and size of each selectee at the beginning of each select operation. If you have many many items, you may want to set this to false and call the refresh method manually.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>autoRefresh</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ autoRefresh: false });</code></pre> </dd> <dt> Get or set the <code>autoRefresh</code> option, after init. </dt> <dd> <pre><code>//getter var autoRefresh = $( ".selector" ).selectable( "option", "autoRefresh" ); //setter $( ".selector" ).selectable( "option", "autoRefresh", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cancel"> <div class="option-header"> <h3 class="option-name"><a href="#option-cancel">cancel</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">":input,option"</dd> </dl> </div> <div class="option-description"> <p>Prevents selecting if you start on elements matching the selector.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>cancel</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ cancel: ":input,option" });</code></pre> </dd> <dt> Get or set the <code>cancel</code> option, after init. </dt> <dd> <pre><code>//getter var cancel = $( ".selector" ).selectable( "option", "cancel" ); //setter $( ".selector" ).selectable( "option", "cancel", ":input,option" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-delay"> <div class="option-header"> <h3 class="option-name"><a href="#option-delay">delay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Time in milliseconds to define when the selecting should start. It helps preventing unwanted selections when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>delay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ delay: 20 });</code></pre> </dd> <dt> Get or set the <code>delay</code> option, after init. </dt> <dd> <pre><code>//getter var delay = $( ".selector" ).selectable( "option", "delay" ); //setter $( ".selector" ).selectable( "option", "delay", 20 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-distance"> <div class="option-header"> <h3 class="option-name"><a href="#option-distance">distance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Tolerance, in pixels, for when selecting should start. If specified, selecting will not start until after mouse is dragged beyond distance.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>distance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ distance: 20 });</code></pre> </dd> <dt> Get or set the <code>distance</code> option, after init. </dt> <dd> <pre><code>//getter var distance = $( ".selector" ).selectable( "option", "distance" ); //setter $( ".selector" ).selectable( "option", "distance", 20 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-filter"> <div class="option-header"> <h3 class="option-name"><a href="#option-filter">filter</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"*"</dd> </dl> </div> <div class="option-description"> <p>The matching child elements will be made selectees (able to be selected).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>filter</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ filter: "li" });</code></pre> </dd> <dt> Get or set the <code>filter</code> option, after init. </dt> <dd> <pre><code>//getter var filter = $( ".selector" ).selectable( "option", "filter" ); //setter $( ".selector" ).selectable( "option", "filter", "li" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-tolerance"> <div class="option-header"> <h3 class="option-name"><a href="#option-tolerance">tolerance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"touch"</dd> </dl> </div> <div class="option-description"> <p>Possible values: 'touch', 'fit'. </p> <ul> <li><b>fit</b>: draggable overlaps the droppable entirely</li> <li><b>touch</b>: draggable overlaps the droppable any amount</li> </ul> <p></p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a selectable with the <code>tolerance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).selectable({ tolerance: "fit" });</code></pre> </dd> <dt> Get or set the <code>tolerance</code> option, after init. </dt> <dd> <pre><code>//getter var tolerance = $( ".selector" ).selectable( "option", "tolerance" ); //setter $( ".selector" ).selectable( "option", "tolerance", "fit" );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectablecreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when selectable is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>selectablecreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablecreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-selected"> <div class="event-header"> <h3 class="event-name"><a href="#event-selected">selected</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectableselected</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the end of the select operation, on each element added to the selection.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>selected</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ selected: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>selected</code> event by type: <code>selectableselected</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableselected&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-selecting"> <div class="event-header"> <h3 class="event-name"><a href="#event-selecting">selecting</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectableselecting</dd> </dl> </div> <div class="event-description"> <p>This event is triggered during the select operation, on each element added to the selection.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>selecting</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ selecting: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>selecting</code> event by type: <code>selectableselecting</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableselecting&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-start"> <div class="event-header"> <h3 class="event-name"><a href="#event-start">start</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectablestart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the beginning of the select operation.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>start</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ start: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>start</code> event by type: <code>selectablestart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablestart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-stop"> <div class="event-header"> <h3 class="event-name"><a href="#event-stop">stop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectablestop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the end of the select operation.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>stop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ stop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>stop</code> event by type: <code>selectablestop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectablestop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-unselected"> <div class="event-header"> <h3 class="event-name"><a href="#event-unselected">unselected</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectableunselected</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the end of the select operation, on each element removed from the selection.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>unselected</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ unselected: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>unselected</code> event by type: <code>selectableunselected</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableunselected&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-unselecting"> <div class="event-header"> <h3 class="event-name"><a href="#event-unselecting">unselecting</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">selectableunselecting</dd> </dl> </div> <div class="event-description"> <p>This event is triggered during the select operation, on each element removed from the selection.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>unselecting</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).selectable({ unselecting: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>unselecting</code> event by type: <code>selectableunselecting</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;selectableunselecting&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the selectable functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the selectable.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the selectable.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any selectable option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple selectable options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-selectable element.</p> </div> </li> <li class="method" id="method-refresh"> <div class="method-header"> <h3 class="method-name"><a href="#method-refresh">refresh</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.selectable( "refresh" )</dd> </dl> </div> <div class="method-description"> <p>Refresh the position and size of each selectee element. This method can be used to manually recalculate the position and size of each selectee element. Very useful if autoRefresh is set to false.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Selectable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.selectable.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;ul class=&quot;<strong>ui-selectable</strong>&quot;&gt;<br /> &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-selectee</strong>&quot;&gt;&lt;/li&gt;<br /> &lt;/ul&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the selectable plugin, not markup you should use to create a selectable. The only markup needed for that is <br />&lt;ul&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &lt;/ul&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 34703 bytes Post-expand include size: 54220 bytes Template argument size: 27222 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3771-1!1!0!!en!2 and timestamp 20120416183430 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/selectable.html
HTML
gpl2
22,157
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Autocomplete</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>Autocomplete, when added to an input field, enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.</p> <p>By giving an Autocomplete field focus or entering something into it, the plugin starts searching for entries that match and displays a list of values to choose from. By entering more characters, the user can filter down the list to better matches.</p> <p>This can be used to enter previous selected values, for example you could use Autocomplete for entering tags, to complete an address, you could enter a city name and get the zip code, or maybe enter email addresses from an address book.</p> <p>You can pull data in from a local and/or a remote source: Local is good for small data sets (like an address book with 50 entries), remote is necessary for big data sets, like a database with hundreds or millions of entries to select from.</p> <p>Autocomplete can be customized to work with various data sources, by just specifying the source option. A data source can be:</p> <ul> <li>an Array with local data</li> <li>a String, specifying a URL</li> <li>a Callback</li> </ul> <p><b>Expected data format</b></p> <p>The data from local data, a url or a callback can come in two variants:</p> <ul> <li>An Array of Strings:<br /><code>[ "Choice1", "Choice2" ]</code></li> <li>An Array of Objects with label and value properties:<br /><code>[ { label: "Choice1", value: "value1" }, ... ]</code></li> </ul> <p>The label property is displayed in the suggestion menu. The value will be inserted into the input element after the user selected something from the menu. If just one property is specified, it will be used for both, eg. if you provide only value-properties, the value will also be used as the label.</p> <p>When a String is used, the Autocomplete plugin expects that string to point to a URL resource that will return JSON data. It can be on the same host or on a different one (must provide JSONP). The Autocomplete plugin does not filter the results, instead the request parameter "term" gets added to the URL, which the server-side script should use for filtering the results. The data itself can be in the same format as the local data described above.</p> <p>The third variation, the callback, provides the most flexibility, and can be used to connect any data source to Autocomplete. The callback gets two arguments:</p> <ul> <li>A request object, with a single property called "term", which refers to the value currently in the text input. For example, when the user entered "new yo" in a city field, the Autocomplete term will equal "new yo".</li> <li>A response callback, which expects a single argument to contain the data to suggest to the user. This data should be filtered based on the provided term, and can be in any of the formats described above for simple local data (String-Array or Object-Array with label/value/both properties). It's important when providing a custom source callback to handle errors during the request. You must always call the response callback even if you encounter an error. This ensures that the widget always has the correct state.</li> </ul> <p>The label is always treated as text, if you want the label to be treated as html you can use <a href="https://github.com/scottgonzalez/jquery-ui-extensions/blob/master/autocomplete/jquery.ui.autocomplete.html.js" class="external text" title="https://github.com/scottgonzalez/jquery-ui-extensions/blob/master/autocomplete/jquery.ui.autocomplete.html.js">Scott González' html extension</a>. The demos all focus on different variations of the source-option - look for the one that matches your use case, and take a look at the code.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Position</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="300"> A simple jQuery UI Autocomplete.<br /> </p> <pre>$(&quot;input#autocomplete&quot;).autocomplete({ source: [&quot;c++&quot;, &quot;java&quot;, &quot;php&quot;, &quot;coldfusion&quot;, &quot;javascript&quot;, &quot;asp&quot;, &quot;ruby&quot;] }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;input#autocomplete&quot;).autocomplete({ source: [&quot;c++&quot;, &quot;java&quot;, &quot;php&quot;, &quot;coldfusion&quot;, &quot;javascript&quot;, &quot;asp&quot;, &quot;ruby&quot;] }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;input id=&quot;autocomplete&quot; /&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the autocomplete. Can be set when initialising (first creating) the autocomplete.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).autocomplete( "option", "disabled" ); //setter $( ".selector" ).autocomplete( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-appendTo"> <div class="option-header"> <h3 class="option-name"><a href="#option-appendTo">appendTo</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"body"</dd> </dl> </div> <div class="option-description"> <p>Which element the menu should be appended to.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>appendTo</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ appendTo: "#someElem" });</code></pre> </dd> <dt> Get or set the <code>appendTo</code> option, after init. </dt> <dd> <pre><code>//getter var appendTo = $( ".selector" ).autocomplete( "option", "appendTo" ); //setter $( ".selector" ).autocomplete( "option", "appendTo", "#someElem" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoFocus"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoFocus">autoFocus</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true the first item will be automatically focused.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>autoFocus</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ autoFocus: true });</code></pre> </dd> <dt> Get or set the <code>autoFocus</code> option, after init. </dt> <dd> <pre><code>//getter var autoFocus = $( ".selector" ).autocomplete( "option", "autoFocus" ); //setter $( ".selector" ).autocomplete( "option", "autoFocus", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-delay"> <div class="option-header"> <h3 class="option-name"><a href="#option-delay">delay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">300</dd> </dl> </div> <div class="option-description"> <p>The delay in milliseconds the Autocomplete waits after a keystroke to activate itself. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>delay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ delay: 0 });</code></pre> </dd> <dt> Get or set the <code>delay</code> option, after init. </dt> <dd> <pre><code>//getter var delay = $( ".selector" ).autocomplete( "option", "delay" ); //setter $( ".selector" ).autocomplete( "option", "delay", 0 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minLength"> <div class="option-header"> <h3 class="option-name"><a href="#option-minLength">minLength</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>The minimum number of characters a user has to type before the Autocomplete activates. Zero is useful for local data with just a few items. Should be increased when there are a lot of items, where a single character would match a few thousand items.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>minLength</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ minLength: 0 });</code></pre> </dd> <dt> Get or set the <code>minLength</code> option, after init. </dt> <dd> <pre><code>//getter var minLength = $( ".selector" ).autocomplete( "option", "minLength" ); //setter $( ".selector" ).autocomplete( "option", "minLength", 0 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-position"> <div class="option-header"> <h3 class="option-name"><a href="#option-position">position</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">{ my: &quot;left top&quot;, at: &quot;left bottom&quot;, collision: &quot;none&quot; }</dd> </dl> </div> <div class="option-description"> <p>Identifies the position of the Autocomplete widget in relation to the associated input element. The "of" option defaults to the input element, but you can specify another element to position against. You can refer to the <a href="http://docs.jquery.com/UI/Position" class="external text" title="http://docs.jquery.com/UI/Position">jQuery UI Position</a> utility for more details about the various options.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>position</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ position: { my : &quot;right top&quot;, at: &quot;right bottom&quot; } });</code></pre> </dd> <dt> Get or set the <code>position</code> option, after init. </dt> <dd> <pre><code>//getter var position = $( ".selector" ).autocomplete( "option", "position" ); //setter $( ".selector" ).autocomplete( "option", "position", { my : &quot;right top&quot;, at: &quot;right bottom&quot; } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-source"> <div class="option-header"> <h3 class="option-name"><a href="#option-source">source</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Array, Callback</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">none, must be specified</dd> </dl> </div> <div class="option-description"> <p>Defines the data to use, must be specified. See Overview section for more details, and look at the various demos.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a autocomplete with the <code>source</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).autocomplete({ source: [&quot;c++&quot;, &quot;java&quot;, &quot;php&quot;, &quot;coldfusion&quot;, &quot;javascript&quot;, &quot;asp&quot;, &quot;ruby&quot;] });</code></pre> </dd> <dt> Get or set the <code>source</code> option, after init. </dt> <dd> <pre><code>//getter var source = $( ".selector" ).autocomplete( "option", "source" ); //setter $( ".selector" ).autocomplete( "option", "source", [&quot;c++&quot;, &quot;java&quot;, &quot;php&quot;, &quot;coldfusion&quot;, &quot;javascript&quot;, &quot;asp&quot;, &quot;ruby&quot;] );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompletecreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when autocomplete is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>autocompletecreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompletecreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-search"> <div class="event-header"> <h3 class="event-name"><a href="#event-search">search</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompletesearch</dd> </dl> </div> <div class="event-description"> <p>Before a request (source-option) is started, after minLength and delay are met. Can be canceled (return false), then no request will be started and no items suggested.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>search</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ search: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>search</code> event by type: <code>autocompletesearch</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompletesearch&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-open"> <div class="event-header"> <h3 class="event-name"><a href="#event-open">open</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompleteopen</dd> </dl> </div> <div class="event-description"> <p>Triggered when the suggestion menu is opened.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>open</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ open: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>open</code> event by type: <code>autocompleteopen</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompleteopen&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-focus"> <div class="event-header"> <h3 class="event-name"><a href="#event-focus">focus</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompletefocus</dd> </dl> </div> <div class="event-description"> <p>Before focus is moved to an item (not selecting), ui.item refers to the focused item. The default action of focus is to replace the text field's value with the value of the focused item, though only if the focus event was triggered by a keyboard interaction. Canceling this event prevents the value from being updated, but does not prevent the menu item from being focused.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>focus</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ focus: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>focus</code> event by type: <code>autocompletefocus</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompletefocus&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-select"> <div class="event-header"> <h3 class="event-name"><a href="#event-select">select</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompleteselect</dd> </dl> </div> <div class="event-description"> <p>Triggered when an item is selected from the menu; ui.item refers to the selected item. The default action of select is to replace the text field's value with the value of the selected item. Canceling this event prevents the value from being updated, but does not prevent the menu from closing.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>select</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ select: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>select</code> event by type: <code>autocompleteselect</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompleteselect&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-close"> <div class="event-header"> <h3 class="event-name"><a href="#event-close">close</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompleteclose</dd> </dl> </div> <div class="event-description"> <p>When the list is hidden - doesn't have to occur together with a change.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>close</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ close: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>close</code> event by type: <code>autocompleteclose</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompleteclose&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-change"> <div class="event-header"> <h3 class="event-name"><a href="#event-change">change</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">autocompletechange</dd> </dl> </div> <div class="event-description"> <p>Triggered when the field is blurred, if the value has changed; ui.item refers to the selected item.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>change</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).autocomplete({ change: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>change</code> event by type: <code>autocompletechange</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;autocompletechange&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the autocomplete functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the autocomplete.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the autocomplete.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any autocomplete option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple autocomplete options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-autocomplete element.</p> </div> </li> <li class="method" id="method-search"> <div class="method-header"> <h3 class="method-name"><a href="#method-search">search</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "search" , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Triggers a search event, which, when data is available, then will display the suggestions; can be used by a selectbox-like button to open the suggestions when clicked. If no value argument is specified, the current input's value is used. Can be called with an empty string and minLength: 0 to display all items.</p> </div> </li> <li class="method" id="method-close"> <div class="method-header"> <h3 class="method-name"><a href="#method-close">close</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.autocomplete( "close" )</dd> </dl> </div> <div class="method-description"> <p>Close the Autocomplete menu. Useful in combination with the search method, to close the open menu.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Autocomplete plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.autocomplete.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;input class=&quot;<strong>ui-autocomplete-input</strong>&quot;/&gt;<br /> &lt;ul class=&quot;<strong>ui-autocomplete</strong> <strong>ui-menu</strong> ui-widget ui-widget-content ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&lt;li class=&quot;<strong>ui-menu-item</strong>&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;ui-corner-all&quot;&gt;item 1&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;li class=&quot;<strong>ui-menu-item</strong>&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;ui-corner-all&quot;&gt;item 2&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/li&gt;<br /> &nbsp;&nbsp;&lt;li class=&quot;<strong>ui-menu-item</strong>&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;ui-corner-all&quot;&gt;item 3&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/li&gt;<br /> &lt;/ul&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the autocomplete plugin, not markup you should use to create a autocomplete. The only markup needed for that is &lt;input/&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 35982 bytes Post-expand include size: 61699 bytes Template argument size: 34147 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3766-1!1!0!!en!2 and timestamp 20120416184232 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/autocomplete.html
HTML
gpl2
27,834
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Draggable</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Draggable plugin makes selected elements draggable by mouse.</p> <p>Draggable elements gets a class of <code>ui-draggable</code>. During drag the element also gets a class of <code>ui-draggable-dragging</code>. If you want not just drag, but drag-and-drop, see the jQuery UI Droppable plugin, which provides a drop target for draggables.</p> <p>All callbacks (start, stop, drag) receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):</p> <ul> <li><b>ui.helper</b> - the jQuery object representing the helper that's being dragged</li> <li><b>ui.position</b> - current position of the helper as { top, left } object, relative to the offset element</li> <li><b>ui.offset</b> - current absolute position of the helper as { top, left } object, relative to page</li> </ul> <p><br /> </p> <p>To manipulate the position of a draggable during drag, you can either <a href="http://jsbin.com/etako/edit" class="external text" title="http://jsbin.com/etako/edit">use a wrapper as the draggable helper</a> and position the wrapped element with absolute positioning, or you can correct internal values like so: <code>$(this).data('draggable').offset.click.top -= x</code>.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Initialize a draggable with default options.<br /> </p> <pre>$(&quot;#draggable&quot;).draggable(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #draggable { width: 100px; height: 70px; background: silver; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#draggable&quot;).draggable(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;draggable&quot;&gt;Drag me&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the draggable. Can be set when initialising (first creating) the draggable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).draggable( "option", "disabled" ); //setter $( ".selector" ).draggable( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-addClasses"> <div class="option-header"> <h3 class="option-name"><a href="#option-addClasses">addClasses</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to false, will prevent the <code>ui-draggable</code> class from being added. This may be desired as a performance optimization when calling <code>.draggable()</code> init on many hundreds of elements.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>addClasses</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ addClasses: false });</code></pre> </dd> <dt> Get or set the <code>addClasses</code> option, after init. </dt> <dd> <pre><code>//getter var addClasses = $( ".selector" ).draggable( "option", "addClasses" ); //setter $( ".selector" ).draggable( "option", "addClasses", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-appendTo"> <div class="option-header"> <h3 class="option-name"><a href="#option-appendTo">appendTo</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Element, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"parent"</dd> </dl> </div> <div class="option-description"> <p>The element passed to or selected by the <code>appendTo</code> option will be used as the draggable helper's container during dragging. By default, the helper is appended to the same container as the draggable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>appendTo</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ appendTo: "body" });</code></pre> </dd> <dt> Get or set the <code>appendTo</code> option, after init. </dt> <dd> <pre><code>//getter var appendTo = $( ".selector" ).draggable( "option", "appendTo" ); //setter $( ".selector" ).draggable( "option", "appendTo", "body" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-axis"> <div class="option-header"> <h3 class="option-name"><a href="#option-axis">axis</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Constrains dragging to either the horizontal (x) or vertical (y) axis. Possible values: 'x', 'y'.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>axis</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ axis: "x" });</code></pre> </dd> <dt> Get or set the <code>axis</code> option, after init. </dt> <dd> <pre><code>//getter var axis = $( ".selector" ).draggable( "option", "axis" ); //setter $( ".selector" ).draggable( "option", "axis", "x" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cancel"> <div class="option-header"> <h3 class="option-name"><a href="#option-cancel">cancel</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">":input,option"</dd> </dl> </div> <div class="option-description"> <p>Prevents dragging from starting on specified elements.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>cancel</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ cancel: "button" });</code></pre> </dd> <dt> Get or set the <code>cancel</code> option, after init. </dt> <dd> <pre><code>//getter var cancel = $( ".selector" ).draggable( "option", "cancel" ); //setter $( ".selector" ).draggable( "option", "cancel", "button" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-connectToSortable"> <div class="option-header"> <h3 class="option-name"><a href="#option-connectToSortable">connectToSortable</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Allows the draggable to be dropped onto the specified sortables. If this option is used (<code>helper</code> must be set to 'clone' in order to work flawlessly), a draggable can be dropped onto a sortable list and then becomes part of it. </p><p>Note: Specifying this option as an array of selectors has been removed.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>connectToSortable</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ connectToSortable: "ul#myList" });</code></pre> </dd> <dt> Get or set the <code>connectToSortable</code> option, after init. </dt> <dd> <pre><code>//getter var connectToSortable = $( ".selector" ).draggable( "option", "connectToSortable" ); //setter $( ".selector" ).draggable( "option", "connectToSortable", "ul#myList" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-containment"> <div class="option-header"> <h3 class="option-name"><a href="#option-containment">containment</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, Element, String, Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Constrains dragging to within the bounds of the specified element or region. Possible string values: 'parent', 'document', 'window', [x1, y1, x2, y2].</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>containment</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ containment: "parent" });</code></pre> </dd> <dt> Get or set the <code>containment</code> option, after init. </dt> <dd> <pre><code>//getter var containment = $( ".selector" ).draggable( "option", "containment" ); //setter $( ".selector" ).draggable( "option", "containment", "parent" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cursor"> <div class="option-header"> <h3 class="option-name"><a href="#option-cursor">cursor</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"auto"</dd> </dl> </div> <div class="option-description"> <p>The css cursor during the drag operation.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>cursor</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ cursor: "crosshair" });</code></pre> </dd> <dt> Get or set the <code>cursor</code> option, after init. </dt> <dd> <pre><code>//getter var cursor = $( ".selector" ).draggable( "option", "cursor" ); //setter $( ".selector" ).draggable( "option", "cursor", "crosshair" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cursorAt"> <div class="option-header"> <h3 class="option-name"><a href="#option-cursorAt">cursorAt</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Sets the offset of the dragging helper relative to the mouse cursor. Coordinates can be given as a hash using a combination of one or two keys: <code>{ top, left, right, bottom }</code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>cursorAt</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ cursorAt: { left: 5 } });</code></pre> </dd> <dt> Get or set the <code>cursorAt</code> option, after init. </dt> <dd> <pre><code>//getter var cursorAt = $( ".selector" ).draggable( "option", "cursorAt" ); //setter $( ".selector" ).draggable( "option", "cursorAt", { left: 5 } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-delay"> <div class="option-header"> <h3 class="option-name"><a href="#option-delay">delay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Time in milliseconds after mousedown until dragging should start. This option can be used to prevent unwanted drags when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>delay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ delay: 500 });</code></pre> </dd> <dt> Get or set the <code>delay</code> option, after init. </dt> <dd> <pre><code>//getter var delay = $( ".selector" ).draggable( "option", "delay" ); //setter $( ".selector" ).draggable( "option", "delay", 500 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-distance"> <div class="option-header"> <h3 class="option-name"><a href="#option-distance">distance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Distance in pixels after mousedown the mouse must move before dragging should start. This option can be used to prevent unwanted drags when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>distance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ distance: 30 });</code></pre> </dd> <dt> Get or set the <code>distance</code> option, after init. </dt> <dd> <pre><code>//getter var distance = $( ".selector" ).draggable( "option", "distance" ); //setter $( ".selector" ).draggable( "option", "distance", 30 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-grid"> <div class="option-header"> <h3 class="option-name"><a href="#option-grid">grid</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Snaps the dragging helper to a grid, every x and y pixels. Array values: [x, y]</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>grid</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ grid: [50, 20] });</code></pre> </dd> <dt> Get or set the <code>grid</code> option, after init. </dt> <dd> <pre><code>//getter var grid = $( ".selector" ).draggable( "option", "grid" ); //setter $( ".selector" ).draggable( "option", "grid", [50, 20] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-handle"> <div class="option-header"> <h3 class="option-name"><a href="#option-handle">handle</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Element, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If specified, restricts drag start click to the specified element(s).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>handle</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ handle: "h2" });</code></pre> </dd> <dt> Get or set the <code>handle</code> option, after init. </dt> <dd> <pre><code>//getter var handle = $( ".selector" ).draggable( "option", "handle" ); //setter $( ".selector" ).draggable( "option", "handle", "h2" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-helper"> <div class="option-header"> <h3 class="option-name"><a href="#option-helper">helper</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"original"</dd> </dl> </div> <div class="option-description"> <p>Allows for a helper element to be used for dragging display. Possible values: 'original', 'clone', Function. If a function is specified, it must return a DOMElement.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>helper</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ helper: "clone" });</code></pre> </dd> <dt> Get or set the <code>helper</code> option, after init. </dt> <dd> <pre><code>//getter var helper = $( ".selector" ).draggable( "option", "helper" ); //setter $( ".selector" ).draggable( "option", "helper", "clone" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-iframeFix"> <div class="option-header"> <h3 class="option-name"><a href="#option-iframeFix">iframeFix</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Prevent iframes from capturing the mousemove events during a drag. Useful in combination with cursorAt, or in any case, if the mouse cursor is not over the helper. If set to true, transparent overlays will be placed over all iframes on the page. If a selector is supplied, the matched iframes will have an overlay placed over them.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>iframeFix</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ iframeFix: true });</code></pre> </dd> <dt> Get or set the <code>iframeFix</code> option, after init. </dt> <dd> <pre><code>//getter var iframeFix = $( ".selector" ).draggable( "option", "iframeFix" ); //setter $( ".selector" ).draggable( "option", "iframeFix", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-opacity"> <div class="option-header"> <h3 class="option-name"><a href="#option-opacity">opacity</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Float</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Opacity for the helper while being dragged.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>opacity</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ opacity: 0.35 });</code></pre> </dd> <dt> Get or set the <code>opacity</code> option, after init. </dt> <dd> <pre><code>//getter var opacity = $( ".selector" ).draggable( "option", "opacity" ); //setter $( ".selector" ).draggable( "option", "opacity", 0.35 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-refreshPositions"> <div class="option-header"> <h3 class="option-name"><a href="#option-refreshPositions">refreshPositions</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, all droppable positions are calculated on every mousemove. Caution: This solves issues on highly dynamic pages, but dramatically decreases performance.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>refreshPositions</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ refreshPositions: true });</code></pre> </dd> <dt> Get or set the <code>refreshPositions</code> option, after init. </dt> <dd> <pre><code>//getter var refreshPositions = $( ".selector" ).draggable( "option", "refreshPositions" ); //setter $( ".selector" ).draggable( "option", "refreshPositions", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-revert"> <div class="option-header"> <h3 class="option-name"><a href="#option-revert">revert</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, the element will return to its start position when dragging stops. Possible string values: 'valid', 'invalid'. If set to invalid, revert will only occur if the draggable has not been dropped on a droppable. For valid, it's the other way around.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>revert</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ revert: true });</code></pre> </dd> <dt> Get or set the <code>revert</code> option, after init. </dt> <dd> <pre><code>//getter var revert = $( ".selector" ).draggable( "option", "revert" ); //setter $( ".selector" ).draggable( "option", "revert", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-revertDuration"> <div class="option-header"> <h3 class="option-name"><a href="#option-revertDuration">revertDuration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">500</dd> </dl> </div> <div class="option-description"> <p>The duration of the revert animation, in milliseconds. Ignored if revert is false.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>revertDuration</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ revertDuration: 1000 });</code></pre> </dd> <dt> Get or set the <code>revertDuration</code> option, after init. </dt> <dd> <pre><code>//getter var revertDuration = $( ".selector" ).draggable( "option", "revertDuration" ); //setter $( ".selector" ).draggable( "option", "revertDuration", 1000 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scope"> <div class="option-header"> <h3 class="option-name"><a href="#option-scope">scope</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"default"</dd> </dl> </div> <div class="option-description"> <p>Used to group sets of draggable and droppable items, in addition to droppable's accept option. A draggable with the same scope value as a droppable will be accepted by the droppable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>scope</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ scope: "tasks" });</code></pre> </dd> <dt> Get or set the <code>scope</code> option, after init. </dt> <dd> <pre><code>//getter var scope = $( ".selector" ).draggable( "option", "scope" ); //setter $( ".selector" ).draggable( "option", "scope", "tasks" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scroll"> <div class="option-header"> <h3 class="option-name"><a href="#option-scroll">scroll</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to true, container auto-scrolls while dragging.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>scroll</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ scroll: false });</code></pre> </dd> <dt> Get or set the <code>scroll</code> option, after init. </dt> <dd> <pre><code>//getter var scroll = $( ".selector" ).draggable( "option", "scroll" ); //setter $( ".selector" ).draggable( "option", "scroll", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scrollSensitivity"> <div class="option-header"> <h3 class="option-name"><a href="#option-scrollSensitivity">scrollSensitivity</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">20</dd> </dl> </div> <div class="option-description"> <p>Distance in pixels from the edge of the viewport after which the viewport should scroll. Distance is relative to pointer, not the draggable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>scrollSensitivity</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ scrollSensitivity: 40 });</code></pre> </dd> <dt> Get or set the <code>scrollSensitivity</code> option, after init. </dt> <dd> <pre><code>//getter var scrollSensitivity = $( ".selector" ).draggable( "option", "scrollSensitivity" ); //setter $( ".selector" ).draggable( "option", "scrollSensitivity", 40 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scrollSpeed"> <div class="option-header"> <h3 class="option-name"><a href="#option-scrollSpeed">scrollSpeed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">20</dd> </dl> </div> <div class="option-description"> <p>The speed at which the window should scroll once the mouse pointer gets within the <code>scrollSensitivity</code> distance.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>scrollSpeed</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ scrollSpeed: 40 });</code></pre> </dd> <dt> Get or set the <code>scrollSpeed</code> option, after init. </dt> <dd> <pre><code>//getter var scrollSpeed = $( ".selector" ).draggable( "option", "scrollSpeed" ); //setter $( ".selector" ).draggable( "option", "scrollSpeed", 40 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-snap"> <div class="option-header"> <h3 class="option-name"><a href="#option-snap">snap</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to a selector or to true (equivalent to '.ui-draggable'), the draggable will snap to the edges of the selected elements when near an edge of the element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>snap</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ snap: true });</code></pre> </dd> <dt> Get or set the <code>snap</code> option, after init. </dt> <dd> <pre><code>//getter var snap = $( ".selector" ).draggable( "option", "snap" ); //setter $( ".selector" ).draggable( "option", "snap", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-snapMode"> <div class="option-header"> <h3 class="option-name"><a href="#option-snapMode">snapMode</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"both"</dd> </dl> </div> <div class="option-description"> <p>Determines which edges of snap elements the draggable will snap to. Ignored if snap is false. Possible values: 'inner', 'outer', 'both'</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>snapMode</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ snapMode: "outer" });</code></pre> </dd> <dt> Get or set the <code>snapMode</code> option, after init. </dt> <dd> <pre><code>//getter var snapMode = $( ".selector" ).draggable( "option", "snapMode" ); //setter $( ".selector" ).draggable( "option", "snapMode", "outer" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-snapTolerance"> <div class="option-header"> <h3 class="option-name"><a href="#option-snapTolerance">snapTolerance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">20</dd> </dl> </div> <div class="option-description"> <p>The distance in pixels from the snap element edges at which snapping should occur. Ignored if snap is false.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>snapTolerance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ snapTolerance: 40 });</code></pre> </dd> <dt> Get or set the <code>snapTolerance</code> option, after init. </dt> <dd> <pre><code>//getter var snapTolerance = $( ".selector" ).draggable( "option", "snapTolerance" ); //setter $( ".selector" ).draggable( "option", "snapTolerance", 40 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-stack"> <div class="option-header"> <h3 class="option-name"><a href="#option-stack">stack</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Controls the z-Index of the set of elements that match the selector, always brings to front the dragged item. Very useful in things like window managers.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>stack</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ stack: &quot;.products&quot; });</code></pre> </dd> <dt> Get or set the <code>stack</code> option, after init. </dt> <dd> <pre><code>//getter var stack = $( ".selector" ).draggable( "option", "stack" ); //setter $( ".selector" ).draggable( "option", "stack", &quot;.products&quot; );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-zIndex"> <div class="option-header"> <h3 class="option-name"><a href="#option-zIndex">zIndex</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>z-index for the helper while being dragged.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a draggable with the <code>zIndex</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).draggable({ zIndex: 2700 });</code></pre> </dd> <dt> Get or set the <code>zIndex</code> option, after init. </dt> <dd> <pre><code>//getter var zIndex = $( ".selector" ).draggable( "option", "zIndex" ); //setter $( ".selector" ).draggable( "option", "zIndex", 2700 );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dragcreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when draggable is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).draggable({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>dragcreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dragcreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-start"> <div class="event-header"> <h3 class="event-name"><a href="#event-start">start</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dragstart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when dragging starts.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>start</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).draggable({ start: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>start</code> event by type: <code>dragstart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dragstart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-drag"> <div class="event-header"> <h3 class="event-name"><a href="#event-drag">drag</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">drag</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the mouse is moved during the dragging.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>drag</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).draggable({ drag: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>drag</code> event by type: <code>drag</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;drag&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-stop"> <div class="event-header"> <h3 class="event-name"><a href="#event-stop">stop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dragstop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when dragging stops.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>stop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).draggable({ stop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>stop</code> event by type: <code>dragstop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dragstop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the draggable functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the draggable.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the draggable.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any draggable option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple draggable options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.draggable( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-draggable element.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Draggable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.draggable.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-draggable</strong>&quot;&gt;&lt;/div&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the draggable plugin, not markup you should use to create a draggable. The only markup needed for that is &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 61392 bytes Post-expand include size: 107565 bytes Template argument size: 58710 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3768-1!1!0!!en!2 and timestamp 20120416175342 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/draggable.html
HTML
gpl2
42,728
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Position Utility</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>Utility script for positioning any widget relative to the window, document, a particular element, or the cursor/mouse.</p> <p><em>Note: jQuery UI does not support positioning hidden elements.</em></p> <p>Does not need ui.core.js or effects.core.js.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li><i>none (only jQuery core)</i></li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="300"> Clicking on the green element transfers to the other.<br /> </p> <pre> $(&quot;#position1&quot;).position({ my: &quot;center&quot;, at: &quot;center&quot;, of: &quot;#targetElement&quot; }); $(&quot;#position2&quot;).position({ my: &quot;left top&quot;, at: &quot;left top&quot;, of: &quot;#targetElement&quot; }); $(&quot;#position3&quot;).position({ my: &quot;right center&quot;, at: &quot;right bottom&quot;, of: &quot;#targetElement&quot; }); $(document).mousemove(function(ev){ $(&quot;#position4&quot;).position({ my: &quot;left bottom&quot;, of: ev, offset: &quot;3 -3&quot;, collision: &quot;fit&quot; }); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #targetElement { width:240px;height:200px;background-color:#999;margin:30px auto; } .positionDiv { width:50px;height:50px;opacity:0.6; } #position1 {background-color:#F00;} #position2 {background-color:#0F0;} #position3 {background-color:#00F;} #position4 {background-color:#FF0;} &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#position1&quot;).position({ my: &quot;center&quot;, at: &quot;center&quot;, of: &quot;#targetElement&quot; }); $(&quot;#position2&quot;).position({ my: &quot;left top&quot;, at: &quot;left top&quot;, of: &quot;#targetElement&quot; }); $(&quot;#position3&quot;).position({ my: &quot;right center&quot;, at: &quot;right bottom&quot;, of: &quot;#targetElement&quot; }); $(document).mousemove(function(ev){ $(&quot;#position4&quot;).position({ my: &quot;left bottom&quot;, of: ev, offset: &quot;3 -3&quot;, collision: &quot;fit&quot; }); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;targetElement&quot;&gt; &lt;div class=&quot;positionDiv&quot; id=&quot;position1&quot;&gt;&lt;/div&gt; &lt;div class=&quot;positionDiv&quot; id=&quot;position2&quot;&gt;&lt;/div&gt; &lt;div class=&quot;positionDiv&quot; id=&quot;position3&quot;&gt;&lt;/div&gt; &lt;div class=&quot;positionDiv&quot; id=&quot;position4&quot;&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-my"> <div class="option-header"> <h3 class="option-name"><a href="#option-my">my</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"center"</dd> </dl> </div> <div class="option-description"> <p>Defines which position on <b>the element being positioned</b> to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"</p> </div> </li> <li class="option" id="option-at"> <div class="option-header"> <h3 class="option-name"><a href="#option-at">at</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"center"</dd> </dl> </div> <div class="option-description"> <p>Defines which position on <b>the target element</b> to align the positioned element against: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"</p> </div> </li> <li class="option" id="option-of"> <div class="option-header"> <h3 class="option-name"><a href="#option-of">of</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, Element, jQuery, Event</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Element to position against. If you provide a selector, the first matching element will be used. If you provide a jQuery object, the first element will be used. If you provide an event object, the pageX and pageY properties will be used. Example: "#top-menu"</p> </div> </li> <li class="option" id="option-offset"> <div class="option-header"> <h3 class="option-name"><a href="#option-offset">offset</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Add these left-top values to the calculated position, eg. "50 50" (left top) A single value such as "50" will apply to both.</p> </div> </li> <li class="option" id="option-collision"> <div class="option-header"> <h3 class="option-name"><a href="#option-collision">collision</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"flip"</dd> </dl> </div> <div class="option-description"> <p>When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". </p> <ul><li> <b>flip</b>: to the opposite side and the collision detection is run again to see if it will fit. Whichever side allows more of the element to be visible will be used. </li><li> <b>fit</b>: so the element keeps in the desired direction, but is re-positioned so it fits. </li><li> <b>none</b>: not do collision detection. </li></ul> <p></p> </div> </li> <li class="option" id="option-using"> <div class="option-header"> <h3 class="option-name"><a href="#option-using">using</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>When specified the actual property setting is delegated to this callback. Receives a single parameter which is a hash of top and left values for the position that should be set.</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 7611 bytes Post-expand include size: 12349 bytes Template argument size: 8111 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3784-1!1!0!!en!2 and timestamp 20120416184233 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/position.html
HTML
gpl2
8,476
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Resizable</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Resizable plugin makes selected elements resizable (meaning they have draggable resize handles). You can specify one or more handles as well as min and max width and height.</p> <p>All callbacks (start,stop,resize) receive two arguments: The original browser event and a prepared ui object. The ui object has the following fields:</p> <ul> <li><b>ui.helper</b> - a jQuery object containing the helper element</li> <li><b>ui.originalPosition</b> - {top, left} before resizing started</li> <li><b>ui.originalSize</b> - {width, height} before resizing started</li> <li><b>ui.position</b> - {top, left} current position</li> <li><b>ui.size</b> - {width, height} current size</li> </ul> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="250"> A simple jQuery UI Resizable.<br /> </p> <pre>$(&quot;#resizable&quot;).resizable(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #resizable { width: 100px; height: 100px; background: silver; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#resizable&quot;).resizable(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;resizable&quot;&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the resizable. Can be set when initialising (first creating) the resizable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).resizable( "option", "disabled" ); //setter $( ".selector" ).resizable( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-alsoResize"> <div class="option-header"> <h3 class="option-name"><a href="#option-alsoResize">alsoResize</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, jQuery, Element</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Resize these elements synchronous when resizing.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>alsoResize</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ alsoResize: ".other" });</code></pre> </dd> <dt> Get or set the <code>alsoResize</code> option, after init. </dt> <dd> <pre><code>//getter var alsoResize = $( ".selector" ).resizable( "option", "alsoResize" ); //setter $( ".selector" ).resizable( "option", "alsoResize", ".other" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-animate"> <div class="option-header"> <h3 class="option-name"><a href="#option-animate">animate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Animates to the final size after resizing.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>animate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ animate: true });</code></pre> </dd> <dt> Get or set the <code>animate</code> option, after init. </dt> <dd> <pre><code>//getter var animate = $( ".selector" ).resizable( "option", "animate" ); //setter $( ".selector" ).resizable( "option", "animate", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-animateDuration"> <div class="option-header"> <h3 class="option-name"><a href="#option-animateDuration">animateDuration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"slow"</dd> </dl> </div> <div class="option-description"> <p>Duration time for animating, in milliseconds. Other possible values: 'slow', 'normal', 'fast'.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>animateDuration</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ animateDuration: 500 });</code></pre> </dd> <dt> Get or set the <code>animateDuration</code> option, after init. </dt> <dd> <pre><code>//getter var animateDuration = $( ".selector" ).resizable( "option", "animateDuration" ); //setter $( ".selector" ).resizable( "option", "animateDuration", 500 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-animateEasing"> <div class="option-header"> <h3 class="option-name"><a href="#option-animateEasing">animateEasing</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"swing"</dd> </dl> </div> <div class="option-description"> <p>Easing effect for animating.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>animateEasing</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ animateEasing: "swing" });</code></pre> </dd> <dt> Get or set the <code>animateEasing</code> option, after init. </dt> <dd> <pre><code>//getter var animateEasing = $( ".selector" ).resizable( "option", "animateEasing" ); //setter $( ".selector" ).resizable( "option", "animateEasing", "swing" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-aspectRatio"> <div class="option-header"> <h3 class="option-name"><a href="#option-aspectRatio">aspectRatio</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, Float</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, resizing is constrained by the original aspect ratio. Otherwise a custom aspect ratio can be specified, such as 9 / 16, or 0.5.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>aspectRatio</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ aspectRatio: .75 });</code></pre> </dd> <dt> Get or set the <code>aspectRatio</code> option, after init. </dt> <dd> <pre><code>//getter var aspectRatio = $( ".selector" ).resizable( "option", "aspectRatio" ); //setter $( ".selector" ).resizable( "option", "aspectRatio", .75 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoHide"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoHide">autoHide</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, automatically hides the handles except when the mouse hovers over the element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>autoHide</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ autoHide: true });</code></pre> </dd> <dt> Get or set the <code>autoHide</code> option, after init. </dt> <dd> <pre><code>//getter var autoHide = $( ".selector" ).resizable( "option", "autoHide" ); //setter $( ".selector" ).resizable( "option", "autoHide", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cancel"> <div class="option-header"> <h3 class="option-name"><a href="#option-cancel">cancel</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">":input,option"</dd> </dl> </div> <div class="option-description"> <p>Prevents resizing if you start on elements matching the selector.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>cancel</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ cancel: ":input,option" });</code></pre> </dd> <dt> Get or set the <code>cancel</code> option, after init. </dt> <dd> <pre><code>//getter var cancel = $( ".selector" ).resizable( "option", "cancel" ); //setter $( ".selector" ).resizable( "option", "cancel", ":input,option" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-containment"> <div class="option-header"> <h3 class="option-name"><a href="#option-containment">containment</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Element, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Constrains resizing to within the bounds of the specified element. Possible values: 'parent', 'document', a DOMElement, or a Selector.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>containment</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ containment: "parent" });</code></pre> </dd> <dt> Get or set the <code>containment</code> option, after init. </dt> <dd> <pre><code>//getter var containment = $( ".selector" ).resizable( "option", "containment" ); //setter $( ".selector" ).resizable( "option", "containment", "parent" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-delay"> <div class="option-header"> <h3 class="option-name"><a href="#option-delay">delay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Tolerance, in milliseconds, for when resizing should start. If specified, resizing will not start until after mouse is moved beyond duration. This can help prevent unintended resizing when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>delay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ delay: 20 });</code></pre> </dd> <dt> Get or set the <code>delay</code> option, after init. </dt> <dd> <pre><code>//getter var delay = $( ".selector" ).resizable( "option", "delay" ); //setter $( ".selector" ).resizable( "option", "delay", 20 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-distance"> <div class="option-header"> <h3 class="option-name"><a href="#option-distance">distance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Tolerance, in pixels, for when resizing should start. If specified, resizing will not start until after mouse is moved beyond distance. This can help prevent unintended resizing when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>distance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ distance: 20 });</code></pre> </dd> <dt> Get or set the <code>distance</code> option, after init. </dt> <dd> <pre><code>//getter var distance = $( ".selector" ).resizable( "option", "distance" ); //setter $( ".selector" ).resizable( "option", "distance", 20 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-ghost"> <div class="option-header"> <h3 class="option-name"><a href="#option-ghost">ghost</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, a semi-transparent helper element is shown for resizing.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>ghost</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ ghost: true });</code></pre> </dd> <dt> Get or set the <code>ghost</code> option, after init. </dt> <dd> <pre><code>//getter var ghost = $( ".selector" ).resizable( "option", "ghost" ); //setter $( ".selector" ).resizable( "option", "ghost", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-grid"> <div class="option-header"> <h3 class="option-name"><a href="#option-grid">grid</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Snaps the resizing element to a grid, every x and y pixels. Array values: [x, y]</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>grid</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ grid: [50, 50] });</code></pre> </dd> <dt> Get or set the <code>grid</code> option, after init. </dt> <dd> <pre><code>//getter var grid = $( ".selector" ).resizable( "option", "grid" ); //setter $( ".selector" ).resizable( "option", "grid", [50, 50] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-handles"> <div class="option-header"> <h3 class="option-name"><a href="#option-handles">handles</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"e, s, se"</dd> </dl> </div> <div class="option-description"> <p>If specified as a string, should be a comma-split list of any of the following: 'n, e, s, w, ne, se, sw, nw, all'. The necessary handles will be auto-generated by the plugin. </p><p>If specified as an object, the following keys are supported: { n, e, s, w, ne, se, sw, nw }. The value of any specified should be a jQuery selector matching the child element of the resizable to use as that handle. If the handle is not a child of the resizable, you can pass in the DOMElement or a valid jQuery object directly.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>handles</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ handles: "n, e, s, w" });</code></pre> </dd> <dt> Get or set the <code>handles</code> option, after init. </dt> <dd> <pre><code>//getter var handles = $( ".selector" ).resizable( "option", "handles" ); //setter $( ".selector" ).resizable( "option", "handles", "n, e, s, w" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-helper"> <div class="option-header"> <h3 class="option-name"><a href="#option-helper">helper</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>This is the css class that will be added to a proxy element to outline the resize during the drag of the resize handle. Once the resize is complete, the original element is sized.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>helper</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ helper: "ui-state-highlight" });</code></pre> </dd> <dt> Get or set the <code>helper</code> option, after init. </dt> <dd> <pre><code>//getter var helper = $( ".selector" ).resizable( "option", "helper" ); //setter $( ".selector" ).resizable( "option", "helper", "ui-state-highlight" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-maxHeight"> <div class="option-header"> <h3 class="option-name"><a href="#option-maxHeight">maxHeight</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>This is the maximum height the resizable should be allowed to resize to.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>maxHeight</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ maxHeight: 300 });</code></pre> </dd> <dt> Get or set the <code>maxHeight</code> option, after init. </dt> <dd> <pre><code>//getter var maxHeight = $( ".selector" ).resizable( "option", "maxHeight" ); //setter $( ".selector" ).resizable( "option", "maxHeight", 300 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-maxWidth"> <div class="option-header"> <h3 class="option-name"><a href="#option-maxWidth">maxWidth</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>This is the maximum width the resizable should be allowed to resize to.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>maxWidth</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ maxWidth: 250 });</code></pre> </dd> <dt> Get or set the <code>maxWidth</code> option, after init. </dt> <dd> <pre><code>//getter var maxWidth = $( ".selector" ).resizable( "option", "maxWidth" ); //setter $( ".selector" ).resizable( "option", "maxWidth", 250 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minHeight"> <div class="option-header"> <h3 class="option-name"><a href="#option-minHeight">minHeight</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">10</dd> </dl> </div> <div class="option-description"> <p>This is the minimum height the resizable should be allowed to resize to.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>minHeight</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ minHeight: 150 });</code></pre> </dd> <dt> Get or set the <code>minHeight</code> option, after init. </dt> <dd> <pre><code>//getter var minHeight = $( ".selector" ).resizable( "option", "minHeight" ); //setter $( ".selector" ).resizable( "option", "minHeight", 150 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minWidth"> <div class="option-header"> <h3 class="option-name"><a href="#option-minWidth">minWidth</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">10</dd> </dl> </div> <div class="option-description"> <p>This is the minimum width the resizable should be allowed to resize to.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a resizable with the <code>minWidth</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).resizable({ minWidth: 75 });</code></pre> </dd> <dt> Get or set the <code>minWidth</code> option, after init. </dt> <dd> <pre><code>//getter var minWidth = $( ".selector" ).resizable( "option", "minWidth" ); //setter $( ".selector" ).resizable( "option", "minWidth", 75 );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">resizecreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when resizable is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).resizable({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>resizecreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;resizecreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-start"> <div class="event-header"> <h3 class="event-name"><a href="#event-start">start</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">resizestart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the start of a resize operation.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>start</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).resizable({ start: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>start</code> event by type: <code>resizestart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;resizestart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-resize"> <div class="event-header"> <h3 class="event-name"><a href="#event-resize">resize</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">resize</dd> </dl> </div> <div class="event-description"> <p>This event is triggered during the resize, on the drag of the resize handler.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>resize</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).resizable({ resize: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>resize</code> event by type: <code>resize</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;resize&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-stop"> <div class="event-header"> <h3 class="event-name"><a href="#event-stop">stop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">resizestop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered at the end of a resize operation.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>stop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).resizable({ stop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>stop</code> event by type: <code>resizestop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;resizestop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the resizable functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the resizable.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the resizable.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any resizable option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple resizable options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.resizable( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-resizable element.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Resizable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.resizable.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-resizable</strong>&quot;&gt;<br /> &#160;&#160;&#160;&lt;div style=&quot;-moz-user-select: none;&quot; unselectable=&quot;on&quot; class=&quot;<strong>ui-resizable-handle ui-resizable-e</strong>&quot;&gt;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;div style=&quot;-moz-user-select: none;&quot; unselectable=&quot;on&quot; class=&quot;<strong>ui-resizable-handle ui-resizable-s</strong>&quot;&gt;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;div unselectable=&quot;on&quot; style=&quot;z-index: 1001; -moz-user-select: none;&quot; class=&quot;<strong>ui-resizable-handle ui-resizable-se</strong> ui-icon ui-icon-gripsmall-diagonal-se&quot;&gt;&lt;/div&gt;<br /> &lt;/div&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the resizable plugin, not markup you should use to create a resizable. The only markup needed for that is &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 47687 bytes Post-expand include size: 80197 bytes Template argument size: 42354 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3770-1!1!0!!en!2 and timestamp 20120416183330 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/resizable.html
HTML
gpl2
32,192
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI toggleClass</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/toggleClass?section=1" title="Edit section: toggleClass( class, [duration] )">edit</a>]</div><a name="toggleClass.28_class.2C_.5Bduration.5D_.29"></a><h3>toggleClass( class, <span class="optional">[</span>duration<span class="optional">]</span> )</h3> <p>Adds the specified class if it is not present, and removes the specified class if it is present, using an optional transition.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> Adds the 'selected' class if it is not present, and removes the 'selected' class if it is present.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">toggleClass</strong>(&quot;selected&quot;, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; p { cursor: pointer; font-size: 1.2em; } .selected { color:red; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">toggleClass</strong>(&quot;selected&quot;, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me to toggle 'selected' class.&lt;/p&gt; &lt;p class=&quot;selected&quot;&gt;Click me to toggle 'selected' class.&lt;/p&gt; &lt;p&gt;Click me to toggle 'selected' class.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-class"> <div class="option-header"> <h3 class="option-name"><a href="#option-class">class</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>A CSS class to toggle on the elements.</p> </div> </li> <li class="option" id="option-duration"> <div class="option-header"> <h3 class="option-name"><a href="#option-duration">duration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 5251 bytes Post-expand include size: 6929 bytes Template argument size: 4383 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2608-1!1!0!!en!2 and timestamp 20120416171246 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/toggleClass.html
HTML
gpl2
4,140
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Sortable</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Sortable plugin makes selected elements sortable by dragging with the mouse.</p> <p>All callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):</p> <ul> <li><b>ui.helper</b> - the current helper element (most often a clone of the item)</li> <li><b>ui.position</b> - current position of the helper</li> <li><b>ui.offset</b> - current absolute position of the helper</li> <li><b>ui.item</b> - the current dragged element</li> <li><b>ui.placeholder</b> - the placeholder (if you defined one)</li> <li><b>ui.sender</b> - the sortable where the item comes from (only exists if you move from one connected list to another)</li> </ul> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> A simple jQuery UI Sortable.<br /> </p> <pre>$(&quot;#sortable&quot;).sortable(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#sortable&quot;).sortable(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;ul id=&quot;sortable&quot;&gt; &lt;li&gt;Item 1&lt;/li&gt; &lt;li&gt;Item 2&lt;/li&gt; &lt;li&gt;Item 3&lt;/li&gt; &lt;li&gt;Item 4&lt;/li&gt; &lt;li&gt;Item 5&lt;/li&gt; &lt;/ul&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the sortable. Can be set when initialising (first creating) the sortable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).sortable( "option", "disabled" ); //setter $( ".selector" ).sortable( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-appendTo"> <div class="option-header"> <h3 class="option-name"><a href="#option-appendTo">appendTo</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">'parent'</dd> </dl> </div> <div class="option-description"> <p>Defines where the helper that moves with the mouse is being appended to during the drag (for example, to resolve overlap/zIndex issues).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>appendTo</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ appendTo: 'body' });</code></pre> </dd> <dt> Get or set the <code>appendTo</code> option, after init. </dt> <dd> <pre><code>//getter var appendTo = $( ".selector" ).sortable( "option", "appendTo" ); //setter $( ".selector" ).sortable( "option", "appendTo", 'body' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-axis"> <div class="option-header"> <h3 class="option-name"><a href="#option-axis">axis</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If defined, the items can be dragged only horizontally or vertically. Possible values:'x', 'y'.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>axis</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ axis: 'x' });</code></pre> </dd> <dt> Get or set the <code>axis</code> option, after init. </dt> <dd> <pre><code>//getter var axis = $( ".selector" ).sortable( "option", "axis" ); //setter $( ".selector" ).sortable( "option", "axis", 'x' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cancel"> <div class="option-header"> <h3 class="option-name"><a href="#option-cancel">cancel</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">':input,button'</dd> </dl> </div> <div class="option-description"> <p>Prevents sorting if you start on elements matching the selector.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>cancel</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ cancel: 'button' });</code></pre> </dd> <dt> Get or set the <code>cancel</code> option, after init. </dt> <dd> <pre><code>//getter var cancel = $( ".selector" ).sortable( "option", "cancel" ); //setter $( ".selector" ).sortable( "option", "cancel", 'button' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-connectWith"> <div class="option-header"> <h3 class="option-name"><a href="#option-connectWith">connectWith</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Takes a jQuery selector with items that also have sortables applied. If used, the sortable is now connected to the other one-way, so you can drag from this sortable to the other.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>connectWith</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ connectWith: '.otherlist' });</code></pre> </dd> <dt> Get or set the <code>connectWith</code> option, after init. </dt> <dd> <pre><code>//getter var connectWith = $( ".selector" ).sortable( "option", "connectWith" ); //setter $( ".selector" ).sortable( "option", "connectWith", '.otherlist' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-containment"> <div class="option-header"> <h3 class="option-name"><a href="#option-containment">containment</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Element, String, Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Constrains dragging to within the bounds of the specified element - can be a DOM element, 'parent', 'document', 'window', or a jQuery selector. </p><p>Note: the element specified for containment must have a calculated width and height (though it need not be explicit), so for example, if you have float:left sortable children and specify containment:'parent' be sure to have float:left on the sortable/parent container as well or it will have height: 0, causing undefined behavior.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>containment</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ containment: 'parent' });</code></pre> </dd> <dt> Get or set the <code>containment</code> option, after init. </dt> <dd> <pre><code>//getter var containment = $( ".selector" ).sortable( "option", "containment" ); //setter $( ".selector" ).sortable( "option", "containment", 'parent' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cursor"> <div class="option-header"> <h3 class="option-name"><a href="#option-cursor">cursor</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">'auto'</dd> </dl> </div> <div class="option-description"> <p>Defines the cursor that is being shown while sorting.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>cursor</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ cursor: 'crosshair' });</code></pre> </dd> <dt> Get or set the <code>cursor</code> option, after init. </dt> <dd> <pre><code>//getter var cursor = $( ".selector" ).sortable( "option", "cursor" ); //setter $( ".selector" ).sortable( "option", "cursor", 'crosshair' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cursorAt"> <div class="option-header"> <h3 class="option-name"><a href="#option-cursorAt">cursorAt</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Moves the sorting element or helper so the cursor always appears to drag from the same position. Coordinates can be given as a hash using a combination of one or two keys: <code>{ top, left, right, bottom }</code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>cursorAt</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ cursorAt: { left: 5 } });</code></pre> </dd> <dt> Get or set the <code>cursorAt</code> option, after init. </dt> <dd> <pre><code>//getter var cursorAt = $( ".selector" ).sortable( "option", "cursorAt" ); //setter $( ".selector" ).sortable( "option", "cursorAt", { left: 5 } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-delay"> <div class="option-header"> <h3 class="option-name"><a href="#option-delay">delay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Time in milliseconds to define when the sorting should start. It helps preventing unwanted drags when clicking on an element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>delay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ delay: 500 });</code></pre> </dd> <dt> Get or set the <code>delay</code> option, after init. </dt> <dd> <pre><code>//getter var delay = $( ".selector" ).sortable( "option", "delay" ); //setter $( ".selector" ).sortable( "option", "delay", 500 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-distance"> <div class="option-header"> <h3 class="option-name"><a href="#option-distance">distance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Tolerance, in pixels, for when sorting should start. If specified, sorting will not start until after mouse is dragged beyond distance. Can be used to allow for clicks on elements within a handle.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>distance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ distance: 30 });</code></pre> </dd> <dt> Get or set the <code>distance</code> option, after init. </dt> <dd> <pre><code>//getter var distance = $( ".selector" ).sortable( "option", "distance" ); //setter $( ".selector" ).sortable( "option", "distance", 30 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dropOnEmpty"> <div class="option-header"> <h3 class="option-name"><a href="#option-dropOnEmpty">dropOnEmpty</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If false items from this sortable can't be dropped to an empty linked sortable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>dropOnEmpty</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ dropOnEmpty: false });</code></pre> </dd> <dt> Get or set the <code>dropOnEmpty</code> option, after init. </dt> <dd> <pre><code>//getter var dropOnEmpty = $( ".selector" ).sortable( "option", "dropOnEmpty" ); //setter $( ".selector" ).sortable( "option", "dropOnEmpty", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-forceHelperSize"> <div class="option-header"> <h3 class="option-name"><a href="#option-forceHelperSize">forceHelperSize</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If true, forces the helper to have a size.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>forceHelperSize</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ forceHelperSize: true });</code></pre> </dd> <dt> Get or set the <code>forceHelperSize</code> option, after init. </dt> <dd> <pre><code>//getter var forceHelperSize = $( ".selector" ).sortable( "option", "forceHelperSize" ); //setter $( ".selector" ).sortable( "option", "forceHelperSize", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-forcePlaceholderSize"> <div class="option-header"> <h3 class="option-name"><a href="#option-forcePlaceholderSize">forcePlaceholderSize</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If true, forces the placeholder to have a size.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>forcePlaceholderSize</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ forcePlaceholderSize: true });</code></pre> </dd> <dt> Get or set the <code>forcePlaceholderSize</code> option, after init. </dt> <dd> <pre><code>//getter var forcePlaceholderSize = $( ".selector" ).sortable( "option", "forcePlaceholderSize" ); //setter $( ".selector" ).sortable( "option", "forcePlaceholderSize", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-grid"> <div class="option-header"> <h3 class="option-name"><a href="#option-grid">grid</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Snaps the sorting element or helper to a grid, every x and y pixels. Array values: [x, y]</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>grid</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ grid: [50, 20] });</code></pre> </dd> <dt> Get or set the <code>grid</code> option, after init. </dt> <dd> <pre><code>//getter var grid = $( ".selector" ).sortable( "option", "grid" ); //setter $( ".selector" ).sortable( "option", "grid", [50, 20] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-handle"> <div class="option-header"> <h3 class="option-name"><a href="#option-handle">handle</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, Element</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Restricts sort start click to the specified element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>handle</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ handle: 'h2' });</code></pre> </dd> <dt> Get or set the <code>handle</code> option, after init. </dt> <dd> <pre><code>//getter var handle = $( ".selector" ).sortable( "option", "handle" ); //setter $( ".selector" ).sortable( "option", "handle", 'h2' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-helper"> <div class="option-header"> <h3 class="option-name"><a href="#option-helper">helper</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">'original'</dd> </dl> </div> <div class="option-description"> <p>Allows for a helper element to be used for dragging display. The supplied function receives the event and the element being sorted, and should return a DOMElement to be used as a custom proxy helper. Possible values: 'original', 'clone'</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>helper</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ helper: 'clone' });</code></pre> </dd> <dt> Get or set the <code>helper</code> option, after init. </dt> <dd> <pre><code>//getter var helper = $( ".selector" ).sortable( "option", "helper" ); //setter $( ".selector" ).sortable( "option", "helper", 'clone' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-items"> <div class="option-header"> <h3 class="option-name"><a href="#option-items">items</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">'&gt; *'</dd> </dl> </div> <div class="option-description"> <p>Specifies which items inside the element should be sortable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>items</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ items: 'li' });</code></pre> </dd> <dt> Get or set the <code>items</code> option, after init. </dt> <dd> <pre><code>//getter var items = $( ".selector" ).sortable( "option", "items" ); //setter $( ".selector" ).sortable( "option", "items", 'li' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-opacity"> <div class="option-header"> <h3 class="option-name"><a href="#option-opacity">opacity</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Float</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Defines the opacity of the helper while sorting. From 0.01 to 1</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>opacity</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ opacity: 0.6 });</code></pre> </dd> <dt> Get or set the <code>opacity</code> option, after init. </dt> <dd> <pre><code>//getter var opacity = $( ".selector" ).sortable( "option", "opacity" ); //setter $( ".selector" ).sortable( "option", "opacity", 0.6 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-placeholder"> <div class="option-header"> <h3 class="option-name"><a href="#option-placeholder">placeholder</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Class that gets applied to the otherwise white space.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>placeholder</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ placeholder: 'ui-state-highlight' });</code></pre> </dd> <dt> Get or set the <code>placeholder</code> option, after init. </dt> <dd> <pre><code>//getter var placeholder = $( ".selector" ).sortable( "option", "placeholder" ); //setter $( ".selector" ).sortable( "option", "placeholder", 'ui-state-highlight' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-revert"> <div class="option-header"> <h3 class="option-name"><a href="#option-revert">revert</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean/Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set to true, the item will be reverted to its new DOM position with a smooth animation. Optionally, it can also be set to a number that controls the duration of the animation in ms.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>revert</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ revert: true });</code></pre> </dd> <dt> Get or set the <code>revert</code> option, after init. </dt> <dd> <pre><code>//getter var revert = $( ".selector" ).sortable( "option", "revert" ); //setter $( ".selector" ).sortable( "option", "revert", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scroll"> <div class="option-header"> <h3 class="option-name"><a href="#option-scroll">scroll</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to true, the page scrolls when coming to an edge.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>scroll</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ scroll: false });</code></pre> </dd> <dt> Get or set the <code>scroll</code> option, after init. </dt> <dd> <pre><code>//getter var scroll = $( ".selector" ).sortable( "option", "scroll" ); //setter $( ".selector" ).sortable( "option", "scroll", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scrollSensitivity"> <div class="option-header"> <h3 class="option-name"><a href="#option-scrollSensitivity">scrollSensitivity</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">20</dd> </dl> </div> <div class="option-description"> <p>Defines how near the mouse must be to an edge to start scrolling.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>scrollSensitivity</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ scrollSensitivity: 40 });</code></pre> </dd> <dt> Get or set the <code>scrollSensitivity</code> option, after init. </dt> <dd> <pre><code>//getter var scrollSensitivity = $( ".selector" ).sortable( "option", "scrollSensitivity" ); //setter $( ".selector" ).sortable( "option", "scrollSensitivity", 40 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scrollSpeed"> <div class="option-header"> <h3 class="option-name"><a href="#option-scrollSpeed">scrollSpeed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">20</dd> </dl> </div> <div class="option-description"> <p>The speed at which the window should scroll once the mouse pointer gets within the scrollSensitivity distance.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>scrollSpeed</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ scrollSpeed: 40 });</code></pre> </dd> <dt> Get or set the <code>scrollSpeed</code> option, after init. </dt> <dd> <pre><code>//getter var scrollSpeed = $( ".selector" ).sortable( "option", "scrollSpeed" ); //setter $( ".selector" ).sortable( "option", "scrollSpeed", 40 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-tolerance"> <div class="option-header"> <h3 class="option-name"><a href="#option-tolerance">tolerance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">'intersect'</dd> </dl> </div> <div class="option-description"> <p>This is the way the reordering behaves during drag. Possible values: 'intersect', 'pointer'. In some setups, 'pointer' is more natural. </p> <ul> <li><b>intersect</b>: draggable overlaps the droppable at least 50%</li> <li><b>pointer</b>: mouse pointer overlaps the droppable</li> </ul> <p></p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>tolerance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ tolerance: 'pointer' });</code></pre> </dd> <dt> Get or set the <code>tolerance</code> option, after init. </dt> <dd> <pre><code>//getter var tolerance = $( ".selector" ).sortable( "option", "tolerance" ); //setter $( ".selector" ).sortable( "option", "tolerance", 'pointer' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-zIndex"> <div class="option-header"> <h3 class="option-name"><a href="#option-zIndex">zIndex</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Integer</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1000</dd> </dl> </div> <div class="option-description"> <p>Z-index for element/helper while being sorted.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a sortable with the <code>zIndex</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).sortable({ zIndex: 5 });</code></pre> </dd> <dt> Get or set the <code>zIndex</code> option, after init. </dt> <dd> <pre><code>//getter var zIndex = $( ".selector" ).sortable( "option", "zIndex" ); //setter $( ".selector" ).sortable( "option", "zIndex", 5 );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortcreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when sortable is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>sortcreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortcreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-start"> <div class="event-header"> <h3 class="event-name"><a href="#event-start">start</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortstart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when sorting starts.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>start</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ start: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>start</code> event by type: <code>sortstart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortstart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-sort"> <div class="event-header"> <h3 class="event-name"><a href="#event-sort">sort</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sort</dd> </dl> </div> <div class="event-description"> <p>This event is triggered during sorting.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>sort</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ sort: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>sort</code> event by type: <code>sort</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sort&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-change"> <div class="event-header"> <h3 class="event-name"><a href="#event-change">change</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortchange</dd> </dl> </div> <div class="event-description"> <p>This event is triggered during sorting, but only when the DOM position has changed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>change</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ change: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>change</code> event by type: <code>sortchange</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortchange&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-beforeStop"> <div class="event-header"> <h3 class="event-name"><a href="#event-beforeStop">beforeStop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortbeforestop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when sorting stops, but when the placeholder/helper is still available.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>beforeStop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ beforeStop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>beforeStop</code> event by type: <code>sortbeforestop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortbeforestop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-stop"> <div class="event-header"> <h3 class="event-name"><a href="#event-stop">stop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortstop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when sorting has stopped.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>stop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ stop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>stop</code> event by type: <code>sortstop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortstop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-update"> <div class="event-header"> <h3 class="event-name"><a href="#event-update">update</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortupdate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the user stopped sorting and the DOM position has changed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>update</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ update: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>update</code> event by type: <code>sortupdate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortupdate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-receive"> <div class="event-header"> <h3 class="event-name"><a href="#event-receive">receive</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortreceive</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a connected sortable list has received an item from another list.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>receive</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ receive: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>receive</code> event by type: <code>sortreceive</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortreceive&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-remove"> <div class="event-header"> <h3 class="event-name"><a href="#event-remove">remove</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortremove</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a sortable item has been dragged out from the list and into another.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>remove</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ remove: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>remove</code> event by type: <code>sortremove</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortremove&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-over"> <div class="event-header"> <h3 class="event-name"><a href="#event-over">over</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortover</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a sortable item is moved into a connected list.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>over</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ over: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>over</code> event by type: <code>sortover</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortover&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-out"> <div class="event-header"> <h3 class="event-name"><a href="#event-out">out</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortout</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a sortable item is moved away from a connected list.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>out</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ out: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>out</code> event by type: <code>sortout</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortout&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-activate"> <div class="event-header"> <h3 class="event-name"><a href="#event-activate">activate</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortactivate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when using connected lists, every connected list on drag start receives it.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>activate</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ activate: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>activate</code> event by type: <code>sortactivate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortactivate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-deactivate"> <div class="event-header"> <h3 class="event-name"><a href="#event-deactivate">deactivate</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">sortdeactivate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when sorting was stopped, is propagated to all possible connected lists.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>deactivate</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).sortable({ deactivate: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>deactivate</code> event by type: <code>sortdeactivate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;sortdeactivate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the sortable functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the sortable.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the sortable.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any sortable option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple sortable options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-sortable element.</p> </div> </li> <li class="method" id="method-serialize"> <div class="method-header"> <h3 class="method-name"><a href="#method-serialize">serialize</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "serialize" , <span class="optional">[</span>options<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Serializes the sortable's item id's into a form/ajax submittable string. Calling this method produces a hash that can be appended to any url to easily submit a new item order back to the server. </p><p>It works by default by looking at the id of each item in the format 'setname_number', and it spits out a hash like "setname[]=number&amp;setname[]=number". </p><p>You can also give in a option hash as second argument to custom define how the function works. The possible options are: 'key' (replaces part1[] with whatever you want), 'attribute' (test another attribute than 'id') and 'expression' (use your own regexp). </p><p>If serialize returns an empty string, make sure the id attributes include an underscore. They must be in the form: "set_number" For example, a 3 element list with id attributes foo_1, foo_5, foo_2 will serialize to foo[]=1&amp;foo[]=5&amp;foo[]=2. You can use an underscore, equal sign or hyphen to separate the set and number. For example foo=1 or foo-1 or foo_1 all serialize to foo[]=1.</p> </div> </li> <li class="method" id="method-toArray"> <div class="method-header"> <h3 class="method-name"><a href="#method-toArray">toArray</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "toArray" )</dd> </dl> </div> <div class="method-description"> <p>Serializes the sortable's item id's into an array of string. If you have </p> <pre> &lt;ul id=&quot;a_sortable&quot;&gt;&lt;br&gt; &lt;li id=&quot;hello&quot;&gt;Hello&lt;/li&gt;&lt;br&gt; &lt;li id=&quot;goodbye&quot;&gt;Good bye&lt;/li&gt;&lt;br&gt; &lt;/ul&gt; </pre> <p>and do </p> <pre>var result = $('#a_sortable').sortable('toArray');</pre> <p>then </p> <pre>result[0] will contain &quot;hello&quot; and result[1] will contain &quot;goodbye&quot;.</pre></p> </div> </li> <p> <li class="method" id="method-refresh"> <div class="method-header"> <h3 class="method-name"><a href="#method-refresh">refresh</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "refresh" )</dd> </dl> </div> <div class="method-description"> <p>Refresh the sortable items. Custom trigger the reloading of all sortable items, causing new items to be recognized.</p> </div> </li> <li class="method" id="method-refreshPositions"> <div class="method-header"> <h3 class="method-name"><a href="#method-refreshPositions">refreshPositions</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "refreshPositions" )</dd> </dl> </div> <div class="method-description"> <p>Refresh the cached positions of the sortables' items. Calling this method refreshes the cached item positions of all sortables. This is usually done automatically by the script and slows down performance. Use wisely.</p> </div> </li> <li class="method" id="method-cancel"> <div class="method-header"> <h3 class="method-name"><a href="#method-cancel">cancel</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.sortable( "cancel" )</dd> </dl> </div> <div class="method-description"> <p>Cancels a change in the current sortable and reverts it back to how it was before the current sort started. Useful in the stop and receive callback functions. </p><p>If the sortable item is not being moved from one connected sortable to another: </p> <pre>$(this).sortable('cancel');</pre> <p>will cancel the change. </p><p>If the sortable item is being moved from one connected sortable to another: </p> <pre>$(ui.sender).sortable('cancel');</pre> <p>will cancel the change. Useful in the 'receive' callback.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Sortable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.sortable.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;ul class=&quot;<strong>ui-sortable</strong>&quot;&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-sortable-helper</strong>&quot;&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li class=&quot;<strong>ui-sortable-placeholder</strong>&quot;&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &lt;/ul&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the sortable plugin, not markup you should use to create a sortable. The only markup needed for that is <br />&lt;ul&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;li&gt;&lt;/li&gt;<br /> &lt;/ul&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 75037 bytes Post-expand include size: 131765 bytes Template argument size: 74139 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3772-1!1!0!!en!2 and timestamp 20120416183321 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/sortable.html
HTML
gpl2
51,604
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Button</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>Button enhances standard form elements like button, input of type submit or reset or anchors to themable buttons with appropiate mouseover and active styles.</p> <p>In addition to basic push buttons, radio buttons and checkboxes (inputs of type radio and checkbox) can be converted to buttons: Their associated label is styled to appear as the button, while the underlying input is updated on click.</p> <p>In order to group radio buttons, Button also provides an additional widget-method, called Buttonset. Its used by selecting a container element (which contains the radio buttons) and calling buttonset(). Buttonset will also provide visual grouping, and therefore should be used whenever you have a group of buttons. It works by selecting all descendents and applying button() to them. You can enable and disable a buttonset, which will enable and disable all contained buttons. Destroying a buttonset also calls the button's destroy method.</p> <p>When using an input of type button, submit or reset, support is limited to plain text labels with no icons.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="300"> A simple jQuery UI Button.<br /> </p> <pre>$(&quot;button&quot;).button(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;button&quot;).button(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;button&gt;Button label&lt;/button&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <div id="demo" class="tabs-container" rel="300"> A simple jQuery UI Button.<br /> </p> <pre>$(&quot;#radio&quot;).buttonset(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#radio&quot;).buttonset(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;radio&quot;&gt; &lt;input type=&quot;radio&quot; id=&quot;radio1&quot; name=&quot;radio&quot; /&gt;&lt;label for=&quot;radio1&quot;&gt;Choice 1&lt;/label&gt; &lt;input type=&quot;radio&quot; id=&quot;radio2&quot; name=&quot;radio&quot; checked=&quot;checked&quot; /&gt;&lt;label for=&quot;radio2&quot;&gt;Choice 2&lt;/label&gt; &lt;input type=&quot;radio&quot; id=&quot;radio3&quot; name=&quot;radio&quot; /&gt;&lt;label for=&quot;radio3&quot;&gt;Choice 3&lt;/label&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the button. Can be set when initialising (first creating) the button.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a button with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).button({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).button( "option", "disabled" ); //setter $( ".selector" ).button( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-text"> <div class="option-header"> <h3 class="option-name"><a href="#option-text">text</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>Whether to show any text - when set to false (display no text), icons (see icons option) must be enabled, otherwise it'll be ignored.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a button with the <code>text</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).button({ text: false });</code></pre> </dd> <dt> Get or set the <code>text</code> option, after init. </dt> <dd> <pre><code>//getter var text = $( ".selector" ).button( "option", "text" ); //setter $( ".selector" ).button( "option", "text", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-icons"> <div class="option-header"> <h3 class="option-name"><a href="#option-icons">icons</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Options</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">{ primary: null, secondary: null }</dd> </dl> </div> <div class="option-description"> <p>Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}. For using two icons: icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a button with the <code>icons</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).button({ icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'} });</code></pre> </dd> <dt> Get or set the <code>icons</code> option, after init. </dt> <dd> <pre><code>//getter var icons = $( ".selector" ).button( "option", "icons" ); //setter $( ".selector" ).button( "option", "icons", {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'} );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-label"> <div class="option-header"> <h3 class="option-name"><a href="#option-label">label</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">HTML content of the button, or value attribute</dd> </dl> </div> <div class="option-description"> <p>Text to show on the button. When not specified (null), the element's html content is used, or its value attribute when it's an input element of type submit or reset; or the html content of the associated label element if its an input of type radio or checkbox</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a button with the <code>label</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).button({ label: "custom label" });</code></pre> </dd> <dt> Get or set the <code>label</code> option, after init. </dt> <dd> <pre><code>//getter var label = $( ".selector" ).button( "option", "label" ); //setter $( ".selector" ).button( "option", "label", "custom label" );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">buttoncreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when button is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).button({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>buttoncreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;buttoncreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </p> <p>There are no events for this plugin.</p> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the button functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <p> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the button.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the button.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any button option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple button options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-button element.</p> </div> </li> <li class="method" id="method-refresh"> <div class="method-header"> <h3 class="method-name"><a href="#method-refresh">refresh</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.button( "refresh" )</dd> </dl> </div> <div class="method-description"> <p>Refreshes the visual state of the button. Useful for updating button state after the native element's checked or disabled state is changed programatically.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Button plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.button.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;button class=&quot;<strong>ui-button ui-button-text-only</strong> ui-widget ui-state-default ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;span class=&quot;<strong>ui-button-text</strong>&quot;&gt;Button Label&lt;/span&gt;<br />&lt;/button&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the button plugin, not markup you should use to create a button. The only markup needed for that is &lt;button&gt;Button Label&lt;/button&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 24542 bytes Post-expand include size: 31799 bytes Template argument size: 14018 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3767-1!1!0!!en!2 and timestamp 20120416184232 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/button.html
HTML
gpl2
14,929
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Tabs</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>Tabs are generally used to break content into multiple sections that can be swapped to save space, much like an accordion.</p> <p>By default a tab widget will swap between tabbed sections onClick, but the events can be changed to onHover through an option. Tab content can be loaded via Ajax by setting an href on a tab.</p> <p><em>NOTE: Tabs created dynamically using .tabs( "add", ... ) are given an id of ui-tabs-NUM, where NUM is an auto-incrementing id. If you use this naming convention for your own elements, you may encounter problems.</em></p> <table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div> <ul> <li class="toclevel-1"><a href="#Events"><span class="tocnumber">1</span> <span class="toctext">Events</span></a></li> <li class="toclevel-1"><a href="#Ajax_mode"><span class="tocnumber">2</span> <span class="toctext">Ajax mode</span></a> <ul> <li class="toclevel-2"><a href="#Back_button_and_bookmarking"><span class="tocnumber">2.1</span> <span class="toctext">Back button and bookmarking</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#How_to..."><span class="tocnumber">3</span> <span class="toctext">How to...</span></a> <ul> <li class="toclevel-2"><a href="#...retrieve_the_index_of_the_currently_selected_tab"><span class="tocnumber">3.1</span> <span class="toctext">...retrieve the index of the currently selected tab</span></a></li> <li class="toclevel-2"><a href="#...open_links_in_the_current_tab_instead_of_leaving_the_page"><span class="tocnumber">3.2</span> <span class="toctext">...open links in the current tab instead of leaving the page</span></a></li> <li class="toclevel-2"><a href="#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself"><span class="tocnumber">3.3</span> <span class="toctext">...select a tab from a text link instead of clicking a tab itself</span></a></li> <li class="toclevel-2"><a href="#...prevent_switching_to_the_tab_on_click_depending_on_form_validation"><span class="tocnumber">3.4</span> <span class="toctext">...prevent switching to the tab on click depending on form validation</span></a></li> <li class="toclevel-2"><a href="#...immediately_select_a_just_added_tab"><span class="tocnumber">3.5</span> <span class="toctext">...immediately select a just added tab</span></a></li> <li class="toclevel-2"><a href="#...prevent_a_FOUC_.28Flash_of_Unstyled_Content.29_before_tabs_are_initialized"><span class="tocnumber">3.6</span> <span class="toctext">...prevent a FOUC (Flash of Unstyled Content) before tabs are initialized</span></a></li> </ul> </li> <li class="toclevel-1"><a href="#Why_does..."><span class="tocnumber">4</span> <span class="toctext">Why does...</span></a> <ul> <li class="toclevel-2"><a href="#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F"><span class="tocnumber">4.1</span> <span class="toctext">...my slider, Google Map, sIFR etc. not work when placed in a hidden (inactive) tab?</span></a></li> </ul> </li> </ul> </td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=1" title="Template:UIAPIPlugin">edit</a>]</div><a name="Events"></a><h2>Events</h2> <p>A series of events fire when interacting with a tabs interface: </p> <ul><li> tabsselect, tabsload, tabsshow (in that order) </li><li> tabsadd, tabsremove </li><li> tabsenable, tabsdisable </li></ul> <p>Event binding example: </p> <pre>$('#example').bind('tabsselect', function(event, ui) { // Objects available in the function context: ui.tab // anchor element of the selected (clicked) tab ui.panel // element, that contains the selected/clicked tab contents ui.index // zero-based index of the selected (clicked) tab });</pre> <p>Note that if a handler for the tabsselect event returns false, the clicked tab will not become selected (useful for example if switching to the next tab requires a form validation). </p> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=2" title="Template:UIAPIPlugin">edit</a>]</div><a name="Ajax_mode"></a><h2> Ajax mode </h2> <p>Tabs supports loading tab content via Ajax in an unobtrusive manner. </p><p>The HTML you need is slightly different from the one that is used for static tabs: A list of links pointing to existing resources (from where the content gets loaded) and no additional containers at all (unobtrusive!). The containers' markup is going to be created on the fly: </p> <pre> &lt;div id=&quot;example&quot;&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;ahah_1.html&quot;&gt;&lt;span&gt;Content 1&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;ahah_2.html&quot;&gt;&lt;span&gt;Content 2&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;ahah_3.html&quot;&gt;&lt;span&gt;Content 3&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <p>Obviously this degrades gracefully - the links, e.g. the content, will still be accessible with JavaScript disabled. </p><p>Note that if you wish to reuse an existing container, you could do so by matching a title attribute and the container's id: </p> <pre> &lt;li&gt;&lt;a href=&quot;hello/world.html&quot; title=&quot;Todo Overview&quot;&gt; ... &lt;/a&gt;&lt;/li&gt; </pre> <p>and a container like: </p> <pre> &lt;div id=&quot;Todo_Overview&quot;&gt; ... &lt;/div&gt; </pre> <p>(Note how white space is replaced with an underscore) </p><p>This is useful if you want a human readable hash in the URL instead of a cryptic generated one. </p> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=3" title="Template:UIAPIPlugin">edit</a>]</div><a name="Back_button_and_bookmarking"></a><h3>Back button and bookmarking</h3> <p>Tabs 2 already supported this functionality, although the history plugin needs a rewrite first (it doesn't support Safari 3 and is in general a little inflexible) before it can be build back into the tabs. It is planned and Klaus is working on it whenever he finds the time. Actual bugs in the UI Tabs plugin itself always have higher priority though. </p> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=4" title="Template:UIAPIPlugin">edit</a>]</div><a name="How_to..."></a><h2>How to...</h2> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=5" title="Template:UIAPIPlugin">edit</a>]</div><a name="...retrieve_the_index_of_the_currently_selected_tab"></a><h3>...retrieve the index of the currently selected tab</h3> <pre>var $tabs = $('#example').tabs(); var selected = $tabs.tabs('option', 'selected'); // =&gt; 0</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=6" title="Template:UIAPIPlugin">edit</a>]</div><a name="...open_links_in_the_current_tab_instead_of_leaving_the_page"></a><h3>...open links in the current tab instead of leaving the page</h3> <p>"Hijax" links after tab content has been loaded: </p> <pre>$('#example').tabs({ load: function(event, ui) { $(ui.panel).delegate('a', 'click', function(event) { $(ui.panel).load(this.href); event.preventDefault(); }); } });</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=7" title="Template:UIAPIPlugin">edit</a>]</div><a name="...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself"></a><h3>...select a tab from a text link instead of clicking a tab itself</h3> <pre>var $tabs = $('#example').tabs(); // first tab selected $('#my-text-link').click(function() { // bind click event to link $tabs.tabs('select', 2); // switch to third tab return false; });</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=8" title="Template:UIAPIPlugin">edit</a>]</div><a name="...prevent_switching_to_the_tab_on_click_depending_on_form_validation"></a><h3>...prevent switching to the tab on click depending on form validation</h3> <p>Returning false in the tabs select handler prevents the clicked tab from becoming selected. </p> <pre>$('#example').tabs({ select: function(event, ui) { var isValid = ... // form validation returning true or false return isValid; } });</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=9" title="Template:UIAPIPlugin">edit</a>]</div><a name="...immediately_select_a_just_added_tab"></a><h3>...immediately select a just added tab</h3> <pre>var $tabs = $('#example').tabs({ add: function(event, ui) { $tabs.tabs('select', '#' + ui.panel.id); } });</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=10" title="Template:UIAPIPlugin">edit</a>]</div><a name="...prevent_a_FOUC_.28Flash_of_Unstyled_Content.29_before_tabs_are_initialized"></a><h3>...prevent a FOUC (Flash of Unstyled Content) before tabs are initialized</h3> <p>Add the necessary classes to hide an inactive tab panel to the HTML right away - note that this will <b>not</b> degrade gracefully with JavaScript being disabled: </p> <pre>&lt;div id=&quot;example&quot; class=&quot;ui-tabs&quot;&gt; ... &lt;div id=&quot;a-tab-panel&quot; class=&quot;ui-tabs-hide&quot;&gt; &lt;/div&gt; ... &lt;/div&gt;</pre> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=11" title="Template:UIAPIPlugin">edit</a>]</div><a name="Why_does..."></a><h2>Why does...</h2> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/Template:UIAPIPlugin?section=12" title="Template:UIAPIPlugin">edit</a>]</div><a name="...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F"></a><h3>...my slider, Google Map, sIFR etc. not work when placed in a hidden (inactive) tab?</h3> <p>Any component that requires some dimensional computation for its initialization won't work in a hidden tab, because the tab panel itself is hidden via <code>display: none</code> so that any elements inside won't report their actual width and height (0 in most browsers). </p><p>There's an easy workaround. Use the <em>off-left technique</em> for hiding inactive tab panels. E.g. in your style sheet replace the rule for the class selector ".ui-tabs .ui-tabs-hide" with </p> <pre>.ui-tabs .ui-tabs-hide { position: absolute; left: -10000px; }</pre> <p>For Google maps you can also resize the map once the tab is displayed like this: </p> <pre>$('#example').bind('tabsshow', function(event, ui) { if (ui.panel.id == &quot;map-tab&quot;) { resizeMap(); } });</pre> resizeMap() will call Google Maps' checkResize() on the particular map. </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li><strong>Optional:</strong> <a href="https://github.com/carhartl/jquery-cookie" class="external text" title="https://github.com/carhartl/jquery-cookie">jquery.cookie.js</a> for use with <a href="http://jqueryui.com/demos/tabs/#option-cookie" class="external text" title="http://jqueryui.com/demos/tabs/#option-cookie">cookie option</a> (also included in development-bundle&gt;external folder.)</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="295"> A simple jQuery UI Tabs.<br /> </p> <pre>$(&quot;#tabs&quot;).tabs(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#tabs&quot;).tabs(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;tabs&quot;&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;#fragment-1&quot;&gt;&lt;span&gt;One&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#fragment-2&quot;&gt;&lt;span&gt;Two&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#fragment-3&quot;&gt;&lt;span&gt;Three&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div id=&quot;fragment-1&quot;&gt; &lt;p&gt;First tab is active by default:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;$('#example').tabs();&lt;/code&gt;&lt;/pre&gt; &lt;/div&gt; &lt;div id=&quot;fragment-2&quot;&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;/div&gt; &lt;div id=&quot;fragment-3&quot;&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the tabs. Can be set when initialising (first creating) the tabs.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).tabs( "option", "disabled" ); //setter $( ".selector" ).tabs( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-ajaxOptions"> <div class="option-header"> <h3 class="option-name"><a href="#option-ajaxOptions">ajaxOptions</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Options</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Additional Ajax options to consider when loading tab content (see $.ajax).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>ajaxOptions</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ ajaxOptions: { async: false } });</code></pre> </dd> <dt> Get or set the <code>ajaxOptions</code> option, after init. </dt> <dd> <pre><code>//getter var ajaxOptions = $( ".selector" ).tabs( "option", "ajaxOptions" ); //setter $( ".selector" ).tabs( "option", "ajaxOptions", { async: false } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cache"> <div class="option-header"> <h3 class="option-name"><a href="#option-cache">cache</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Whether or not to cache remote tabs content, e.g. load only once or with every click. Cached content is being lazy loaded, e.g once and only once for the first click. Note that to prevent the actual Ajax requests from being cached by the browser you need to provide an extra cache: false flag to ajaxOptions.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>cache</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ cache: true });</code></pre> </dd> <dt> Get or set the <code>cache</code> option, after init. </dt> <dd> <pre><code>//getter var cache = $( ".selector" ).tabs( "option", "cache" ); //setter $( ".selector" ).tabs( "option", "cache", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-collapsible"> <div class="option-header"> <h3 class="option-name"><a href="#option-collapsible">collapsible</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Set to true to allow an already selected tab to become unselected again upon reselection.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>collapsible</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ collapsible: true });</code></pre> </dd> <dt> Get or set the <code>collapsible</code> option, after init. </dt> <dd> <pre><code>//getter var collapsible = $( ".selector" ).tabs( "option", "collapsible" ); //setter $( ".selector" ).tabs( "option", "collapsible", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-cookie"> <div class="option-header"> <h3 class="option-name"><a href="#option-cookie">cookie</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Store the latest selected tab in a cookie. The cookie is then used to determine the initially selected tab if the <i>selected</i> option is not defined. Requires <a href="http://plugins.jquery.com/project/cookie" class="external text" title="http://plugins.jquery.com/project/cookie">cookie plugin</a>, which can also be found in the development-bundle&gt;external folder from the download builder. The object needs to have key/value pairs of the form the cookie plugin expects as options. Available options (example): &#123; expires: 7, path: '/', domain: 'jquery.com', secure: true &#125;. Since jQuery UI 1.7 it is also possible to define the cookie name being used via <i>name</i> property.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>cookie</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ cookie: { expires: 30 } });</code></pre> </dd> <dt> Get or set the <code>cookie</code> option, after init. </dt> <dd> <pre><code>//getter var cookie = $( ".selector" ).tabs( "option", "cookie" ); //setter $( ".selector" ).tabs( "option", "cookie", { expires: 30 } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-deselectable"> <div class="option-header"> <h3 class="option-name"><a href="#option-deselectable">deselectable</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>deprecated in jQuery UI 1.7, use collapsible.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>deselectable</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ deselectable: true });</code></pre> </dd> <dt> Get or set the <code>deselectable</code> option, after init. </dt> <dd> <pre><code>//getter var deselectable = $( ".selector" ).tabs( "option", "deselectable" ); //setter $( ".selector" ).tabs( "option", "deselectable", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array&lt;Number&gt;</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">[]</dd> </dl> </div> <div class="option-description"> <p>An array containing the position of the tabs (zero-based index) that should be disabled on initialization.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ disabled: [1, 2] });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).tabs( "option", "disabled" ); //setter $( ".selector" ).tabs( "option", "disabled", [1, 2] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-event"> <div class="option-header"> <h3 class="option-name"><a href="#option-event">event</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"click"</dd> </dl> </div> <div class="option-description"> <p>The type of event to be used for selecting a tab.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>event</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ event: "mouseover" });</code></pre> </dd> <dt> Get or set the <code>event</code> option, after init. </dt> <dd> <pre><code>//getter var event = $( ".selector" ).tabs( "option", "event" ); //setter $( ".selector" ).tabs( "option", "event", "mouseover" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-fx"> <div class="option-header"> <h3 class="option-name"><a href="#option-fx">fx</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Options, Array&lt;Options&gt;</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Enable animations for hiding and showing tab panels. The duration option can be a string representing one of the three predefined speeds ("slow", "normal", "fast") or the duration in milliseconds to run an animation (default is "normal").</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>fx</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ fx: { opacity: 'toggle' } });</code></pre> </dd> <dt> Get or set the <code>fx</code> option, after init. </dt> <dd> <pre><code>//getter var fx = $( ".selector" ).tabs( "option", "fx" ); //setter $( ".selector" ).tabs( "option", "fx", { opacity: 'toggle' } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-idPrefix"> <div class="option-header"> <h3 class="option-name"><a href="#option-idPrefix">idPrefix</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"ui-tabs-"</dd> </dl> </div> <div class="option-description"> <p>If the remote tab, its anchor element that is, has no title attribute to generate an id from, an id/fragment identifier is created from this prefix and a unique id returned by $.data(el), for example "ui-tabs-54".</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>idPrefix</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ idPrefix: "ui-tabs-primary" });</code></pre> </dd> <dt> Get or set the <code>idPrefix</code> option, after init. </dt> <dd> <pre><code>//getter var idPrefix = $( ".selector" ).tabs( "option", "idPrefix" ); //setter $( ".selector" ).tabs( "option", "idPrefix", "ui-tabs-primary" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-panelTemplate"> <div class="option-header"> <h3 class="option-name"><a href="#option-panelTemplate">panelTemplate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"&lt;div&gt;&lt;/div&gt;"</dd> </dl> </div> <div class="option-description"> <p>HTML template from which a new tab panel is created in case of adding a tab with the add method or when creating a panel for a remote tab on the fly.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>panelTemplate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ panelTemplate: "&lt;li&gt;&lt;/li&gt;" });</code></pre> </dd> <dt> Get or set the <code>panelTemplate</code> option, after init. </dt> <dd> <pre><code>//getter var panelTemplate = $( ".selector" ).tabs( "option", "panelTemplate" ); //setter $( ".selector" ).tabs( "option", "panelTemplate", "&lt;li&gt;&lt;/li&gt;" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-selected"> <div class="option-header"> <h3 class="option-name"><a href="#option-selected">selected</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Zero-based index of the tab to be selected on initialization. To set all tabs to unselected pass -1 as value.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>selected</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ selected: 3 });</code></pre> </dd> <dt> Get or set the <code>selected</code> option, after init. </dt> <dd> <pre><code>//getter var selected = $( ".selector" ).tabs( "option", "selected" ); //setter $( ".selector" ).tabs( "option", "selected", 3 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-spinner"> <div class="option-header"> <h3 class="option-name"><a href="#option-spinner">spinner</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"&lt;em&gt;Loading&amp;#8230;&lt;/em&gt;"</dd> </dl> </div> <div class="option-description"> <p>The HTML content of this string is shown in a tab title while remote content is loading. Pass in empty string to deactivate that behavior. An span element must be present in the A tag of the title, for the spinner content to be visible.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>spinner</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ spinner: "Retrieving data..." });</code></pre> </dd> <dt> Get or set the <code>spinner</code> option, after init. </dt> <dd> <pre><code>//getter var spinner = $( ".selector" ).tabs( "option", "spinner" ); //setter $( ".selector" ).tabs( "option", "spinner", "Retrieving data..." );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-tabTemplate"> <div class="option-header"> <h3 class="option-name"><a href="#option-tabTemplate">tabTemplate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"&lt;li&gt;&lt;a href&#61;"#&#123;href&#125;"&gt;&lt;span&gt;#&#123;label&#125;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;"</dd> </dl> </div> <div class="option-description"> <p>HTML template from which a new tab is created and added. The placeholders #&#123;href&#125; and #&#123;label&#125; are replaced with the url and tab label that are passed as arguments to the add method.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a tabs with the <code>tabTemplate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).tabs({ tabTemplate: "&lt;div&gt;&lt;a href&#61;"#&#123;href&#125;"&gt;&lt;span&gt;#&#123;label&#125;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;" });</code></pre> </dd> <dt> Get or set the <code>tabTemplate</code> option, after init. </dt> <dd> <pre><code>//getter var tabTemplate = $( ".selector" ).tabs( "option", "tabTemplate" ); //setter $( ".selector" ).tabs( "option", "tabTemplate", "&lt;div&gt;&lt;a href&#61;"#&#123;href&#125;"&gt;&lt;span&gt;#&#123;label&#125;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;" );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabscreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when tabs is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>tabscreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabscreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-select"> <div class="event-header"> <h3 class="event-name"><a href="#event-select">select</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsselect</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when clicking a tab.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>select</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ select: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>select</code> event by type: <code>tabsselect</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsselect&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-load"> <div class="event-header"> <h3 class="event-name"><a href="#event-load">load</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsload</dd> </dl> </div> <div class="event-description"> <p>This event is triggered after the content of a remote tab has been loaded.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>load</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ load: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>load</code> event by type: <code>tabsload</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsload&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-show"> <div class="event-header"> <h3 class="event-name"><a href="#event-show">show</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsshow</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a tab is shown.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>show</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ show: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>show</code> event by type: <code>tabsshow</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsshow&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-add"> <div class="event-header"> <h3 class="event-name"><a href="#event-add">add</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsadd</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a tab is added.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>add</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ add: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>add</code> event by type: <code>tabsadd</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsadd&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-remove"> <div class="event-header"> <h3 class="event-name"><a href="#event-remove">remove</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsremove</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a tab is removed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>remove</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ remove: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>remove</code> event by type: <code>tabsremove</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsremove&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-enable"> <div class="event-header"> <h3 class="event-name"><a href="#event-enable">enable</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsenable</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a tab is enabled.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>enable</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ enable: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>enable</code> event by type: <code>tabsenable</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsenable&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-disable"> <div class="event-header"> <h3 class="event-name"><a href="#event-disable">disable</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">tabsdisable</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when a tab is disabled.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>disable</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).tabs({ disable: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>disable</code> event by type: <code>tabsdisable</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;tabsdisable&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the tabs functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the tabs.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the tabs.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any tabs option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple tabs options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-tabs element.</p> </div> </li> <li class="method" id="method-add"> <div class="method-header"> <h3 class="method-name"><a href="#method-add">add</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "add" , url , label , <span class="optional">[</span>index<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Add a new tab. The second argument is either a URL consisting of a fragment identifier only to create an in-page tab or a full url (relative or absolute, no cross-domain support) to turn the new tab into an Ajax (remote) tab. The third is the zero-based position where to insert the new tab. Optional, by default a new tab is appended at the end.</p> </div> </li> <li class="method" id="method-remove"> <div class="method-header"> <h3 class="method-name"><a href="#method-remove">remove</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "remove" , index )</dd> </dl> </div> <div class="method-description"> <p>Remove a tab. The second argument is the zero-based index of the tab to be removed. Instead of an index, the href of the tab may be passed.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "enable" , index )</dd> </dl> </div> <div class="method-description"> <p>Enable a disabled tab. To enable more than one tab at once reset the disabled property like: <code>$('#example').tabs("option","disabled",[]);</code>. The second argument is the zero-based index of the tab to be enabled. Instead of an index, the href of the tab may be passed.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "disable" , index )</dd> </dl> </div> <div class="method-description"> <p>Disable a tab. The selected tab cannot be disabled. To disable more than one tab at once use: <code>$('#example').tabs("option","disabled", [1, 2, 3]);</code> The second argument is the zero-based index of the tab to be disabled. Instead of an index, the href of the tab may be passed.</p> </div> </li> <li class="method" id="method-select"> <div class="method-header"> <h3 class="method-name"><a href="#method-select">select</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "select" , index )</dd> </dl> </div> <div class="method-description"> <p>Select a tab, as if it were clicked. The second argument is the zero-based index of the tab to be selected or the id selector of the panel the tab is associated with (the tab's href fragment identifier, e.g. hash, points to the panel's id).</p> </div> </li> <li class="method" id="method-load"> <div class="method-header"> <h3 class="method-name"><a href="#method-load">load</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "load" , index )</dd> </dl> </div> <div class="method-description"> <p>Reload the content of an Ajax tab programmatically. This method always loads the tab content from the remote location, even if cache is set to true. The second argument is the zero-based index of the tab to be reloaded.</p> </div> </li> <li class="method" id="method-url"> <div class="method-header"> <h3 class="method-name"><a href="#method-url">url</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "url" , index , url )</dd> </dl> </div> <div class="method-description"> <p>Change the url from which an Ajax (remote) tab will be loaded. The specified URL will be used for subsequent loads. Note that you can not only change the URL for an existing remote tab with this method, but also turn an in-page tab into a remote tab. The second argument is the zero-based index of the tab of which its URL is to be updated. The third is a URL the content of the tab is loaded from.</p> </div> </li> <li class="method" id="method-length"> <div class="method-header"> <h3 class="method-name"><a href="#method-length">length</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "length" )</dd> </dl> </div> <div class="method-description"> <p>Retrieve the number of tabs of the first matched tab pane.</p> </div> </li> <li class="method" id="method-abort"> <div class="method-header"> <h3 class="method-name"><a href="#method-abort">abort</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "abort" )</dd> </dl> </div> <div class="method-description"> <p>Terminate all running tab ajax requests and animations.</p> </div> </li> <li class="method" id="method-rotate"> <div class="method-header"> <h3 class="method-name"><a href="#method-rotate">rotate</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.tabs( "rotate" , ms , <span class="optional">[</span>continuing<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Set up an automatic rotation through tabs of a tab pane. The second argument is an amount of time in milliseconds until the next tab in the cycle gets activated. Use 0 or null to stop the rotation. The third controls whether or not to continue the rotation after a tab has been selected by a user. Default: false.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Tabs plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.tabs.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-tabs</strong> ui-widget ui-widget-content ui-corner-all&quot; id=&quot;tabs&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;ul class=&quot;<strong>ui-tabs-nav</strong> ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&quot;ui-state-default ui-corner-top ui-tabs-selected ui-state-active&quot;&gt;&lt;a href=&quot;#tabs-1&quot;&gt;Nunc tincidunt&lt;/a&gt;&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&quot;ui-state-default ui-corner-top&quot;&gt;&lt;a href=&quot;#tabs-2&quot;&gt;Proin dolor&lt;/a&gt;&lt;/li&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-tabs-panel</strong> ui-widget-content ui-corner-bottom&quot; id=&quot;tabs-1&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Tab one content goes here.&lt;/p&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&nbsp; ...<br /> &lt;/div&gt;<br /> <p class="theme-note"> <strong> Note: This is a sample of markup generated by the tabs plugin, not markup you should use to create a tabs. The only markup needed for that is <br />&lt;div id=&quot;tabs&quot;&gt;<br /> &#160;&#160;&#160;&lt;ul&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;li&gt;&lt;a href=&quot;#tabs-1&quot;&gt;Nunc tincidunt&lt;/a&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;li&gt;&lt;a href=&quot;#tabs-2&quot;&gt;Proin dolor&lt;/a&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;li&gt;&lt;a href=&quot;#tabs-3&quot;&gt;Aenean lacinia&lt;/a&gt;&lt;/li&gt;<br /> &#160;&#160;&#160;&lt;/ul&gt;<br /> &#160;&#160;&#160;&lt;div id=&quot;tabs-1&quot;&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;p&gt;Tab 1 content&lt;/p&gt;<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;div id=&quot;tabs-2&quot;&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;p&gt;Tab 2 content&lt;/p&gt;<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;div id=&quot;tabs-3&quot;&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;&lt;p&gt;Tab 3 content&lt;/p&gt;<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 57707 bytes Post-expand include size: 98959 bytes Template argument size: 58199 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3777-1!1!0!!en!2 and timestamp 20120416174411 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/tabs.html
HTML
gpl2
50,897
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI addClass</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/addClass?section=1" title="Edit section: addClass( class, [duration] )">edit</a>]</div><a name="addClass.28_class.2C_.5Bduration.5D_.29"></a><h3>addClass( class, <span class="optional">[</span>duration<span class="optional">]</span> )</h3> <p>Adds the specified class to each of the set of matched elements with an optional transition between the states.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> Adds the class 'selected' to the matched elements with a one second transition.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">addClass</strong>(&quot;selected&quot;, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; p { cursor: pointer; font-size: 1.2em; } .selected { color:red; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">addClass</strong>(&quot;selected&quot;, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me to add a 'selected' class.&lt;/p&gt; &lt;p&gt;Click me to add a 'selected' class.&lt;/p&gt; &lt;p&gt;Click me to add a 'selected' class.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-class"> <div class="option-header"> <h3 class="option-name"><a href="#option-class">class</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>One CSS class to add to the elements.</p> </div> </li> <li class="option" id="option-duration"> <div class="option-header"> <h3 class="option-name"><a href="#option-duration">duration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 5228 bytes Post-expand include size: 6863 bytes Template argument size: 4285 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2606-1!1!0!!en!2 and timestamp 20120416170632 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/addClass.html
HTML
gpl2
4,052
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Accordion</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>Make the selected elements Accordion widgets. Semantic requirements:</p> <p>The markup of your accordion container needs pairs of headers and content panels:</p> <pre>&lt;div id=&quot;accordion&quot;&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;First header&lt;/a&gt;&lt;/h3&gt; &lt;div&gt;First content&lt;/div&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Second header&lt;/a&gt;&lt;/h3&gt; &lt;div&gt;Second content&lt;/div&gt; &lt;/div&gt;</pre> <p>If you use a different element for the header, specify the header-option with an appropriate selector, eg. header: 'a.header'. The content element must be always next to its header.</p> <p>If you have links inside the accordion content and use a-elements as headers, add a class to them and use that as the header, eg. header: 'a.header'.</p> <p>Use activate(Number) to change the active content programmatically.</p> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/API/1.8/Accordion?section=1" title="Edit section: NOTE: If you want multiple sections open at once, don't use an accordion">edit</a>]</div><a name="NOTE:_If_you_want_multiple_sections_open_at_once.2C_don.27t_use_an_accordion"></a><h4>NOTE: If you want multiple sections open at once, don't use an accordion</h4> <p>An accordion doesn't allow more than one content panel to be open at the same time, and it takes a lot of effort to do that. If you are looking for a widget that allows more than one content panel to be open, don't use this. Usually it can be written with a few lines of jQuery instead, something like this:</p> <pre>jQuery(document).ready(function(){ $('.accordion .head').click(function() { $(this).next().toggle(); return false; }).next().hide(); });</pre> <p>Or animated:</p> <pre>jQuery(document).ready(function(){ $('.accordion .head').click(function() { $(this).next().toggle('slow'); return false; }).next().hide(); });</pre> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Effects Core (Optional - only for non-default animations)</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="310"> A simple jQuery UI Accordion.<br /> </p> <pre>$(&quot;#accordion&quot;).accordion(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#accordion&quot;).accordion(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;accordion&quot;&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 1&lt;/a&gt;&lt;/h3&gt; &lt;div&gt; &lt;p&gt; Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. &lt;/p&gt; &lt;/div&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 2&lt;/a&gt;&lt;/h3&gt; &lt;div&gt; &lt;p&gt; Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. &lt;/p&gt; &lt;/div&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 3&lt;/a&gt;&lt;/h3&gt; &lt;div&gt; &lt;p&gt; Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. &lt;/p&gt; &lt;ul&gt; &lt;li&gt;List item one&lt;/li&gt; &lt;li&gt;List item two&lt;/li&gt; &lt;li&gt;List item three&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 4&lt;/a&gt;&lt;/h3&gt; &lt;div&gt; &lt;p&gt; Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. &lt;/p&gt; &lt;p&gt; Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the accordion. Can be set when initialising (first creating) the accordion.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).accordion( "option", "disabled" ); //setter $( ".selector" ).accordion( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-active"> <div class="option-header"> <h3 class="option-name"><a href="#option-active">active</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, Element, jQuery, Boolean, Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">first child</dd> </dl> </div> <div class="option-description"> <p>Selector for the active element. Set to false to display none at start. Needs <code>collapsible: true</code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>active</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ active: 2 });</code></pre> </dd> <dt> Get or set the <code>active</code> option, after init. </dt> <dd> <pre><code>//getter var active = $( ".selector" ).accordion( "option", "active" ); //setter $( ".selector" ).accordion( "option", "active", 2 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-animated"> <div class="option-header"> <h3 class="option-name"><a href="#option-animated">animated</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"slide"</dd> </dl> </div> <div class="option-description"> <p>Choose your favorite animation, or disable them (set to false). In addition to the default, 'bounceslide' and all defined easing methods are supported ('bounceslide' requires UI Effects Core).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>animated</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ animated: 'bounceslide' });</code></pre> </dd> <dt> Get or set the <code>animated</code> option, after init. </dt> <dd> <pre><code>//getter var animated = $( ".selector" ).accordion( "option", "animated" ); //setter $( ".selector" ).accordion( "option", "animated", 'bounceslide' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoHeight"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoHeight">autoHeight</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set, the highest content part is used as height reference for all other parts. Provides more consistent animations.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>autoHeight</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ autoHeight: false });</code></pre> </dd> <dt> Get or set the <code>autoHeight</code> option, after init. </dt> <dd> <pre><code>//getter var autoHeight = $( ".selector" ).accordion( "option", "autoHeight" ); //setter $( ".selector" ).accordion( "option", "autoHeight", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-clearStyle"> <div class="option-header"> <h3 class="option-name"><a href="#option-clearStyle">clearStyle</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set, clears height and overflow styles after finishing animations. This enables accordions to work with dynamic content. Won't work together with autoHeight.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>clearStyle</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ clearStyle: true });</code></pre> </dd> <dt> Get or set the <code>clearStyle</code> option, after init. </dt> <dd> <pre><code>//getter var clearStyle = $( ".selector" ).accordion( "option", "clearStyle" ); //setter $( ".selector" ).accordion( "option", "clearStyle", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-collapsible"> <div class="option-header"> <h3 class="option-name"><a href="#option-collapsible">collapsible</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>collapsible</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ collapsible: true });</code></pre> </dd> <dt> Get or set the <code>collapsible</code> option, after init. </dt> <dd> <pre><code>//getter var collapsible = $( ".selector" ).accordion( "option", "collapsible" ); //setter $( ".selector" ).accordion( "option", "collapsible", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-event"> <div class="option-header"> <h3 class="option-name"><a href="#option-event">event</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"click"</dd> </dl> </div> <div class="option-description"> <p>The event on which to trigger the accordion.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>event</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ event: 'mouseover' });</code></pre> </dd> <dt> Get or set the <code>event</code> option, after init. </dt> <dd> <pre><code>//getter var event = $( ".selector" ).accordion( "option", "event" ); //setter $( ".selector" ).accordion( "option", "event", 'mouseover' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-fillSpace"> <div class="option-header"> <h3 class="option-name"><a href="#option-fillSpace">fillSpace</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set, the accordion completely fills the height of the parent element. Overrides autoheight.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>fillSpace</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ fillSpace: true });</code></pre> </dd> <dt> Get or set the <code>fillSpace</code> option, after init. </dt> <dd> <pre><code>//getter var fillSpace = $( ".selector" ).accordion( "option", "fillSpace" ); //setter $( ".selector" ).accordion( "option", "fillSpace", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-header"> <div class="option-header"> <h3 class="option-name"><a href="#option-header">header</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, jQuery</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"&gt; li &gt;&nbsp;:first-child,&gt;&nbsp;:not(li):even"</dd> </dl> </div> <div class="option-description"> <p>Selector for the header element.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>header</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ header: 'h3' });</code></pre> </dd> <dt> Get or set the <code>header</code> option, after init. </dt> <dd> <pre><code>//getter var header = $( ".selector" ).accordion( "option", "header" ); //setter $( ".selector" ).accordion( "option", "header", 'h3' );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-icons"> <div class="option-header"> <h3 class="option-name"><a href="#option-icons">icons</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Object</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">{ &quot;header&quot;: &quot;ui-icon-triangle-1-e&quot;, &quot;headerSelected&quot;: &quot;ui-icon-triangle-1-s&quot; }</dd> </dl> </div> <div class="option-description"> <p>Icons to use for headers. Icons may be specified for 'header' and 'headerSelected', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by <a href="http://www.themeroller.com" class="external text" title="http://www.themeroller.com">jQuery UI ThemeRoller</a>. Set to false to have no icons displayed.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>icons</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ icons: { &quot;header&quot;: &quot;ui-icon-plus&quot;, &quot;headerSelected&quot;: &quot;ui-icon-minus&quot; } });</code></pre> </dd> <dt> Get or set the <code>icons</code> option, after init. </dt> <dd> <pre><code>//getter var icons = $( ".selector" ).accordion( "option", "icons" ); //setter $( ".selector" ).accordion( "option", "icons", { &quot;header&quot;: &quot;ui-icon-plus&quot;, &quot;headerSelected&quot;: &quot;ui-icon-minus&quot; } );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-navigation"> <div class="option-header"> <h3 class="option-name"><a href="#option-navigation">navigation</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If set, looks for the anchor that matches location.href and activates it. Great for href-based state-saving. Use navigationFilter to implement your own matcher.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>navigation</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ navigation: true });</code></pre> </dd> <dt> Get or set the <code>navigation</code> option, after init. </dt> <dd> <pre><code>//getter var navigation = $( ".selector" ).accordion( "option", "navigation" ); //setter $( ".selector" ).accordion( "option", "navigation", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-navigationFilter"> <div class="option-header"> <h3 class="option-name"><a href="#option-navigationFilter">navigationFilter</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default"> </dd> </dl> </div> <div class="option-description"> <p>Overwrite the default location.href-matching with your own matcher.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a accordion with the <code>navigationFilter</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).accordion({ navigationFilter: function(){ ... } });</code></pre> </dd> <dt> Get or set the <code>navigationFilter</code> option, after init. </dt> <dd> <pre><code>//getter var navigationFilter = $( ".selector" ).accordion( "option", "navigationFilter" ); //setter $( ".selector" ).accordion( "option", "navigationFilter", function(){ ... } );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">accordioncreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when accordion is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).accordion({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>accordioncreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;accordioncreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-change"> <div class="event-header"> <h3 class="event-name"><a href="#event-change">change</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">accordionchange</dd> </dl> </div> <div class="event-description"> <p>This event is triggered every time the accordion changes. If the accordion is animated, the event will be triggered upon completion of the animation; otherwise, it is triggered immediately. </p> <pre>$('.ui-accordion').bind('accordionchange', function(event, ui) { ui.newHeader // jQuery object, activated header ui.oldHeader // jQuery object, previous header ui.newContent // jQuery object, activated content ui.oldContent // jQuery object, previous content });</pre></p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>change</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).accordion({ change: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>change</code> event by type: <code>accordionchange</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;accordionchange&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <p> <li class="event" id="event-changestart"> <div class="event-header"> <h3 class="event-name"><a href="#event-changestart">changestart</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">accordionchangestart</dd> </dl> </div> <div class="event-description"> <p>This event is triggered every time the accordion starts to change. </p> <pre>$('.ui-accordion').bind('accordionchangestart', function(event, ui) { ui.newHeader // jQuery object, activated header ui.oldHeader // jQuery object, previous header ui.newContent // jQuery object, activated content ui.oldContent // jQuery object, previous content });</pre></p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>changestart</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).accordion({ changestart: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>changestart</code> event by type: <code>accordionchangestart</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;accordionchangestart&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the accordion functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <p> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the accordion.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the accordion.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any accordion option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple accordion options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-accordion element.</p> </div> </li> <li class="method" id="method-activate"> <div class="method-header"> <h3 class="method-name"><a href="#method-activate">activate</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "activate" , index )</dd> </dl> </div> <div class="method-description"> <p>Activate a content part of the Accordion programmatically. The index can be a zero-indexed number to match the position of the header to close or a Selector matching an element. Pass <code>false</code> to close all (only possible with <code>collapsible:true</code>).</p> </div> </li> <li class="method" id="method-resize"> <div class="method-header"> <h3 class="method-name"><a href="#method-resize">resize</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.accordion( "resize" )</dd> </dl> </div> <div class="method-description"> <p>Recompute heights of the accordion contents when using the fillSpace option and the container height changed. For example, when the container is a resizable, this method should be called by its resize-event.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Accordion plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.accordion.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class="<strong>ui-accordion</strong> ui-widget ui-helper-reset"&gt;<br /> &nbsp;&nbsp;&lt;h3 class="<strong>ui-accordion-header</strong> ui-helper-reset ui-state-active ui-corner-top"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;span class="ui-icon ui-icon-triangle-1-s"/&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a href="#"&gt;Section 1&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/h3&gt;<br /> &nbsp;&nbsp;&lt;div class="<strong>ui-accordion-content</strong> ui-helper-reset ui-widget-content ui-corner-bottom <strong>ui-accordion-content-active</strong>"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;Section 1 content<br /> &nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&lt;h3 class="<strong>ui-accordion-header</strong> ui-helper-reset ui-state-default ui-corner-all"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;span class="ui-icon ui-icon-triangle-1-e"/&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a href="#"&gt;Section 2&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/h3&gt;<br /> &nbsp;&nbsp;&lt;div class="<strong>ui-accordion-content</strong> ui-helper-reset ui-widget-content ui-corner-bottom"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;Section 2 content<br /> &nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&lt;h3 class="<strong>ui-accordion-header</strong> ui-helper-reset ui-state-default ui-corner-all"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;span class="ui-icon ui-icon-triangle-1-e"/&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&lt;a href="#"&gt;Section 3&lt;/a&gt;<br /> &nbsp;&nbsp;&lt;/h3&gt;<br /> &nbsp;&nbsp;&lt;div class="<strong>ui-accordion-content</strong> ui-helper-reset ui-widget-content ui-corner-bottom"&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;Section 3 content<br /> &nbsp;&nbsp;&lt;/div&gt;<br /> &lt;/div&gt;<br /> <p class="theme-note"> <strong> Note: This is a sample of markup generated by the accordion plugin, not markup you should use to create a accordion. The only markup needed for that is <br />&lt;div&gt;<br /> &#160;&#160;&#160;&lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 1&lt;/a&gt;&lt;/h3&gt;<br /> &#160;&#160;&#160;&lt;div&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;Section 1 content<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 2&lt;/a&gt;&lt;/h3&gt;<br /> &#160;&#160;&#160;&lt;div&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;Section 2 content<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &#160;&#160;&#160;&lt;h3&gt;&lt;a href=&quot;#&quot;&gt;Section 3&lt;/a&gt;&lt;/h3&gt;<br /> &#160;&#160;&#160;&lt;div&gt;<br /> &#160;&#160;&#160;&#160;&#160;&#160;Section 3 content<br /> &#160;&#160;&#160;&lt;/div&gt;<br /> &lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 38033 bytes Post-expand include size: 63903 bytes Template argument size: 35607 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3773-1!1!0!!en!2 and timestamp 20120416171812 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/accordion.html
HTML
gpl2
30,753
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI hide</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/hide?section=1" title="Edit section: hide( effect, [options], [speed], [callback] )">edit</a>]</div><a name="hide.28_effect.2C_.5Boptions.5D.2C_.5Bspeed.5D.2C_.5Bcallback.5D_.29"></a><h3>hide( effect, <span class="optional">[</span>options<span class="optional">]</span>, <span class="optional">[</span>speed<span class="optional">]</span>, <span class="optional">[</span>callback<span class="optional">]</span> )</h3> <p>The enhanced hide method optionally accepts jQuery UI advanced effects.</p> <p>Uses a specific effect on an element to hide the element if the first argument is an effect string.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Apply the effect slide if you click on the p to hide a div.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">hide</strong>(&quot;slide&quot;, {}, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.slide.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; div { margin: 0px; width: 100px; height: 80px; background: blue; position: relative; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">hide</strong>(&quot;slide&quot;, {}, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me&lt;/p&gt;&lt;div&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-effect"> <div class="option-header"> <h3 class="option-name"><a href="#option-effect">effect</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'.</p> </div> </li> <li class="option" id="option-options"> <div class="option-header"> <h3 class="option-name"><a href="#option-options">options</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Hash</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A object/hash including specific options for the effect.</p> </div> </li> <li class="option" id="option-speed"> <div class="option-header"> <h3 class="option-name"><a href="#option-speed">speed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the predefined speeds ("slow" or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> <li class="option" id="option-callback"> <div class="option-header"> <h3 class="option-name"><a href="#option-callback">callback</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A function that is called after the effect is completed.</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 6354 bytes Post-expand include size: 8727 bytes Template argument size: 5453 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2614-1!1!0!!en!2 and timestamp 20120416170646 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/hide.html
HTML
gpl2
5,258
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Datepicker</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages. You can customize the date format and language, restrict the selectable date ranges and add in buttons and other navigation options easily.</p> <p>By default, the datepicker calendar opens in a small overlay onFocus and closes automatically onBlur or when a date is selected. For an inline calendar, simply attach the datepicker to a div or span. </p><p>You can use keyboard shortcuts to drive the datepicker: </p> <ul> <li>page up/down - previous/next month</li> <li>ctrl+page up/down - previous/next year</li> <li>ctrl+home - current month or open when closed</li> <li>ctrl+left/right - previous/next day</li> <li>ctrl+up/down - previous/next week</li> <li>enter - accept the selected date</li> <li>ctrl+end - close and erase the date</li> <li>escape - close the datepicker without selection</li> </ul> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/API/1.8/Datepicker?section=1" title="Edit section: Utility functions">edit</a>]</div><a name="Utility_functions"></a><h3 id="utility-functions">Utility functions</h3> <ul> <li><a href="http://docs.jquery.com/UI/Datepicker/setDefaults" title="UI/Datepicker/setDefaults">$.datepicker.setDefaults( settings )</a> - Set settings for all datepicker instances.</li> <li><a href="http://docs.jquery.com/UI/Datepicker/formatDate" title="UI/Datepicker/formatDate">$.datepicker.formatDate( format, date, settings )</a> - Format a date into a string value with a specified format.</li> <li><a href="http://docs.jquery.com/UI/Datepicker/parseDate" title="UI/Datepicker/parseDate">$.datepicker.parseDate( format, value, settings ) </a> - Extract a date from a string value with a specified format.</li> <li><a href="http://docs.jquery.com/UI/Datepicker/iso8601Week" title="UI/Datepicker/iso8601Week">$.datepicker.iso8601Week( date )</a> - Determine the week of the year for a given date: 1 to 53.</li> <li><a href="http://docs.jquery.com/UI/Datepicker/noWeekends" title="UI/Datepicker/noWeekends">$.datepicker.noWeekends</a> - Set as beforeShowDay function to prevent selection of weekends.</li> </ul> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/API/1.8/Datepicker?section=2" title="Edit section: Localization">edit</a>]</div><a name="Localization"></a><h3>Localization</h3> <p>Datepicker provides support for localizing its content to cater for different languages and date formats. Each localization is contained within its own file with the language code appended to the name, e.g. <code>jquery.ui.datepicker-fr.js</code> for French. The desired localization file should be included after the main datepicker code. They add their settings to the set of available localizations and automatically apply them as defaults for all instances.</p> <p>The <code>$.datepicker.regional</code> attribute holds an array of localizations, indexed by language code, with &quot;&quot; referring to the default (English). Each entry is an object with the following attributes: <code>closeText</code>, <code>prevText</code>, <code>nextText</code>, <code>currentText</code>, <code>monthNames</code>, <code>monthNamesShort</code>, <code>dayNames</code>, <code>dayNamesShort</code>, <code>dayNamesMin</code>, <code>weekHeader</code>, <code>dateFormat</code>, <code>firstDay</code>, <code>isRTL</code>, <code>showMonthAfterYear</code>, and <code>yearSuffix</code>.</p> <p>You can restore the default localizations with:</p> <p><code>$.datepicker.setDefaults($.datepicker.regional[&quot;&quot;]);</code> </p> <p>And can then override an individual datepicker for a specific locale:</p> <p><code>$(selector).datepicker($.datepicker.regional['fr']);</code> </p> The localization files are also available in the UI svn: <a href="http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/" class="external free" title="http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/">http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/</a> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="220"> A simple jQuery UI Datepicker.<br /> </p> <pre>$(&quot;#datepicker&quot;).datepicker(); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#datepicker&quot;).datepicker(); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;datepicker&quot;&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the datepicker. Can be set when initialising (first creating) the datepicker.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).datepicker( "option", "disabled" ); //setter $( ".selector" ).datepicker( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-altField"> <div class="option-header"> <h3 class="option-name"><a href="#option-altField">altField</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, jQuery, Element</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the <code><a href="http://docs.jquery.com/UI/Datepicker#option-altFormat" title="UI/Datepicker">altFormat</a></code> setting to change the format of the date within this field. Leave as blank for no alternate field.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>altField</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ altField: "#actualDate" });</code></pre> </dd> <dt> Get or set the <code>altField</code> option, after init. </dt> <dd> <pre><code>//getter var altField = $( ".selector" ).datepicker( "option", "altField" ); //setter $( ".selector" ).datepicker( "option", "altField", "#actualDate" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-altFormat"> <div class="option-header"> <h3 class="option-name"><a href="#option-altFormat">altFormat</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>The <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> to be used for the <code><a href="http://docs.jquery.com/UI/Datepicker#option-altField" title="UI/Datepicker">altField</a></code> option. This allows one date format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see the <a href="http://docs.jquery.com/UI/Datepicker/formatDate" title="UI/Datepicker/formatDate">formatDate</a> function</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>altFormat</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ altFormat: "yy-mm-dd" });</code></pre> </dd> <dt> Get or set the <code>altFormat</code> option, after init. </dt> <dd> <pre><code>//getter var altFormat = $( ".selector" ).datepicker( "option", "altFormat" ); //setter $( ".selector" ).datepicker( "option", "altFormat", "yy-mm-dd" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-appendText"> <div class="option-header"> <h3 class="option-name"><a href="#option-appendText">appendText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>The text to display after each date field, e.g. to show the required format.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>appendText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ appendText: "(yyyy-mm-dd)" });</code></pre> </dd> <dt> Get or set the <code>appendText</code> option, after init. </dt> <dd> <pre><code>//getter var appendText = $( ".selector" ).datepicker( "option", "appendText" ); //setter $( ".selector" ).datepicker( "option", "appendText", "(yyyy-mm-dd)" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-autoSize"> <div class="option-header"> <h3 class="option-name"><a href="#option-autoSize">autoSize</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Set to true to automatically resize the input field to accommodate dates in the current <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>autoSize</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ autoSize: true });</code></pre> </dd> <dt> Get or set the <code>autoSize</code> option, after init. </dt> <dd> <pre><code>//getter var autoSize = $( ".selector" ).datepicker( "option", "autoSize" ); //setter $( ".selector" ).datepicker( "option", "autoSize", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-buttonImage"> <div class="option-header"> <h3 class="option-name"><a href="#option-buttonImage">buttonImage</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>The URL for the popup button image. If set, <code><a href="http://docs.jquery.com/UI/Datepicker#option-buttonText" title="UI/Datepicker">buttonText</a></code> becomes the <i>alt</i> value and is not directly displayed.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>buttonImage</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ buttonImage: "/images/datepicker.gif" });</code></pre> </dd> <dt> Get or set the <code>buttonImage</code> option, after init. </dt> <dd> <pre><code>//getter var buttonImage = $( ".selector" ).datepicker( "option", "buttonImage" ); //setter $( ".selector" ).datepicker( "option", "buttonImage", "/images/datepicker.gif" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-buttonImageOnly"> <div class="option-header"> <h3 class="option-name"><a href="#option-buttonImageOnly">buttonImageOnly</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Set to true to place an image after the field to use as the trigger without it appearing on a button.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>buttonImageOnly</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ buttonImageOnly: true });</code></pre> </dd> <dt> Get or set the <code>buttonImageOnly</code> option, after init. </dt> <dd> <pre><code>//getter var buttonImageOnly = $( ".selector" ).datepicker( "option", "buttonImageOnly" ); //setter $( ".selector" ).datepicker( "option", "buttonImageOnly", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-buttonText"> <div class="option-header"> <h3 class="option-name"><a href="#option-buttonText">buttonText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"..."</dd> </dl> </div> <div class="option-description"> <p>The text to display on the trigger button. Use in conjunction with <code><a href="http://docs.jquery.com/UI/Datepicker#option-showOn" title="UI/Datepicker">showOn</a></code> equal to 'button' or 'both'.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>buttonText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ buttonText: "Choose" });</code></pre> </dd> <dt> Get or set the <code>buttonText</code> option, after init. </dt> <dd> <pre><code>//getter var buttonText = $( ".selector" ).datepicker( "option", "buttonText" ); //setter $( ".selector" ).datepicker( "option", "buttonText", "Choose" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-calculateWeek"> <div class="option-header"> <h3 class="option-name"><a href="#option-calculateWeek">calculateWeek</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">$.datepicker.iso8601Week</dd> </dl> </div> <div class="option-description"> <p>A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>calculateWeek</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ calculateWeek: myWeekCalc });</code></pre> </dd> <dt> Get or set the <code>calculateWeek</code> option, after init. </dt> <dd> <pre><code>//getter var calculateWeek = $( ".selector" ).datepicker( "option", "calculateWeek" ); //setter $( ".selector" ).datepicker( "option", "calculateWeek", myWeekCalc );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-changeMonth"> <div class="option-header"> <h3 class="option-name"><a href="#option-changeMonth">changeMonth</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Allows you to change the month by selecting from a drop-down list. You can enable this feature by setting the attribute to true.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>changeMonth</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ changeMonth: true });</code></pre> </dd> <dt> Get or set the <code>changeMonth</code> option, after init. </dt> <dd> <pre><code>//getter var changeMonth = $( ".selector" ).datepicker( "option", "changeMonth" ); //setter $( ".selector" ).datepicker( "option", "changeMonth", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-changeYear"> <div class="option-header"> <h3 class="option-name"><a href="#option-changeYear">changeYear</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Allows you to change the year by selecting from a drop-down list. You can enable this feature by setting the attribute to true. Use the <code><a href="http://docs.jquery.com/UI/Datepicker#option-yearRange" title="UI/Datepicker">yearRange</a></code> option to control which years are made available for selection.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>changeYear</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ changeYear: true });</code></pre> </dd> <dt> Get or set the <code>changeYear</code> option, after init. </dt> <dd> <pre><code>//getter var changeYear = $( ".selector" ).datepicker( "option", "changeYear" ); //setter $( ".selector" ).datepicker( "option", "changeYear", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-closeText"> <div class="option-header"> <h3 class="option-name"><a href="#option-closeText">closeText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"Done"</dd> </dl> </div> <div class="option-description"> <p>The text to display for the close link. This attribute is one of the regionalisation attributes. Use the <code><a href="http://docs.jquery.com/UI/Datepicker#option-showButtonPanel" title="UI/Datepicker">showButtonPanel</a></code> to display this button.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>closeText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ closeText: "X" });</code></pre> </dd> <dt> Get or set the <code>closeText</code> option, after init. </dt> <dd> <pre><code>//getter var closeText = $( ".selector" ).datepicker( "option", "closeText" ); //setter $( ".selector" ).datepicker( "option", "closeText", "X" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-constrainInput"> <div class="option-header"> <h3 class="option-name"><a href="#option-constrainInput">constrainInput</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>When true entry in the input field is constrained to those characters allowed by the current <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>constrainInput</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ constrainInput: false });</code></pre> </dd> <dt> Get or set the <code>constrainInput</code> option, after init. </dt> <dd> <pre><code>//getter var constrainInput = $( ".selector" ).datepicker( "option", "constrainInput" ); //setter $( ".selector" ).datepicker( "option", "constrainInput", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-currentText"> <div class="option-header"> <h3 class="option-name"><a href="#option-currentText">currentText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"Today"</dd> </dl> </div> <div class="option-description"> <p>The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the <code><a href="http://docs.jquery.com/UI/Datepicker#option-showButtonPanel" title="UI/Datepicker">showButtonPanel</a></code> to display this button.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>currentText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ currentText: "Now" });</code></pre> </dd> <dt> Get or set the <code>currentText</code> option, after init. </dt> <dd> <pre><code>//getter var currentText = $( ".selector" ).datepicker( "option", "currentText" ); //setter $( ".selector" ).datepicker( "option", "currentText", "Now" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dateFormat"> <div class="option-header"> <h3 class="option-name"><a href="#option-dateFormat">dateFormat</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"mm/dd/yy"</dd> </dl> </div> <div class="option-description"> <p>The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the <code><a href="http://docs.jquery.com/UI/Datepicker/formatDate" title="UI/Datepicker/formatDate">formatDate</a></code> function.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>dateFormat</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ dateFormat: "yy-mm-dd" });</code></pre> </dd> <dt> Get or set the <code>dateFormat</code> option, after init. </dt> <dd> <pre><code>//getter var dateFormat = $( ".selector" ).datepicker( "option", "dateFormat" ); //setter $( ".selector" ).datepicker( "option", "dateFormat", "yy-mm-dd" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dayNames"> <div class="option-header"> <h3 class="option-name"><a href="#option-dayNames">dayNames</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]</dd> </dl> </div> <div class="option-description"> <p>The list of long day names, starting from Sunday, for use as requested via the <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> setting. They also appear as popup hints when hovering over the corresponding column headings. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>dayNames</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ dayNames: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"] });</code></pre> </dd> <dt> Get or set the <code>dayNames</code> option, after init. </dt> <dd> <pre><code>//getter var dayNames = $( ".selector" ).datepicker( "option", "dayNames" ); //setter $( ".selector" ).datepicker( "option", "dayNames", ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dayNamesMin"> <div class="option-header"> <h3 class="option-name"><a href="#option-dayNamesMin">dayNamesMin</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]</dd> </dl> </div> <div class="option-description"> <p>The list of minimised day names, starting from Sunday, for use as column headers within the datepicker. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>dayNamesMin</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ dayNamesMin: ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"] });</code></pre> </dd> <dt> Get or set the <code>dayNamesMin</code> option, after init. </dt> <dd> <pre><code>//getter var dayNamesMin = $( ".selector" ).datepicker( "option", "dayNamesMin" ); //setter $( ".selector" ).datepicker( "option", "dayNamesMin", ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-dayNamesShort"> <div class="option-header"> <h3 class="option-name"><a href="#option-dayNamesShort">dayNamesShort</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]</dd> </dl> </div> <div class="option-description"> <p>The list of abbreviated day names, starting from Sunday, for use as requested via the <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> setting. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>dayNamesShort</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ dayNamesShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"] });</code></pre> </dd> <dt> Get or set the <code>dayNamesShort</code> option, after init. </dt> <dd> <pre><code>//getter var dayNamesShort = $( ".selector" ).datepicker( "option", "dayNamesShort" ); //setter $( ".selector" ).datepicker( "option", "dayNamesShort", ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-defaultDate"> <div class="option-header"> <h3 class="option-name"><a href="#option-defaultDate">defaultDate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Date, Number, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code>, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null for today.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>defaultDate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ defaultDate: +7 });</code></pre> </dd> <dt> Get or set the <code>defaultDate</code> option, after init. </dt> <dd> <pre><code>//getter var defaultDate = $( ".selector" ).datepicker( "option", "defaultDate" ); //setter $( ".selector" ).datepicker( "option", "defaultDate", +7 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-duration"> <div class="option-header"> <h3 class="option-name"><a href="#option-duration">duration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"normal"</dd> </dl> </div> <div class="option-description"> <p>Control the speed at which the datepicker appears, it may be a time in milliseconds or a string representing one of the three predefined speeds ("slow", "normal", "fast").</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>duration</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ duration: "slow" });</code></pre> </dd> <dt> Get or set the <code>duration</code> option, after init. </dt> <dd> <pre><code>//getter var duration = $( ".selector" ).datepicker( "option", "duration" ); //setter $( ".selector" ).datepicker( "option", "duration", "slow" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-firstDay"> <div class="option-header"> <h3 class="option-name"><a href="#option-firstDay">firstDay</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Set the first day of the week: Sunday is 0, Monday is 1, ... This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>firstDay</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ firstDay: 1 });</code></pre> </dd> <dt> Get or set the <code>firstDay</code> option, after init. </dt> <dd> <pre><code>//getter var firstDay = $( ".selector" ).datepicker( "option", "firstDay" ); //setter $( ".selector" ).datepicker( "option", "firstDay", 1 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-gotoCurrent"> <div class="option-header"> <h3 class="option-name"><a href="#option-gotoCurrent">gotoCurrent</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>When true the current day link moves to the currently selected date instead of today.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>gotoCurrent</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ gotoCurrent: true });</code></pre> </dd> <dt> Get or set the <code>gotoCurrent</code> option, after init. </dt> <dd> <pre><code>//getter var gotoCurrent = $( ".selector" ).datepicker( "option", "gotoCurrent" ); //setter $( ".selector" ).datepicker( "option", "gotoCurrent", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-hideIfNoPrevNext"> <div class="option-header"> <h3 class="option-name"><a href="#option-hideIfNoPrevNext">hideIfNoPrevNext</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Normally the previous and next links are disabled when not applicable (see <code><a href="http://docs.jquery.com/UI/Datepicker#option-minDate" title="UI/Datepicker">minDate</a></code>/<code><a href="http://docs.jquery.com/UI/Datepicker#option-maxDate" title="UI/Datepicker">maxDate</a></code>). You can hide them altogether by setting this attribute to true.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>hideIfNoPrevNext</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ hideIfNoPrevNext: true });</code></pre> </dd> <dt> Get or set the <code>hideIfNoPrevNext</code> option, after init. </dt> <dd> <pre><code>//getter var hideIfNoPrevNext = $( ".selector" ).datepicker( "option", "hideIfNoPrevNext" ); //setter $( ".selector" ).datepicker( "option", "hideIfNoPrevNext", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-isRTL"> <div class="option-header"> <h3 class="option-name"><a href="#option-isRTL">isRTL</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>True if the current language is drawn from right to left. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>isRTL</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ isRTL: true });</code></pre> </dd> <dt> Get or set the <code>isRTL</code> option, after init. </dt> <dd> <pre><code>//getter var isRTL = $( ".selector" ).datepicker( "option", "isRTL" ); //setter $( ".selector" ).datepicker( "option", "isRTL", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-maxDate"> <div class="option-header"> <h3 class="option-name"><a href="#option-maxDate">maxDate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Date, Number, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Set a maximum selectable date via a Date object or as a string in the current <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code>, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +1w'), or null for no limit.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>maxDate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ maxDate: "+1m +1w" });</code></pre> </dd> <dt> Get or set the <code>maxDate</code> option, after init. </dt> <dd> <pre><code>//getter var maxDate = $( ".selector" ).datepicker( "option", "maxDate" ); //setter $( ".selector" ).datepicker( "option", "maxDate", "+1m +1w" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-minDate"> <div class="option-header"> <h3 class="option-name"><a href="#option-minDate">minDate</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Date, Number, String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">null</dd> </dl> </div> <div class="option-description"> <p>Set a minimum selectable date via a Date object or as a string in the current <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code>, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '-1y -1m'), or null for no limit.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>minDate</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ minDate: new Date(2007, 1 - 1, 1) });</code></pre> </dd> <dt> Get or set the <code>minDate</code> option, after init. </dt> <dd> <pre><code>//getter var minDate = $( ".selector" ).datepicker( "option", "minDate" ); //setter $( ".selector" ).datepicker( "option", "minDate", new Date(2007, 1 - 1, 1) );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-monthNames"> <div class="option-header"> <h3 class="option-name"><a href="#option-monthNames">monthNames</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]</dd> </dl> </div> <div class="option-description"> <p>The list of full month names, for use as requested via the <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> setting. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>monthNames</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ monthNames: ["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"] });</code></pre> </dd> <dt> Get or set the <code>monthNames</code> option, after init. </dt> <dd> <pre><code>//getter var monthNames = $( ".selector" ).datepicker( "option", "monthNames" ); //setter $( ".selector" ).datepicker( "option", "monthNames", ["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-monthNamesShort"> <div class="option-header"> <h3 class="option-name"><a href="#option-monthNamesShort">monthNamesShort</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]</dd> </dl> </div> <div class="option-description"> <p>The list of abbreviated month names, as used in the month header on each datepicker and as requested via the <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> setting. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>monthNamesShort</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ monthNamesShort: ["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"] });</code></pre> </dd> <dt> Get or set the <code>monthNamesShort</code> option, after init. </dt> <dd> <pre><code>//getter var monthNamesShort = $( ".selector" ).datepicker( "option", "monthNamesShort" ); //setter $( ".selector" ).datepicker( "option", "monthNamesShort", ["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-navigationAsDateFormat"> <div class="option-header"> <h3 class="option-name"><a href="#option-navigationAsDateFormat">navigationAsDateFormat</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>When true the <code><a href="http://docs.jquery.com/UI/Datepicker/formatDate" title="UI/Datepicker/formatDate">formatDate</a></code> function is applied to the <code><a href="http://docs.jquery.com/UI/Datepicker#option-prevText" title="UI/Datepicker">prevText</a></code>, <code><a href="http://docs.jquery.com/UI/Datepicker#option-nextText" title="UI/Datepicker">nextText</a></code>, and <code><a href="http://docs.jquery.com/UI/Datepicker#option-currentText" title="UI/Datepicker">currentText</a></code> values before display, allowing them to display the target month names for example.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>navigationAsDateFormat</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ navigationAsDateFormat: true });</code></pre> </dd> <dt> Get or set the <code>navigationAsDateFormat</code> option, after init. </dt> <dd> <pre><code>//getter var navigationAsDateFormat = $( ".selector" ).datepicker( "option", "navigationAsDateFormat" ); //setter $( ".selector" ).datepicker( "option", "navigationAsDateFormat", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-nextText"> <div class="option-header"> <h3 class="option-name"><a href="#option-nextText">nextText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"Next"</dd> </dl> </div> <div class="option-description"> <p>The text to display for the next month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>nextText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ nextText: "Later" });</code></pre> </dd> <dt> Get or set the <code>nextText</code> option, after init. </dt> <dd> <pre><code>//getter var nextText = $( ".selector" ).datepicker( "option", "nextText" ); //setter $( ".selector" ).datepicker( "option", "nextText", "Later" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-numberOfMonths"> <div class="option-header"> <h3 class="option-name"><a href="#option-numberOfMonths">numberOfMonths</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number, Array</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Set how many months to show at once. The value can be a straight integer, or can be a two-element array to define the number of rows and columns to display.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>numberOfMonths</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ numberOfMonths: [2, 3] });</code></pre> </dd> <dt> Get or set the <code>numberOfMonths</code> option, after init. </dt> <dd> <pre><code>//getter var numberOfMonths = $( ".selector" ).datepicker( "option", "numberOfMonths" ); //setter $( ".selector" ).datepicker( "option", "numberOfMonths", [2, 3] );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-prevText"> <div class="option-header"> <h3 class="option-name"><a href="#option-prevText">prevText</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"Prev"</dd> </dl> </div> <div class="option-description"> <p>The text to display for the previous month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>prevText</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ prevText: "Earlier" });</code></pre> </dd> <dt> Get or set the <code>prevText</code> option, after init. </dt> <dd> <pre><code>//getter var prevText = $( ".selector" ).datepicker( "option", "prevText" ); //setter $( ".selector" ).datepicker( "option", "prevText", "Earlier" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-selectOtherMonths"> <div class="option-header"> <h3 class="option-name"><a href="#option-selectOtherMonths">selectOtherMonths</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>When true days in other months shown before or after the current month are selectable. This only applies if <code><a href="http://docs.jquery.com/UI/Datepicker#option-showOtherMonths" title="UI/Datepicker">showOtherMonths</a></code> is also true.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>selectOtherMonths</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ selectOtherMonths: true });</code></pre> </dd> <dt> Get or set the <code>selectOtherMonths</code> option, after init. </dt> <dd> <pre><code>//getter var selectOtherMonths = $( ".selector" ).datepicker( "option", "selectOtherMonths" ); //setter $( ".selector" ).datepicker( "option", "selectOtherMonths", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-shortYearCutoff"> <div class="option-header"> <h3 class="option-name"><a href="#option-shortYearCutoff">shortYearCutoff</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"+10"</dd> </dl> </div> <div class="option-description"> <p>Set the cutoff year for determining the century for a date (used in conjunction with <code><a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">dateFormat</a></code> 'y'). If a numeric value (0-99) is provided then this value is used directly. If a string value is provided then it is converted to a number and added to the current year. Once the cutoff year is calculated, any dates entered with a year value less than or equal to it are considered to be in the current century, while those greater than it are deemed to be in the previous century.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>shortYearCutoff</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ shortYearCutoff: 50 });</code></pre> </dd> <dt> Get or set the <code>shortYearCutoff</code> option, after init. </dt> <dd> <pre><code>//getter var shortYearCutoff = $( ".selector" ).datepicker( "option", "shortYearCutoff" ); //setter $( ".selector" ).datepicker( "option", "shortYearCutoff", 50 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showAnim"> <div class="option-header"> <h3 class="option-name"><a href="#option-showAnim">showAnim</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"show"</dd> </dl> </div> <div class="option-description"> <p>Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide <a href="http://docs.jquery.com/UI/Effects" class="external text" title="http://docs.jquery.com/UI/Effects">jQuery UI effects</a>, or &quot;&quot; for no animation.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showAnim</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showAnim: "fold" });</code></pre> </dd> <dt> Get or set the <code>showAnim</code> option, after init. </dt> <dd> <pre><code>//getter var showAnim = $( ".selector" ).datepicker( "option", "showAnim" ); //setter $( ".selector" ).datepicker( "option", "showAnim", "fold" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showButtonPanel"> <div class="option-header"> <h3 class="option-name"><a href="#option-showButtonPanel">showButtonPanel</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Whether to show the button panel.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showButtonPanel</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showButtonPanel: true });</code></pre> </dd> <dt> Get or set the <code>showButtonPanel</code> option, after init. </dt> <dd> <pre><code>//getter var showButtonPanel = $( ".selector" ).datepicker( "option", "showButtonPanel" ); //setter $( ".selector" ).datepicker( "option", "showButtonPanel", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showCurrentAtPos"> <div class="option-header"> <h3 class="option-name"><a href="#option-showCurrentAtPos">showCurrentAtPos</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>Specify where in a <a href="http://docs.jquery.com/UI/Datepicker#option-numberOfMonths" title="UI/Datepicker">multi-month</a> display the current month shows, starting from 0 at the top/left.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showCurrentAtPos</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showCurrentAtPos: 3 });</code></pre> </dd> <dt> Get or set the <code>showCurrentAtPos</code> option, after init. </dt> <dd> <pre><code>//getter var showCurrentAtPos = $( ".selector" ).datepicker( "option", "showCurrentAtPos" ); //setter $( ".selector" ).datepicker( "option", "showCurrentAtPos", 3 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showMonthAfterYear"> <div class="option-header"> <h3 class="option-name"><a href="#option-showMonthAfterYear">showMonthAfterYear</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Whether to show the month after the year in the header. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showMonthAfterYear</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showMonthAfterYear: true });</code></pre> </dd> <dt> Get or set the <code>showMonthAfterYear</code> option, after init. </dt> <dd> <pre><code>//getter var showMonthAfterYear = $( ".selector" ).datepicker( "option", "showMonthAfterYear" ); //setter $( ".selector" ).datepicker( "option", "showMonthAfterYear", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showOn"> <div class="option-header"> <h3 class="option-name"><a href="#option-showOn">showOn</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"focus"</dd> </dl> </div> <div class="option-description"> <p>Have the datepicker appear automatically when the field receives focus ("focus"), appear only when a button is clicked ("button"), or appear when either event taks place ("both").</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showOn</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showOn: "both" });</code></pre> </dd> <dt> Get or set the <code>showOn</code> option, after init. </dt> <dd> <pre><code>//getter var showOn = $( ".selector" ).datepicker( "option", "showOn" ); //setter $( ".selector" ).datepicker( "option", "showOn", "both" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showOptions"> <div class="option-header"> <h3 class="option-name"><a href="#option-showOptions">showOptions</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Options</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">{}</dd> </dl> </div> <div class="option-description"> <p>If using one of the jQuery UI effects for <code><a href="http://docs.jquery.com/UI/Datepicker#option-showAnim" title="UI/Datepicker">showAnim</a></code>, you can provide additional settings for that animation via this option.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showOptions</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showOptions: {direction: 'up'} });</code></pre> </dd> <dt> Get or set the <code>showOptions</code> option, after init. </dt> <dd> <pre><code>//getter var showOptions = $( ".selector" ).datepicker( "option", "showOptions" ); //setter $( ".selector" ).datepicker( "option", "showOptions", {direction: 'up'} );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showOtherMonths"> <div class="option-header"> <h3 class="option-name"><a href="#option-showOtherMonths">showOtherMonths</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use <code><a href="http://docs.jquery.com/UI/Datepicker#option-selectOtherMonths" title="UI/Datepicker">selectOtherMonths</a></code>.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showOtherMonths</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showOtherMonths: true });</code></pre> </dd> <dt> Get or set the <code>showOtherMonths</code> option, after init. </dt> <dd> <pre><code>//getter var showOtherMonths = $( ".selector" ).datepicker( "option", "showOtherMonths" ); //setter $( ".selector" ).datepicker( "option", "showOtherMonths", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-showWeek"> <div class="option-header"> <h3 class="option-name"><a href="#option-showWeek">showWeek</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>When true a column is added to show the week of the year. The <code><a href="http://docs.jquery.com/UI/Datepicker#option-calculateWeek" title="UI/Datepicker">calculateWeek</a></code> option determines how the week of the year is calculated. You may also want to change the <code><a href="http://docs.jquery.com/UI/Datepicker#option-firstDay" title="UI/Datepicker">firstDay</a></code> option.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>showWeek</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ showWeek: true });</code></pre> </dd> <dt> Get or set the <code>showWeek</code> option, after init. </dt> <dd> <pre><code>//getter var showWeek = $( ".selector" ).datepicker( "option", "showWeek" ); //setter $( ".selector" ).datepicker( "option", "showWeek", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-stepMonths"> <div class="option-header"> <h3 class="option-name"><a href="#option-stepMonths">stepMonths</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">1</dd> </dl> </div> <div class="option-description"> <p>Set how many months to move when clicking the Previous/Next links.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>stepMonths</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ stepMonths: 3 });</code></pre> </dd> <dt> Get or set the <code>stepMonths</code> option, after init. </dt> <dd> <pre><code>//getter var stepMonths = $( ".selector" ).datepicker( "option", "stepMonths" ); //setter $( ".selector" ).datepicker( "option", "stepMonths", 3 );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-weekHeader"> <div class="option-header"> <h3 class="option-name"><a href="#option-weekHeader">weekHeader</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"Wk"</dd> </dl> </div> <div class="option-description"> <p>The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use <code><a href="http://docs.jquery.com/UI/Datepicker#option-showWeek" title="UI/Datepicker">showWeek</a></code> to display this column.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>weekHeader</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ weekHeader: "W" });</code></pre> </dd> <dt> Get or set the <code>weekHeader</code> option, after init. </dt> <dd> <pre><code>//getter var weekHeader = $( ".selector" ).datepicker( "option", "weekHeader" ); //setter $( ".selector" ).datepicker( "option", "weekHeader", "W" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-yearRange"> <div class="option-header"> <h3 class="option-name"><a href="#option-yearRange">yearRange</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"c-10:c+10"</dd> </dl> </div> <div class="option-description"> <p>Control the range of years displayed in the year drop-down: either relative to today's year (-nn:+nn), relative to the currently selected year (c-nn:c+nn), absolute (nnnn:nnnn), or combinations of these formats (nnnn:-nn). Note that this option only affects what appears in the drop-down, to restrict which dates may be selected use the <code><a href="http://docs.jquery.com/UI/Datepicker#option-minDate" title="UI/Datepicker">minDate</a></code> and/or <code><a href="http://docs.jquery.com/UI/Datepicker#option-maxDate" title="UI/Datepicker">maxDate</a></code> options.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>yearRange</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ yearRange: "2000:2010" });</code></pre> </dd> <dt> Get or set the <code>yearRange</code> option, after init. </dt> <dd> <pre><code>//getter var yearRange = $( ".selector" ).datepicker( "option", "yearRange" ); //setter $( ".selector" ).datepicker( "option", "yearRange", "2000:2010" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-yearSuffix"> <div class="option-header"> <h3 class="option-name"><a href="#option-yearSuffix">yearSuffix</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">&quot;&quot;</dd> </dl> </div> <div class="option-description"> <p>Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a datepicker with the <code>yearSuffix</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).datepicker({ yearSuffix: "CE" });</code></pre> </dd> <dt> Get or set the <code>yearSuffix</code> option, after init. </dt> <dd> <pre><code>//getter var yearSuffix = $( ".selector" ).datepicker( "option", "yearSuffix" ); //setter </p> $( ".selector" ).datepicker( "option", "yearSuffix", "CE" );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <p><b>Known issue: Datepicker does not trigger a create event.</b></p> <li class="event" id="event-beforeShow"> <div class="event-header"> <h3 class="event-name"><a href="#event-beforeShow">beforeShow</a></h3> <dl> <dt class="event-type-label"></dt> <dd class="event-type">function(input, inst)</dd> </dl> </div> <div class="event-description"> <p>Can be a function that takes an input field and current datepicker instance and returns an options object to update the datepicker with. It is called just before the datepicker is displayed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>beforeShow</code> event as an init option. </dt> <dd> <pre><code>$('.selector').datepicker({ beforeShow: function(input, inst) { ... } });</code></pre> </dd> </dl> </div> </li> <p> <li class="event" id="event-beforeShowDay"> <div class="event-header"> <h3 class="event-name"><a href="#event-beforeShowDay">beforeShowDay</a></h3> <dl> <dt class="event-type-label"></dt> <dd class="event-type">function(date)</dd> </dl> </div> <div class="event-description"> <p>The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or &quot;&quot; for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>beforeShowDay</code> event as an init option. </dt> <dd> <pre><code>$('.selector').datepicker({ beforeShowDay: function(date) { ... } });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-onChangeMonthYear"> <div class="event-header"> <h3 class="event-name"><a href="#event-onChangeMonthYear">onChangeMonthYear</a></h3> <dl> <dt class="event-type-label"></dt> <dd class="event-type">function(year, month, inst)</dd> </dl> </div> <div class="event-description"> <p>Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. <code>this</code> refers to the associated input field.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>onChangeMonthYear</code> event as an init option. </dt> <dd> <pre><code>$('.selector').datepicker({ onChangeMonthYear: function(year, month, inst) { ... } });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-onClose"> <div class="event-header"> <h3 class="event-name"><a href="#event-onClose">onClose</a></h3> <dl> <dt class="event-type-label"></dt> <dd class="event-type">function(dateText, inst)</dd> </dl> </div> <div class="event-description"> <p>Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text (&quot;&quot; if none) and the datepicker instance as parameters. <code>this</code> refers to the associated input field.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>onClose</code> event as an init option. </dt> <dd> <pre><code>$('.selector').datepicker({ onClose: function(dateText, inst) { ... } });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-onSelect"> <div class="event-header"> <h3 class="event-name"><a href="#event-onSelect">onSelect</a></h3> <dl> <dt class="event-type-label"></dt> <dd class="event-type">function(dateText, inst)</dd> </dl> </div> <div class="event-description"> <p>Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. <code>this</code> refers to the associated input field.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>onSelect</code> event as an init option. </dt> <dd> <pre><code>$('.selector').datepicker({ onSelect: function(dateText, inst) { ... } });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the datepicker functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the datepicker.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the datepicker.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any datepicker option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple datepicker options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-datepicker element.</p> </div> </li> <li class="method" id="method-dialog"> <div class="method-header"> <h3 class="method-name"><a href="#method-dialog">dialog</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "dialog" , date , <span class="optional">[</span>onSelect<span class="optional">] </span> , <span class="optional">[</span>settings<span class="optional">] </span> , <span class="optional">[</span>pos<span class="optional">] </span>)</dd> </dl> </div> <div class="method-description"> <p>Open a datepicker in a "dialog" box. </p><p>dateText: the initial date for the date picker as either a Date or a string in the current date format. </p><p>onSelect: A callback function when a date is selected. The function receives the date text and date picker instance as parameters. </p><p>settings: The new settings for the date picker. </p><p>pos: The position of the top/left of the dialog as [x, y] or a MouseEvent that contains the coordinates. If not specified the dialog is centered on the screen.</p> </div> </li> <li class="method" id="method-isDisabled"> <div class="method-header"> <h3 class="method-name"><a href="#method-isDisabled">isDisabled</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "isDisabled" )</dd> </dl> </div> <div class="method-description"> <p>Determine whether a date picker has been disabled.</p> </div> </li> <li class="method" id="method-hide"> <div class="method-header"> <h3 class="method-name"><a href="#method-hide">hide</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "hide" )</dd> </dl> </div> <div class="method-description"> <p>Close a previously opened date picker.</p> </div> </li> <li class="method" id="method-show"> <div class="method-header"> <h3 class="method-name"><a href="#method-show">show</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "show" )</dd> </dl> </div> <div class="method-description"> <p>Call up a previously attached date picker. If the datepicker is attached to an input, the input must be visible for the datepicker to be shown.</p> </div> </li> <li class="method" id="method-refresh"> <div class="method-header"> <h3 class="method-name"><a href="#method-refresh">refresh</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "refresh" )</dd> </dl> </div> <div class="method-description"> <p>Redraw a date picker, after having made some external modifications.</p> </div> </li> <li class="method" id="method-getDate"> <div class="method-header"> <h3 class="method-name"><a href="#method-getDate">getDate</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "getDate" )</dd> </dl> </div> <div class="method-description"> <p>Returns the current date for the datepicker or null if no date has been selected.</p> </div> </li> <li class="method" id="method-setDate"> <div class="method-header"> <h3 class="method-name"><a href="#method-setDate">setDate</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.datepicker( "setDate" , date )</dd> </dl> </div> <div class="method-description"> <p>Sets the current date for the datepicker. The new date may be a Date object or a string in the current <a href="http://docs.jquery.com/UI/Datepicker#option-dateFormat" title="UI/Datepicker">date format</a> (e.g. '01/26/2009'), a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null to clear the selected date.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Datepicker plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.datepicker.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div id=&quot;ui-datepicker-div&quot; class=&quot;<strong>ui-datepicker</strong> ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-datepicker-header</strong> ui-widget-header ui-helper-clearfix ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;<strong>ui-datepicker-prev</strong> ui-corner-all&quot; title=&quot;Prev&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-w&quot;&gt;Prev&lt;/span&gt;&lt;/a&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;<strong>ui-datepicker-next</strong> ui-corner-all&quot; title=&quot;Next&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-circle-triangle-e&quot;&gt;Next&lt;/span&gt;&lt;/a&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-datepicker-title</strong>&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span class=&quot;<strong>ui-datepicker-month</strong>&quot;&gt;January&lt;/span&gt;&lt;span class=&quot;<strong>ui-datepicker-year</strong>&quot;&gt;2009&lt;/span&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;table class=&quot;<strong>ui-datepicker-calendar</strong>&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;thead&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th class=&quot;<strong>ui-datepicker-week-end</strong>&quot;&gt;&lt;span title=&quot;Sunday&quot;&gt;Su&lt;/span&gt;&lt;/th&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/thead&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tbody&gt;&lt;tr&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td class=&quot;<strong>ui-datepicker-week-end ui-datepicker-other-month</strong> &quot;&gt;&nbsp;1&nbsp;&lt;/td&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tbody&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/table&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-datepicker-buttonpane</strong> ui-widget-content&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;button type=&quot;button&quot; class=&quot;<strong>ui-datepicker-current</strong> ui-state-default ui-priority-secondary ui-corner-all&quot;&gt;Today&lt;/button&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;button type=&quot;button&quot; class=&quot;<strong>ui-datepicker-close</strong> ui-state-default ui-priority-primary ui-corner-all&quot;&gt;Done&lt;/button&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br /> &lt;/div&gt;<br /> <p class="theme-note"> <strong> Note: This is a sample of markup generated by the datepicker plugin, not markup you should use to create a datepicker. The only markup needed for that is &lt;input type="text" /&gt; or &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 97232 bytes Post-expand include size: 193554 bytes Template argument size: 121054 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3774-1!1!0!!en!2 and timestamp 20120416183404 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/datepicker.html
HTML
gpl2
80,958
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI show</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/show?section=1" title="Edit section: show( effect, [options], [speed], [callback] )">edit</a>]</div><a name="show.28_effect.2C_.5Boptions.5D.2C_.5Bspeed.5D.2C_.5Bcallback.5D_.29"></a><h3>show( effect, <span class="optional">[</span>options<span class="optional">]</span>, <span class="optional">[</span>speed<span class="optional">]</span>, <span class="optional">[</span>callback<span class="optional">]</span> )</h3> <p>The enhanced show method optionally accepts jQuery UI advanced effects.</p> <p>Uses a specific effect on an element to show the element if the first argument is a effect string.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Apply the effect slide if you click on the p to show a div.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">show</strong>(&quot;slide&quot;, {}, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.slide.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; div { display: none; margin: 0px; width: 100px; height: 80px; background: blue; position: relative; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">show</strong>(&quot;slide&quot;, {}, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me&lt;/p&gt;&lt;div&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-effect"> <div class="option-header"> <h3 class="option-name"><a href="#option-effect">effect</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'.</p> </div> </li> <li class="option" id="option-options"> <div class="option-header"> <h3 class="option-name"><a href="#option-options">options</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Hash</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A object/hash including specific options for the effect.</p> </div> </li> <li class="option" id="option-speed"> <div class="option-header"> <h3 class="option-name"><a href="#option-speed">speed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the predefined speeds ("slow" or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> <li class="option" id="option-callback"> <div class="option-header"> <h3 class="option-name"><a href="#option-callback">callback</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A function that is called after the effect is completed.</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 6354 bytes Post-expand include size: 8726 bytes Template argument size: 5452 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2613-1!1!0!!en!2 and timestamp 20120416171206 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/show.html
HTML
gpl2
5,272
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI effect</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/effect?section=1" title="Edit section: effect( effect, [options], [speed], [callback] )">edit</a>]</div><a name="effect.28_effect.2C_.5Boptions.5D.2C_.5Bspeed.5D.2C_.5Bcallback.5D_.29"></a><h3>effect( effect, <span class="optional">[</span>options<span class="optional">]</span>, <span class="optional">[</span>speed<span class="optional">]</span>, <span class="optional">[</span>callback<span class="optional">]</span> )</h3> <p>Uses a specific effect on an element (without the show/hide logic).</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Apply the effect explode if you click on the element.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">effect</strong>(&quot;explode&quot;); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.explode.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; div { margin: 0 auto; width: 100px; height: 80px; background: blue; position: relative; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(&quot;div&quot;).<strong class="selflink">effect</strong>(&quot;explode&quot;); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p&gt;Click me&lt;/p&gt;&lt;div&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-effect"> <div class="option-header"> <h3 class="option-name"><a href="#option-effect">effect</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The effect to be used. Possible values: 'blind', 'bounce', 'clip', 'drop', 'explode', 'fold', 'highlight', 'puff', 'pulsate', 'scale', 'shake', 'size', 'slide', 'transfer'.</p> </div> </li> <li class="option" id="option-options"> <div class="option-header"> <h3 class="option-name"><a href="#option-options">options</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Hash</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A object/hash including specific options for the effect.</p> </div> </li> <li class="option" id="option-speed"> <div class="option-header"> <h3 class="option-name"><a href="#option-speed">speed</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> <li class="option" id="option-callback"> <div class="option-header"> <h3 class="option-name"><a href="#option-callback">callback</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Function</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A function that is called after the effect is completed.</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 6364 bytes Post-expand include size: 8780 bytes Template argument size: 5498 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2612-1!1!0!!en!2 and timestamp 20120416170855 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/effect.html
HTML
gpl2
5,205
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Progressbar</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p> The progress bar is designed to simply display the current % complete for a process. The bar is coded to be flexibly sized through CSS and will scale to fit inside it's parent container by default. </p> <p> This is a determinate progress bar, meaning that it should only be used in situations where the system can accurately update the current status complete. A determinate progress bar should never fill from left to right, then loop back to empty for a single process -- if the actual percent complete status cannot be calculated, an indeterminate progress bar (coming soon) or spinner animation is a better way to provide user feedback. </p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> A simple jQuery UI Progressbar.<br /> </p> <pre>$(&quot;#progressbar&quot;).progressbar({ value: 37 }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#progressbar&quot;).progressbar({ value: 37 }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;progressbar&quot;&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the progressbar. Can be set when initialising (first creating) the progressbar.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a progressbar with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).progressbar({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).progressbar( "option", "disabled" ); //setter $( ".selector" ).progressbar( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-value"> <div class="option-header"> <h3 class="option-name"><a href="#option-value">value</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Number</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">0</dd> </dl> </div> <div class="option-description"> <p>The value of the progressbar.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a progressbar with the <code>value</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).progressbar({ value: 37 });</code></pre> </dd> <dt> Get or set the <code>value</code> option, after init. </dt> <dd> <pre><code>//getter var value = $( ".selector" ).progressbar( "option", "value" ); //setter $( ".selector" ).progressbar( "option", "value", 37 );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">progressbarcreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when progressbar is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).progressbar({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>progressbarcreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;progressbarcreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-change"> <div class="event-header"> <h3 class="event-name"><a href="#event-change">change</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">progressbarchange</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the value of the progressbar changes.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>change</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).progressbar({ change: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>change</code> event by type: <code>progressbarchange</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;progressbarchange&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-complete"> <div class="event-header"> <h3 class="event-name"><a href="#event-complete">complete</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">progressbarcomplete</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when the value of the progressbar reaches the maximum value of 100.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>complete</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).progressbar({ complete: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>complete</code> event by type: <code>progressbarcomplete</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;progressbarcomplete&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the progressbar functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the progressbar.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the progressbar.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any progressbar option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple progressbar options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-progressbar element.</p> </div> </li> <li class="method" id="method-value"> <div class="method-header"> <h3 class="method-name"><a href="#method-value">value</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.progressbar( "value" , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>This method gets or sets the current value of the progressbar.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Progressbar plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.progressbar.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-progressbar </strong>ui-widget ui-widget-content ui-corner-all&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&lt;div style=&quot;width: 37%;&quot; class=&quot;<strong>ui-progressbar-value</strong> ui-widget-header ui-corner-left&quot;&gt;&lt;/div&gt;<br /> &lt;/div&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the progressbar plugin, not markup you should use to create a progressbar. The only markup needed for that is &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 21669 bytes Post-expand include size: 26877 bytes Template argument size: 10769 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3780-1!1!0!!en!2 and timestamp 20120416183438 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/progressbar.html
HTML
gpl2
12,247
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Droppable</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <p>The jQuery UI Droppable plugin makes selected elements droppable (meaning they accept being dropped on by draggables). You can specify which (individually) or which kind of draggables each will accept.</p> <p>All callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):</p> <ul> <li> <b>ui.draggable</b> - current draggable element, a jQuery object.</li> <li> <b>ui.helper</b> - current draggable helper, a jQuery object</li> <li> <b>ui.position</b> - current position of the draggable helper { top: , left: }</li> <li> <b>ui.offset</b> - current absolute position of the draggable helper { top: , left: }</li> </ul> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>UI Core</li> <li>UI Widget</li> <li>UI Mouse</li> <li><a href="http://docs.jquery.com/UI/Draggable" title="UI/Draggable">UI Draggable</a></li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="100"> Makes the div droppable (a drop target for a draggable).<br /> </p> <pre>$(&quot;#draggable&quot;).draggable(); $(&quot;#droppable&quot;).droppable({ drop: function() { alert('dropped'); } }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; #draggable { width: 75px; height: 25px; background: silver; padding: 10px; } #droppable { position: absolute; left: 250px; top: 0; width: 125px; height: 75px; background: gray; color: white; padding: 10px; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;#draggable&quot;).draggable(); $(&quot;#droppable&quot;).droppable({ drop: function() { alert('dropped'); } }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;div id=&quot;droppable&quot;&gt;Drop here&lt;/div&gt; &lt;div id=&quot;draggable&quot;&gt;Drag me&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Options</h2> <ul class="options-list"> <li class="option" id="option-disabled"> <div class="option-header"> <h3 class="option-name"><a href="#option-disabled">disabled</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>Disables (true) or enables (false) the droppable. Can be set when initialising (first creating) the droppable.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>disabled</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ disabled: true });</code></pre> </dd> <dt> Get or set the <code>disabled</code> option, after init. </dt> <dd> <pre><code>//getter var disabled = $( ".selector" ).droppable( "option", "disabled" ); //setter $( ".selector" ).droppable( "option", "disabled", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-accept"> <div class="option-header"> <h3 class="option-name"><a href="#option-accept">accept</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Selector, Function</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"*"</dd> </dl> </div> <div class="option-description"> <p>All draggables that match the selector will be accepted. If a function is specified, the function will be called for each draggable on the page (passed as the first argument to the function), to provide a custom filter. The function should return true if the draggable should be accepted.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>accept</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ accept: ".special" });</code></pre> </dd> <dt> Get or set the <code>accept</code> option, after init. </dt> <dd> <pre><code>//getter var accept = $( ".selector" ).droppable( "option", "accept" ); //setter $( ".selector" ).droppable( "option", "accept", ".special" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-activeClass"> <div class="option-header"> <h3 class="option-name"><a href="#option-activeClass">activeClass</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If specified, the class will be added to the droppable while an acceptable draggable is being dragged.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>activeClass</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ activeClass: "ui-state-highlight" });</code></pre> </dd> <dt> Get or set the <code>activeClass</code> option, after init. </dt> <dd> <pre><code>//getter var activeClass = $( ".selector" ).droppable( "option", "activeClass" ); //setter $( ".selector" ).droppable( "option", "activeClass", "ui-state-highlight" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-addClasses"> <div class="option-header"> <h3 class="option-name"><a href="#option-addClasses">addClasses</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">true</dd> </dl> </div> <div class="option-description"> <p>If set to false, will prevent the ui-droppable class from being added. This may be desired as a performance optimization when calling .droppable() init on many hundreds of elements.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>addClasses</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ addClasses: false });</code></pre> </dd> <dt> Get or set the <code>addClasses</code> option, after init. </dt> <dd> <pre><code>//getter var addClasses = $( ".selector" ).droppable( "option", "addClasses" ); //setter $( ".selector" ).droppable( "option", "addClasses", false );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-greedy"> <div class="option-header"> <h3 class="option-name"><a href="#option-greedy">greedy</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">Boolean</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If true, will prevent event propagation on nested droppables.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>greedy</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ greedy: true });</code></pre> </dd> <dt> Get or set the <code>greedy</code> option, after init. </dt> <dd> <pre><code>//getter var greedy = $( ".selector" ).droppable( "option", "greedy" ); //setter $( ".selector" ).droppable( "option", "greedy", true );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-hoverClass"> <div class="option-header"> <h3 class="option-name"><a href="#option-hoverClass">hoverClass</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">false</dd> </dl> </div> <div class="option-description"> <p>If specified, the class will be added to the droppable while an acceptable draggable is being hovered.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>hoverClass</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ hoverClass: "drophover" });</code></pre> </dd> <dt> Get or set the <code>hoverClass</code> option, after init. </dt> <dd> <pre><code>//getter var hoverClass = $( ".selector" ).droppable( "option", "hoverClass" ); //setter $( ".selector" ).droppable( "option", "hoverClass", "drophover" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-scope"> <div class="option-header"> <h3 class="option-name"><a href="#option-scope">scope</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"default"</dd> </dl> </div> <div class="option-description"> <p>Used to group sets of draggable and droppable items, in addition to droppable's accept option. A draggable with the same scope value as a droppable will be accepted.</p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>scope</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ scope: "tasks" });</code></pre> </dd> <dt> Get or set the <code>scope</code> option, after init. </dt> <dd> <pre><code>//getter var scope = $( ".selector" ).droppable( "option", "scope" ); //setter $( ".selector" ).droppable( "option", "scope", "tasks" );</code></pre> </dd> </dl> </div> </li> <li class="option" id="option-tolerance"> <div class="option-header"> <h3 class="option-name"><a href="#option-tolerance">tolerance</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> <dt class="option-default-label">Default:</dt> <dd class="option-default">"intersect"</dd> </dl> </div> <div class="option-description"> <p>Specifies which mode to use for testing whether a draggable is 'over' a droppable. Possible values: 'fit', 'intersect', 'pointer', 'touch'. </p> <ul> <li><b>fit</b>: draggable overlaps the droppable entirely</li> <li><b>intersect</b>: draggable overlaps the droppable at least 50%</li> <li><b>pointer</b>: mouse pointer overlaps the droppable</li> <li><b>touch</b>: draggable overlaps the droppable any amount</li> </ul> <p></p> </div> <div class="option-examples"> <h4>Code examples</h4> <dl class="option-examples-list"> <dt> Initialize a droppable with the <code>tolerance</code> option specified. </dt> <dd> <pre><code>$( ".selector" ).droppable({ tolerance: "fit" });</code></pre> </dd> <dt> Get or set the <code>tolerance</code> option, after init. </dt> <dd> <pre><code>//getter var tolerance = $( ".selector" ).droppable( "option", "tolerance" ); //setter $( ".selector" ).droppable( "option", "tolerance", "fit" );</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="events"> <h2 class="top-header">Events</h2> <ul class="events-list"> <li class="event" id="event-create"> <div class="event-header"> <h3 class="event-name"><a href="#event-create">create</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dropcreate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when droppable is created.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>create</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ create: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>create</code> event by type: <code>dropcreate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dropcreate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-activate"> <div class="event-header"> <h3 class="event-name"><a href="#event-activate">activate</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dropactivate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered any time an accepted draggable starts dragging. This can be useful if you want to make the droppable 'light up' when it can be dropped on.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>activate</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ activate: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>activate</code> event by type: <code>dropactivate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dropactivate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-deactivate"> <div class="event-header"> <h3 class="event-name"><a href="#event-deactivate">deactivate</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dropdeactivate</dd> </dl> </div> <div class="event-description"> <p>This event is triggered any time an accepted draggable stops dragging.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>deactivate</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ deactivate: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>deactivate</code> event by type: <code>dropdeactivate</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dropdeactivate&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-over"> <div class="event-header"> <h3 class="event-name"><a href="#event-over">over</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dropover</dd> </dl> </div> <div class="event-description"> <p>This event is triggered as an accepted draggable is dragged 'over' (within the tolerance of) this droppable.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>over</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ over: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>over</code> event by type: <code>dropover</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dropover&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-out"> <div class="event-header"> <h3 class="event-name"><a href="#event-out">out</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">dropout</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when an accepted draggable is dragged out (within the tolerance of) this droppable.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>out</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ out: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>out</code> event by type: <code>dropout</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;dropout&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> <li class="event" id="event-drop"> <div class="event-header"> <h3 class="event-name"><a href="#event-drop">drop</a></h3> <dl> <dt class="event-type-label">Type:</dt> <dd class="event-type">drop</dd> </dl> </div> <div class="event-description"> <p>This event is triggered when an accepted draggable is dropped 'over' (within the tolerance of) this droppable. In the callback, $(this) represents the droppable the draggable is dropped on. ui.draggable represents the draggable.</p> </div> <div class="event-examples"> <h4>Code examples</h4> <dl class="event-examples-list"> <dt> Supply a callback function to handle the <code>drop</code> event as an init option. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).droppable({ drop: function(event, ui) { ... } });</code></pre> </dd> <dt> Bind to the <code>drop</code> event by type: <code>drop</code>. </dt> <dd> <pre><code>$( &quot;.selector&quot; ).bind( &quot;drop&quot;, function(event, ui) { ... });</code></pre> </dd> </dl> </div> </li> </ul> </div> <div id="methods"> <h2 class="top-header">Methods</h2> <ul class="methods-list"> <li class="method" id="method-destroy"> <div class="method-header"> <h3 class="method-name"><a href="#method-destroy">destroy</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "destroy" )</dd> </dl> </div> <div class="method-description"> <p>Remove the droppable functionality completely. This will return the element back to its pre-init state.</p> </div> </li> <li class="method" id="method-disable"> <div class="method-header"> <h3 class="method-name"><a href="#method-disable">disable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "disable" )</dd> </dl> </div> <div class="method-description"> <p>Disable the droppable.</p> </div> </li> <li class="method" id="method-enable"> <div class="method-header"> <h3 class="method-name"><a href="#method-enable">enable</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "enable" )</dd> </dl> </div> <div class="method-description"> <p>Enable the droppable.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "option" , optionName , <span class="optional">[</span>value<span class="optional">] </span> )</dd> </dl> </div> <div class="method-description"> <p>Get or set any droppable option. If no value is specified, will act as a getter.</p> </div> </li> <li class="method" id="method-option"> <div class="method-header"> <h3 class="method-name"><a href="#method-option">option</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "option" , options )</dd> </dl> </div> <div class="method-description"> <p>Set multiple droppable options at once by providing an options object.</p> </div> </li> <li class="method" id="method-widget"> <div class="method-header"> <h3 class="method-name"><a href="#method-widget">widget</a></h3> <dl> <dt class="method-signature-label">Signature:</dt> <dd class="method-signature">.droppable( "widget" )</dd> </dl> </div> <div class="method-description"> <p>Returns the .ui-droppable element.</p> </div> </li> </ul> </div> <div id="theming"> <h2 class="top-header">Theming</h2> <p>The jQuery UI Droppable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain. </p> <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.droppable.css stylesheet that can be modified. These classes are highlighed in bold below. </p> <h3>Sample markup with jQuery UI CSS Framework classes</h3> &lt;div class=&quot;<strong>ui-droppable</strong>&quot;&gt;&lt;/div&gt; <p class="theme-note"> <strong> Note: This is a sample of markup generated by the droppable plugin, not markup you should use to create a droppable. The only markup needed for that is &lt;div&gt;&lt;/div&gt;. </strong> </p> </div> </div> </p><!-- Pre-expand include size: 33687 bytes Post-expand include size: 52676 bytes Template argument size: 26565 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3769-1!1!0!!en!2 and timestamp 20120416175353 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/droppable.html
HTML
gpl2
22,546
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Arguments</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI switchClass</h1> <div id="overview"> <h2 class="top-header">Overview</h2> <div id="overview-main"> <div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/switchClass?section=1" title="Edit section: switchClass( remove, add, [duration] )">edit</a>]</div><a name="switchClass.28_remove.2C_add.2C_.5Bduration.5D_.29"></a><h3>switchClass( remove, add, <span class="optional">[</span>duration<span class="optional">]</span> )</h3> <p>Switches from the class defined in the first argument to the class defined as second argument, using an optional transition.</p> </div> <div id="overview-dependencies"> <h3>Dependencies</h3> <ul> <li>Effects Core</li> </ul> </div> <div id="overview-example"> <h3>Example</h3> <div id="overview-example" class="example"> <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul> <p><div id="demo" class="tabs-container" rel="170"> Switch the class 'highlight' to 'blue' when a paragraph is clicked with a one second transition.<br /> </p> <pre>$(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">switchClass</strong>(&quot;highlight&quot;, &quot;blue&quot;, 1000); }); </pre> <p></div><div id="source" class="tabs-container"> </p> <pre>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://ui.jquery.com/latest/ui/effects.core.js&quot;&gt;&lt;/script&gt; &lt;style type=&quot;text/css&quot;&gt; p { margin: 4px; font-size:16px; font-weight:bolder; cursor:pointer; } .blue { background: blue; } .highlight { background:yellow; } &lt;/style&gt; &lt;script&gt; $(document).ready(function() { $(&quot;p&quot;).<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () { $(this).<strong class="selflink">switchClass</strong>(&quot;highlight&quot;, &quot;blue&quot;, 1000); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body style="font-size:62.5%;"&gt; &lt;p class=&quot;highlight&quot;&gt;Click to switch&lt;/p&gt; &lt;p class=&quot;highlight&quot;&gt;to blue&lt;/p&gt; &lt;p class=&quot;highlight&quot;&gt;on these&lt;/p&gt; &lt;p class=&quot;highlight&quot;&gt;paragraphs&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p></div> </p><p></div> </div> </div> <div id="options"> <h2 class="top-header">Arguments</h2> <ul class="options-list"> <li class="option" id="option-remove"> <div class="option-header"> <h3 class="option-name"><a href="#option-remove">remove</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The CSS class that will be removed.</p> </div> </li> <li class="option" id="option-add"> <div class="option-header"> <h3 class="option-name"><a href="#option-add">add</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String</dd> </dl> </div> <div class="option-description"> <p>The CSS class that will be added.</p> </div> </li> <li class="option" id="option-duration"> <div class="option-header"> <h3 class="option-name"><a href="#option-duration">duration</a></h3> <dl> <dt class="option-type-label">Type:</dt> <dd class="option-type">String, Number</dd> <dt class="option-optional-label">Optional</dt> </dl> </div> <div class="option-description"> <p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p> </div> </li> </ul> </div> </div> </p><!-- Pre-expand include size: 5818 bytes Post-expand include size: 7682 bytes Template argument size: 4812 bytes Maximum: 2097152 bytes --> <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2609-1!1!0!!en!2 and timestamp 20120416171106 -->
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/docs/switchClass.html
HTML
gpl2
4,659
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Icons</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( ".demo button:first" ).button({ icons: { primary: "ui-icon-locked" }, text: false }).next().button({ icons: { primary: "ui-icon-locked" } }).next().button({ icons: { primary: "ui-icon-gear", secondary: "ui-icon-triangle-1-s" } }).next().button({ icons: { primary: "ui-icon-gear", secondary: "ui-icon-triangle-1-s" }, text: false }); }); </script> </head> <body> <div class="demo"> <button>Button with icon only</button> <button>Button with icon on the left</button> <button>Button with two icons</button> <button>Button with two icons and no text</button> </div><!-- End demo --> <div class="demo-description"> <p>Some buttons with various combinations of text and icons, here specified via metadata.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/icons.html
HTML
gpl2
1,470
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Checkboxes</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#check" ).button(); $( "#format" ).buttonset(); }); </script> <style> #format { margin-top: 2em; } </style> </head> <body> <div class="demo"> <input type="checkbox" id="check" /><label for="check">Toggle</label> <div id="format"> <input type="checkbox" id="check1" /><label for="check1">B</label> <input type="checkbox" id="check2" /><label for="check2">I</label> <input type="checkbox" id="check3" /><label for="check3">U</label> </div> </div><!-- End demo --> <div class="demo-description"> <p>A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.</p> <p>This demo also demonstrates three checkboxes styled as a button set by calling <code>.buttonset()</code> on a common container.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/checkbox.html
HTML
gpl2
1,307
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Split button</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#rerun" ) .button() .click(function() { alert( "Running the last action" ); }) .next() .button( { text: false, icons: { primary: "ui-icon-triangle-1-s" } }) .click(function() { alert( "Could display a menu to select an action" ); }) .parent() .buttonset(); }); </script> <style> </style> </head> <body> <div class="demo"> <div> <button id="rerun">Run last action</button> <button id="select">Select an action</button> </div> </div><!-- End demo --> <div class="demo-description"> <p>An example of a split button built with two buttons: A plan button with just text, one with only a primary icon and no text. Both are grouped together in a set.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/splitbutton.html
HTML
gpl2
1,247
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Radios</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#radio" ).buttonset(); }); </script> </head> <body> <div class="demo"> <form> <div id="radio"> <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label> <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label> <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label> </div> </form> </div><!-- End demo --> <div class="demo-description"> <p>A set of three radio buttons transformed into a button set.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/radio.html
HTML
gpl2
1,029
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Toolbar</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #toolbar { padding: 10px 4px; } </style> <script> $(function() { $( "#beginning" ).button({ text: false, icons: { primary: "ui-icon-seek-start" } }); $( "#rewind" ).button({ text: false, icons: { primary: "ui-icon-seek-prev" } }); $( "#play" ).button({ text: false, icons: { primary: "ui-icon-play" } }) .click(function() { var options; if ( $( this ).text() === "play" ) { options = { label: "pause", icons: { primary: "ui-icon-pause" } }; } else { options = { label: "play", icons: { primary: "ui-icon-play" } }; } $( this ).button( "option", options ); }); $( "#stop" ).button({ text: false, icons: { primary: "ui-icon-stop" } }) .click(function() { $( "#play" ).button( "option", { label: "play", icons: { primary: "ui-icon-play" } }); }); $( "#forward" ).button({ text: false, icons: { primary: "ui-icon-seek-next" } }); $( "#end" ).button({ text: false, icons: { primary: "ui-icon-seek-end" } }); $( "#shuffle" ).button(); $( "#repeat" ).buttonset(); }); </script> </head> <body> <div class="demo"> <span id="toolbar" class="ui-widget-header ui-corner-all"> <button id="beginning">go to beginning</button> <button id="rewind">rewind</button> <button id="play">play</button> <button id="stop">stop</button> <button id="forward">fast forward</button> <button id="end">go to end</button> <input type="checkbox" id="shuffle" /><label for="shuffle">Shuffle</label> <span id="repeat"> <input type="radio" id="repeat0" name="repeat" checked="checked" /><label for="repeat0">No Repeat</label> <input type="radio" id="repeat1" name="repeat" /><label for="repeat1">Once</label> <input type="radio" id="repeatall" name="repeat" /><label for="repeatall">All</label> </span> </span> </div><!-- End demo --> <div class="demo-description"> <p> A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/toolbar.html
HTML
gpl2
2,665
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.button.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "input:submit, a, button", ".demo" ).button(); $( "a", ".demo" ).click(function() { return false; }); }); </script> </head> <body> <div class="demo"> <button>A button element</button> <input type="submit" value="A submit button"/> <a href="#">An anchor</a> </div><!-- End demo --> <div class="demo-description"> <p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/default.html
HTML
gpl2
966
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Button Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> <li><a href="radio.html">Radios</a></li> <li><a href="checkbox.html">Checkboxes</a></li> <li><a href="icons.html">Icons</a></li> <li><a href="toolbar.html">Toolbar</a></li> <li><a href="splitbutton.html">Split Button</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/button/index.html
HTML
gpl2
563
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Display multiple months</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ numberOfMonths: 3, showButtonPanel: true }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>Set the <code>numberOfMonths</code> option to an integer of 2 or more to show multiple months in a single datepicker.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/multiple-calendars.html
HTML
gpl2
902
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Select a Date Range</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { var dates = $( "#from, #to" ).datepicker({ defaultDate: "+1w", changeMonth: true, numberOfMonths: 3, onSelect: function( selectedDate ) { var option = this.id == "from" ? "minDate" : "maxDate", instance = $( this ).data( "datepicker" ), date = $.datepicker.parseDate( instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings ); dates.not( this ).datepicker( "option", option, date ); } }); }); </script> </head> <body> <div class="demo"> <label for="from">From</label> <input type="text" id="from" name="from"/> <label for="to">to</label> <input type="text" id="to" name="to"/> </div><!-- End demo --> <div class="demo-description"> <p>Select the date range to search for.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/date-range.html
HTML
gpl2
1,308
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Restrict date range</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>Restrict the range of selectable dates with the <code>minDate</code> and <code>maxDate</code> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/min-max.html
HTML
gpl2
1,116
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Populate alternate field</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ altField: "#alternate", altFormat: "DD, d MM, yy" }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker">&nbsp;<input type="text" id="alternate" size="30"/></p> </div><!-- End demo --> <div class="demo-description"> <p>Populate an alternate field with its own date format whenever a date is selected using the <code>altField</code> and <code>altFormat</code> options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/alt-field.html
HTML
gpl2
1,151
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Show week of the year</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ showWeek: true, firstDay: 1 }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>The datepicker can show the week of the year. The default calculation follows the ISO 8601 definition: the week starts on Monday, the first week of the year contains the first Thursday of the year. This means that some days from one year may be placed into weeks 'belonging' to another year.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/show-week.html
HTML
gpl2
1,064
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Dates in other months</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ showOtherMonths: true, selectOtherMonths: true }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>The datepicker can show dates that come from other than the main month being displayed. These other dates can also be made selectable.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/other-months.html
HTML
gpl2
924
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Icon trigger</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ showOn: "button", buttonImage: "images/calendar.gif", buttonImageOnly: true }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/icon-trigger.html
HTML
gpl2
955
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Display button bar</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ showButtonPanel: true }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <code>showButtonPanel</code> option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/buttonbar.html
HTML
gpl2
1,037
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Display inline</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> </head> <body> <div class="demo"> Date: <div id="datepicker"></div> </div><!-- End demo --> <div class="demo-description"> <p>Display the datepicker embedded in the page instead of in an overlay. Simply call .datepicker() on a div instead of an input.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/inline.html
HTML
gpl2
835
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/default.html
HTML
gpl2
1,037
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Localize calendar</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-af.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ar-DZ.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-az.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-cy-GB.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-da.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-de.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-el.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-en-AU.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-en-NZ.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-es.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-et.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-eu.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-fa.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ge.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-gl.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-hi.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-hy.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-id.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-is.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-it.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-kk.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-km.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-lb.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-mk.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-pt.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-rm.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sk.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sl.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sq.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sr.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sr-SR.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-sv.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ta.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-th.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-tj.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-tr.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-uk.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-vi.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-zh-HK.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-zh-TW.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $.datepicker.setDefaults( $.datepicker.regional[ "" ] ); $( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] ); $( "#locale" ).change(function() { $( "#datepicker" ).datepicker( "option", $.datepicker.regional[ $( this ).val() ] ); }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"/>&nbsp; <select id="locale"> <option value="af">Afrikaans</option> <option value="sq">Albanian (Gjuha shqipe)</option> <option value="ar-DZ">Algerian Arabic</option> <option value="ar">Arabic (&#8235;(&#1604;&#1593;&#1585;&#1576;&#1610;</option> <option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option> <option value="az">Azerbaijani (Az&#601;rbaycan dili)</option> <option value="eu">Basque (Euskara)</option> <option value="bs">Bosnian (Bosanski)</option> <option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option> <option value="ca">Catalan (Catal&agrave;)</option> <option value="zh-HK">Chinese Hong Kong (&#32321;&#39636;&#20013;&#25991;)</option> <option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option> <option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option> <option value="hr">Croatian (Hrvatski jezik)</option> <option value="cs">Czech (&#269;e&#353;tina)</option> <option value="da">Danish (Dansk)</option> <option value="nl-BE">Dutch (Belgium)</option> <option value="nl">Dutch (Nederlands)</option> <option value="en-AU">English/Australia</option> <option value="en-NZ">English/New Zealand</option> <option value="en-GB">English/UK</option> <option value="eo">Esperanto</option> <option value="et">Estonian (eesti keel)</option> <option value="fo">Faroese (f&oslash;royskt)</option> <option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option> <option value="fi">Finnish (suomi)</option> <option value="fr" selected="selected">French (Fran&ccedil;ais)</option> <option value="fr-CH">French/Swiss (Fran&ccedil;ais de Suisse)</option> <option value="gl">Galician</option> <option value="ge">Georgian</option> <option value="de">German (Deutsch)</option> <option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option> <option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option> <option value="hi">Hindi (&#2361;&#2367;&#2306;&#2342;&#2368;)</option> <option value="hu">Hungarian (Magyar)</option> <option value="is">Icelandic (&Otilde;slenska)</option> <option value="id">Indonesian (Bahasa Indonesia)</option> <option value="it">Italian (Italiano)</option> <option value="ja">Japanese (&#26085;&#26412;&#35486;)</option> <option value="kk">Kazakhstan (Kazakh)</option> <option value="km">Khmer</option> <option value="ko">Korean (&#54620;&#44397;&#50612;)</option> <option value="lv">Latvian (Latvie&ouml;u Valoda)</option> <option value="lt">Lithuanian (lietuviu kalba)</option> <option value="lb">Luxembourgish</option> <option value="mk">Macedonian</option> <option value="ml">Malayalam</option> <option value="ms">Malaysian (Bahasa Malaysia)</option> <option value="no">Norwegian (Norsk)</option> <option value="pl">Polish (Polski)</option> <option value="pt">Portuguese (Portugu&ecirc;s)</option> <option value="pt-BR">Portuguese/Brazilian (Portugu&ecirc;s)</option> <option value="rm">Rhaeto-Romanic (Romansh)</option> <option value="ro">Romanian (Rom&acirc;n&#259;)</option> <option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option> <option value="sr">Serbian (&#1089;&#1088;&#1087;&#1089;&#1082;&#1080; &#1112;&#1077;&#1079;&#1080;&#1082;)</option> <option value="sr-SR">Serbian (srpski jezik)</option> <option value="sk">Slovak (Slovencina)</option> <option value="sl">Slovenian (Slovenski Jezik)</option> <option value="es">Spanish (Espa&ntilde;ol)</option> <option value="sv">Swedish (Svenska)</option> <option value="ta">Tamil (&#2980;&#2990;&#3007;&#2996;&#3021;)</option> <option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option> <option value="tj">Tajikistan</option> <option value="tr">Turkish (T&uuml;rk&ccedil;e)</option> <option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option> <option value="vi">Vietnamese (Ti&#7871;ng Vi&#7879;t)</option> <option value="cy-GB">Welsh/UK (Cymraeg)</option> </select></p> </div><!-- End demo --> <div class="demo-description"> <p>Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/localization.html
HTML
gpl2
9,894
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> <li><a href="date-formats.html">Format date</a></li> <li><a href="min-max.html">Restrict date range</a></li> <li><a href="localization.html">Localize calendar</a></li> <li><a href="alt-field.html">Populate alternate field</a></li> <li><a href="inline.html">Display inline</a></li> <li><a href="buttonbar.html">Display button bar</a></li> <li><a href="dropdown-month-year.html">Display month &amp; year menus</a></li> <li><a href="other-months.html">Dates in other months</a></li> <li><a href="show-week.html">Show week of the year</a></li> <li><a href="multiple-calendars.html">Display multiple months</a></li> <li><a href="icon-trigger.html">Icon trigger</a></li> <li><a href="animation.html">Animations</a></li> <li><a href="date-range.html">Date Range</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/index.html
HTML
gpl2
1,129
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Animations</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.effects.core.js"></script> <script src="../../ui/jquery.effects.blind.js"></script> <script src="../../ui/jquery.effects.bounce.js"></script> <script src="../../ui/jquery.effects.clip.js"></script> <script src="../../ui/jquery.effects.drop.js"></script> <script src="../../ui/jquery.effects.fold.js"></script> <script src="../../ui/jquery.effects.slide.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker(); $( "#anim" ).change(function() { $( "#datepicker" ).datepicker( "option", "showAnim", $( this ).val() ); }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker" size="30"/></p> <p>Animations:<br /> <select id="anim"> <option value="show">Show (default)</option> <option value="slideDown">Slide down</option> <option value="fadeIn">Fade in</option> <option value="blind">Blind (UI Effect)</option> <option value="bounce">Bounce (UI Effect)</option> <option value="clip">Clip (UI Effect)</option> <option value="drop">Drop (UI Effect)</option> <option value="fold">Fold (UI Effect)</option> <option value="slide">Slide (UI Effect)</option> <option value="">None</option> </select> </p> </div><!-- End demo --> <div class="demo-description"> <p>Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/animation.html
HTML
gpl2
2,003
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Display month &amp; year menus</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker({ changeMonth: true, changeYear: true }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker"></p> </div><!-- End demo --> <div class="demo-description"> <p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean <code>changeMonth</code> and <code>changeYear</code> options.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/dropdown-month-year.html
HTML
gpl2
987
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Format date</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#datepicker" ).datepicker(); $( "#format" ).change(function() { $( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() ); }); }); </script> </head> <body> <div class="demo"> <p>Date: <input type="text" id="datepicker" size="30"/></p> <p>Format options:<br /> <select id="format"> <option value="mm/dd/yy">Default - mm/dd/yy</option> <option value="yy-mm-dd">ISO 8601 - yy-mm-dd</option> <option value="d M, y">Short - d M, y</option> <option value="d MM, y">Medium - d MM, y</option> <option value="DD, d MM, yy">Full - DD, d MM, yy</option> <option value="'day' d 'of' MM 'in the year' yy">With text - 'day' d 'of' MM 'in the year' yy</option> </select> </p> </div><!-- End demo --> <div class="demo-description"> <p>Display date feedback in a variety of ways. Choose a date format from the dropdown, then click on the input and select a date to see it in that format.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/datepicker/date-formats.html
HTML
gpl2
1,445
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Prevent propagation</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; } #droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; } #droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; } </style> <script> $(function() { $( "#draggable" ).draggable(); $( "#droppable, #droppable-inner" ).droppable({ activeClass: "ui-state-hover", hoverClass: "ui-state-active", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "> p" ) .html( "Dropped!" ); return false; } }); $( "#droppable2, #droppable2-inner" ).droppable({ greedy: true, activeClass: "ui-state-hover", hoverClass: "ui-state-active", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "> p" ) .html( "Dropped!" ); } }); }); </script> </head> <body> <div class="demo"> <div id="draggable" class="ui-widget-content"> <p>Drag me to my target</p> </div> <div id="droppable" class="ui-widget-header"> <p>Outer droppable</p> <div id="droppable-inner" class="ui-widget-header"> <p>Inner droppable (not greedy)</p> </div> </div> <div id="droppable2" class="ui-widget-header"> <p>Outer droppable</p> <div id="droppable2-inner" class="ui-widget-header"> <p>Inner droppable (greedy)</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>When working with nested droppables &#8212; for example, you may have an editable directory structure displayed as a tree, with folder and document nodes &#8212; the <code>greedy</code> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/propagation.html
HTML
gpl2
2,404
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Visual feedback</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #draggable, #draggable2 { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; } #droppable, #droppable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 10px; } </style> <script> $(function() { $( "#draggable" ).draggable(); $( "#droppable" ).droppable({ hoverClass: "ui-state-active", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "p" ) .html( "Dropped!" ); } }); $( "#draggable2" ).draggable(); $( "#droppable2" ).droppable({ accept: "#draggable2", activeClass: "ui-state-hover", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "p" ) .html( "Dropped!" ); } }); }); </script> </head> <body> <div class="demo"> <h3 class="docs">Feedback on hover:</h3> <div id="draggable" class="ui-widget-content"> <p>Drag me to my target</p> </div> <div id="droppable" class="ui-widget-header"> <p>Drop here</p> </div> <h3 class="docs">Feedback on activating draggable:</h3> <div id="draggable2" class="ui-widget-content"> <p>Drag me to my target</p> </div> <div id="droppable2" class="ui-widget-header"> <p>Drop here</p> </div> </div><!-- End demo --> <div class="demo-description"> <p>Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the <code>hoverClass</code> or <code>activeClass</code> options to specify respective classes.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/visual-feedback.html
HTML
gpl2
2,123
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Accept</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; } #draggable, #draggable-nonvalid { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; } </style> <script> $(function() { $( "#draggable, #draggable-nonvalid" ).draggable(); $( "#droppable" ).droppable({ accept: "#draggable", activeClass: "ui-state-hover", hoverClass: "ui-state-active", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "p" ) .html( "Dropped!" ); } }); }); </script> </head> <body> <div class="demo"> <div id="draggable-nonvalid" class="ui-widget-content"> <p>I'm draggable but can't be dropped</p> </div> <div id="draggable" class="ui-widget-content"> <p>Drag me to my target</p> </div> <div id="droppable" class="ui-widget-header"> <p>accept: '#draggable'</p> </div> </div><!-- End demo --> <div class="demo-description"> <p>Specify using the <code>accept</code> option which element (or group of elements) is accepted by the target droppable.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/accepted-elements.html
HTML
gpl2
1,681
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Simple photo manager</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.position.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <script src="../../ui/jquery.ui.resizable.js"></script> <script src="../../ui/jquery.ui.dialog.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #gallery { float: left; width: 65%; min-height: 12em; } * html #gallery { height: 12em; } /* IE6 */ .gallery.custom-state-active { background: #eee; } .gallery li { float: left; width: 96px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; } .gallery li h5 { margin: 0 0 0.4em; cursor: move; } .gallery li a { float: right; } .gallery li a.ui-icon-zoomin { float: left; } .gallery li img { width: 100%; cursor: move; } #trash { float: right; width: 32%; min-height: 18em; padding: 1%;} * html #trash { height: 18em; } /* IE6 */ #trash h4 { line-height: 16px; margin: 0 0 0.4em; } #trash h4 .ui-icon { float: left; } #trash .gallery h5 { display: none; } </style> <script> $(function() { // there's the gallery and the trash var $gallery = $( "#gallery" ), $trash = $( "#trash" ); // let the gallery items be draggable $( "li", $gallery ).draggable({ cancel: "a.ui-icon", // clicking an icon won't initiate dragging revert: "invalid", // when not dropped, the item will revert back to its initial position containment: $( "#demo-frame" ).length ? "#demo-frame" : "document", // stick to demo-frame if present helper: "clone", cursor: "move" }); // let the trash be droppable, accepting the gallery items $trash.droppable({ accept: "#gallery > li", activeClass: "ui-state-highlight", drop: function( event, ui ) { deleteImage( ui.draggable ); } }); // let the gallery be droppable as well, accepting items from the trash $gallery.droppable({ accept: "#trash li", activeClass: "custom-state-active", drop: function( event, ui ) { recycleImage( ui.draggable ); } }); // image deletion function var recycle_icon = "<a href='link/to/recycle/script/when/we/have/js/off' title='Recycle this image' class='ui-icon ui-icon-refresh'>Recycle image</a>"; function deleteImage( $item ) { $item.fadeOut(function() { var $list = $( "ul", $trash ).length ? $( "ul", $trash ) : $( "<ul class='gallery ui-helper-reset'/>" ).appendTo( $trash ); $item.find( "a.ui-icon-trash" ).remove(); $item.append( recycle_icon ).appendTo( $list ).fadeIn(function() { $item .animate({ width: "48px" }) .find( "img" ) .animate({ height: "36px" }); }); }); } // image recycle function var trash_icon = "<a href='link/to/trash/script/when/we/have/js/off' title='Delete this image' class='ui-icon ui-icon-trash'>Delete image</a>"; function recycleImage( $item ) { $item.fadeOut(function() { $item .find( "a.ui-icon-refresh" ) .remove() .end() .css( "width", "96px") .append( trash_icon ) .find( "img" ) .css( "height", "72px" ) .end() .appendTo( $gallery ) .fadeIn(); }); } // image preview function, demonstrating the ui.dialog used as a modal window function viewLargerImage( $link ) { var src = $link.attr( "href" ), title = $link.siblings( "img" ).attr( "alt" ), $modal = $( "img[src$='" + src + "']" ); if ( $modal.length ) { $modal.dialog( "open" ); } else { var img = $( "<img alt='" + title + "' width='384' height='288' style='display: none; padding: 8px;' />" ) .attr( "src", src ).appendTo( "body" ); setTimeout(function() { img.dialog({ title: title, width: 400, modal: true }); }, 1 ); } } // resolve the icons behavior with event delegation $( "ul.gallery > li" ).click(function( event ) { var $item = $( this ), $target = $( event.target ); if ( $target.is( "a.ui-icon-trash" ) ) { deleteImage( $item ); } else if ( $target.is( "a.ui-icon-zoomin" ) ) { viewLargerImage( $target ); } else if ( $target.is( "a.ui-icon-refresh" ) ) { recycleImage( $item ); } return false; }); }); </script> </head> <body> <div class="demo ui-widget ui-helper-clearfix"> <ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix"> <li class="ui-widget-content ui-corner-tr"> <h5 class="ui-widget-header">High Tatras</h5> <img src="images/high_tatras_min.jpg" alt="The peaks of High Tatras" width="96" height="72" /> <a href="images/high_tatras.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a> <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a> </li> <li class="ui-widget-content ui-corner-tr"> <h5 class="ui-widget-header">High Tatras 2</h5> <img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" /> <a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a> <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a> </li> <li class="ui-widget-content ui-corner-tr"> <h5 class="ui-widget-header">High Tatras 3</h5> <img src="images/high_tatras3_min.jpg" alt="Planning the ascent" width="96" height="72" /> <a href="images/high_tatras3.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a> <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a> </li> <li class="ui-widget-content ui-corner-tr"> <h5 class="ui-widget-header">High Tatras 4</h5> <img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" /> <a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a> <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a> </li> </ul> <div id="trash" class="ui-widget-content ui-state-default"> <h4 class="ui-widget-header"><span class="ui-icon ui-icon-trash">Trash</span> Trash</h4> </div> </div><!-- End demo --> <div class="demo-description"> <p>You can delete an image either by dragging it to the Trash or by clicking the trash icon.</p> <p>You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.</p> <p>You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/photo-manager.html
HTML
gpl2
7,020
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Revert draggable position</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; } #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; } </style> <script> $(function() { $( "#draggable" ).draggable({ revert: "valid" }); $( "#draggable2" ).draggable({ revert: "invalid" }); $( "#droppable" ).droppable({ activeClass: "ui-state-hover", hoverClass: "ui-state-active", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "p" ) .html( "Dropped!" ); } }); }); </script> </head> <body> <div class="demo"> <div id="draggable" class="ui-widget-content"> <p>I revert when I'm dropped</p> </div> <div id="draggable2" class="ui-widget-content"> <p>I revert when I'm not dropped</p> </div> <div id="droppable" class="ui-widget-header"> <p>Drop me here</p> </div> </div><!-- End demo --> <div class="demo-description"> <p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option set on the draggable.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/revert.html
HTML
gpl2
1,735
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Shopping Cart Demo</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <script src="../../ui/jquery.ui.accordion.js"></script> <link rel="stylesheet" href="../demos.css"> <style> h1 { padding: .2em; margin: 0; } #products { float:left; width: 500px; margin-right: 2em; } #cart { width: 200px; float: left; } /* style the list to maximize the droppable hitarea */ #cart ol { margin: 0; padding: 1em 0 1em 3em; } </style> <script> $(function() { $( "#catalog" ).accordion(); $( "#catalog li" ).draggable({ appendTo: "body", helper: "clone" }); $( "#cart ol" ).droppable({ activeClass: "ui-state-default", hoverClass: "ui-state-hover", accept: ":not(.ui-sortable-helper)", drop: function( event, ui ) { $( this ).find( ".placeholder" ).remove(); $( "<li></li>" ).text( ui.draggable.text() ).appendTo( this ); } }).sortable({ items: "li:not(.placeholder)", sort: function() { // gets added unintentionally by droppable interacting with sortable // using connectWithSortable fixes this, but doesn't allow you to customize active/hoverClass options $( this ).removeClass( "ui-state-default" ); } }); }); </script> </head> <body> <div class="demo"> <div id="products"> <h1 class="ui-widget-header">Products</h1> <div id="catalog"> <h3><a href="#">T-Shirts</a></h3> <div> <ul> <li>Lolcat Shirt</li> <li>Cheezeburger Shirt</li> <li>Buckit Shirt</li> </ul> </div> <h3><a href="#">Bags</a></h3> <div> <ul> <li>Zebra Striped</li> <li>Black Leather</li> <li>Alligator Leather</li> </ul> </div> <h3><a href="#">Gadgets</a></h3> <div> <ul> <li>iPhone</li> <li>iPod</li> <li>iPad</li> </ul> </div> </div> </div> <div id="cart"> <h1 class="ui-widget-header">Shopping Cart</h1> <div class="ui-widget-content"> <ol> <li class="placeholder">Add your items here</li> </ol> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Demonstrate how to use an accordion to structure products into a catalog and make use drag and drop for adding them to a shopping cart, where they are sortable.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/shopping-cart.html
HTML
gpl2
2,705
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; } #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; } </style> <script> $(function() { $( "#draggable" ).draggable(); $( "#droppable" ).droppable({ drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) .find( "p" ) .html( "Dropped!" ); } }); }); </script> </head> <body> <div class="demo"> <div id="draggable" class="ui-widget-content"> <p>Drag me to my target</p> </div> <div id="droppable" class="ui-widget-header"> <p>Drop here</p> </div> </div><!-- End demo --> <div class="demo-description"> <p>Enable any DOM element to be droppable, a target for draggable elements.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/default.html
HTML
gpl2
1,397
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Droppable Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> <li><a href="accepted-elements.html">Accepted elements</a></li> <li><a href="propagation.html">Prevent propagation</a></li> <li><a href="visual-feedback.html">Visual feedback</a></li> <li><a href="revert.html">Revert draggable position</a></li> <li><a href="shopping-cart.html">Shopping Cart</a></li> <li><a href="photo-manager.html">Simple photo manager</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/droppable/index.html
HTML
gpl2
706
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Progressbar - Resizable</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.progressbar.js"></script> <script src="../../ui/jquery.ui.resizable.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#progressbar" ).progressbar({ value: 37 }); $( "#progressbarWrapper" ).resizable(); }); </script> </head> <body> <div class="demo"> <div id="progressbarWrapper" style="height:30px; " class="ui-widget-default"> <div id="progressbar" style="height:100%;"></div> </div> </div><!-- End demo --> <div class="demo-description"> <p>The progress bar's widths are specified in percentages for flexible sizing so it will resize to fit its container. Try resizing the height and width of this bar to see how it maintains the correct proportions. (This is not necessarily a real-world example, but it's a good illustration of how flexibly all the plugins are coded.)</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/progressbar/resize.html
HTML
gpl2
1,309
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Progressbar - Animated</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.progressbar.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .ui-progressbar-value { background-image: url(images/pbar-ani.gif); } </style> <script> $(function() { $( "#progressbar" ).progressbar({ value: 59 }); }); </script> </head> <body> <div class="demo"> <div id="progressbar"></div> </div><!-- End demo --> <div class="demo-description"> <p> This progressbar has an animated fill by setting the <code>background-image</code> on the <code>.ui-progressbar-value</code> element, using css. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/progressbar/animated.html
HTML
gpl2
956
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Progressbar - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.progressbar.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#progressbar" ).progressbar({ value: 37 }); }); </script> </head> <body> <div class="demo"> <div id="progressbar"></div> </div><!-- End demo --> <div class="demo-description"> <p>Default determinate progress bar.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/progressbar/default.html
HTML
gpl2
766
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Progressbar Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> <li><a href="animated.html">Animated</a></li> <li><a href="resize.html">Resizable progressbar</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/progressbar/index.html
HTML
gpl2
439
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Delay start</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0; margin-bottom: 15px;zoom: 1; } #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 95%; } </style> <script> $(function() { $( "#sortable1" ).sortable({ delay: 300 }); $( "#sortable2" ).sortable({ distance: 15 }); $( "li" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <h3 class="docs">Time delay of 300ms:</h3> <ul id="sortable1"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default">Item 2</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> </ul> <h3 class="docs">Distance delay of 15px:</h3> <ul id="sortable2"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default">Item 2</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> Prevent accidental sorting either by delay (time) or distance. Set a number of milliseconds the element needs to be dragged before sorting starts with the <code>delay</code> option. Set a distance in pixels the element needs to be dragged before sorting starts with the <code>distance</code> option. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/delay-start.html
HTML
gpl2
1,834
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Connect lists with Tabs</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <script src="../../ui/jquery.ui.droppable.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; } </style> <script> $(function() { $( "#sortable1, #sortable2" ).sortable().disableSelection(); var $tabs = $( "#tabs" ).tabs(); var $tab_items = $( "ul:first li", $tabs ).droppable({ accept: ".connectedSortable li", hoverClass: "ui-state-hover", drop: function( event, ui ) { var $item = $( this ); var $list = $( $item.find( "a" ).attr( "href" ) ) .find( ".connectedSortable" ); ui.draggable.hide( "slow", function() { $tabs.tabs( "select", $tab_items.index( $item ) ); $( this ).appendTo( $list ).show( "slow" ); }); } }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> </ul> <div id="tabs-1"> <ul id="sortable1" class="connectedSortable ui-helper-reset"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default">Item 2</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> <li class="ui-state-default">Item 5</li> </ul> </div> <div id="tabs-2"> <ul id="sortable2" class="connectedSortable ui-helper-reset"> <li class="ui-state-highlight">Item 1</li> <li class="ui-state-highlight">Item 2</li> <li class="ui-state-highlight">Item 3</li> <li class="ui-state-highlight">Item 4</li> <li class="ui-state-highlight">Item 5</li> </ul> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html
HTML
gpl2
2,359
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Connect lists</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0 0 2.5em; float: left; margin-right: 10px; } #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; } </style> <script> $(function() { $( "#sortable1, #sortable2" ).sortable({ connectWith: ".connectedSortable" }).disableSelection(); }); </script> </head> <body> <div class="demo"> <ul id="sortable1" class="connectedSortable"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default">Item 2</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> <li class="ui-state-default">Item 5</li> </ul> <ul id="sortable2" class="connectedSortable"> <li class="ui-state-highlight">Item 1</li> <li class="ui-state-highlight">Item 2</li> <li class="ui-state-highlight">Item 3</li> <li class="ui-state-highlight">Item 4</li> <li class="ui-state-highlight">Item 5</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> Sort items from one list into another and vice versa, by passing a selector into the <code>connectWith</code> option. The simplest way to do this is to group all related lists with a CSS class, and then pass that class into the sortable function (i.e., <code>connectWith: '.myclass'</code>). </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/connect-lists.html
HTML
gpl2
1,861
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Display as grid</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable { list-style-type: none; margin: 0; padding: 0; } #sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; } </style> <script> $(function() { $( "#sortable" ).sortable(); $( "#sortable" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <ul id="sortable"> <li class="ui-state-default">1</li> <li class="ui-state-default">2</li> <li class="ui-state-default">3</li> <li class="ui-state-default">4</li> <li class="ui-state-default">5</li> <li class="ui-state-default">6</li> <li class="ui-state-default">7</li> <li class="ui-state-default">8</li> <li class="ui-state-default">9</li> <li class="ui-state-default">10</li> <li class="ui-state-default">11</li> <li class="ui-state-default">12</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> To arrange sortable items as a grid, give them identical dimensions and float them using CSS. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/display-grid.html
HTML
gpl2
1,540
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Include / exclude items</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0; zoom: 1; } #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 3px; width: 90%; } </style> <script> $(function() { $( "#sortable1" ).sortable({ items: "li:not(.ui-state-disabled)" }); $( "#sortable2" ).sortable({ cancel: ".ui-state-disabled" }); $( "#sortable1 li, #sortable2 li" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <h3 class="docs">Specify which items are sortable:</h3> <ul id="sortable1"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li> <li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li> <li class="ui-state-default">Item 4</li> </ul> <h3 class="docs">Cancel sorting (but keep as drop targets):</h3> <ul id="sortable2"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default ui-state-disabled">(I'm not sortable)</li> <li class="ui-state-default ui-state-disabled">(I'm not sortable)</li> <li class="ui-state-default">Item 4</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> Specify which items are eligible to sort by passing a jQuery selector into the <code>items</code> option. Items excluded from this option are not sortable, nor are they valid targets for sortable items. </p> <p> To only prevent sorting on certain items, pass a jQuery selector into the <code>cancel</code> option. Cancelled items remain valid sort targets for others. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/items.html
HTML
gpl2
2,130
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Drop placeholder</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } #sortable li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; height: 1.5em; } html>body #sortable li { height: 1.5em; line-height: 1.2em; } .ui-state-highlight { height: 1.5em; line-height: 1.2em; } </style> <script> $(function() { $( "#sortable" ).sortable({ placeholder: "ui-state-highlight" }); $( "#sortable" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <ul id="sortable"> <li class="ui-state-default">Item 1</li> <li class="ui-state-default">Item 2</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> <li class="ui-state-default">Item 5</li> <li class="ui-state-default">Item 6</li> <li class="ui-state-default">Item 7</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> When dragging a sortable item to a new location, other items will make room for the that item by shifting to allow white space between them. Pass a class into the <code>placeholder</code> option to style that space to be visible. Use the boolean <code>forcePlaceholderSize</code> option to set dimensions on the placeholder. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/placeholder.html
HTML
gpl2
1,756
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } #sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; } #sortable li span { position: absolute; margin-left: -1.3em; } </style> <script> $(function() { $( "#sortable" ).sortable(); $( "#sortable" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <ul id="sortable"> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 3</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 4</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 5</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 6</li> <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 7</li> </ul> </div><!-- End demo --> <div class="demo-description"> <p> Enable a group of DOM elements to be sortable. Click on and drag an element to a new spot within the list, and the other items will adjust to fit. By default, sortable items share <code>draggable</code> properties. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/default.html
HTML
gpl2
1,947
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Handle empty lists</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> #sortable1, #sortable2, #sortable3 { list-style-type: none; margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;} #sortable1 li, #sortable2 li, #sortable3 li { margin: 5px; padding: 5px; font-size: 1.2em; width: 120px; } </style> <script> $(function() { $( "ul.droptrue" ).sortable({ connectWith: "ul" }); $( "ul.dropfalse" ).sortable({ connectWith: "ul", dropOnEmpty: false }); $( "#sortable1, #sortable2, #sortable3" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <ul id="sortable1" class='droptrue'> <li class="ui-state-default">Can be dropped..</li> <li class="ui-state-default">..on an empty list</li> <li class="ui-state-default">Item 3</li> <li class="ui-state-default">Item 4</li> <li class="ui-state-default">Item 5</li> </ul> <ul id="sortable2" class='dropfalse'> <li class="ui-state-highlight">Cannot be dropped..</li> <li class="ui-state-highlight">..on an empty list</li> <li class="ui-state-highlight">Item 3</li> <li class="ui-state-highlight">Item 4</li> <li class="ui-state-highlight">Item 5</li> </ul> <ul id="sortable3" class='droptrue'> </ul> <br clear="both" /> </div><!-- End demo --> <div class="demo-description"> <p> Prevent all items in a list from being dropped into a separate, empty list using the <code>dropOnEmpty</code> option set to <code>false</code>. By default, sortable items can be dropped on empty lists. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/empty-lists.html
HTML
gpl2
2,028
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> <li><a href="placeholder.html">Drop placeholder</a></li> <li><a href="connect-lists.html">Connect lists</a></li> <li><a href="connect-lists-through-tabs.html">Connect lists through tabs</a></li> <li><a href="empty-lists.html">Handle empty lists</a></li> <li><a href="items.html">Include / exclude items</a></li> <li><a href="delay-start.html">Delay start</a></li> <li><a href="display-grid.html">Display as grid</a></li> <li><a href="portlets.html">Portlets</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/index.html
HTML
gpl2
814
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Sortable - Portlets</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .column { width: 170px; float: left; padding-bottom: 100px; } .portlet { margin: 0 1em 1em 0; } .portlet-header { margin: 0.3em; padding-bottom: 4px; padding-left: 0.2em; } .portlet-header .ui-icon { float: right; } .portlet-content { padding: 0.4em; } .ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; height: 50px !important; } .ui-sortable-placeholder * { visibility: hidden; } </style> <script> $(function() { $( ".column" ).sortable({ connectWith: ".column" }); $( ".portlet" ).addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" ) .find( ".portlet-header" ) .addClass( "ui-widget-header ui-corner-all" ) .prepend( "<span class='ui-icon ui-icon-minusthick'></span>") .end() .find( ".portlet-content" ); $( ".portlet-header .ui-icon" ).click(function() { $( this ).toggleClass( "ui-icon-minusthick" ).toggleClass( "ui-icon-plusthick" ); $( this ).parents( ".portlet:first" ).find( ".portlet-content" ).toggle(); }); $( ".column" ).disableSelection(); }); </script> </head> <body> <div class="demo"> <div class="column"> <div class="portlet"> <div class="portlet-header">Feeds</div> <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> </div> <div class="portlet"> <div class="portlet-header">News</div> <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> </div> </div> <div class="column"> <div class="portlet"> <div class="portlet-header">Shopping</div> <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> </div> </div> <div class="column"> <div class="portlet"> <div class="portlet-header">Links</div> <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> </div> <div class="portlet"> <div class="portlet-header">Images</div> <div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p> Enable portlets (styled divs) as sortables and use the <code>connectWith</code> option to allow sorting between columns. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/sortable/portlets.html
HTML
gpl2
2,786
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Effects - Show Demo</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.effects.core.js"></script> <script src="../../ui/jquery.effects.blind.js"></script> <script src="../../ui/jquery.effects.bounce.js"></script> <script src="../../ui/jquery.effects.clip.js"></script> <script src="../../ui/jquery.effects.drop.js"></script> <script src="../../ui/jquery.effects.explode.js"></script> <script src="../../ui/jquery.effects.fold.js"></script> <script src="../../ui/jquery.effects.highlight.js"></script> <script src="../../ui/jquery.effects.pulsate.js"></script> <script src="../../ui/jquery.effects.scale.js"></script> <script src="../../ui/jquery.effects.shake.js"></script> <script src="../../ui/jquery.effects.slide.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .toggler { width: 500px; height: 200px; } #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; padding: 0.4em; text-align: center; } </style> <script> $(function() { // run the currently selected effect function runEffect() { // get effect type from var selectedEffect = $( "#effectTypes" ).val(); // most effect types need no options passed by default var options = {}; // some effects have required parameters if ( selectedEffect === "scale" ) { options = { percent: 100 }; } else if ( selectedEffect === "size" ) { options = { to: { width: 280, height: 185 } }; } // run the effect $( "#effect" ).show( selectedEffect, options, 500, callback ); }; //callback function to bring a hidden box back function callback() { setTimeout(function() { $( "#effect:visible" ).removeAttr( "style" ).fadeOut(); }, 1000 ); }; // set effect from select menu value $( "#button" ).click(function() { runEffect(); return false; }); $( "#effect" ).hide(); }); </script> </head> <body> <div class="demo"> <div class="toggler"> <div id="effect" class="ui-widget-content ui-corner-all"> <h3 class="ui-widget-header ui-corner-all">Show</h3> <p> Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. </p> </div> </div> <select name="effects" id="effectTypes"> <option value="blind">Blind</option> <option value="bounce">Bounce</option> <option value="clip">Clip</option> <option value="drop">Drop</option> <option value="explode">Explode</option> <option value="fold">Fold</option> <option value="highlight">Highlight</option> <option value="puff">Puff</option> <option value="pulsate">Pulsate</option> <option value="scale">Scale</option> <option value="shake">Shake</option> <option value="size">Size</option> <option value="slide">Slide</option> </select> <a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> </div><!-- End demo --> <div class="demo-description"> <p>Click the button above to preview the effect.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/show/default.html
HTML
gpl2
3,264
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Effects Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Default functionality</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/show/index.html
HTML
gpl2
328
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Effects - Effect demo</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.effects.core.js"></script> <script src="../../ui/jquery.effects.blind.js"></script> <script src="../../ui/jquery.effects.bounce.js"></script> <script src="../../ui/jquery.effects.clip.js"></script> <script src="../../ui/jquery.effects.drop.js"></script> <script src="../../ui/jquery.effects.explode.js"></script> <script src="../../ui/jquery.effects.fade.js"></script> <script src="../../ui/jquery.effects.fold.js"></script> <script src="../../ui/jquery.effects.highlight.js"></script> <script src="../../ui/jquery.effects.pulsate.js"></script> <script src="../../ui/jquery.effects.scale.js"></script> <script src="../../ui/jquery.effects.shake.js"></script> <script src="../../ui/jquery.effects.slide.js"></script> <script src="../../ui/jquery.effects.transfer.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .toggler { width: 500px; height: 200px; position: relative; } #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; padding: 0.4em; text-align: center; } .ui-effects-transfer { border: 2px dotted gray; } </style> <script> $(function() { // run the currently selected effect function runEffect() { // get effect type from var selectedEffect = $( "#effectTypes" ).val(); // most effect types need no options passed by default var options = {}; // some effects have required parameters if ( selectedEffect === "scale" ) { options = { percent: 0 }; } else if ( selectedEffect === "transfer" ) { options = { to: "#button", className: "ui-effects-transfer" }; } else if ( selectedEffect === "size" ) { options = { to: { width: 200, height: 60 } }; } // run the effect $( "#effect" ).effect( selectedEffect, options, 500, callback ); }; // callback function to bring a hidden box back function callback() { setTimeout(function() { $( "#effect" ).removeAttr( "style" ).hide().fadeIn(); }, 1000 ); }; // set effect from select menu value $( "#button" ).click(function() { runEffect(); return false; }); }); </script> </head> <body> <div class="demo"> <div class="toggler"> <div id="effect" class="ui-widget-content ui-corner-all"> <h3 class="ui-widget-header ui-corner-all">Effect</h3> <p> Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. </p> </div> </div> <select name="effects" id="effectTypes"> <option value="blind">Blind</option> <option value="bounce">Bounce</option> <option value="clip">Clip</option> <option value="drop">Drop</option> <option value="explode">Explode</option> <option value="fade">Fade</option> <option value="fold">Fold</option> <option value="highlight">Highlight</option> <option value="puff">Puff</option> <option value="pulsate">Pulsate</option> <option value="scale">Scale</option> <option value="shake">Shake</option> <option value="size">Size</option> <option value="slide">Slide</option> <option value="transfer">Transfer</option> </select> <a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> </div><!-- End demo --> <div class="demo-description"> <p>Click the button above to show the effect.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/effect/default.html
HTML
gpl2
3,631
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Effects Demos</title> <link rel="stylesheet" href="../demos.css"> </head> <body> <div class="demos-nav"> <h4>Examples</h4> <ul> <li class="demo-config-on"><a href="default.html">Effect showcase</a></li> <li><a href="easing.html">Easing showcase</a></li> </ul> </div> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/effect/index.html
HTML
gpl2
375
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Effects - Easing demo</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.effects.core.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .graph { float: left; margin-left: 10px; } </style> <script> $(function() { if ( !$( "<canvas/>" )[0].getContext ) { $( "<div/>" ).text( "Your browser doesn't support canvas, which is required for this demo. " + "Give Firefox 3 a try!" ).appendTo( "#graphs" ); return; } var i = 0, width = 100, height = 100; $.each( $.easing, function( name, impl ) { // skip linear/jswing and any non functioning implementation if ( !$.isFunction( impl ) || /jswing/.test( name ) ) { return; } var graph = $( "<div/>" ).addClass( "graph" ).appendTo( "#graphs" ), text = $( "<div/>" ).text( ++i + ". " + name ).appendTo( graph ), wrap = $( "<div/>" ).appendTo( graph ).css( 'overflow', 'hidden' ), canvas = $( "<canvas/>" ).appendTo( wrap )[ 0 ]; canvas.width = width; canvas.height = height; var drawHeight = height * 0.8, cradius = 10; ctx = canvas.getContext( "2d" ); ctx.fillStyle = "black"; ctx.beginPath(); ctx.moveTo( cradius, 0 ); ctx.quadraticCurveTo( 0, 0, 0, cradius ); ctx.lineTo( 0, height - cradius ); ctx.quadraticCurveTo( 0, height, cradius, height ); ctx.lineTo( width - cradius, height ); ctx.quadraticCurveTo( width, height, width, height - cradius ); ctx.lineTo( width, 0 ); ctx.lineTo( cradius, 0 ); ctx.fill(); ctx.strokeStyle = "#555"; ctx.beginPath(); ctx.moveTo( width * 0.1, drawHeight + .5 ); ctx.lineTo( width * 0.9, drawHeight + .5 ); ctx.stroke(); ctx.strokeStyle = "#555"; ctx.beginPath(); ctx.moveTo( width * 0.1, drawHeight * .3 - .5 ); ctx.lineTo( width * 0.9, drawHeight * .3 - .5 ); ctx.stroke(); ctx.strokeStyle = "white"; ctx.beginPath(); ctx.lineWidth = 2; ctx.moveTo( width * 0.1, drawHeight ); $.each( new Array( width ), function( position ) { var val = impl( 0, position, 0, 1, height ); if ( /linear|jswing/.test( name ) ) { val = position / width; } ctx.lineTo( position * 0.8 + width * 0.1, drawHeight - drawHeight * val * 0.7 ); }); ctx.stroke(); graph.click(function() { wrap .animate( { height: "hide" }, 2000, name ) .delay( 800 ) .animate( { height: "show" }, 2000, name ); }); graph.width( width ).height( height + text.height() + 10 ); }); }); </script> </head> <body> <div class="demo"> <div id="graphs"></div> </div><!-- End demo --> <div class="demo-description"> <p><strong>All easings provided by jQuery UI are drawn above, using a HTML canvas element</strong>. Click a diagram to see the easing in action.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/effect/easing.html
HTML
gpl2
2,986
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Content via Ajax</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs({ ajaxOptions: { error: function( xhr, status, index, anchor ) { $( anchor.hash ).html( "Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." ); } } }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Preloaded</a></li> <li><a href="ajax/content1.html">Tab 1</a></li> <li><a href="ajax/content2.html">Tab 2</a></li> <li><a href="ajax/content3-slow.php">Tab 3 (slow)</a></li> <li><a href="ajax/content4-broken.php">Tab 4 (broken)</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Fetch external content via Ajax for the tabs by setting an href value in the tab links. While the Ajax request is waiting for a response, the tab label changes to say "Loading...", then returns to the normal label once loaded.</p> <p>Tabs 3 and 4 demonstrate slow-loading and broken AJAX tabs, and how to handle serverside errors in those cases. Note: These two require a webserver to interpret PHP. They won't work from the filesystem.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/ajax.html
HTML
gpl2
2,195
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Tabs at bottom</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs(); $( ".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" ) .removeClass( "ui-corner-all ui-corner-top" ) .addClass( "ui-corner-bottom" ); }); </script> <style> #tabs { height: 200px; } .tabs-bottom { position: relative; } .tabs-bottom .ui-tabs-panel { height: 140px; overflow: auto; } .tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; } .tabs-bottom .ui-tabs-nav li { margin-top: -2px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; } .ui-tabs-selected { margin-top: -3px !important; } </style> </head> <body> <div class="demo"> <div id="tabs" class="tabs-bottom"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>With some additional CSS (for positioning) and JS (to put the right classes on elements) the tabs can be placed below their content.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/bottom.html
HTML
gpl2
3,972
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Open on mouseover</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs({ event: "mouseover" }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Toggle sections open/closed on mouseover with the <code>event</code> option. The default value for event is "click."</p> <pre><code>event: 'mouseover' </code></pre> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/mouseover.html
HTML
gpl2
3,401
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Sortable</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.sortable.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs().find( ".ui-tabs-nav" ).sortable({ axis: "x" }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Drag the tabs above to re-order them.</p> <p> Making tabs sortable is as simple as calling <code>.sortable()</code> on the <code>.ui-tabs-nav</code> element. </p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/sortable.html
HTML
gpl2
3,519
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Vertical Tabs functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs().addClass( "ui-tabs-vertical ui-helper-clearfix" ); $( "#tabs li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" ); }); </script> <style> .ui-tabs-vertical { width: 55em; } .ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; } .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; } .ui-tabs-vertical .ui-tabs-nav li a { display:block; } .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; } .ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;} </style> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <h2>Content heading 1</h2> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <h2>Content heading 2</h2> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <h2>Content heading 3</h2> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Click tabs to swap between content that is broken into logical sections.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/vertical.html
HTML
gpl2
4,098
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../external/jquery.cookie.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs({ cookie: { // store cookie for a day, without, it would be a session cookie expires: 1 } }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Looks the same as the default demo, but uses cookie to store the selected tab, and restore it when the page (re)loads. The cookie is stored for a day, so tabs will be restored even after closing the browser. Use cookie: {} for using cookies with default options.</p> <p>The cookie option requires the cookie plugin, which can be found in the development-bundle > external folder from the download builder.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/cookie.html
HTML
gpl2
3,787
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Collapse content</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs({ collapsible: true }); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p><strong>Click this tab again to close the content pane.</strong></p> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p><strong>Click this tab again to close the content pane.</strong></p> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p><strong>Click this tab again to close the content pane.</strong></p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Click the selected tab to toggle its content closed/open. To enable this functionality, set the <code>collapsible</code> option to true.</p> <pre><code>collapsible: true </code></pre> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/collapsible.html
HTML
gpl2
3,173
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Tabs - Default functionality</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.tabs.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#tabs" ).tabs(); }); </script> </head> <body> <div class="demo"> <div id="tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li><a href="#tabs-2">Proin dolor</a></li> <li><a href="#tabs-3">Aenean lacinia</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> </div> <div id="tabs-2"> <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> </div> <div id="tabs-3"> <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p> <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p> </div> </div> </div><!-- End demo --> <div class="demo-description"> <p>Click tabs to swap between content that is broken into logical sections.</p> </div><!-- End demo-description --> </body> </html>
zzyn125-bench
BigMelon/Backup/jslib_backup/jquery-ui-1.8.19.custom/development-bundle/demos/tabs/default.html
HTML
gpl2
3,290