[jQuery] Re: Select all controls of the form

2009-01-12 Thread Karl Rudd
Errr elements aren't form controls. elements are but ":input" selects those. I'm not sure what you mean. Karl Rudd On Tue, Jan 13, 2009 at 5:43 PM, JQueryProgrammer wrote: > > The above code selects all the controls except tag. > > > > On Jan 13, 11:26 am, Karl Rudd wrote: >> The '*' select

[jQuery] Re: Select all controls of the form

2009-01-12 Thread JQueryProgrammer
The above code selects all the controls except tag. On Jan 13, 11:26 am, Karl Rudd wrote: > The '*' selector will select _all_ the nodes (including the s). > Try using the ':input' selector: > > $("#form1 :input") > > http://docs.jquery.com/Selectors > > Karl Rudd > > On Tue, Jan 13, 2009 at

[jQuery] Re: Select all controls of the form

2009-01-12 Thread Karl Rudd
The '*' selector will select _all_ the nodes (including the s). Try using the ':input' selector: $("#form1 :input") http://docs.jquery.com/Selectors Karl Rudd On Tue, Jan 13, 2009 at 5:16 PM, JQueryProgrammer wrote: > > I am trying to validate all the controls that exist in the form. My > for

[jQuery] Select all controls of the form

2009-01-12 Thread JQueryProgrammer
I am trying to validate all the controls that exist in the form. My form code looks like: Select One Two Three  Option 1   Option 2 

[jQuery] Re: Passing vars to function

2009-01-12 Thread seasoup
untested, but the point is you can pass an object as the second parameter of the .bind() function. Doesn't work with the shortcuts as far as I know. Then, you can access those object in the event.data property of the event passed into the function. $("#artigos_listagem li").mouseover(function(e

[jQuery] Re: anyone knows vertical carousel ?

2009-01-12 Thread Karl Swedberg
this isn't a plugin, but I put together a little "vertical carousel" for a client at my day job. perhaps you could get some ideas by looking at the code: http://store.steelcase.com/go/ideas/ http://store.steelcase.com/javascripts/ideas.js --Karl Karl Swedberg www.englishrules.

[jQuery] Once validated..

2009-01-12 Thread Nikola
I'm validating a form in php and am wondering how I can bind a jQuery function to a successful validation or how to check a var set in php with jQuery.

[jQuery] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Canglan
Nice! :) Now I'm just waiting patiently for the updated Validation plugin. :)

[jQuery] Re: Superfish Bug - Submenu Opens In IE 8 On Page Load (Joel Birch)

2009-01-12 Thread johny why
this is in vertical mode

[jQuery] Re: Superfish Bug - Submenu Opens In IE 8 On Page Load (Joel Birch)

2009-01-12 Thread johny why
resolved, by reverting to the version of hoverIntent.js which is bundled with Superfish. Joel Birch, author of superfish, recommends upgrading to the version below, but the script below caused the incorrect behavior i describe at the top of this thread. http://plugins.jquery.com/project/hover

[jQuery] Re: Passing vars to function

