[jQuery] Re: trying to do Math.min on 3 tds by excluding if one = 0

2010-01-02 Thread hollow
Thanks , great solution. i figured out on on my own that is quite different. i don't know which is the best i terms of performance. i create an array "numbArray" first of the elements then i do this. var index= $.inArray(0, numbArray); if(index== -1) { //Value not found in the array. }

[jQuery] Re: trying to do Math.min on 3 tds by excluding if one = 0

2010-01-01 Thread hollow
Hi min() is part of jquery calculation plugin. if i use var xmin = Math.min(x1, x2, x3) example var xmin = Math.min(5, 0, 3) the result will be 0 and i don't want that result. i would like to have 3 as the best result. example: compare prices that are in a database, but you haven't a price for th

[jQuery] trying to do Math.min on 3 tds by excluding if one = 0

2009-12-31 Thread hollow
Hi, I'm trying to do Math.min on 3 tds by excluding the ones = 0 7.5 7.25 0 i want to exclude the one = 0 i'm using this actually $("tr." + i).each(function () { var ithis = $("tr." + i + " td:lt(3)").min(); $("tr." + i + " td.r1").empty().append(roundVal(ithis

[jQuery] Help Form validation breaks after the first search that is succesful "Conflict in the script" (jquery.forms.js)

2009-04-29 Thread hollow
Hi, I've a code that validates jquery form and gives a result, but when i try a second search it stops working. bare with my programming as i'm not an expert in javascript. There is no error message that tells me where to look (firefox console). Can someone help me figure out what is happening

[jQuery] Re: Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread hollow
).text() > $(b).text();}); > > $('ul').html(sorted); > > On Apr 24, 9:16 am, hollow wrote: > > > > > Hi as the title says i'm looking to order a list taht is created by > > drag and drop. > > > the structure is a normal unordered list > &g

[jQuery] Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread hollow
Hi as the title says i'm looking to order a list taht is created by drag and drop. the structure is a normal unordered list C item E item D item F item F item A item Can someone help me with that please. Have looked at sort , sortable , etc... But no real explanation found. Regards

[jQuery] Re: script works in firefox bu not in IE or Safari why???

2008-01-17 Thread hollow
$('#'+this.name).css('color', this.value); }); }); Firefox make this work fine but IE and Safari are still unresponsive. Hollow On Jan 17, 9:33 am, George <[EMAIL PROTECTED]> wrote: > There may be some confusion over the use of commas in your jQuery >

[jQuery] script works in firefox bu not in IE or Safari why???

2008-01-16 Thread hollow
}); For some reason it doesn't make the changes in corresponding divs in IE or safari. Help would be much appreciated. Hollow

[jQuery] Having problems making my function work on safari

2008-01-16 Thread hollow
The script presented here works like a charm in firefox 2. But it doens't do anything on safari. What it is supposed to do is take the name of a input field then the id if it is text, div. then change the color depending on the id of the input field if it is text then change the text color. if

[jQuery] Re: trying in a function to change css color on divs

2008-01-15 Thread hollow
texte" > style="width:50px;" /> > > > test > > > > test > > > > > I wasn't exactly clear on what you were trying to do, but hopefully > the above should help. > > -Eric > > On Jan 14, 3:57 am,hollow<[EMAIL PROTECTED]&

[jQuery] trying in a function to change css color on divs

2008-01-14 Thread hollow
Hi, I'm trying to change color on a div from the change of an input field. what i need is to get the name of the input field that is the same as the div name ( and the value, to be able to do the change). to avoid repeating i'm trying to create one function that can handle all. the html part:

[jQuery] jcarousel vertical safari bug

2007-10-06 Thread hollow
Hi, Trying to implement jcarousel in a website the horizontal jcarousel works perfect in safari but the arrows on the vertical doesn't work. Tried in safari 2.04 and safari 3. ie and firefox are ok. checked the example on the webpage http://sorgalla.com/projects/jcarousel/examples/static_verti

[jQuery] trying to do a image selection depending on the div id

2007-08-30 Thread hollow
Hi all, i'm trying to make a script that selects a different image depending on the id of the div then if the div isn't existing show a different image. I'm quite new to jquery, but have some php skills. 1- is the first i tried but no good. (it stills hovers but doesn't show any different image