- Screen name: realtebo
realtebo's Profile
12 Posts
20 Responses
0
Followers
Show:
- Expanded view
- List view
Private Message
- 20-Feb-2012 11:00 AM
- Forum: Using jQuery
I read taht live() is deprecated, suggestion is to use on().
I must attach an event handler to a markup that will be created later, so actually is not existent, so on() is not doing the right work for my situation.
Is there a non-deprecated way to attach event to html markup actaully that actually doesn't exists ?
- 20-Feb-2012 05:30 AM
- Forum: Using jQuery
I've a table with a header.
I want to clear all row except the first (used as header), but at start there is ONLY this row, so
$('TABLE#rowContainer TD:not(:first))').remove()
causes ALL in the body to be removed.
Is it a bug ?
to avoid this is moust check .legth and if not zero than .remove().
- Is there a way to keep fixed the width and the height of a .button() ?It's for estetic, i want a button with fixed with of '5em' , because the text will change but max number of chars is 5 chars. But I want the button doesn't resize itself .
- 11-Feb-2012 10:17 AM
- Forum: Using jQuery UI
I need a set of 10 button.User must click on a sequence of five, and after every click the button must remain clicked (pressed, down) and also it muse be disabled, to not allow another click on itSo this is the sequence- i click on a somthing like a radio- the radio from 'blue' will change to 'green' (theme 'start'), to indicate it's selected- Now the user cannot more click on it, so the color must no more change,but i cannot use the 'disable' method because it change the color to a flat light grey, but I want to keep the 'active' style, with a ribbon like green.I tried to add and remove class, but I probably cannot locate the 'label' which is the themed html element.How can i realize this ?I've a js with a loop wich generate ten ajax calls, but I aboslutely need that the first will be executed before the others.
how to ?
- I'd like to contact doc staff to bring up an idea, but .... which section of forum is ?!
- 02-Oct-2011 05:19 AM
- Forum: Developing jQuery Core
Like a lot of you, I was looking for a printable version of FULL api doc. I seend some works, but all of this were outdated, so when I seen the RAW API dump of the documentation I've got an ideaI'm realizing a 'realtime' PDF doc generator.You can see it here. Every time you load this page, the PDF is rewritten from zero, starting from a cached version of api dump xml.Every time docs change I'll update the xml and ... the pdf will be updated automagically.This is just a 'work in progress', so I nedd to know- the doc team intent and impression about my work- what's your idea to how best organize the api doc itself. Actually it shows API in the xml order that is ... useless... (in my opinion), so I'm already working on to rendere api divided into main categories.So, please give a chance to this project, and send me feedback, replying to this post and / or contact me using my personal my address (but please no....) reported in the PDF itself.Please, be patient if by english is bad ...- Ok, probably i'm trying to do something not so right ... but i'd like to have my list ( UL / LI structure standard ) selectable AND sortable.
I've tryed executing before selectable and after sortable.... and also te opposite.. ma the list remains only sortable.
Is it NOT possible or simply i'm doing something not well ?
I tryed to log with firebug the start event but it simply doesn't fire- // Avvio il sortable
// Memorizzo l'ordinamento attuale in un cookie
genresContainer.sortable({
opacity: 0.6 ,
placeholder: 'ui-state-highlight',
containment: $('#divGenresEnabled'),
update: function (event, element ) {
actualOrder = $(this).sortable("toArray").join();
$.cookie("genresOrder", actualOrder, {expires: 365} );
}
});
// Avvio anche il Selectable
genresContainer.selectable({
start: function(event, ui) {
console.log ('start');
}
});
- 21-Feb-2011 02:11 PM
- Forum: Using jQuery UI
I've a DIV with a UL / LI structure inside it. The div is used to force a fixed width for the sortable ( the UI /LI ).
But when i drag an item and i move too much on the right, into the DIV appears a orizzontal scroll bar.
Is there a better way to constraint the width of a sortable? or ... the other way ... how to force the div to NOT show the scrollbar and to force the dragger item to remain INTO the parent?- I'd like to thank the team who fixed into api doc the info about theming for sortable... but when I write ( here: http://forum.jquery.com/topic/missing-theming-info-into-sortable-documentation) i was talking about an other part of the website: http://jqueryui.com/demos/sortable/ (where the tab on theming is missing)
Could I suggest you to 'join' the two section in way you must write only one time the same info ?
Again, thanks a lot for your work ...my work on javascript it's incredibly increased in quality and on my desire to do it...- 18-Feb-2011 06:13 PM
- Forum: Developing jQuery UI
that's not a bug but i scraped my hand a long before my example was running...
please add theming info to official online doc&demo about sortable.
PS: you're making a excellente work. !- 17-Feb-2011 04:31 PM
- Forum: Using jQuery UI
I'm at first try with JQuery UI and i'm trying sortable. All is working fine, but now i'd like to learn how to save sort order and restore after a page load.
I've latest jquery + jquery ui + jquery cookie plugin.
- «Prev
- Next »
- // Avvio il sortable
Moderate user : realtebo
© 2012 jQuery Foundation
Sponsored by
and others.