2009-01-12 Thread Scott Sauyet
Maginot Junior wrote: HI, I have a simples question, hope to get some answer... Im having difficulty to pass vars to functions like: [ ... ] $("#artigos_listagem li").mouseout(function(e){ $(this).css({ background: orgBg });

[jQuery] Passing vars to function

2009-01-12 Thread Maginot Junior
HI, I have a simples question, hope to get some answer... Im having difficulty to pass vars to functions like: $("#artigos_listagem li").mouseover(function(e){ var orgBg = $(this).css('background'); $(this).css({ background: "#aa"

[jQuery] Re: Making sure all array fields are filled

2009-01-12 Thread MorningZ
var Values = []; $("input[name^='productids']").each(function() { var val = $.trim(this.value); if (val == "" || isNaN(val)) { Values = []; //Clear our values return false; //Stop looping } else { Values.push(val); //Save } }); if (

[jQuery] Superfish Bug - Submenu Opens In IE 8 On Page Load (Joel Birch)

2009-01-12 Thread johny why
in IE 8, as soon as i load the page, the superfish top-most submenu opens, without hover. i do not see this problem in firefox or chrome. help?

[jQuery] ClueTip - display image in tip

2009-01-12 Thread BadMrFrosty
Hi there, I've been having some problems getting cluetip to show an image. essentially i just want it to work like this: title="This is a description | " and then I need the whole thing to be linked as well. any thoughts?

[jQuery] JQuery ajax loaded pages lose scripts

2009-01-12 Thread Clumsy Hamster
When using the JQuery ajax to inject a page into another page, I lose the script file access from that page. I've tried reloading the script using $.getScript but with the JQuery UI I get a stack overflow on line 509. Here is the code I use for getting the external file: $.ajax({url: 'myfile.htm

[jQuery] refresh a link

2009-01-12 Thread Néstor
Hi Poeple, I am looking for ideas on ho wto do the following. I have a link in a web page that points to a live audio stream but this link only shows up is the stream in on otherwise you do not see the link to the stream. The way is working now is that I have to refresh the entire page in order t

[jQuery] Making sure all array fields are filled

2009-01-12 Thread Costaud
Hello, How can I make sure all the below fields are filled with integers or return false and show a simple alert message if it's not: Your help would be greatly appreciated.

[jQuery] Re: anyone knows vertical carousel ?

2009-01-12 Thread brian
What's wrong with that example? What, specifically, are you looking for, aside from a plain, vertical implementation? On Mon, Jan 12, 2009 at 5:36 PM, merihsaka...@yahoo.com wrote: > > any other example?

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
I see what you mean...I put his code to use, but didn't take time to study it. > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Kean > Sent: Monday, January 12, 2009 4:44 PM > To: jQuery (English) > Subject: [jQuery] Re: Any tric

[jQuery] second instance of DOMwindow picking up properties of first instance

2009-01-12 Thread roxstyle
I have 3 instances of DOMwindow, and after the first DOMwindow has opened and closed on click event- the next DOMwindow takes the layout properties of the first. How do i kill the proerties of the first instance? $(".mapDOMWindow").openDOMWindow({ height:220, width:600, eventType:"click", overla

[jQuery] jQuery 1.3rc2 Ready

2009-01-12 Thread John Resig
Hey Everyone - jQuery 1.3rc2 is ready. This means that 1.3 is effectively finished barring a horrible bug between now and the final release on Wednesday (the 14th). You can grab the source here: http://code.jquery.com/jquery-1.3rc2.js Please let me know, personally, if you find some bad new bug

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread MorningZ
I'm sure if you dig into the jQuery library that ":even" and ":odd" are doing something along the lines of "nth-child" well, not *too* sure, but it makes some sense at least On Jan 12, 6:41 pm, rolfsf wrote: > that's too easy - it can't be right ;-) > > I guess my mistake was trying to use th

[jQuery] Example of using Ingrid or Tablesorter plugin with dynamic table

2009-01-12 Thread varun
Hi Can anyone please send me an example of using any of these 2 libraries with dynamic tables in .net . I can use both libraries when I use html table but as soon as I write runat="server"... It doesnot work... I tried all the things: Matched Ids and also tried selecting using the class of table .

[jQuery] Re: Dialog - Can't Copy or Select Text

2009-01-12 Thread Nguyễn Quốc Vinh
I had ever had same problem! The issue because of having a layer mask on top of our Dialog layer! So, we can not select text of under layer! Try debug with firebug and you will realize! 2009/1/12 sirmoreno > > Hi, > I Set up a JQuery Dialog in my site. > But in FF the user can't select or copy

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread rolfsf
that's too easy - it can't be right ;-) I guess my mistake was trying to use the nth-child(even)? On Jan 12, 12:36 pm, Karl Swedberg wrote: > Simpler still would be this: > > $(this).find("tbody tr:visible:even").addClass("alt"); > > --Karl

[jQuery] Re: Hierarchy Checkbox Tree

2009-01-12 Thread bmclaughlin
Eric, Thank you for the response, however it is not working for me and I do not know enough about jQuery to troubleshoot it. On Jan 12, 4:15 pm, Eric Garside wrote: > The easiest way I can see of doing it is: > > >   >     >     >       >       >       >         >       >       >    

[jQuery] Re: jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled

2009-01-12 Thread Mike Alsup
> My handler - as shown previously - rebinds events when the submit succeeds. I > confirmed this, as stated in my message by adding an alert that is shown the > next time I click the submit button, so that isn't it. Sorry, I read your first message too quickly. Is 'edit_card_jq' bound as a submi

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-12 Thread Nikola
Thanks for the info duck, I thought it was something along those lines... good to know.

[jQuery] Re: JQuery Validation - call validate(options) multiple times to append options to current validator [validate]

2009-01-12 Thread Jörn Zaefferer
Give this a try: var validator = $("#myform").validate(options); $.extend(validator.settings, moreOptions); Also take a look at the rules method: http://docs.jquery.com/Plugins/Validation/rules Jörn On Mon, Jan 12, 2009 at 10:49 PM, phil wrote: > > Just Pinging this thread to see if anyone has

[jQuery] Re: jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled

2009-01-12 Thread Isaac Raway
My handler - as shown previously - rebinds events when the submit succeeds. I confirmed this, as stated in my message by adding an alert that is shown the next time I click the submit button, so that isn't it. malsup wrote: > > >> Any ideas why this would happen? > > This is why: > > http:/

[jQuery] Re: anyone knows vertical carousel ?

2009-01-12 Thread merihsaka...@yahoo.com
any other example?

[jQuery] Re: jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled

2009-01-12 Thread Mike Alsup
> After submitting the form, successfully, the backend responds with a blank > HTML form. This loads correctly after the call to ajaxSubmit. However when I > submit the form a second time (to add an additional item) the submit is not > sent through ajax, although my button handler which calls ajax

[jQuery] jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled

2009-01-12 Thread Isaac Raway
I have a situation where I have a form that remains on a page even after a successful submit - it is used to add items to a list of existing items. After submitting the form, successfully, the backend responds with a blank HTML form. This loads correctly after the call to ajaxSubmit. However whe

[jQuery] Re: Smooth animation

2009-01-12 Thread meneldor
I compute where to move my object server side for better control. I use that http://www.devpro.it/xmlsocket/ . I wanna use the browser only as client to visualize all elements. On 12 Ян, 23:56, Balazs Endresz wrote: > Server side animation? What application is that? :) > > I'd be really interest

[jQuery] Re: anyone knows vertical carousel ?

2009-01-12 Thread MorningZ
http://sorgalla.com/projects/jcarousel/examples/static_vertical.html On Jan 12, 4:45 pm, "merihsaka...@yahoo.com" wrote: > I am trying to find "vertical carousel" example. But I havent found > yet. Do you know any jquery example about it?

[jQuery] Re: Smooth animation

2009-01-12 Thread Balazs Endresz
Server side animation? What application is that? :) I'd be really interested why would you do that, but I'd suggest using .animate() for each coordinate you get from the server instead of setting its height and width. And send coordinates less frequently -- maybe just once and do the computation

[jQuery] Re: JQuery Validation - call validate(options) multiple times to append options to current validator [validate]

2009-01-12 Thread phil
Just Pinging this thread to see if anyone has a solution or workaround... On Jan 11, 8:06 pm, phil wrote: > I'm wondering if it's possible to call the validate method multiple > times toappendmoreoptionsto thevalidator. > I haven't tried it, but it seems like it will overwrite previousoptions. >

[jQuery] anyone knows vertical carousel ?

2009-01-12 Thread merihsaka...@yahoo.com
I am trying to find "vertical carousel" example. But I havent found yet. Do you know any jquery example about it?

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Kean
Look at Mike Alsup's solution On Jan 12, 1:37 pm, "Rick Faircloth" wrote: > Can you be more specific?  Are you saying the filter attribute > causes IE to poorly render fades? > > If so, what does your coding solution look like? > > $('#dogs').fadeIn(500).attr('filter', '') ??? > > Rick > > > ---

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Can you be more specific? Are you saying the filter attribute causes IE to poorly render fades? If so, what does your coding solution look like? $('#dogs').fadeIn(500).attr('filter', '') ??? Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.co

[jQuery] improving performance of table navigation

2009-01-12 Thread Sridhar
Hi, I am trying to write table navigation using keys for asp.net gridview. This is what I have so far. It is working fine but it is slow. Please look at it and let me know how to improve the performance if possible. Basically it is html table with input elements. The structure of table is like t

[jQuery] Re: Cycle Pluging "next up" text

2009-01-12 Thread amuhlou
Thanks much, that just about does it! The only issue I've found is that $nextSlide becomes undefined if paging backwards. For example: http://static.spartaninternet.com/sandbox/ If you click the back button to get to slide 1 it becomes undefined. ~amy On Jan 12, 3:56 pm, Mike Alsup wrote: >

[jQuery] Re: Problem with creating dynamic html...

2009-01-12 Thread Kean
in 1.3 it will be something like this $(),live('click', function(){ }); or you can do something like this in 1.2.6 $().click(function(e){ e = e.target || e.srcElement; if $(e).is('CSS selector') fire the function }); adding some bubbling $().click(function(e){ e =e.target || e.

[jQuery] Re: Old code not working with new 1.2.6

2009-01-12 Thread Eric Garside
There's not much we can do to help you without more code and some html. What's i set to? Where does it get set? Where's page getting set? On Jan 12, 2:27 pm, bryce4president wrote: > I had a piece of code that worked with 1.2.2 but now it doesn't seem > to work with 1.2.6 > > Here is the code, c

[jQuery] Re: .load() callback

2009-01-12 Thread BlueStunt
I've had a minor success now that it's defined inside document.ready, one of the pages is now working, however my main nav bar ( NameText etc etc ) isn't working. You can see the page at: http://www.ispycreativity.com/concept07.htm the relevant jQuery is at http://www.ispycreativity.com/

[jQuery] Re: Hierarchy Checkbox Tree

2009-01-12 Thread Eric Garside
The easiest way I can see of doing it is: $('#container :checkbox').change(function(){ var jQ = $(this), nest = jQ.next('div'); if (jQ.attr('checked') == 'checked') // Checked - Check and disable all children. nest.find('

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Kean
Learned something today.. it's nice to know that the filter attribute is causing the problem and to remove it when finished with the animation. On Jan 12, 10:09 am, "Rick Faircloth" wrote: > Thanks for the reply, Mauricio, but I couldn't get > your solution to work. > > Adding the background (at

[jQuery] Re: Old code not working with new 1.2.6

2009-01-12 Thread Kean
jQuery 1.3 is going to be released soon. You might want to try to see if it works with 1.3b2. Also, it might be helpful to publish snippets of html that relates to your query. On Jan 12, 11:27 am, bryce4president wrote: > I had a piece of code that worked with 1.2.2 but now it doesn't seem > to

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
Sorry man, no idea what to tell you. good luck with your issue On Jan 12, 3:34 pm, "Varun Khatri" wrote: > If I remove runat="server " > Like > ** > And then use : > > $(".tablesorter") >    .tablesorter({widthFixed: true, widgets: ['zebra']}) >    .tablesorterPager({container: $("#pager")}

[jQuery] EqualTo not seem to be working.

2009-01-12 Thread gdfox
Hi, I have the following code. I want to compare confirm_number with number. The required field works, but not the equalTo. Any help is appreciated. Thanks, Greg <-- snip --> $(document).ready(function(){ $("#form1").validate()({ rules: {

[jQuery] Re: jQuery UI tabs widget problem

2009-01-12 Thread tesdev
Is working when replaced jquery.ui-1.6rc4 demos\tabs\default.html js files with http://jquery-ui.googlecode.com/svn/trunk/ jquery-1.3pre.js ui/ui.core.js ui/ui.tabs.js $(function() { $("#tabs").tabs(); //$('#tabs').data("disabled.tabs", [1,2]); //works

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread MorningZ
ps.. i totally missed the ":visible" selector on the docs On Jan 12, 3:36 pm, Karl Swedberg wrote: > Simpler still would be this: > > $(this).find("tbody tr:visible:even").addClass("alt"); > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jan 12, 2

[jQuery] Re: Cycle Pluging "next up" text

2009-01-12 Thread Mike Alsup
>            function onAfter(currSlideElement, nextSlideElement, > options, forwardFlag) { >                 $('#main').html(this.alt); >           }}); > > Ideally, in my onAfter callback I would like to have the upcoming > image's alt text instead of the current one's.  Is this possible? > > Th

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread Karl Swedberg
Simpler still would be this: $(this).find("tbody tr:visible:even").addClass("alt"); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 12, 2009, at 2:52 PM, brian wrote: Right - that's way simpler. Yay, jQuery! On Mon, Jan 12, 2009 at 2:46 PM, MorningZ

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
If I remove runat="server " Like ** And then use : $(".tablesorter") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}) *It works fine * But If I do ** And then use : $(".tablesorter") .tablesorter({widthFixed: true, widgets: ['zebra']})

[jQuery] Form submission - Callback method not being called

2009-01-12 Thread Jean-Philippe Couture
Hi, I am having some difficulties trying programatically submit a form. The form never get submitted and the callback is never executed. Could anyone please give me some pointers, please? Take the following example: ---

[jQuery] Old code not working with new 1.2.6

2009-01-12 Thread bryce4president
I had a piece of code that worked with 1.2.2 but now it doesn't seem to work with 1.2.6 Here is the code, can anybody see anything that would cause it to stop working? All it does is adds a link to a piece of text in a table cell. $('#'+i).children('td:first').next().click(function(){ ord = $(t

[jQuery] Drag a created div by append

2009-01-12 Thread elrafael
Hello! I have a little problem in Sortables. When I create a new div using append, I cannot move it using Sortables. Other div's (created by 'hand') I can move normally. Here's my code: //Btn Add $('.btn_adicionar').click(function () { $("#conteudo_esquerda").append(conteudo_a

[jQuery] Sortables ie7 issue

2009-01-12 Thread Rafael Vieira de Oliveira
Hello! I'm using Sortables to drag n' drop divs in a project. Well, all non IE browsers the code works fine!!! The javascript code is $('div.recebeDrag').Sortable({ accept : 'drag', helperclass : 'dragAjuda', activeclass : 'dragAtivo', hoverclass

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
What happens with: $(".tablesorter") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}) On Jan 12, 3:11 pm, "Varun Khatri" wrote: > Here I have attached 3 files ... Its just a simple example > I am trying this coz all my tables are dynam

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
Without seeing a working (errr, "non working") page, constantly posting the same piece of non-working code is not helping others help you How about just using a class? On Jan 12, 2:51 pm, "Varun Khatri" wrote: > well to me both returned same value So I agree > But still cant find solutio

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread brian
Right - that's way simpler. Yay, jQuery! On Mon, Jan 12, 2009 at 2:46 PM, MorningZ wrote: > > Should work: > > $(this).find("tbody tr").not(":hidden").filter(":even").addClass > ("alt"); > > > On Jan 12, 1:08 pm, brian wrote: >> The way I sometimes do this with PHP is to set a $counter var and

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
well to me both returned same value So I agree But still cant find solution to problem: *alert($("#"+serverIdPrefix+"table1").size());// still returns 1* $("#"+serverIdPrefix+"table1") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}) */

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
> Can I also use table sorter with datagrid control? No, well, not "out of the box" anyways... as the DataGrid control doesn't generate , , and tags, all of which are important parts of the TableSorter structure If you insist on using DataGrid, you'll have to make a custom control adapter that

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
"you shouldn't use .length on a jQuery object, since that always returns 1 afaik" size and length are equivalent, well, except that "size" is slower Straight from the docs: Length: The number of elements currently matched. The size function will return the same valu

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread MorningZ
Should work: $(this).find("tbody tr").not(":hidden").filter(":even").addClass ("alt"); On Jan 12, 1:08 pm, brian wrote: > The way I sometimes do this with PHP is to set a $counter var and then > use the modulo operator on the incremented counter to write the > classname for the row. So, someth

[jQuery] Re: function text() in jquery

2009-01-12 Thread Ricardo Tomasi
There are two alternatives: $('#testText').contents(':not(select)')[0].nodeValue; this one is unsupported but works too: $('#testText').contents('[nodeType=3]')[0].nodeValue; Notice that both will keep the linebreaks. if text() could handle textnodes this would be much easier. - ricardo On J

[jQuery] Cycle Pluging "next up" text

2009-01-12 Thread amuhlou
Hello, I'm creating a slideshow with the awesome Cycle plugin and would like to append the alt text of the next slide into a "next up:" area. Is there a way to get the alt attribute of the next slide and append it to my next up div in the onAfter callback? Right now i'm using the before and aft

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
*alert($("#"+serverIdPrefix+"table1").size());// still returns 1* $("#"+serverIdPrefix+"table1") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}) *//still doesnot work* Is there any other mistake that you can think of that I am making here

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Lukas Pitschl | Dressy Vagabonds
you shouldn't use .length on a jQuery object, since that always returns 1 afaik. Use .size() instead. If your alert then still reports 1 you've selected the table correctly using jQuery, else you have to check your id. also your example implies, that the serverIdPrefix is not used. Check if

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
alert($("#"+serverIdPrefix+"table1").length)); This returns 1 I dint get it Plz help Thanks Varun On Mon, Jan 12, 2009 at 4:26 AM, MorningZ wrote: > > in the "runat=server" version, put > > alert($("#"+serverIdPrefix+"table1").length)); > > right before the tablesorter line believe

[jQuery] Re: Anyway to highlight words accents-insensitive?

2009-01-12 Thread Alex Tercete
There is a bug in the previous code with Internet Explorer. To fix it, replace this: ### // If its not the last part, add the accented and highlighted term to the final value if (n < everything_except_term.length - 1) { // Get the term with the original accentuation and a

[jQuery] Re: Extend to pass XML feed as an argument

2009-01-12 Thread Josh
I see that this failed to keep jCarousel in my title - newbie mistake. I do hope someone sees this though. :) On Jan 12, 9:59 am, Josh wrote: > I'm setting up a site that usesjCarouselin a variety of places (and > for that I must thank Jan, it's a great tool); the sliders are all > going to look

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Thanks for the reply, Mauricio, but I couldn't get your solution to work. Adding the background (at least in IE 7) didn't have any effect on the display of the final text. Also, on your demo page, I got an error. Looking at the code, I think you've got a "no-background" class on both demo p's.

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread brian
The way I sometimes do this with PHP is to set a $counter var and then use the modulo operator on the incremented counter to write the classname for the row. So, something like this might work: // where you have CSS classes Row0 & Row1 $(this).find("tbody tr:visible").each(function(i, el) {

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Thanks, Mike...yes it is a hack. Too bad the text has to transition in, show poorly briefly, then form up nicely. But, it's better, I think at this point, than simply using a .show. Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > B

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
Also, to get around the problem : I made a div around the table : // table content here I used this jquery after making div: $("#tableDiv").each(function(){ $(this).find("table").each(function() { if($(this).hasClass('tablesorter')) { $(this).tablesorter({widthFixed: true, widgets: ['zebra']

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-12 Thread Ted
And here's the URL again: http://dl.getdropbox.com/u/21984/menu_test/menu_test.html On Jan 10, 11:56 am, "jQuery Lover" wrote: > I suggest you take the other way. We shall not forget about beloved > CSS :) Try this: > > $(document).ready(function(){ >   $('#nav li') >     .bind('mouseenter mous

[jQuery] table striping - skip hidden rows

2009-01-12 Thread rolfsf
I have a table with multiple tbody's. Within each tbody there are a number of rows that can be hidden or shown by clicking on a link. I'm using the following function to stripe alternating rows: jQuery.fn.stripeTable = function(){ $(this).find("tbody tr:nth-child(

[jQuery] Re: autocomplete

2009-01-12 Thread Steven Wright
Thanks Jörn I appreciate you taking the time to help me out. Steve -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Monday, January 12, 2009 12:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: autocomplet

[jQuery] radio buttons in tablesorter

2009-01-12 Thread Soledad Zubiri
Hello , I'm having a problem with radio button in a table: I have a table that has the option to select the required row through a radio button. But the problem is that if I sort the table (by any column) after selecting some row, the selection goes off. Is there any way to maintain the state of

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-12 Thread webmas...@terradon.nl
Thanks for the answers, i see some daylight now, but i already have a normal onclick event on the image, triggering my normal js function: squareClicked(row,col,isEmpty) { // my other normal js function // with jquery : showing message div // my jquery post to taconite plugin page, proces

[jQuery] Re: autocomplete

2009-01-12 Thread Jörn Zaefferer
JSON support is still a bit rough. Here is an example, the parse-option is something we want to improve a lot in the future: http://jquery.bassistance.de/autocomplete/demo/json.html Jörn On Mon, Jan 12, 2009 at 4:34 PM, rhythmicde...@gmail.com wrote: > > Hi all new to the group and jQuery in gen

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
Can I also use table sorter with datagrid control? Thanks Varun On Mon, Jan 12, 2009 at 4:26 AM, MorningZ wrote: > > in the "runat=server" version, put > > alert($("#"+serverIdPrefix+"table1").length)); > > right before the tablesorter line believe me, as a .NET > programmer myself, the ru

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Mauricio (Maujor) Samy Silva
Are you talking about Internet Explorer browser? If so, have a look in the following article: http://www.kevinleary.net/blog/jquery-fadein-fadeout-problems-in-internet-explorer/ Maurício -Mensagem Original- De: "Rick Faircloth" Para: Enviada em: segunda-feira, 12 de janeiro de 2009

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Mike Alsup
> However, .fadeIn leaves text looking *u-ga-ly*... changing > .fadeIn to .show leaves text nicely rendered in the browser. > > Is there some trick or other way to cause the browsers to > render text that has been faded in looking good? IE is the only browser that struggles with this. Here's a ha

[jQuery] Hierarchy Checkbox Tree

2009-01-12 Thread bmclaughlin
I am hoping that someone has done this before. I am after something like this: http://static.geewax.org/checktree/index.html I will explain why this fine example does not work for my instance below. The behavior of the “United States” section in particular is what we are after. If a parent check

[jQuery] Re: Examples of great plugin documentation?

2009-01-12 Thread Giovanni Battista Lenoci
Mika Tuupola ha scritto: I am about to rewrite documentation of Jeditable plugin (has been on my TODO list for a while). While putting together some notes it would be great if people from list could send me links to other plugin documentation you have found to be well structured or written

[jQuery] Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Hi, all... I prefer to use .fadeIn(500), etc., to bring elements onto a page, as it gives the user a chance to keep up with changes being made visually. However, .fadeIn leaves text looking *u-ga-ly*... changing .fadeIn to .show leaves text nicely rendered in the browser. Is there some trick or

[jQuery] Smooth animation

2009-01-12 Thread meneldor
Hi, group. Im trying to make animation using jquery, but its controlled server side using XMLSocket. When jQuery receive coordinates from server it moving my DIV across the browser but its too fast. I cant understand how to do smooth animation. My server script (perl) compute the same x,y coordin

[jQuery] [jCarousel] Extend to pass XML feed as an argument

2009-01-12 Thread Josh
I'm setting up a site that uses jCarousel in a variety of places (and for that I must thank Jan, it's a great tool); the sliders are all going to look similar but all will use slightly different XML for the ajax portion. What I would like to be able to do would be to pass this feed as an argument

[jQuery] autocomplete

2009-01-12 Thread rhythmicde...@gmail.com
Hi all new to the group and jQuery in general. I just installed the very cool autocomplete plugin yesterday and have it working in the following scenarios: $("#example").autocomplete(data); Where data is a local string as shown in the examples. $("#example").autocomplete('get_data.php'); Where

[jQuery] Re: function text() in jquery

2009-01-12 Thread kazuar
Hi, I thank you all for your help. I guess I'll go with Bohdan's suggestion. I'll put the text inside another tag (probably p tag...). thanks again for all your help, if you think of anything else please let me know. Kazuar Bohdan Ganicky wrote: > > > Hello, > > maybe it could be easier t

[jQuery] Re: load script regarding to value of textfield

2009-01-12 Thread dirk w
thanks a lot for your help! is it possible to additionally explain me how i can execute this link through the ajax functions? that would be great! thanks in advance On 12 Jan., 15:53, "jQuery Lover" wrote: > Try this: > > $('#searchButton').click(function(){ >   var url = ' src="[jQuery] Examples of great plugin documentation?
I am about to rewrite documentation of Jeditable plugin (has been on my TODO list for a while). While putting together some notes it would be great if people from list could send me links to other plugin documentation you have found to be well structured or written. -- Mika Tuupola http

[jQuery] Re: Calling images programatically from a database?

Well, I figured out a solution. Just in case someone in the future has the same problem as me, here's what I did: (1) Delete all that script in the section (2) Do this in the : So all I did was call up a picture in the database (which may or may not exist), giving it a default state of 'displ

[jQuery] Re: Calling images programatically from a database?

Well, I figured out a solution. Just in case someone in the future has the same problem as me, here's what I did: (1) Delete all that script in the section (2) Do this in the : So all I did was call up a picture in the database (which may or may not exist), giving it a default state of 'displ

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

I implemented your fix and unfortunately, the issue remains. To further demonstrate the problem, I've added some YouTube videos to the page to simulate the Flash components I have on my main example. Now, if you load the page, and then the on one of the main menu items to reload the page, keep yo

[jQuery] Re: Anyway to highlight words accents-insensitive?

So, I tried something similar to what I had in mind and was able to get it working. I'll put it here in case anyone wants it: # ORIGINAL CODE # highlight: function(value, term) { return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?

  1   2   >