[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Jörn Zaefferer
Hi Kelvin, using errorPlacement is a really bad workaround, as its called only once per error. After using errorPlacement to add the error-label to the DOM, it isn't called again. A better workaround would use the highlight and unhighlight options. Could you provide a simple demo that shows

[jQuery] Re: [validate] validate form fields with php via ajax

2009-02-18 Thread Jörn Zaefferer
Yes, using the remote method: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Tue, Feb 17, 2009 at 8:13 PM, id404 ttarp...@googlemail.com wrote: this question is about the jquery validation plugin (http:// bassistance.de/jquery-plugins/jquery-plugin-validation/) i have

[jQuery] Re: [validate] ValidationGroup functionality

2009-02-18 Thread Jörn Zaefferer
Okay, in this case, the groups-option doesn't help. You could try the variations of the required method: http://docs.jquery.com/Plugins/Validation/Methods/required Or follow the login-form example here, implementing similar functionality to the forgot-password-link:

[jQuery] Re: jQuery validation question: validating multiple email inputs

2009-02-18 Thread Stephan Veigl
Hi, Taking a second look on your code it's clear why only the first email address is validated: you have a return statement in your for loop. try something like: email: function(value, element) { if (this.optional(element)) // return true on optional element (whatever this is for?)

[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Kelvin Luck
Hi Jörn, Thanks for the reply :) I know using the errorPlacement is a bad workaround but I couldn't figure out another way to do it. Basically what I would like is for each error to slideDown when it is shown and to slideUp when it is hidden. When I looked through the code, it seemed like

[jQuery] Re: Exploding nested divs....

2009-02-18 Thread Stephan Veigl
Hi, how do you explode the outer div? Can you share your function with us? by(e) Stephan 2009/2/18 Ricardo Tomasi ricardob...@gmail.com: What do you mean by explode? remove? On Feb 17, 4:50 pm, webspee...@gmail.com webspee...@gmail.com wrote: Hey all. Exploding a simple div is easy

[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Jörn Zaefferer
Yes, it does. And for implementing, it would help a lot to have a simple demo that has the right layout for the animations to work. Jörn On Wed, Feb 18, 2009 at 9:40 AM, Kelvin Luck kelvin.l...@gmail.com wrote: Hi Jörn, Thanks for the reply :) I know using the errorPlacement is a bad

[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Kelvin Luck
Hi, Does this help? http://www.kelvinluck.com/assets/jquery/validate/validate.html It's a simplified version of the original demo ( http://www.shair.it/sandbox ) - but it is still using errorPlacement to slideDown the error messages first time they appear, Here is another version which (I

[jQuery] Traversing

2009-02-18 Thread Turtle3027
The following HTML is inside a loop, so it can be repeated many times over. table width=600 border=0 cellspacing=0 cellpadding=0 tr tdtable class=atrtd/td/tr/table/td td rowspan='2'nbsp;/td /tr tr tdtable class=btrtd/td/tr/table/td /tr /table I have a click function on

[jQuery] Re: the jquery form plugin and the accents !

2009-02-18 Thread phicarre
Really no ideas ? On 15 fév, 18:10, phicarre gam...@bluewin.ch wrote: I have a problem with the jquery form plugin. I submit a form (to test.php) in which there are text fields and one file field + enctype='multipart/form-data'. The html page has a meta which defines the charset to iso

[jQuery] Picasa getJSON not working properly

2009-02-18 Thread Derek Perkins
I'm trying to pull my Picasa album JSON feed into my website, but I'm having problems. It is pulling in the Picasa thumbnails without a problem, but when I try to pull in the full sized photos (200kb), it returns nothing, even though I have verified that the links are valid. Below is the code

[jQuery] Re: Initialize tabs href.

2009-02-18 Thread m.ugues
I tried to put the links in the tabs definition blank as described here: http://pastie.org/392713 Then I tried to initialize them in the document.ready (because I have to pass 1 parameter to the url that i'm calling); When i create the tabs via jQuery the first tab is not selected (it is

[jQuery] Re: Initialize tabs href.

2009-02-18 Thread Richard D. Worth
Could you share a complete code sample, full html and javascript in one pastie? Thanks. - Richard On Wed, Feb 18, 2009 at 6:42 AM, m.ugues m.ug...@gmail.com wrote: I tried to put the links in the tabs definition blank as described here: http://pastie.org/392713 Then I tried to initialize

[jQuery] cannot call twice: $(#foo).mywidget()

2009-02-18 Thread Aleem B
I created a widget and figured that it can only be called once per element: $.widget('ui.mywidget', { _init: function() { alert('hello'); } } $.widget(ui.mywidget, mywidget); $(#foo).mywidget(); // alerts hello $(#foo).mywidget(); // doesn't do anything now I understand this

[jQuery] Re: Help validating dynamic form elements

2009-02-18 Thread 刘明
i suppose the 13 boxes' IDs are generated in order,so go through all the boxes by id: var pass=0; for(var i=1;i=13;i++){ if($(#mybox+i).val() != ') pass+=1; } if(pass=0) return false; and then, put your code in a function and bind it to the submit event of your form. (i'm also a starter)

[jQuery] Re: Using jQuery.noConflict() with Prototype/Scriptaculous

2009-02-18 Thread tfat
I am also having difficulties trying to get jQuery working with prototype/Scriptaculous. I am trying to combine a jQuery Lightbox plug-in with a prototype/ Scriptaculous Carousel plug-in. I have added the jQuery.noConflict() process but to no avail. The lightbox process works but the carousel

[jQuery] Re: field (min, max) depending on other field value

2009-02-18 Thread Shane
You can use jquery.validator (http://bassistance.de/jquery-plugins/ jquery-plugin-validation/) with a custom validation method on the age field. Here's an example: //custom validation method $.validator.addMethod(contextualAgeValidation, function(value, element, params) { //see if the

[jQuery] A question for John Resig

2009-02-18 Thread pbcomm
This might be a stupid question, but I have to ask ... What is the reason for not having functions like isString, isNumber, isBoolean, etc? Is it just because that would create extra function calls?

[jQuery] Checkboxes enabled/disable button

2009-02-18 Thread Sir Rawlins
Hello Guys, Fairly noobish here so hoping to learn a little something from this challenge. I have a form which contains a bunch of different checkboxes (all the same name) and a bunch of different button elements. I want to by default have these buttons disabled unless at least one checkbox is

[jQuery] Extending a plugin

2009-02-18 Thread crungmun...@googlemail.com
Hi, I might have used the wrong terminology here so I will explain what I want to do. I am currently using the jquery.form plugin to make my forms 'ajaxable' where needed. However, I would like to add some extra functionality to the plugin which is specific to my application. In this

[jQuery] clueTip call from javascript

2009-02-18 Thread *Davide*
Hello All, I need to implement this functionality using clueTip (great Karl for the plugin) Using OpenLayers if a user clicks on a point: OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {** }, trigger: function(e) { //AJAX call var url =

[jQuery] Re: Cycle - Goto (or) pagerAnchorBuilder (or) Something Else......Confusion

2009-02-18 Thread Mike Alsup
just not getting it.  How do I go to a specific the slide that needs to be displayed from the Cycle detail slides (using a 'next/prev' nav) without pagerAnchorBuilder, and still maintain the navigation of the Cycle detail slides? Nick, if you need to start a slideshow on a specific slide

[jQuery] Re: Creating callbacks using Cycle plugin

2009-02-18 Thread Mike Alsup
Currently, I have implemented a small image gallery using the jQuery Cycle plugin. It's working perfectly but I would also like to add callbacks. How do I successfully do this? I currently have: jQuery(document).ready(function(){         jQuery('#frame1').cycle({         fx:'fade',        

[jQuery] Re: the jquery form plugin and the accents !

2009-02-18 Thread Mike Alsup
I submit a form (to test.php) in which there are text fields and one file field + enctype='multipart/form-data'. The html page has a meta which defines the charset to iso 8859-1 The test.php module begin with header('content-type:text/ html;charset=iso-8859-1'); I read the text fields like

[jQuery] Re: A question for John Resig

2009-02-18 Thread John Resig
Extra function calls sure - plus there's really no need for those methods, they're already a part of JavaScript. typeof FOO === string typeof FOO === number typeof FOO === boolean --John On Tue, Feb 17, 2009 at 11:53 PM, pbcomm pbc...@gmail.com wrote: This might be a stupid question, but I

[jQuery] Re: Creating callbacks using Cycle plugin

2009-02-18 Thread HM-User
Oh that's great Mike thanks for helping me! I think with the script loading, I've streamlined it and so now I've linked everything which can either be linked js files or external CSS files. So hopefully that will do the trick. It seems to have work with things I have done just now. Can you

[jQuery] Re: Extending a plugin

2009-02-18 Thread Mike Alsup
I might have used the wrong terminology here so I will explain what I want to do. I am currently using the jquery.form plugin to make my forms 'ajaxable' where needed. However, I would like to add some extra functionality to the plugin which is specific to my application. In this

[jQuery] Re: Extending a plugin

2009-02-18 Thread Aleem B
On Wed, Feb 18, 2009 at 4:47 PM, crungmun...@googlemail.com crungmun...@googlemail.com wrote: Hi, However, I would like to add some extra functionality to the plugin which is specific to my application. In this circumstance is it better to write the functionality into the plugin directly

[jQuery] [validate]: Tricky multiple field validation problem

2009-02-18 Thread Gordon
I want to include an optional set of date setting fields on a form - A dropdown for day (01 - 31 with a blank value), a dropdown for month (01 - 31 with a blank value) and a four digit year input field. The validation is as follows: * The date is optional, if all fields are blank then assume no

[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread MorningZ
if ($(checkbox[name='my_checkbox']:checked).length == 0) { //None are checked } else { //At least one is checked } Sir Rawlins wrote: Hello Guys, Fairly noobish here so hoping to learn a little something from this challenge. I have a form which contains a bunch of different

[jQuery] Auto-Replacing HTML-entities

2009-02-18 Thread Frederik Ring
Hello! I have setup a simple editor site for a image gallery where the user can visually edit (sort entries, add entries, edit captions) the HTML of a ul. When finished the content gets saved via PHP. Is there a simple way to have special characters in image captions converted into HTML

[jQuery] Re: Creating callbacks using Cycle plugin

2009-02-18 Thread HM-User
After looking at the example, I'm afraid I don't know how to work out what I need to define for the functionality that I need, as I've looked at the Intermediate Section also. If I have this: div id=frame1img src= alt= title= /img src= /alt = title= //div a id=prev2 href=#Prev/a a id=next2

[jQuery] Re: Auto-Replacing HTML-entities

2009-02-18 Thread Michael Lawson
Since you're saving it with php why not just use the php functions that do the same? http://us3.php.net/htmlentities cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings

[jQuery] Re: Auto-Replacing HTML-entities

2009-02-18 Thread Frederik Ring
Perfect! I'm not exactly good at PHP, so I didn't know about that, but it seems to be exactly what I am looking for! Thanks! On Feb 18, 2:19 pm, Michael Lawson mjlaw...@us.ibm.com wrote: Since you're saving it with php why not just use the php functions that do the same?

[jQuery] Re: A question for John Resig

2009-02-18 Thread pbcomm
I know they are there and I've used added functions to save on the code size, which makes a big difference when used a lot. That's why I wanted to see if there are some other drawbacks I was not aware of. On Feb 18, 7:57 am, John Resig jere...@gmail.com wrote: Extra function calls sure - plus

[jQuery] Hide/Show when Check Box is selected

2009-02-18 Thread shapper
Hello, On a form how can I Show a fieldset when a checkbox is Selected and Hide the same fieldset when the same checkbox is unselected? Thanks, Miguel

[jQuery] Re: Auto-Replacing HTML-entities

2009-02-18 Thread Michael Lawson
Great! And if you need any PHP help, feel free to email me directly! I know it better than I do javascript ;) cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a

[jQuery] Re: Tablesorter update

2009-02-18 Thread soeren.kri...@googlemail.com
Hi, i have fixed some css issus with IE and made some minor js changes. Feel free to take a look at the example page which is know in english. Best regards Sören On 17 Feb., 16:49, soeren.kri...@googlemail.com soeren.kri...@googlemail.com wrote: Hi, i have added some (for me) missing

[jQuery] Re: A question for John Resig

2009-02-18 Thread Aleem B
I know they are there and I've used added functions to save on the code size, which makes a big difference when used a lot. It doesn't make any difference save for a few characters.

[jQuery] Re: A question for John Resig

2009-02-18 Thread Michael Lawson
I don't know about Javascript, but a good deal depends on how that functionality is implemented, and what language you're in. They're not always the same thing, and shouldn't always be used like they are the same thing. Again though, they may be in Javascript, i'm not saying they're not. (I'm

[jQuery] Re: Tablesorter update

2009-02-18 Thread soeren.kri...@googlemail.com
Hi, i have fixed some css issus with IE and made some minor js changes. Feel free to take a look at the example page which is now in english. Best regards Sören On 17 Feb., 16:49, soeren.kri...@googlemail.com soeren.kri...@googlemail.com wrote: Hi, i have added some (for me) missing

[jQuery] Re: cannot call twice: $(#foo).mywidget()

2009-02-18 Thread Richard D. Worth
We'd love to help with this question over on the jQuery UI list, for the benefit of everyone there: http://groups.google.com/group/jquery-ui Thanks. - Richard On Wed, Feb 18, 2009 at 4:31 AM, Aleem B ale...@gmail.com wrote: I created a widget and figured that it can only be called once per

[jQuery] Re: Tablesorter update

2009-02-18 Thread soeren.kri...@googlemail.com
Hi, i don´t think so. Tablesorter performance is the same with 1.2.6 and 1.3.1. On 17 Feb., 19:57, SteelRing steelr...@gmail.com wrote: Hi, thanks for the update. I see now you require jquery 1.3.1, is there any changes that would make it perform faster with 1.3.1? On Feb 17, 9:49 am,

[jQuery] Re: [validate]: Tricky multiple field validation problem

2009-02-18 Thread Jörn Zaefferer
You need a custom method and a required-dependency, roughly something like this: $.validator.addMethod(customDate, function(value, element) { var day = $(#day).val(), month = ...; return valid(day + month + year); }); function dateRequired() { return $(#day)[0].selectedIndex 0

[jQuery] Clone with Select values copied

2009-02-18 Thread happs74
Hi, I had an issue with the clone() function in that it wasn't copying over select values. I've added this function to my page function cloneForm(id, withEvents) { var clone = $('#'+id).clone(withEvents); var selvals = []; $('#'+id+ select).each(function() {

[jQuery] Re: image rollover

2009-02-18 Thread Leonardo K
Assign the event to the element li and not the image. Because if you display a text over the image, you will lose the event mouseover. $(document).ready(function() { $(li.episode).mouseover(function () { $(this).addClass(background); $('div.details').addClass(show); });

[jQuery] Validation Plugin: How to submit invalid form via JavaScript

2009-02-18 Thread shmolch
Hi, I want to validate form and submit it via JavaScript even if it isn't valid, and don't do it if the submit button is pressed $(document).ready(function() { validator = $(#editUserForm).validate( { focusInvalid: false,

[jQuery] Re: Validation Plugin: How to submit invalid form via JavaScript

2009-02-18 Thread Michael Lawson
If you're trying to submit the form even if it doesn't validate...then why validate in the first place? i'm confused cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically,

[jQuery] [jQuery][validate] plugin fails on Safari

2009-02-18 Thread George
Hi Folks, Wondered if anyone could help on this, I've been stuck on it for quite some time. I'm trying to validate a date field using a UK date, here's my code: $(document).ready(function(){ $('#arrival-arrival-date').datepicker({ minDate: new Date (),defaultDate: +1,dateFormat:

[jQuery] [Validate] plugin fails on Safari

2009-02-18 Thread George
Hi Folks, Wondered if anyone could help on this, I've been stuck on it for quite some time. I'm trying to validate a date field using a UK date, here's my code: $(document).ready(function(){ $('#arrival-arrival-date').datepicker({ minDate: new Date (),defaultDate: +1,dateFormat:

[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread Robert Rawlins
Morningz, Thank you for this! I made a couple of small changes, like so: if ($(inp...@name='my_checkbox']:checked).length == 0) { and it worked a real treat!! Thank you for your advice, I appreciate it! Robert -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: .click to start dropdown, hover out to clear (mixing the two)

2009-02-18 Thread Karl Swedberg
Hi Pete, You don't need to use .hover() with an empty function. You can use .mouseleave() in jQuery 1.3.x or .bind('mouseleave') in 1.2.6. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 18, 2009, at 12:28 AM, pedalpete wrote: Ok, actually got

[jQuery] Tabs, how to find what kind of object....

2009-02-18 Thread m.ugues
I got this problem var $tabs = parent.$('#operativitaframe').contents().find ('#tabsContainer').tabs(); alert($tabs); This prints [object Object]; how can I know if this is the tabs object instead of something else? If i cycle on it and print all his content I got this length, 0, prevObject,

[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread MorningZ
Don't use @ well, don't use it if you plan on ever using jQuery over version 1.3... because it's not supported even if you are using an older version, loose the @, it's not needed On Feb 18, 10:13 am, Robert Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Morningz, Thank you for

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread mkmanning
Get Firebug. Not meaning to sound flippant, but debugging with alerts is painful and living in the past. Firebug will allow you to see inside the object by doing console.log($tabs). To save you some frustration, if you try and log a string plus the object to the Firebug console you'll get [object

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread Aleem B
I got this problem var $tabs = parent.$('#operativitaframe').contents().find ('#tabsContainer').tabs(); alert($tabs); This prints [object Object]; how can I know if this is the tabs object instead of something else? $tabs is actually a jQuery object. tabs() may add some additional new

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-18 Thread Stephan Veigl
Hi Miguel, you can use the click trigger of the checkbox: form show secret: input id=checkbox type=checkbox/ div id=div secret field: input type=text / /div /from $(#div).hide(); $(#checkbox).click(function(){ if ( this.checked ) { $(#div).show(); } else {

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Tuesday 17 February 2009, Alexandre Plennevaux wrote: i suppose that you change try specifying the dataType as script that your ajax calls expect: Taken from: http://docs.jquery.com/Ajax/jQuery.ajax dataType The type of data that you're expecting back from the server. If none is

[jQuery] Re: [Validate] plugin fails on Safari

2009-02-18 Thread Jörn Zaefferer
Regular expressions are read to read, can't spot any obvious error with that, especially considering that it fails only in Safari. Here is a custom method for italian dates, not using regex, maybe it helps: jQuery.validator.addMethod( dateITA, function(value, element) {

[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread Robert Rawlins
Thanks for the heads up on that, I've obviously picked that up as a bad habbit from some examples built on older versions, I'll be sure to get rid of it! :-) Thanks Robert -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread shapper
Hi, I was trying to integrate your code on my web application and the following happens: I am able to add a theme. But when I try to add a second theme I get the following error: [Exception... 'type property can't be changed' when calling method: [nsIDOMEventListener::handleEvent] nsresult:

[jQuery] Re: image rollover

2009-02-18 Thread mkmanning
You can take a slightly different approach, which might simplify your markup, css and js. Since you're using absolute positioning, you can absolutely position your image over your text, then just toggle the opacity on hover to reveal the text underneath. One advantage with this approach is you're

[jQuery] Re: Traversing

2009-02-18 Thread Paul Mills
Hi, Here are a couple of ways to tackle this. First just using parent(). This traverses up to the outer table and then uses that as the context for selecting table.b : $(table.a).click(function(){ var parent = $(this).parent().parent().parent(); $('table.b', parent).toggle(); }); Second

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread mkmanning
Scripts block other assets from downloading, so the most appropriate place for them (most of the time), is at the close of the body. This allows your page to render, and then allows you to add behavior as progressive enhancement. It's generally good practice; Google progressive

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Alexandre Plennevaux
you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load(). It is built on top of the ajax method to ease its use. See: http://docs.jquery.com/Ajax/jQuery.ajaxSetup#options On Wed, Feb 18, 2009 at 5:18 PM,

[jQuery] Re: Traversing

2009-02-18 Thread mkmanning
If you must rely on the markup structure (and you're confident it won't change), then you could use either suggestion (you might want to check for speed), with some minor changes: anytime you find yourself using a selector twice or more ( e.g. .parent().parent().parent() ), then there's most

[jQuery] default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
hi there, a quick question: i'm using an object to pass a series of variables. Sometimes, i test for a specific property, which might not exist. I can't seem to find the right way, i tried Obj.sortby = (typeof Obj.sortby == 'undefined' || Obj.sortby=='' ||Obj.sortby == null) ? 'time' :

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread shapper
Hi, I would like to include the script on the head of the document and using an external JS file. So I inserted it inside the Document.Ready function. I upload a new example showing the problem I have: http://www.27lamps.com/Beta/List/List2.html In this example I didn't use the external JS

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread m.ugues
The problem is that I can access any element from the iframe to the parent iframe (even the tabs). I can hide tabs div, I can show it, but when i call specific properties on tabs element something goes wrong. I made a simple test case explained here.

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread shapper
Yes, I tried that to but the problem persists. I updated the new version: http://www.27lamps.com/Beta/List/List2.html I am able to add 1 theme to the list ... Then all the other themes I add are not added to the list ... But I think they are being added to the themes array. The index also

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread mkmanning
if you're using the ready function, remove the inner (function($) { ... })(jQuery); wrapper On Feb 18, 9:13 am, shapper mdmo...@gmail.com wrote: Hi, I would like to include the script on the head of the document and using an external JS file. So I inserted it inside the Document.Ready

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-18 Thread mkmanning
The problem is with the version of jQuery you're using. Update to 1.3 (and don't include a space in the URI). Try your code with the Google js api and it will work (I just did, even with the duplicate jQuery wrapper functions). On Feb 18, 9:28 am, shapper mdmo...@gmail.com wrote: Yes, I

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Wednesday 18 February 2009, Alexandre Plennevaux wrote: you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load(). It is built on top of the ajax method to ease its use. See:

[jQuery] Re: image rollover

2009-02-18 Thread myjquery
Thanks guys. I'll test these out. Will post the results soon. On Feb 18, 11:43 am, mkmanning michaell...@gmail.com wrote: You can take a slightly different approach, which might simplify your markup, css and js. Since you're using absolute positioning, you can absolutely position your image

[jQuery] Re: Using jQuery.noConflict() with Prototype/Scriptaculous

2009-02-18 Thread Ricardo Tomasi
I find it more practical to use an anonymous function as in (function ($){..}(jQuery) and keep the '$' reference, or do all the work at once to avoid confusion: (function($){ $(...) })( jQuery.noConflict() ) or jQuery.noConflict()(function($){ $(...) }); On Jan 7, 4:55 am, seasoup

[jQuery] Require a specific radio button to be selected - Validation plugin

2009-02-18 Thread Gigi
I have a terms of use agreement on my site and I would like to provide radio buttons with labels of I Agree and I Disagree. If the user selects I Disagree then I'd like a message saying something like Sorry, you must agree to the terms and conditions before proceeding and if the user selects

[jQuery] Horizontal Scroll Bar appearing for some reason

2009-02-18 Thread Skedoozy
Hi, I am trying to implement your horizontal nav bar into a design I am creating but for some reason it's adding a horizontal scroll bar on the screen even though the page itself and the nave are much smaller than the width of the screen. any help would be appreciated!

[jQuery] Safari says Invalid Date object from dpGetSelected() in datePicker v2

2009-02-18 Thread skyeflye
Hi All, I'm using Kelvin Luck's brilliant datepicker plugin (http:// www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html) and am having a strange issue in Safari Version 3.2.1 (5525.27.1). I'm running a couple simple lines of my own code that are bound to the calendar's dateSelected

[jQuery] Superfish - Horizontal Scroll Bar appearing for some reason

2009-02-18 Thread Skedoozy
Hi, I am trying to implement your horizontal nav bar into a design I am creating but for some reason it's adding a horizontal scroll bar on the screen even though the page itself and the nave are much smaller than the width of the screen. any help would be appreciated! Here is a link to the css

[jQuery] jquery.listnav

2009-02-18 Thread Sam
I have an index page with 1270 list items being processed by listnav, and loading the page takes about 15 seconds. Without listnav turned on, the page loads in less than a second. Is there a way to speed up the indexing through caching? Or a setting that would use pre-populated LI classes?

[jQuery] tagging plugin

2009-02-18 Thread murphyhg
I need to implement a tagging keyword solution for my application in ColdFusion. I am looking for a tagging solution like the one found in Drupal that is a type ahead and you can select words and the words are added in a comma delimited list. Does anyone know where I might find a solution like

[jQuery] ClueTip - positionBy:'fixed' in FF3

2009-02-18 Thread john manning
Howdy, I'm seeing something I never thought I'd see- positioning works correctly in IE and not in FF (as far as I can tell)! I'm attempting to use positionBy:'fixed' because I want the tip to appear in the same position relative to the referring link.The links are large thumbnails, and I'm

[jQuery] Re: Extending a plugin

2009-02-18 Thread Mike Alsup
I ran into this myself a couple of times. The jQuery framework leaves much to be desired in this arena and there is considerable lack of proper OO inheritance from what I am aware of (I have only been on jQuery for 2-3 weeks). I recently tried to extend the ui.spinner JavaScript is no

[jQuery] Re: Creating callbacks using Cycle plugin

2009-02-18 Thread Mike Alsup
div id=frame1img src= alt= title= /img src= /alt = title= //div a id=prev2 href=#Prev/a a id=next2 href=#Next/a and I assign each image's alt and/or title, how can I evoke them as captions below each image after clicking prev/next? Hmm, should be pretty easy for that setup. Assuming you

[jQuery] Re: Superfish - Horizontal Scroll Bar appearing for some reason

2009-02-18 Thread Skedoozy
I've manged to make it go away in Firefox by adding 'overflow- x:hidden' too my css but that will not work in IE 6 and later. this is for a client who as we all know client means IE user(ha) so It's pretty important I get it to go away. Thanks! If you need more links let me know. On Feb 18, 8:33 

[jQuery] jquery and the accents

2009-02-18 Thread phicarre
[jquery-1.1.3.js] client-side: I have a form with text field and file field.+ iso-8859-1 transmission by ajax to the server server-side: I have a var_dump($_POST); First test I enter in one text field the string rené : the dump gives rené Second test I enter in one text

[jQuery] Re: Require a specific radio button to be selected - Validation plugin

2009-02-18 Thread Jörn Zaefferer
How about just a required checkbox? [ ] I agree to terms of use Jörn On Wed, Feb 18, 2009 at 5:51 PM, Gigi gig...@gmail.com wrote: I have a terms of use agreement on my site and I would like to provide radio buttons with labels of I Agree and I Disagree. If the user selects I Disagree then

[jQuery] Element Name Selector Syntax Troubles

2009-02-18 Thread Zaliek
Currently building a shipping calculator and attempting to add in a section that checks every shopping cart item's quantity and then multiplies that quantity by the weight of that item. The HMTL consists of input fields similar to the example below: input type=hidden name=quantity1 value=1 /

[jQuery] Re: selector best practice

2009-02-18 Thread Henrik Javén
Your test case is not comparing a raw implementation You are still using jQuery $ inside the loop, it should be pure document.getElementById(test); When you remove the $ from your test case and use native implementation you will be getting numbers in the following range: FF ID Raw: 1 ID

[jQuery] Re: tagging plugin

2009-02-18 Thread Hector Virgen
I just together a quick tagger plugin the other day that might help you. You can check out the demo here: http://www.virgentech.com/code/tagger On 2/18/09, murphyhg murph...@gmail.com wrote: I need to implement a tagging keyword solution for my application in ColdFusion. I am looking for a

[jQuery] Re: default value of an object's property

2009-02-18 Thread Josh Nathanson
I think this might work, give it a try: Obj.sortby = Obj.sortby || 'time'; -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Wednesday, February 18, 2009 9:07 AM To: Jquery-en Subject: [jQuery]

[jQuery] Re: jquery and the accents

2009-02-18 Thread James
I've never had any issues with charset and jquery. You should probably set your charset (META) on your page to utf-8. On Feb 18, 8:27 am, phicarre gam...@bluewin.ch wrote: [jquery-1.1.3.js] client-side: I have a form with text field and file field.    + iso-8859-1                  

[jQuery] Re: Superfish - Horizontal Scroll Bar appearing for some reason

2009-02-18 Thread amuhlou
can you post a test page? it's a lot easier to troubleshoot with a test page and Firebug.

[jQuery] Re: Element Name Selector Syntax Troubles

2009-02-18 Thread MorningZ
weight = Number($(input[name=('weight' + (i))]).val()); Why do you have ()'s around the weight part (and the i as well for that matter)? weight = Number($(input[name='weight + i']).val()); should work (note to copy and paste that because it's hard to see difference between single and double

[jQuery] Re: Extending a plugin

2009-02-18 Thread Matt Kruse
On Feb 18, 7:01 am, Mike Alsup mal...@gmail.com wrote: I guess it depends what you want to change.  Using extend you can redefine any of the public functions, but the private functions will remain private. I've found that many plugins simply aren't that extensible. This is very bad design,

[jQuery] Re: 1.3.1 Bogs down on table parsing

2009-02-18 Thread zenbaida
The issue that I am having with doing it that way is that the hover action is only triggered when a person mouses over the table. You can move all around the table, but it won't trigger again until the mouse is moved off and then back on the table. I need the over to be triggered for every row.

[jQuery] Re: insert div into group ordered by ID..

2009-02-18 Thread Ricardo Tomasi
I've since updated the script by request, it failed if you began with a single element in the container. It now sorts by any attribute you want (ids by default) and works with multiple elements both ways. http://ff6600.org/j/jquery.insertInOrder.js Examples at: http://jsbin.com/itofi

[jQuery] Re: A question for John Resig

2009-02-18 Thread Kean
Matt, While it would not affect the results, I believe you can shave a few ms off by using === On Feb 18, 11:26 am, Matt Kruse m...@thekrusefamily.com wrote: On Feb 18, 6:57 am, John Resig jere...@gmail.com wrote: typeof FOO === string typeof FOO === number typeof FOO === boolean ==

[jQuery] Re: A question for John Resig

2009-02-18 Thread Matt Kruse
On Feb 18, 2:20 pm, Kean shenan...@gmail.com wrote: While it would not affect the results, I believe you can shave a few ms off by using  === Over 10,000,000 iterations, I see no difference in time between using == and ===. If the return type of 'typeof' varied, a difference might be found.

[jQuery] Selector Efficiency?

2009-02-18 Thread Josh Rosenthal
So... a question regarding selector efficiency. The following snippet of HTML describes attributes associated with a polygon in an KML. Its basically a table of data, contained as spans in lis in a ul. Given this snippet, what would be the best (fastest) way to return the values of MAP_ID and

  1   2   >