[jQuery] how to multiple images slideshow with jquery cycle plugin

2009-07-17 Thread AND
Hi , i am new to jquery cycle plugin I would like to make a multiple images slideshow with jquery cycle plugin Say I have 12 images and I want to show 3 at a time and cycle through the 12 in this fashion: (img1-img2-img3) then (img2-img3-img4) then (img3-img4-img5). (img11-img12-img1

[jQuery] Ajax to return more values

2008-12-01 Thread me-and-jQuery
Ho-ho-ho. I wonder what is the best practice if I want to get 2 or three values back to function with ajax. The last value would be lots of html code and first two kind of state values (number or short string). I don't like jSON a lot, since you need to return one-line response and you mu

[jQuery] Re: Ajax to return more values

2008-12-02 Thread me-and-jQuery
That's a good point, but in my case I will stick with regex. Another idea is to use multiple top html elements (divs for example) and then query for values of div you want. On Dec 1, 6:11 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > If you're using a 3rd party

[jQuery] Minimizing jQuery library

2008-08-22 Thread me-and-jQuery
I would like to minimize the size of library file to minimum with my specific wanted functionalities. All what I need is selector for ID, html function, ajax call, element toggling and sliding (slideDown). What size of library do you think could be the minimum in my case (minified version). I

[jQuery] Re: Minimizing jQuery library

2008-08-23 Thread me-and-jQuery
Well, in my case, I need JSON call not classic ajax. I know other functionalities are simple in JS, but JSON call and sliding is a must. Max file can be 5-10 kb from my calculations. What about removing functions from jQuery library which I don't need and have no effect on "engine&q

[jQuery] Re: Minimizing jQuery library

2008-08-23 Thread me-and-jQuery
Mike, thanks for your cool post. Last two hours I was doing just the same thing as you have suggested and came to a few results with limitations: - minified version of needed code without ready and sliding is 8k, without sliding but with ready 16kb and 42kb with sliding. Probably here is the

[jQuery] Re: tablesorter.js default sort

2008-08-26 Thread me-and-jQuery
Hello. This is exactly what I also need (for specific row specific first-click order). But I found simple turnaround with writing own parser which add negative sign (-) at the begining (I know that css still shows wrong order, but ok, the main problem is solved with that). But I would love if we

[jQuery] Multiple AJAX calls problem

2008-08-29 Thread me-and-jQuery
Hello. So I have a problem that when I get jQuery code in ajax response and you click few times to activate ajax call, there are multiple instances of same code. Lets see the example with keydown. FILE 1: $(document).ready( function() { $("#my_div&qu

[jQuery] ajax?

2008-08-29 Thread fear and wonder
what i'm trying to do is have a login form on my site, it looks like this right now... Email: Password: then when you click submit it uses ajax to load the login page that checks if you entered the right email and password. if you didn't, it would show the login form again. but

[jQuery] Re: Multiple AJAX calls problem

2008-08-30 Thread me-and-jQuery
: > > var kd = function(event) { > alert(event.keyCode); > > } > > $().unbind('keydown', kd).keydown(kd); > > it's a bit quick and dirty, but it works. > > -micah > > On Aug 29, 9:12 am, me-and-jQuery <[EMAIL PROTECTED]> wro

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread me-and-jQuery
Hi Brad. Here I can see the same hint as micah was talking about (unbind and then bind). Or do you have any other solution in mind? Thanks. On Aug 31, 2:51 am, Brad <[EMAIL PROTECTED]> wrote: > Have a look at the article > athttp://www.learningjquery.com/2008/05/working-with-events-part-2.

[jQuery] Re: Multiple AJAX calls problem

2008-09-02 Thread me-and-jQuery
Hey Brad. I went through these blog posts - articles - months ago, when I was looking for a problem of inactive elements returned by ajax call (and also found these three plugins, which I don't like so much). So if a solution is on that level and not on any special certain jquery integ

[jQuery] Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
I am searching the web and documentation and still can't find a working solution. I have a table which rows has also id with metadata, for example And now I want to select row with id 4. I was trying many ways but no success for now. For example: $.metadata.setType("attr", &

[jQuery] Re: Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
ta*=id:4]') > > http://docs.jquery.com/Selectors > > - ricardo > > On Sep 29, 2:23 pm, me-and-jQuery <[EMAIL PROTECTED]> wrote: > > > I am searching the web and documentation and still can't find a > > working solution. > > > I have a table which

[jQuery] Re: Metadata parameter as selector

2008-09-29 Thread me-and-jQuery
Erik, this is the solution I was looking for. Thanks also for making test page live. While we have there two solutions, I did a benchmark for both and here are the results, just for fun (1000x loop). :) Ricardo: 2406ms Erik: 2812ms (with filter) Thanks again to both of you. On Sep 30, 12:07

[jQuery] Possible to set metadata parameter dynamically?

2008-10-04 Thread me-and-jQuery
So is it possible to change the value of metadata parameter? Lets say we have . Or is the only way to change it with attr("id","6")? I have more parameters for element, so this is not an elegant solution. Thanks.

[jQuery] Re: Possible to set metadata parameter dynamically?

2008-10-04 Thread me-and-jQuery
Well, I meant with attr("data","{ id : 6}")... my mistake. On Oct 4, 10:24 pm, me-and-jQuery <[EMAIL PROTECTED]> wrote: > So is it possible to change the value of metadata parameter? Lets say > we have . > > Or is the only way to change it with attr(&

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread me-and-jQuery
Oct 5, 8:42 am, samr <[EMAIL PROTECTED]> wrote: > I just started on with jquery using > Firefox - 3.0.3 > Firebug - 1.2.1 > > The helloworld example using jquery is not loading with firebug and > just keeps on cycling. > I have disabled all plugins, still the result is same. &

[jQuery] Re: How do I remove a plugin melodramatically

2008-10-10 Thread me-and-jQuery
One option is to use unbind on the event that this plugin uses. $. ("element").unbind("click"); Anyone has any other solution? On Oct 10, 9:21 pm, Dan M <[EMAIL PROTECTED]> wrote: > All, > > If I were to add a plugin to an element on a page, say clueTip. How > could I remove the plugin from the

[jQuery] clone() help

2008-04-30 Thread Waz and Elle
Hi, I'm new to jquery and went over quite a few tutorials -- some work great for me, with no problems at all. But I'm having trouble with the .clone() method. I am trying to build an order form, and have a button#add, which when clicked I want it to add another div.product-temp

[jQuery] click(function(select) help

2008-05-01 Thread Waz and Elle
Hi again, I have a form with products select menu. I would like to show and hide product specific options as the user selects them. Now, I can show the product options but I don't know how to hide them if the user selects a different product. My HTML is:

[jQuery] Re: ANNOUNCE: jqUploader plugin upgraded to v1.0

2007-06-09 Thread yorsal (from China; love freedom and love jquery)
nice and why you like purple? hihi~ r u a girl or a boy?