Re: [jQuery] jcarousel issue

2007-03-07 Thread Indigo
On Monday 05 March 2007 20:46, Marshall Salinger wrote: I tried to pull up the image without the ;see| at the end and I get a 404. That is probably why it is only showing the alt text. You probably have your images in a subdirectory and you need to change the path to reflect that. If you

Re: [jQuery] Need some guidance...

2007-03-07 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hmmm… can’t get any reaction from the validation code. Here’s my script and html… what’s wrong with it? (I’ve included my show/hide script and my CalculateMortgage script in case there’s a conflict) The Mortgage Calculation still runs fine, but when I submit the

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Stefan Kilp [sk-software]
Hi, testing demoform validating a complete from i entered 123456 in password field, then entered 11 in confirm password which leads to a warning please enter the same password as above which is correct. now i enter 11 in password field. so both inputs match each other. but the warning

Re: [jQuery] Screencast: how to easily use AJAX to submit a form using jQuery

2007-03-07 Thread Remy Sharp
Oops - yep - obviously this.value won't work on checkboxes, etc. Good point - cheers! malsup wrote: On 3/6/07, Remy Sharp [EMAIL PROTECTED] wrote: A screencast for beginners to jQuery and/or AJAX showing how easy it is to add an AJAX layer to submit a form. Excellent job on that

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Fil
http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Oh it's great. I wonder though if your choice of writing class={x:y;z:t} is not potentially problematic. As I see it: - it could be incompatible with CSS2.1 selectors - it is probably incompatible with jQuery selectors - it is

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread amircx
try to using it with ie6 the sources are worng i think you have zipped the version that is not working with ie6. its writes $.vaildiator is not an object Jörn Zaefferer wrote: Hi folks, just released beta 1 of my validation plugin. The list of problem was reduced quite a lot, and

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread amircx
is anyone here tried to run this code on ie6 ? i wonder if its just my browser or the versions of the files are incorrect fil-4 wrote: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Oh it's great. I wonder though if your choice of writing class={x:y;z:t} is not

[jQuery] Get text from selected dropdown option

2007-03-07 Thread David Duymelinck
I thought this was easy because it's easy to get the selected value from a dropdown but i ended up doing something like this $('#dropdown').change(function(){ $.log($(this).find('option').filter(':selected').text()); }); Is there another way to get the text? -- David

Re: [jQuery] Get text from selected dropdown option

2007-03-07 Thread Klaus Hartl
David Duymelinck schrieb: I thought this was easy because it's easy to get the selected value from a dropdown but i ended up doing something like this $('#dropdown').change(function(){ $.log($(this).find('option').filter(':selected').text()); }); Is there another way

Re: [jQuery] Get text from selected dropdown option

2007-03-07 Thread David Duymelinck
Klaus Hartl schreef: I can only imagine to make that a little shorter: $('#dropdown').change(function() { $.log( $('option:selected', this).text() ); }); A little is good enough for me :) thank you -- David Duymelinck [EMAIL PROTECTED]

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Paul Bakaus
Hi Jörn, just a minor issue: The text Please accept our policy after clicking submit on the second form will not vanish directly after checking the checkbox. Other than that, great work! -Paul 2007/3/7, amircx [EMAIL PROTECTED]: is anyone here tried to run this code on ie6 ? i wonder if

Re: [jQuery] Firebug and validation plugin--revisted (Was Re: release: Validation plugin beta 1)

2007-03-07 Thread R. Rajesh Jeba Anbiah
On Mar 7, 12:51 pm, Aaron Heimlich [EMAIL PROTECTED] wrote: On 3/7/07, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: Do you know in what line number I have to set the Firebug breakpoint so that I'll get there when clicking the submit button? TIA Set a breakpoint on line 228 of

[jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Jonathan Sharp
Finally! After 15 of snow and moving into a house this past weekend, I finally got beta2 out the door! Thanks to all of your feedback and testing! A number of issues have been fixed and we found a bug in the dimensions plugin (with IE) that Brandon Aaron fixed promptly. Changes: - Menu supports

[jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
Hi, i m jamal, i taken to you to excuse my English. My probleme is : when i generate dynamaically the html , jquery event don't work. My script php index.php witch receiced a code html via ajax by another script recup.php like this : * Turquie Supprimer javascript:void(0) * the

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Chris Domigan
Jamal, you need to rebind events to elements after updating them via ajax. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Bruce
I was wondering something here... Being a javascript menu I guess the search engines need a real menu they can see somewhere on the page? Just a thought... Bruce Prochnau bkdesign solutions - Original Message - From: Jonathan Sharp To: jQuery Discussion. Sent: Tuesday, March

Re: [jQuery] finding an image by src attribute

2007-03-07 Thread Karl Swedberg
Hi Paul, This should do it: $('[EMAIL PROTECTED]') --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 6, 2007, at 1:34 PM, Paul wrote: This is probably easy, but it’s my first attempt so I’m not sure where to begin… I have a series of images

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Alexandre Plennevaux
the plugin is non obtrusive, so without javascript you will (and so will SE) see a list of links... _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Sent: mercredi 7 mars 2007 12:16 To: jQuery Discussion. Subject: Re: [jQuery] Plugin: jdMenu 1.3.beta2 I was

[jQuery] generate folder name

2007-03-07 Thread Alexandre Plennevaux
hello! i am creating a form where user enters the name of a new project. First field is title, the second one is project folder name. I would like to proposed a failsafe folder name from the project title. Can somebody provide me with a good idea on how to generate a secure folder name out of

Re: [jQuery] Using $.get in a link's onClick event

2007-03-07 Thread Yoav Shapira
Hi, On 3/7/07, Klaus Hartl [EMAIL PROTECTED] wrote: var track = { 'whateverUrl1': 'trackingUrl1', 'whateverUrl2': 'trackingUrl12' } $(function() { $(a).click(function() { $.get(track[this.href]); return true; }); }); Besides, if you leave the

[jQuery] jQuick 1.3 adds support for LABELs in Safari

2007-03-07 Thread Francesco Sullo
Hi all, today I released jQuick 1.3. This new version adds support for LABELs in Safari. Cheers, Francesco Sullo http://jquick.sullof.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Get text from selected dropdown option

2007-03-07 Thread Mike Alsup
I can only imagine to make that a little shorter: $('#dropdown').change(function() { $.log( $('option:selected', this).text() ); }); I could imagine making it faster :-) $('#dropdown').change(function() { $.log(this.options[this.selectedIndex].text); });

[jQuery] How to ignore propogated events

2007-03-07 Thread Peter Gordon
Hi. I am using JQuery 1.1.1 I have the following structure (taken from treeview) and want something to happen when an li item is clicked. ul li class=openItem 3.0 ul liItem 3.0.0/li liItem 3.0.1 ul liItem 3.0.1.0/li liItem 3.0.1.1/li

[jQuery] Problem with validation

2007-03-07 Thread Leonardo K
Whenever plugin validates the field it creates new label with error JS: $(form).validate({ focusInvalid: false, event: blur, debug: true, errorPlacement: function(error, id) { error.appendTo( $(id).next() ); } }); HTML: li class= label for=titulo Títulospan class=req * /span/ label div

[jQuery] Problem with validation

2007-03-07 Thread Leonardo K
Whenever plugin validates the field it creates new label with error JS: $(form).validate({ focusInvalid: false, event: blur, debug: true, errorPlacement: function(error, id) { error.appendTo( $(id).next() ); } }); HTML: li class=label for=tituloTítulospan class=req * /span/label div input

[jQuery] Getting a development team to use jQuery

2007-03-07 Thread Jake McGraw
Hi all, first let me say I've had an absolutely wonderful time utilizing jQuery for all of my javascript tasks. So wonderful, that I've convinced my boss that we should throw out every one (we're using about 4 or 5) of the javascript frameworks and random scripts we're currently using and

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Jonathan Sharp
Yep that is correct. Since the javascript just adds the behavior, the plugin is search engine friendly! Cheers, -Jonathan On 3/7/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: the plugin is non obtrusive, so without javascript you will (and so will SE) see a list of links...

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
Thank you for your help Chris ! I try this but it doesn't work. this is the html generated div id=mesenvies ul li span class=lib_voyageArgentine/span a href=javascript:void(0) title=1envie class=del_voyageSupprimer/a /li li span

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread David Duymelinck
Jonathan Sharp schreef: Yep that is correct. Since the javascript just adds the behavior, the plugin is search engine friendly! Cheers, -Jonathan I think Bruce got confused by the demo page where there are different menu parts that don't work without javascript so they will be added

Re: [jQuery] Getting a development team to use jQuery

2007-03-07 Thread Rey Bango
Hi Jake, Some key points to make are: - Learning Center: We strive to provide as much information as possible to get developers up to speed with jQuery. I think we've done a great job of providing some invaluable resources for becoming proficient in the library:

Re: [jQuery] Tooltips and Google Maps

2007-03-07 Thread rolfsf
I don't know if this has anything to do with your problem, but your missing your opening head tag when I view source. Rolf underdesign.co.uk wrote: Hi list, I hope someone can help me with this. I'm attempting to use the hovertips plugin to display Google Maps but am having trouble

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
It's ok. It 's nice when it works. Thank you Chris your precious help. //gestion autres voyages : on affiche le formulaire et les voyage $(#envies_voyages).click( function(){ $(#vip_affichage).html(); $(#vip_affichage_voyages).css(display,none);

Re: [jQuery] Getting a development team to use jQuery

2007-03-07 Thread Jonathan Freeman
Hi Jake, I went through almost the exact same thing this January. My current project is a very large J2EE financial services project. We have a couple hundred developers world-wide on the project and when I came aboard we had no User Interface architect or UI engineer (which, IMHO, almost always

Re: [jQuery] Getting a development team to use jQuery

2007-03-07 Thread Jake McGraw
Rey and Jonathan, thanks for the replies. Jonathan, I can totally relate with the who needs a user interface developer situation. We just lost ours, since then, I've been pushing the standardization idea for look, feel and code across all of our websites and applications. It's been slow going,

Re: [jQuery] Firebug and validation plugin--revisted (Was Re: release: Validation plugin beta 1)

2007-03-07 Thread Aaron Heimlich
On 3/7/07, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: After the page is loaded and if I set the breakpoint, it works like I expected. But, if I set the breakpoint and reload the page, it breaks at the breakpoint even while the page is loaded--this is confusing as it looks the event or

Re: [jQuery] How to ignore propogated events

2007-03-07 Thread Edwin Martin
Peter Gordon schreef: This is the code when the item is clicked. $(li).bind(click, function(){ alert( $(this).text() ); event.stopPropagation(); }); The problem is that when I click on a leaf, not only do I get an event for that leaf, but I get an event for each parent. How can I

Re: [jQuery] Plugin: jdMenu 1.3.beta2

2007-03-07 Thread Jonathan Sharp
Hi David, I'm not sure I understand completely what you mean. jdMenu can support both static and dynamic menus or a mix of both. Static menus are most useful for search engine indexing whereas the dynamic menu capability allows for more complex options such as loading menus via ajax. It's up to

Re: [jQuery] Tooltips and Google Maps

2007-03-07 Thread Schnuck
hi patrick, i have stripped down your code to have it more barbone for debugging. and here is the result, works 100% as, i hope, you intended. please discard if i got you wrong and you meant something completely else. on hover the tooltip appears (the google map) and while you hover the map you

Re: [jQuery] Firebug and validation plugin--revisted (Was Re: release: Validation plugin beta 1)

2007-03-07 Thread Mike Alsup
After the page is loaded and if I set the breakpoint, it works like I expected. But, if I set the breakpoint and reload the page, it breaks at the breakpoint even while the page is loaded--this is confusing as it looks the event or function is been called even when the page is been getting

Re: [jQuery] Getting a development team to use jQuery

2007-03-07 Thread Brice Burgess
Jake McGraw wrote: It's been slow going, but since we're now adopting jQuery, I hope things will speed up when they see how standardization can change things. No more support tickets which get answered Don't use Firefox, that widget only works with IE 6. Jake, You have made the right

[jQuery] html in taconite response

2007-03-07 Thread Paul
When I try to pass html to a jQuery function as part of a Taconite eval block, it doesn't work. An example that works: showMsg($(#customer_name input).val()+ order + response.order_id + successfully created.); A modification that fails: showMsg($(#customer_name input).val()+ order +

[jQuery] Update ThickBox inline content without reload

2007-03-07 Thread Rob Desbois
I'm implementing a window with the ThickBox plugin to add/view/edit comments. When the comment is being viewed, clicking an 'edit' button (in the TB window) should modify it to edit mode. I have a hidden div whose child elements I identify by ID, set, then pass the div to TB as inline content.

[jQuery] Element droping to next line with fadeIn()/fadeOut()

2007-03-07 Thread agent2026
Hi all, Markup: p somelink read more span class=more /span/p jQ: $('a:contains(more)').hover(function(){$(this).next().fadeIn('fast')}, function(){$(this).next().fadeOut('slow')}).next().hide(); Everything works, but when the span is fading in or out it's dropped underneath the anchor. I

Re: [jQuery] html in taconite response

2007-03-07 Thread Mike Alsup
showMsg($(#customer_name input).val()+ order + response.order_id + successfully created. aView order/a); Paul, You do need to use a CDATA block for that code. How did it fail when you tried it? Do you have a sample page? Mike ___ jQuery mailing

[jQuery] How to document a plugin

2007-03-07 Thread Abel Tamayo
Hi all, I'm about to finish the plugin I've been working for lately and can't wait to release, but this time I would like to document it properly to ease it's use and upgrading. I'm quite anal about this subject yet I have to admit I have never found a solid way to use tags like @param, @desc,

[jQuery] Manipulating the contents of an iframe

2007-03-07 Thread Sam Collett
I have a parent window that is contains an iframe (containing a calendar) that I want to work with. Both are in the same domain (and folder) and both include jQuery. When I click on a day (i.e. a table cell), I want to get the id (which contains the date) to set the value of a text box in the

Re: [jQuery] html in taconite response

2007-03-07 Thread Mike Alsup
Do I need to wrap the entire eval contents in CDATA, or can I include CDATA around just the function in question? Wrap it all. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] wrapText plugin (to wrap html around text nodes)

2007-03-07 Thread George Adamson
wrap() and innerWrap() are available for adding html around elements but this little plugin wraps html around text nodes: For example: jQuery code: $(LI INPUT).wrapText(LABEL/) Before: liinput/some text/li After: liinput/labelsome text/label/li Note: This ignores empty text nodes or those

Re: [jQuery] html in taconite response

2007-03-07 Thread Paul
I suppose I may be using CDATA incorrectly. Using the entities as Eric suggested works but I'd like to sort out a less tedious method if I can. Without the CDATA block, the script obviously breaks with an unterminated literal js error. When I wrap it in a CDATA block, the error is missing }

Re: [jQuery] In place editor for jQuery 1.1

2007-03-07 Thread chali
jEditable is a great piece of work :) It works great in FF 2.0.0.2 and IE 6 on XP SP2. I have a question, it's posible to add a class to the input box at editing tme? Thanks Mika Tuupola wrote: I just released new version of jEditable plugin which works with jQuery 1.1. I would

Re: [jQuery] html in taconite response

2007-03-07 Thread Paul
I swear I tried that before posting, but I must not have... Amazing how well things work when you follow simple rules, isn't it? Thanks for your help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: Wednesday, March 07, 2007 10:33 AM

Re: [jQuery] jQuick 1.3 adds support for LABELs in Safari

2007-03-07 Thread Brice Burgess
Francesco Sullo wrote: today I released jQuick 1.3. This new version adds support for LABELs in Safari. Cheers, Francesco Sullo http://jquick.sullof.com Francesco, Excellent work. This is my favorite of the DOM creators/injectors. It even comes with an extraordinary plugin page! :) Keep

Re: [jQuery] In place editor for jQuery 1.1

2007-03-07 Thread Mika Tuupola
On 7 Mar 2007, at 17:28, chali wrote: jEditable is a great piece of work :) It works great in FF 2.0.0.2 and IE 6 on XP SP2. Thanks! I have a question, it's posible to add a class to the input box at editing tme? Soon. Thats a promise :) I have actually patch sent by Mathias Henze

Re: [jQuery] Best practices for reattaching behaviours todynamically loaded content?

2007-03-07 Thread Jonathan Chaffer
Hey, Nedjo. Good to see you on this side of the Drupal/jQuery fence. :-) I like Felix's suggestion in this case. In the near future there will be a dead-tree reference for jQuery on the shelves. A short excerpt from the first draft should prove applicable to this conversation:

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

[jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Rick Faircloth
Hi, all. I've been trying to get Jorn's (bassistance.de) Validation plugin working correctly for 3 days now. Firebug doesn't complain of any errors. The new beta 1 doesn't work for me in FF or IE. Jorn's examples run fine. But there don't seem to be any errors in my code. Anybody using it

[jQuery] Jquery and hcal

2007-03-07 Thread Tim Baxter
Has anyone built a parser for hcal-formatted events on a page, building a calendar from them? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Josh Nathanson
Anybody able to successfully run Validation plugin on IE 7?Hi Rick, All I can think of is, make sure your selectors are selecting something. You can do this by interspersing alert methods just after you do your selectors. For example, $(input.myclass).each(function() { alert(this);

Re: [jQuery] Need help implementing validation...

2007-03-07 Thread Jörn Zaefferer
Rick Faircloth schrieb: Strange thing is that your demo's are working in IE 7 and FF, too. But neither for me. It must be my code... Sorry for the confusion, my fault about the not-updated download-label, I fixed that. Of course that doesn't make your code working. Could you post an

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Daemach
Have you tried setting breakpoints and viewing your error container in the dom to see if anything is happening? Rick Faircloth wrote: Hi, all. I've been trying to get Jorn's (bassistance.de) Validation plugin working correctly for 3 days now. Firebug doesn't complain of any errors.

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Daemach
To test selectors you can also drop $(input.myclass) into the firebug console and it will show you what it found. console.log($(input.myclass)); inside your code does the same thing - great for complex anonymous functions. Josh Nathanson-2 wrote: Anybody able to successfully run Validation

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Klaus Hartl
Josh Nathanson schrieb: Hi Rick, All I can think of is, make sure your selectors are selecting something. You can do this by interspersing alert methods just after you do your selectors. For example, $(input.myclass).each(function() { alert(this); $(this).dosomething(); });

Re: [jQuery] How to document a plugin

2007-03-07 Thread Daemach
A standard for listing dependencies would be handy too... Beren wrote: Hi all, I'm about to finish the plugin I've been working for lately and can't wait to release, but this time I would like to document it properly to ease it's use and upgrading. I'm quite anal about this subject yet

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Josh Nathanson
To test selectors you can also drop $(input.myclass) into the firebug console and it will show you what it found. console.log($(input.myclass)); inside your code does the same thing - great for complex anonymous functions. Thanks Daemach, good info. -- Josh

Re: [jQuery] Need help implementing validation...

2007-03-07 Thread Rick Faircloth
Hi, Jorn and thanks for the reply... You can see what I'm trying to do by going to http://bodaford.whitestonemedia.com/html/featured_property_details.cfm?Prope rty_ID=1 Scroll down and click on the Click here to calculate mortgage payment and the form fields and button should slide into view.

Re: [jQuery] How to document a plugin

2007-03-07 Thread Edwin Martin
Abel Tamayo schreef: I'm about to finish the plugin I've been working for lately and can't wait to release, but this time I would like to document it properly to ease it's use and upgrading. I'm quite anal about this subject yet I have to admit I have never found a solid way to use tags

Re: [jQuery] Element droping to next line with fadeIn()/fadeOut()

2007-03-07 Thread Karl Rudd
This is because currently the animated functions change the element's display CSS attribute to block while animating. I believe that currently this can't be worked around (at least with jQuery core). Someone correct me if I'm wrong. Karl Rudd On 3/8/07, agent2026 [EMAIL PROTECTED] wrote: Hi

Re: [jQuery] Best practices for reattaching behaviours todynamically loaded content?

2007-03-07 Thread Chris Domigan
Another solution that I've found really handy is to have your event code included with the html. So, as in my first example, I might have a php class that generates a datagrid - both the html AND the javascript with event handlers etc. So the handlers are bound on initial page load, and then

[jQuery] passing a function to a function with variables

2007-03-07 Thread bmsterling
Hey guys and gals, I am trying to do something like below: buildDialogBox({u:'oba_1_2',f:loadJson('userlist.txt', buildUserManageTable),d:'formDialog600'}); and have loadJson('userlist.txt', buildUserManageTable) run after the dialog box loads, but it gets executed and then the buildDialogBox

Re: [jQuery] Problem with validation

2007-03-07 Thread Jörn Zaefferer
Leonardo K schrieb: Whenever plugin validates the field it creates new label with error I forgot to update the example about errorPlacement, d'oh. Try this: errorPlacement: function(error, element) { error.appendTo( element.next() ); } I tried your example here, and it works. If the above

[jQuery] jQuick 1.3.1 improves support for LABELs in Safari

2007-03-07 Thread Francesco Sullo
After the first public tests of jQuick I improved the support for label in Safari. In fact, in 1.3.1, the following example works well even in Safari: $.FORM({}, $.LABEL({'for': 'one'}, Label ), $.INPUT({id: one', type: checkbox', onclick: alert(1)}) ) Cheers, Francesco

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread Kristinn Sigmundsson
not sure bout this, but you could try it: buildDialogBox({ u:'oba_1_2', f: function () { loadJson('userlist.txt', buildUserManageTable) }, d:'formDialog600'}); //kristinn On 3/7/07, bmsterling [EMAIL PROTECTED] wrote: Hey guys and gals, I am trying to do something like below:

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread bmsterling
Never mind, figured it out, just had to wrap the function in a function tag: function(){loadJson('userlist.txt', buildUserManageTable)} -- View this message in context: http://www.nabble.com/passing-a-function-to-a-function-with-variables-tf3365006.html#a9362332 Sent from the JQuery mailing

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread Chris Domigan
Whoops, make sure you add a closing } to the anonymous function :) On 08/03/07, Chris Domigan [EMAIL PROTECTED] wrote: Ben, You need to enclose your loadJson function in an anonymous function, otherwise it is evaluated at runtime: buildDialogBox({ u : 'oba_1_2', f : function() {

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread Chris Domigan
Ben, You need to enclose your loadJson function in an anonymous function, otherwise it is evaluated at runtime: buildDialogBox({ u : 'oba_1_2', f : function() { loadJson('userlist.txt', buildUserManageTable), d: 'formDialog600' }); Chris

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread Choan C. Gálvez
On 3/7/07, bmsterling [EMAIL PROTECTED] wrote: Hey guys and gals, I am trying to do something like below: buildDialogBox({u:'oba_1_2',f:loadJson('userlist.txt', buildUserManageTable),d:'formDialog600'}); and have loadJson('userlist.txt', buildUserManageTable) run after the dialog box

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Jörn Zaefferer
Stefan Kilp [sk-software] schrieb: Hi, testing demoform validating a complete from i entered 123456 in password field, then entered 11 in confirm password which leads to a warning please enter the same password as above which is correct. now i enter 11 in password field. so both

Re: [jQuery] List slow?

2007-03-07 Thread Klaus Hartl
Seb Duggan schrieb: I don't know if it's just me, or if anyone else has had problems, but I've had no messages from the list all day, and then a few minutes ago I had a few that were 10 hours old... If it's just me, I'll investigate further... Seb From time to time I notice the

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Jörn Zaefferer
Paul Bakaus schrieb: Hi Jörn, just a minor issue: The text Please accept our policy after clicking submit on the second form will not vanish directly after checking the checkbox. Other than that, great work! Good point. A click of course isn't a keyup, so that doesn't work. Again you could

Re: [jQuery] release: Validation plugin beta 1

2007-03-07 Thread Jörn Zaefferer
Fil schrieb: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Oh it's great. I wonder though if your choice of writing class={x:y;z:t} is not potentially problematic. As I see it: - it could be incompatible with CSS2.1 selectors - it is probably incompatible with

Re: [jQuery] Element droping to next line with fadeIn()/fadeOut()

2007-03-07 Thread Klaus Hartl
Karl Rudd schrieb: This is because currently the animated functions change the element's display CSS attribute to block while animating. I believe that currently this can't be worked around (at least with jQuery core). Someone correct me if I'm wrong. Thats correct, at least for slide

Re: [jQuery] Anybody able to successfully run Validation plugin on IE 7?

2007-03-07 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, all… I’ve been trying to get Jorn’s (bassistance.de) Validation plugin working correctly for 3 days now… Firebug doesn’t complain of any errors. The new beta 1 doesn’t work for me in FF or IE. Jorn’s examples run fine. But there don’t seem to be any errors

Re: [jQuery] Need help implementing validation...

2007-03-07 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, Jorn and thanks for the reply... You can see what I'm trying to do by going to http://bodaford.whitestonemedia.com/html/featured_property_details.cfm?Prope rty_ID=1 Scroll down and click on the Click here to calculate mortgage payment and the form fields and

[jQuery] Some feature request

2007-03-07 Thread agent2026
Hi Jan and everyone else, After working with jCarousel for a while now, I've found some features I'd like to see added: 1. wrap/wrapPrev to work with autoScroll (instead of the rewind effect) 2. Configurable option for direction of autoScroll (left to right/right to left) Just a couple :)

Re: [jQuery] passing a function to a function with variables

2007-03-07 Thread bmsterling
Thanks guys, figured that out after I asked the question. Isn't that always the case. Thanks for your help anyway. -- View this message in context: http://www.nabble.com/passing-a-function-to-a-function-with-variables-tf3365006.html#a9363321 Sent from the JQuery mailing list archive at

Re: [jQuery] Need help implementing validation...

2007-03-07 Thread Rick Faircloth
Thanks for looking at it, Jorn... It's still not working. I checked the version of the validation plugin and Firebug tells me it's beta 1. However, I downloaded the validation plug-in again and also jquery just to make sure. I added the id to the form. Still having no luck. :o( Any other

[jQuery] vertical fisheye menu?

2007-03-07 Thread {js}sTyler
Is there a way to set up a fisheye menu with a vertical orientation instead of horizontal? http://interface.eyecon.ro/demos/fisheye.html I haven't toyed with this, but vertical would float my boat better than horizontal, besides MAC's cornered the market on the horizontal fisheye nav. This is the

Re: [jQuery] Best practices for reattaching behaviours todynamically loaded content?

2007-03-07 Thread Jonathan Sharp
Here's another thought too... What about having a plugin export a custom event, then when dynamic content is loaded that uses that plugin it just triggers that event. For example: // jquery.myPlugin.js $(window).bind('myPluginReload', function() { $(find stuff).myPlugin({do: things}); });

Re: [jQuery] vertical fisheye menu?

2007-03-07 Thread Matt Stith
I assume it wouldnt be that hard, have you tried just setting up the HTML tree to be vertical with CSS? I plan on using fisheye in a project of mine soon too, but not vertically like you. On 3/7/07, {js}sTyler [EMAIL PROTECTED] wrote: Is there a way to set up a fisheye menu with a vertical

Re: [jQuery] Best practices for reattaching behaviours todynamically loaded content?

2007-03-07 Thread Jörn Zaefferer
Jonathan Sharp schrieb: Here's another thought too... What about having a plugin export a custom event, then when dynamic content is loaded that uses that plugin it just triggers that event. For example: // jquery.myPlugin.js $(window).bind('myPluginReload', function() {

Re: [jQuery] Need help implementing validation...

2007-03-07 Thread Jörn Zaefferer
Rick Faircloth schrieb: Thanks for looking at it, Jorn... It's still not working. I checked the version of the validation plugin and Firebug tells me it's beta 1. However, I downloaded the validation plug-in again and also jquery just to make sure. I added the id to the form. Still

Re: [jQuery] regular expressions

2007-03-07 Thread Ⓙⓐⓚⓔ
1 command , 2 replaces var newString = oldString.replace(/X/,-).replace(/Y/,) On 3/7/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hello! I'm experimenting with regular expressions, and i would like to replace in a string some special characters by a - minus sign, and others by just

[jQuery] regular expressions

2007-03-07 Thread Alexandre Plennevaux
hello! I'm experimenting with regular expressions, and i would like to replace in a string some special characters by a - minus sign, and others by just removing it. Do i need ot make two regex.replace(), or is it possible to have both in one command? thank you very much for your time!

[jQuery] addClass to 4th column

2007-03-07 Thread rolfsf
If I wanted to find all td in the 4th column of a table and add the class .txt_right to them, would I do something like this: $('table td:nth-child(3)').addClass('txt_right'); it doesn't seem to be working, so I must have something wrong thanks! -- View this message in context:

Re: [jQuery] regular expressions

2007-03-07 Thread Alexandre Plennevaux
Ah, the jQuery way, of course :) Thanks Jake -Original Message- From: Ⓙⓐⓚⓔ [mailto:[EMAIL PROTECTED] Sent: jeudi 8 mars 2007 0:48 To: [EMAIL PROTECTED]; jQuery Discussion. Subject: Re: [jQuery] regular expressions 1 command , 2 replaces var newString =

Re: [jQuery] regular expressions

2007-03-07 Thread Matt Stith
Quick tut: Just typing something out, eg, /abcd/ would replace anything that contained the exact string abcd, case sensative. If you do /[abcd]/, notice the brackets, it will select the letter a, the letter b, etc. For ranges you can do something like /[a-d]/, which would do the same as

Re: [jQuery] method chaining (was RE: regular expressions)

2007-03-07 Thread Mike Alsup
http://www.netwise.it/xml/perlmonks/?node_id=417872 Note that in digging this back up, I came across lots of great considered harmful rants, including short circuit OR operator, tabs, AJAX, javascript associative arrays, considered harmful essays, and of course the goto statement. This

Re: [jQuery] regular expressions

2007-03-07 Thread Ⓙⓐⓚⓔ
and while we're at it, you can use a function as the second parameter! oldString.replace(/[bad or dashable chars]+/g, function (str) { return (str.match(/^[dashable chars]$/) ? - : ) } ) 1 command 1 replace! On 3/7/07,

Re: [jQuery] Sortables: trouble editing a textfield that is a sortable

2007-03-07 Thread tony rasmus
Hi dalvarado, I once had the same issue! Check out the thread: http://www.nabble.com/InterfaceElements-Sortables---Help-with-mousedown-bindings-tf2758367.html#a7691068 Particularly starting at the 6th message. I also had to study stopPropagation() and its nature in various browsers to

Re: [jQuery] addClass to 4th column

2007-03-07 Thread rolfsf
thanks! that gives me a little opening r. Karl Rudd wrote: You can combine the selectors with a ,: $(table td:nth-child(4), table td:nth-child(5), table td:nth-child(8)).css('text-align', 'right'); Karl On 3/8/07, rolfsf [EMAIL PROTECTED] wrote: okay, so I went about it a

  1   2   >