[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread Geuintoo
Great, thank you!!

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread Geuintoo
But how to extend a sub method? // Extend sub method $.extend({ $.myPlugin = { myExtendedMethod: function(){ alert('Extended submethod called'); } } }); // Won't work: $.myPlugin.myExtendedMethod(); Thanks for any tipp!

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Tony
Hello, Basically jqGrid first check if the grid exists. If the grid does not exists the plugin create the grid and data is populated. If the grid exists nothing is happen. In other words you try to call every time jqGrid on already created grid. To avoid this there are a lot of scenarious. 1.

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread Jordon Bedwell
Try: $.extend({ myPlugin:{ myExtend:function() { alert('This'); } } }); $.myPlugin.myExtend(); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Geuintoo Sent:

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread Skyblaze
this is very very strange...any ideas? On Apr 8, 1:52 am, Skyblaze marcomenozz...@gmail.com wrote: ok i did that and i have only one alert box so the event is fired once. So what is that fires two same ajax get request? On Apr 8, 1:00 am, James james.gp@gmail.com wrote: Try adding an

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Tony
Hello again, Sorry missed that you have datatype as function. The 2 should be just var x; . ondblClickRow: function(id){ x =id; . jQuery(#list3).trigger(reloadGrid); .. } On Apr 8, 10:43 am, Tony t...@trirand.com wrote: Hello, Basically jqGrid first check if the grid exists. If the

[jQuery] Re: live() not working in IE8?

2009-04-08 Thread Dayjo
The solution I made for this problem is to put the .change() function inside a function called DOMReload() along side other similar functions, then.. whenever I do any ajax calls or loads() I run DOMReload() so that the function is re-applied to all new elements. It's a shame that live doesn't

[jQuery] Re: live() not working in IE8?

2009-04-08 Thread Dayjo
However I have recently been noticing IE 8 Beta having issues with the live('click') event... could be the fact I'm using Windows 7 IE 8 beta... but who knows! On Apr 8, 9:30 am, Dayjo dayjoas...@gmail.com wrote: The solution I made for this problem is to put the .change() function inside a

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread Skyblaze
I already tried to debug with firebug and i saw that the callback (with the ajax request code in it) in the event handler function is just called once. Then i also putted an alert in the event handler and as i said before i see in output only one alert box so the event handler callback is just

[jQuery] Re: Comma sign makes imperfect...

2009-04-08 Thread Jayandes
When you start writing in the input box, the string you are entering must be equal to a subset of one or many strings in the array, if not the autocompleter wipes out the text you have written. Take a look into Jörn's example page (http://jquery.bassistance.de/autocomplete/ demo/) for more info.

[jQuery] addClass on ahref link on the fly

2009-04-08 Thread Aysseline
Hi I've got a list of image with links and need to add a class on the fly on the ahref link. The output is like that ul li http://www.site.com/ http://www.imageurl.com/img.png /li li http://www.site.com/ http://www.imageurl.com/img.png /li li http://www.site.com/

[jQuery] Re: addClass on ahref link on the fly

2009-04-08 Thread Aysseline
Thanks for the quick reply evo-2 : it's run! I've tried this before but not with the ul balise maybe why it doesn't work? Good day ! evo-2 wrote: $(ul li a).each(function(){ $(this).addClass(tooptip2); }); Aysseline wrote: Hi I've got a list of image with links and

[jQuery] Re: addClass on ahref link on the fly

2009-04-08 Thread Joseph Le Brech
where your anchor tag? Date: Wed, 8 Apr 2009 02:59:08 -0700 From: ayssel...@gmail.com To: jquery-en@googlegroups.com Subject: [jQuery] Re: addClass on ahref link on the fly Thanks for the quick reply evo-2 : it's run! I've tried this before but not with the ul balise maybe why it

[jQuery] Re: adding columns to table row

2009-04-08 Thread ryan.j
to add a new column append a TD to each TR (or change the colspan of a TD in each row you didn't modify). you were doing this trtd id=coltd id=col/td/td/tr when you probably want to be doing something like... tr id=row_1td id=col/tdtd id=col/td/tr $('tr#row_1').append('td id=colsecond/td');

[jQuery] Re: adding columns to table row

2009-04-08 Thread ryan.j
to add a new column append a TD to each TR (or change the colspan of a TD in each row you didn't modify). you were doing this trtd id=coltd/td/td/tr when you probably want to be doing something like... tr id=row_1td class=col/tdtd class=col/td/tr $('tr#row_1').append('td

[jQuery] Re: adding columns to table row

2009-04-08 Thread ryan.j
to add a new column append a TD to each TR (or change the colspan of a TD in each row you didn't modify). you were doing this trtd id=colfirsttdsecond/td/td/tr when you probably want to be doing something like... tr id=row_1tdfirst/tdtdsecond/td/tr $('tr#row_1').append('tdsecond/td');

[jQuery] Re: adding columns to table row

2009-04-08 Thread ryan.j
by the way - tables are for laying out tabular data, an unordered list with a list-style-type:none; is a much better bet for horizontal navigation. it'll work in basically the same way ul id=nav lifirst/li lisecond/li lithird/li lietc./li /ul On Apr 8, 11:29 am, ryan.j

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread donb
I would breakpoint 'deeper', down in the ajax code such as where ajaxStart is called. Then check the stack to see how you got there. On Apr 8, 4:53 am, Skyblaze marcomenozz...@gmail.com wrote: I already tried to debug with firebug and i saw that the callback (with the ajax request code in it)

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread Skyblaze
whre i have to put this breakpoint in firebug? On Apr 8, 12:45 pm, donb falconwatc...@comcast.net wrote: I would breakpoint 'deeper', down in the ajax code such as where ajaxStart is called.  Then check the stack to see how you got there. On Apr 8, 4:53 am, Skyblaze marcomenozz...@gmail.com

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread Geuintoo
Perfect, thanks!

[jQuery] Re: UI Tabs and Events

2009-04-08 Thread Giovanni Battista Lenoci
Haret ha scritto: function toggleCommentForm(postid){ // Function content } if I understood: $('#elem').live(function() { // don't know what postid is, but maybe you can retreive it here: this.id; // id of the clicked element: $(this).parent().attr('id'); // id of the parent element

[jQuery] Re: addClass on ahref link on the fly

2009-04-08 Thread Aysseline
I don't have anchor, only tag. See my first post: I put the code. But thanks Evo-2 give me the solution. jlebrech wrote: where your anchor tag? Date: Wed, 8 Apr 2009 02:59:08 -0700 From: ayssel...@gmail.com To: jquery-en@googlegroups.com Subject: [jQuery] Re: addClass on ahref

[jQuery] Re: Using Thickbox 3 to play a Flash Intro?...

2009-04-08 Thread ryan.j
Probably. Taking a look at the thickbox .JS you've got the line... function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link so on the .ready event you could try... var c = this is your caption text; var u = this is your url; tb_show(c,u,''); i've

[jQuery] Re: Using Thickbox 3 to play a Flash Intro?...

2009-04-08 Thread ryan.j
The FAQ on the site says it will display flash. http://jquery.com/demo/thickbox/#qa Not sure if that means loading it as an image, by URL, or simply loading a page with the flash already embedded though. On Apr 8, 12:40 pm, ryan.j ryan.joyce...@googlemail.com wrote: Probably. Taking a look at

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread Jordon Bedwell
http://docs.jquery.com/Plugins/Authoring gives a brief explanation of which is better in which situation, either situation is alright to use, no one is better than the other for the average programmer, but there are situations that call for the two types. -Original Message- From:

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread RobG
On Apr 8, 6:49 pm, Jordon Bedwell jor...@envygeeks.com wrote: Try: $.extend({         myPlugin:{                 myExtend:function() {                         alert('This');                 }         }}); Can you say why that is better than: $.myPlugin.myExtend = function(){ ... }

[jQuery] Re: live() not working in IE8?

2009-04-08 Thread Jordon Bedwell
Switch on compatbility mode and see if it fixes the problem. Although it is usually made for 'layouts' it has been known to work on some older examples of code. As well, test it on IE 8 Vista which is not in beta anymore. As with, IE 8 Windows 7 technically isn't beta anymore since it was

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread Joseph Le Brech
$.ajax( //here then look in the dom inspector, you may see and array with two elements instead of just one { Date: Wed, 8 Apr 2009 03:54:16 -0700 Subject: [jQuery] Re: Jquery makes two ajax requests in one!! From: marcomenozz...@gmail.com To: jquery-en@googlegroups.com whre i have

[jQuery] Re: Circular jCarousel

2009-04-08 Thread Filipe La Ruina
Surely i control the html, after it was generated. But that isn't the point, since it didn't work well, even doing like the example (putting the html in a array). Although, today i'll try to use our friend Nathan plug-in. On Apr 7, 10:03 pm, MorningZ morni...@gmail.com wrote: Well, i can't

[jQuery] [tooltip] Way to make the tooltip plugin accessible to browsers with no mouseover?

2009-04-08 Thread Emmett
The tooltip plugin is slick, but there's one vital thing it appears to be missing: the ability to click instead of hovering. Why do I want that? Some browsers, like the iPhone, don't have the mouseover event at all. The tooltips are completely unavailable to those browsers. Is there a hack to

[jQuery] jQuery UI Autocomplete - Removing items / detecting all values from multiselect

2009-04-08 Thread Rob
Hello, Is there a way to always know what values are selected inside of a jquery ui autocomplete widget? I know there is a result event that fires when you select a value, but what about when you remove a value? Thanks, Rob

[jQuery] jQuery appendTo() in IE7 before ready() [qTip|BlockUI]

2009-04-08 Thread Thomas Creutz
Hi.. I have strange problems with IE7 (older/newer version not tested, but I think, it is also present in IE6) and some plugins, that do a appendTo(). The Webpage stops loading and I get a warning which says: Die Internetsite http://mypage.de/ kann nicht geöffnet werden. Vorgang abgebrochen

[jQuery] [validate]

2009-04-08 Thread jamesT77
Im using asp.net and we use linkbuttons to submit our forms. The linkbuttons get rendered as hyperlinks with a javascript function firing a postback. is there anyway i can get the validation plugin to fire on click of the hyperlink and then fire the postback if valid.

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-04-08 Thread lawrence.pit
Just wanted to give a big shoutout to slickgrid (http:// slickgrid.googlecode.com). I think Michael has nailed it. Totally. This is how a grid widget for jquery ui should be. The code looks super clean too. And promotes an MVC approach. The rendering technique employed is simply awesome.

[jQuery] Find if a checkbox is ticked or not by user

2009-04-08 Thread Eric
Hi, I am having a simple issue but can't get it work. I've searched other similar posts but still no good luck. I've got a checkbox on my form not checked by default and it's up to the user to select it. input id=chk01 name=chk01 type=checkbox I then want to detect if user has selected it or

[jQuery] [autocomplete] how to handle special characters?

2009-04-08 Thread Markos Gogoulos
Hi there, while using autocomplete, I've noticed that characters and ' get escaped as amp; and #39; Example, autocomplete displays Barbara’s Straight Son but when I choose this the field shows Barbara#39;s Straight Son Any ideas how I can avoid this? Thank you for your time!

[jQuery] How to get the number of the selected element?

2009-04-08 Thread jgmach
Hi there, I got 10 links on a site, all with the class collapsible. like this: a a a a a - user clicks this a a a a a Now I want some var that stores the number 5 in this case. Hope you can help me.

[jQuery] Superfish stacked sub menus

2009-04-08 Thread katalysis
Has anyone any thoughts on how to modify Superfish so that submenus show in a stack rather than to the right of the parent menu? Example: http://www.katalysis.net/assets/images/stacked-superfish.png

[jQuery] Problem Containts for select words

2009-04-08 Thread Jean Carlo
I am using the function to search for words in containts TR. I have three words well (Sunday and Monday, Sunday and Monday and Sunday) Only is selected and the second Saturday and Sunday and Monday. I was also selected to Sunday but could not. Thanks to All Im using$('table#horario

[jQuery] problem with IE extracting the document title from an ajax request response

2009-04-08 Thread Zac Spitzer
Is there a trick with IE for extracting the title from an ajax response? This works fine in FF but fails in IE using 1.3.2 var newTitle=$(response).filter(TITLE); it's a horrible problem to google as title is sooo common z

[jQuery] Re: addClass on ahref link on the fly

2009-04-08 Thread Liam Potter
$(ul li a).each(function(){ $(this).addClass(tooptip2); }); Aysseline wrote: Hi I've got a list of image with links and need to add a class on the fly on the ahref link. The output is like that ul li http://www.site.com/ http://www.imageurl.com/img.png /li li

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread Joseph Le Brech
Can you put a breakpoint to see if it runs change twice? Do you change the value and the text or something similar? Date: Wed, 8 Apr 2009 00:49:45 -0700 Subject: [jQuery] Re: Jquery makes two ajax requests in one!! From: marcomenozz...@gmail.com To: jquery-en@googlegroups.com this

[jQuery] Re: [tooltip] Way to make the tooltip plugin accessible to browsers with no mouseover?

2009-04-08 Thread Jörn Zaefferer
How does the iPhone handle native tooltips? According to quirksmode.org, the mouseover event is actually fired. Just not quite in the usual way: http://www.quirksmode.org/blog/archives/2008/08/iphone_events.html Jörn On Wed, Apr 8, 2009 at 12:55 PM, Emmett emmett.the.s...@gmail.com wrote:

[jQuery] Re: Learning about functions and methods (I am confused)

2009-04-08 Thread RobG
On Apr 8, 2:03 am, Geuintoo drummerb...@gmail.com wrote: Hy (function($){         $.myPlugin = function(){              holla: function(){                 alert('holla');             }         } The above will create a myPluggin property of the object referenced by $ (which is the

[jQuery] Re: Find if a checkbox is ticked or not by user

2009-04-08 Thread Joseph Le Brech
sorry in advance if this doesn't work straight off, im typing from hotmail directly. try if(len($(#chk1 :checked))0){ } or if($(#chk1).attr(checked)==true){ } Date: Tue, 7 Apr 2009 23:15:29 -0700 Subject: [jQuery] Find if a checkbox is ticked or not by user From:

[jQuery] Re: jQuery within Javascript?

2009-04-08 Thread Edward Ludlow
Michael Geary wrote: The reason your code doesn't work is that you have a single numBackgrounds variable shared throughout all the code. You may increment this in a loop, but then later on when the .click() callback is called, numBackgrounds has already been incremented all the way to 6.

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Natkeeran L.K.
Hello Tony: Thank you for the reply. I inserted like below. But, it does not load the data: http://pssnet.com/~devone/ajqtable/summary36.html. Just empty grid. I also tried to inserted like jQuery(#list3).trigger (reloadGrid).jqGrid({no success. I just need the functionality, thus any

[jQuery] Re: Modal Form Validation + JSON call

2009-04-08 Thread Richard D. Worth
It's possible you're having an issue because the dialog content element is moved to the end of the body. So if that element contains form elements, rather than an entire form, they'll be removed from the form. For more info (including some work-arounds) see

[jQuery] Re: problem with IE extracting the document title from an ajax request response

2009-04-08 Thread Jordon Bedwell
Uhm, doesn't google disable Javascript and follow the non-javascript version? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Zac Spitzer Sent: Wednesday, April 08, 2009 12:37 AM To: jQuery (English) Subject: [jQuery] problem with IE

[jQuery] Re: problem with IE extracting the document title from an ajax request response

2009-04-08 Thread Jonathan Vanherpe (T T NV)
I think he meant that putting 'title' in your search query is useless when googling, because pretty much every html document out there contains the word. Jonathan Jordon Bedwell wrote: Uhm, doesn't google disable Javascript and follow the non-javascript version? -Original Message-

[jQuery] Re: problem with IE extracting the document title from an ajax request response

2009-04-08 Thread Michael Lawson
What does your response look like? cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make sense, conform to your experience, and

[jQuery] Re: How to get the number of the selected element?

2009-04-08 Thread Mauricio (Maujor) Samy Silva
I got 10 links on a site, all with the class collapsible. jQuery: $(document).ready(function(){ $('.collapsible').click(function() { var indexLink = $('.collapsible').index(this); var nClicked = indexLink + 1; alert(nClicked); }); }); HTML a href=# class=collapsible1/a a href=#

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Tony
Hello, Maybe you do not understand me. The definition jQuery(#list3).jqGrid({ ..}) should be outside of ondblClickRow. That is: jQuery(document).ready(function(){ //begin list2 grid var x; jQuery(#list2).jqGrid({ ... ondblClickRow: function(id){ var x = id; alert(You double click row

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Natkeeran L.K.
Hello Tony: I also tried your initial suggestion, it too does not display data. http://pssnet.com/~devone/ajqtable/summary39.html Regards, Nat script type=text/javascript jQuery(document).ready(function(){ jQuery(#list2).jqGrid({ url:'summary3.php?nd='+new Date().getTime(),

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Natkeeran L.K.
Hello Tony: I think it is reloading the same info, and not the new info!! http://pssnet.com/~devone/ajqtable/summary351.html Regards, Nat On Apr 8, 3:50 am, Tony t...@trirand.com wrote: Hello again, Sorry missed that you have datatype as function. The 2 should be just var x; .

[jQuery] Re: jQuery UI tabs: show struts action response in the current tab panel and switch to another tab

2009-04-08 Thread kpi
I found the solution for the first problem: var $tabs = $('#tabs').tabs( { load: function(event, ui) { $('a', ui.panel).click(function() { $(ui.panel).load(this.href); return false; });

[jQuery] Re: Find if a checkbox is ticked or not by user

2009-04-08 Thread MorningZ
Also tried $(#chk01).is(':checked') which always gives me 'false' no matter if it is checked or not. That .is(:checked) most definitely works, there is something else wrong with your code/HTML On Apr 8, 2:15 am, Eric morningsunsh...@gmail.com wrote: Hi, I am having a simple issue but

[jQuery] Re: Find if a checkbox is ticked or not by user

2009-04-08 Thread MorningZ
and to note, as long as the ID of that checkbox is indeed chk01, you can always use simple JavaScript (which jQuery uses under the hood anyways) document.getElementById(chk01).checked On Apr 8, 2:15 am, Eric morningsunsh...@gmail.com wrote: Hi, I am having a simple issue but can't get it

[jQuery] Re: How to tell apart focus event

2009-04-08 Thread Karl Swedberg
The only problem I see with this is if the user is tabbing through a document/form. The mouse could be anywhere, but the user is still manually focussing/blurring. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 8, 2009, at 2:31 AM, Jordon Bedwell

[jQuery] Newbie help on Radio select

2009-04-08 Thread TC
Hi all, I'm new to Jquery and I have a problem I'd like to ask. I've followed a code snippet online to add a background color to a table column, but my problem is that when the 2nd row is selected, the 1st row disappears. How can I make each row remain on the td I've selected? Here's the code:

[jQuery] How can I freeze the title row in a table?

2009-04-08 Thread Matt Wilson
I have a table with lots of rows, and when I scroll down, I can't see the row with the column titles. How can I freeze that row in place so I can still see it as I scroll down?

[jQuery] magical setTimeout in IE

2009-04-08 Thread adudczak
Hi, I'm not an expert in this, I've checked list archive and I didn't find nothing similar. If You know why this is happening please let me know. HTML is something like that: form name=test method=get action=something input name=handler id=browser type=radio value=browser checked=checked

[jQuery] [validate] Dotnetnuke and form validation

2009-04-08 Thread caroig
Hi, I'm using dotnetnuke cms in a current development and I'd really to use validate for my forms. I haven't actually tried it but I know that the entire page in DNN is rendered as a form and that 'forms' within the page are psuedo forms - i.e. a group of inputs normally wrapped in a DIV and

[jQuery] Something like this

2009-04-08 Thread my . analytics
Hey Folk, I saw thes two nice sites and want to try out, how this will work. http://www.imagesource.com/ http://www.realities-united.de/ What do I mean? I mean the full filled backgroundimage, that resize after scale the browser. Does somebody know a tutorial or an other approach. Thakxx

[jQuery] Re: JQuery, JqGrid, and Ajax

2009-04-08 Thread Natkeeran L.K.
Hello Tony: I think I got this functionality working. http://pssnet.com/~devone/ajqtable/summary392.html I thought I needed Ajax function to get this working. But, it seems I don't need that. datatype: function(postdata)...I don't need this stuff. Thank you again for this help, and for a

[jQuery] prepend() and add events to prepended elements

2009-04-08 Thread dreame4
Hi, I have such a piece of code: $('body').prepend('div id=lightboxdiv class=lb-displaydiv class=lb-bgdiv class=header no-bg sidh2 class=headerEmbed Code/h2a href=# class=popupExitexit/a/div/div/div/ div'); Then I would like to add a click event to a.popupExit but it doesn't work correctly.

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Andy Matthews
Use Excel? :) -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Matt Wilson Sent: Wednesday, April 08, 2009 9:53 AM To: jQuery (English) Subject: [jQuery] How can I freeze the title row in a table? I have a table with lots of rows,

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Liam Potter
I remember seeing a plugin that did this, can't remember what it was called though. Basically, what that plugin did. was if it detected the thead scroll out of view, it would place a copy of it in the DOM in it's own div, set to position:fixed. This way you emulate the table scrolling down,

[jQuery] Re: prepend() and add events to prepended elements

2009-04-08 Thread Liam Potter
You will need to use live $('a.popupExit').live(click, function() { $('#lightbox').css(display, none); return false; }); dreame4 wrote: Hi, I have such a piece of code: $('body').prepend('div id=lightboxdiv class=lb-displaydiv class=lb-bgdiv class=header no-bg sidh2

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Jonathan Vanherpe (T T NV)
Matt Wilson wrote: I have a table with lots of rows, and when I scroll down, I can't see the row with the column titles. How can I freeze that row in place so I can still see it as I scroll down? I don't think you can, unless there's a way of using position:fixed on table rows (but it would

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread JohnZ
http://www.webtoolkit.info/scrollable-html-table.html On Apr 8, 9:53 am, Matt Wilson m...@tplus1.com wrote: I have a table with lots of rows, and when I scroll down, I can't see the row with the column titles. How can I freeze that row in place so I can still see it as I scroll down?

[jQuery] [validate] Either this field OR this field OR both

2009-04-08 Thread neilmbrewer
Using the validate plugin, I need to validate if either one field OR another has been filled in. It's fine if both fields have been filled in as well. Can anyone think of a way to make that happen? Thanks!

[jQuery] Re: Adding scope support to .bind()

2009-04-08 Thread gregory
the only difficulty I am having with Balazs Endresz's approach (which I have also implemented in my environment) is if another developer passes a function as 'data' param, the results become unpredictable. Though I don't *think* anybody should be passing a function to access as event.data, it

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread aquaone
There are hacks but none that work well cross-browser without additional hacks. Some plugins use the two table solution, some don't use tables at all and replace them with divs. Have you considered using pagination instead of a fixed thead hack? aquaone On Wed, Apr 8, 2009 at 07:53, Matt Wilson

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Liam Potter
that's a pretty cool script. JohnZ wrote: http://www.webtoolkit.info/scrollable-html-table.html On Apr 8, 9:53 am, Matt Wilson m...@tplus1.com wrote: I have a table with lots of rows, and when I scroll down, I can't see the row with the column titles. How can I freeze that row in place

[jQuery] Re: Newbie help on Radio select

2009-04-08 Thread Charlie Griefer
On Wed, Apr 8, 2009 at 7:14 AM, TC inscr...@gmail.com wrote: Hi all, I'm new to Jquery and I have a problem I'd like to ask. I've followed a code snippet online to add a background color to a table column, but my problem is that when the 2nd row is selected, the 1st row disappears. How can

[jQuery] Re: [validate] Either this field OR this field OR both

2009-04-08 Thread Matt Quackenbush
pseudocode rules : { thisField : { depends: function(element) { return $('#thatField').length == 0; } } thatField : { depends: function(element) { return $('#thisField').length == 0; } } } /pseudocode

[jQuery] Re: [validate] Either this field OR this field OR both

2009-04-08 Thread Matt Quackenbush
Ooops... pseudocode rules : { thisField : { required: true, depends: function(element) { return $('#thatField').length == 0; } } thatField : { required: true, depends: function(element) { return

[jQuery] Re: Flash content over BlockUI on Firefox in Windows

2009-04-08 Thread James Diamond
My comment was in accurate about it working in all other browsers. Safari on Mac is fine. However Safari Opera on Windows both do the same thing as firefox. I have not tested Linux at this point.

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Matt Kruse
On Apr 8, 9:53 am, Matt Wilson m...@tplus1.com wrote: I have a table with lots of rows, and when I scroll down, I can't see the row with the column titles. How can I freeze that row in place so I can still see it as I scroll down? There isn't a good solution that will work across all

[jQuery] Re: Something like this

2009-04-08 Thread Jack Killpatrick
this might do it for you: http://buildinternet.com/2009/02/supersized-full-screen-backgroundslideshow-jquery-plugin/ - Jack my.analyt...@gmx.de wrote: Hey Folk, I saw thes two nice sites and want to try out, how this will work. http://www.imagesource.com/ http://www.realities-united.de/

[jQuery] Re: [validate] Either this field OR this field OR both

2009-04-08 Thread Jörn Zaefferer
Actually: rules : { thisField : { required: function(element) { return $('#thatField').length == 0; } },... On Wed, Apr 8, 2009 at 6:49 PM, Matt Quackenbush quackfu...@gmail.com wrote: Ooops... pseudocode rules : { thisField : {  

[jQuery] Terrible print styles in the docs

2009-04-08 Thread Thomas Allen
Printed documentation includes many superfluous elements and cuts off the right side of the page in certain browsers. I know CSS like the back of my hand; is there something I can do to correct this? I'd be happy to. http://docs.jquery.com/skins/common/commonPrint.css - Missing quite a bit

[jQuery] Re: Flash content over BlockUI on Firefox in Windows

2009-04-08 Thread Leonardo K
I know you said you tested it, but the parameters that I use and always works are: param name=wmode value=transparent/ On Wed, Apr 8, 2009 at 13:53, James Diamond djdiam...@gmail.com wrote: My comment was in accurate about it working in all other browsers. Safari on Mac is fine. However

[jQuery] Re: Terrible print styles in the docs

2009-04-08 Thread Ralph Whitbeck
Thomas, You could submit a bug and if you want to help submit a patch to the bug and I am sure the team will consider it. Thanks, Ralph On Wed, Apr 8, 2009 at 1:50 PM, Thomas Allen thomasmal...@gmail.com wrote: Printed documentation includes many superfluous elements and cuts off the right

[jQuery] treeview

2009-04-08 Thread Almudena
Hi, I would like to know if it is possible to link treeview links to anchor tags rather than to a whole html page. Any help will be much appreciated. Thanks.

[jQuery] Re: Jquery makes two ajax requests in one!!

2009-04-08 Thread James
Skyblaze, is it possible for you to put up the page, or a sample page with the same issue that we can take a look at the issue? Also, what about other scripts on your page. Maybe you might have ajax options set elsewhere that is causing your issue. On Apr 8, 1:20 am, Joseph Le Brech

[jQuery] Attaching tooltip to Ajax Load Event

2009-04-08 Thread iskills
I have a script that loads in data via an .load call: function listLoad() { $(#listoflists).load(/cart/admin/files/mailinglist.html, {nodetails: yes,action:loadlists}); } This script is called everytime something else is added, again via a .load event:

[jQuery] Re: Attaching tooltip to Ajax Load Event

2009-04-08 Thread iskills
I should also mention, that the images are loaded into: div id='listoflists'/div in case that affects anything So, when the page loads: $(document).ready(function(){ listLoad(); $(#do_create_list).click(function(){

[jQuery] Re: Adding scope support to .bind()

2009-04-08 Thread pete higgins
My hitch() method does this kind of: http://higginsforpresident.net/js/jq.hitch.js It would look like: this._input.bind('change', $.hitch(this, _onInputChange)); Regards, Peter Higgins On Wed, Apr 8, 2009 at 12:03 PM, gregory gregory.tomlin...@gmail.com wrote: the only difficulty I am

[jQuery] Re: magical setTimeout in IE

2009-04-08 Thread James
Without using setTimeout it seems to be working for me on a very basic page: http://jsbin.com/ezavi It should alert 'browser' when the page loads. Works for me on both FF3.0.8 and IE6 Maybe something else in your code must be causing the issue. On Apr 8, 3:15 am, adudczak adudc...@gmail.com

[jQuery] unload garbage collection 1.3.2 patch

2009-04-08 Thread docyes
ISSUE: Garbage cleanup is not assigned to an anonymous function. Sometimes unonload is used by other logic that may need jQuery to perform certain tasks. The ability to unbind/bind the garbage collection routine is handy to bump execution order. SUGGESTED SOLUTION: Assign garbage collection

[jQuery] Re: Find if a checkbox is ticked or not by user

2009-04-08 Thread James
How are you calling the check? You haven't provided the code for the actual selection event. Your code should look along the lines of: $(#chk01).click(function() { if ( $(this).is(':checked') ) { // do something } else { // do something else } }); Also,

[jQuery] Re: unload garbage collection 1.3.2 patch

2009-04-08 Thread docyes
Typo: Garbage cleanup is not assigned to an anonymous function. Garbage cleanup is assigned to an anonymous function. On Apr 8, 12:28 pm, docyes doc...@gmail.com wrote: ISSUE: Garbage cleanup is not assigned to an anonymous function. Sometimes unonload is used by other logic that may need

[jQuery] Re: unload garbage collection 1.3.2 patch

2009-04-08 Thread Ralph Whitbeck
docyes, Either submit a bug and add the patch to it or post this to the jquery-dev group. Thanks, Ralph On Wed, Apr 8, 2009 at 3:35 PM, docyes doc...@gmail.com wrote: Typo: Garbage cleanup is not assigned to an anonymous function. Garbage cleanup is assigned to an anonymous function. On

[jQuery] Why won't these values work for an ajax function?

2009-04-08 Thread Rick Faircloth
Here's the code: function mSaveSection() { datavalues = { dsn: 'cfoutput#application.dsn#/cfoutput', section_subtitle: 'cfoutput#session.values.section_subtitle#/cfoutput', section_text:

[jQuery] Re: Why won't these values work for an ajax function?

2009-04-08 Thread Charlie Griefer
view the source of the generated page and paste the mSaveSection() here. On Wed, Apr 8, 2009 at 1:01 PM, Rick Faircloth r...@whitestonemedia.comwrote: Here’s the code: function mSaveSection() { datavalues = { dsn: ‘cfoutput#application.dsn#/cfoutput’,

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread jlcox
Drupal has a standard script to do this, see http://drupal.org/project/issues/date?status=All for instance. You might be able to pick apart the source code to adapt it to your needs.

[jQuery] Triggering a namespaced event

2009-04-08 Thread Paul Thiel
Hi guys. Using jQuery 1.3.2 and getting some unexpected behavior this morning. This works, with the alert being executed when the showpalette event is triggered. $().bind('showpalette', function() { alert('showing palette!'); }); $.event.trigger('showpalette'); However, this does NOT

[jQuery] jQuery.event.trigger()

2009-04-08 Thread Paul Thiel
Hi guys. Trying again as not sure what happened to the previous post. I am using jQuery 1.3.2 and getting some unexpected behavior this morning. This works, with the alert being executed when the showpalette event is triggered. $().bind('showpalette', function() { alert('showing palette!');

  1   2   >