[jQuery] checking created items again via DOM

2007-03-08 Thread phplord
Hi; I got an interesting problem. I have a code like this: $('.lin').click(function(){ $(#sublevels).append(span class='lin'+split[1]+/spanbr /); } As you see,I have been adding span tags with class lin when another span tag with class lin was clicked. Problem is created span tags

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-07 Thread phplord
May I see your sample code please... tHanks for your reply PaulMWatson wrote: I ran into the same problem. My simple solution is to destroy everything jCarousel creates in the DOM, create your UL/LI list again and run .jcarousel against the new list. It is like a reinit. The way I

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-07 Thread phplord
('#carousellist').jcarousel({ // your config }); } So everytime you want to create the carousel list you just call that and make sure it destroys the contents of the wrapper, then you insert your items and then you apply the carousel. Not the best code, but it works. phplord wrote: May

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-05 Thread phplord
I have the similar problem, jCarousel loads full list generated by a php files via DB with same format as TXT file, I try to modify the content of carousel by some links which sends parameters to PHP file... any improvement in this? tHanks.. hxela wrote: Initially my carousel loads /foo

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-05 Thread phplord
anyone can have an idea about this, I need this urgently... phplord wrote: I have the similar problem, jCarousel loads full list generated by a php files via DB with same format as TXT file, I try to modify the content of carousel by some links which sends parameters to PHP file... any

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-05 Thread phplord
modify the any part of code I wrote above... phplord wrote: anyone can have an idea about this, I need this urgently... phplord wrote: I have the similar problem, jCarousel loads full list generated by a php files via DB with same format as TXT file, I try to modify the content

Re: [jQuery] Dynamically modifying the content of the carousel

2007-03-05 Thread phplord
I need guidance for help... hxela wrote: Initially my carousel loads /foo and is fed data from the database in order to build the carousel. I'd like the user to be able to click on a link /foo?search=bar and have the carousel update with the new data. Any ideas? Would I have to