[jQuery] Sortable list - even when list is changed

2010-02-21 Thread rafald
Hello,

I just started to user jquery. Its very good , though as the beginner
I have some issues ;-)

I have sortable llisty build like this:
ul id=elements
li id=li1Item 1/li
.
/ul

in functions.js I have this:

$(function(){
$(#elements).sortable();
$(#elements).disableSelection();
});

This make the whole list perfectly sortable and works fine.

My problem is with events I would like to add.
I have read that following should work:

$('#elements').sortable({
   update: function(event, ui) { alert('update') }
});

Since I am using list in round corner div, my whole code looks like
this:

$(document).ready(function(){
$('#elements').sortable({
   update: function(event, ui) { alert('update') }
});
$(div.roundbox) .wrap('div class=dialog'+
'div class=bd'+
'div class=c'+
'div class=s'+
'/div'+
'/div'+
'/div'+
'/div');
$('div.dialog').prepend('div class=hd'+
'div class=c/div'+
'/div')
.append('div class=ft'+
'div class=c/div'+
'/div');
});

but it does not work!
I need to execute a function each time when order of item on the list
will change.
I my example I just wanted to test function, and therefore I added
alert.
Could anybody advise me what is wrong here?

regards
Rafal


[jQuery] FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-21 Thread Erik
For months I couldn't figure this out and I found the answer

dd_roundies can now work with IE8!!!

Erik


re[jQuery] fresh tabs

2010-02-21 Thread whynotter

Hi,
I have a page with some scroll-img with jquery code.

Each scroll-img are in different tabs, but the jquery code is the same for
all tabs.

If I have just a scroll, the code is ok, but when I put 4 scroll in
different tabs, the code is not do well.
How can I get the refresh of each tabs to avoid the problem of conflict
jquery code?


Thanks a lot
Bye
-- 
View this message in context: 
http://old.nabble.com/refresh-tabs-tp27676891s27240p27676891.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: re[jQuery] fresh tabs

2010-02-21 Thread Nathan Klatt
Perhaps you could point us to your page? Or set up an example at
jsbin.com or something?

Nathan


Re: [jQuery] Sortable list - even when list is changed

2010-02-21 Thread Nathan Klatt
Hi Rafal,

In what way does it not work? I transcribed your code into jsbin and
it seems to be fine, though I don't have any roundbox styling being
applied:

http://jsbin.com/oququ3/edit

Nathan