[jQuery] Accordion movement not smooth + other weird stuff

2008-10-16 Thread David D.
Hi there, Luckily I've never had to ask about Jquery's performance or anything like that - it's a SOLID tool, but I'm trying to use the accordion in a unique way and am honestly not experiencing great results. I'm hoping it's just my own mistake :-p Take a look: http://militiamarketing.com/temp/

[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm
Hello, I tried some versions. Last working version is 1.24... Greetings, Stefan Sturm

[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm
Hello, thanks for your answer. > The multi file upload seems to work fine for me. I copied your test > file and modified it slightly to print the response to the page: I found the difference between our two implementations: You use MultiFile 1.1 and I use 1.3 ( the newest one ). With 1.3 it

[jQuery] Re: question.

2008-10-16 Thread Karl Swedberg
On Oct 16, 2008, at 2:06 PM, ricardobeat wrote: on a side note, name attributes should be unique (just like IDs), they are identifiers for an element. If you want valid HTML/XHTML you should use a class instead. - ricardo this is not necessarily true. name attributes must be unique when the

[jQuery] Re: how do you toggle a checkbox value?

2008-10-16 Thread chris
Perfect sense. Thanks for the help. On Sep 26, 3:47 pm, MorningZ <[EMAIL PROTECTED]> wrote: > "var checkbox = $("#" + checkboxId)  // this is being found as > > > expected" > > The part you are missing is that "checkbox" is a jQuery object, not a > checkbox DOM object > > so: > > "checkbox.check

[jQuery] mask input plugin - meioMask

2008-10-16 Thread fabiomcosta
Hi all, i want to present a jQuery plugin that masks text inputs on a form. It will mask the input while you are entering the input you want, helping the users to write exactly what the developer wants. See the docs for more details and a better understanding: http://www.meiocodigo.com/meiomask/

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-16 Thread RobG
On Oct 16, 5:49 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: [...] > ...No problem if there is a tbody > or not, the TR is in any case inside the table. Just to be clear about this, an HTML table must *always* have a tbody element, even if there are no tags for one in the markup[1]. A

[jQuery] Re: $("a") is not a function error

2008-10-16 Thread Karl Swedberg
Wow, that's a really, really old version of the api they're showing you over there. jQuery 1.0.3. Yikes. We stripped out all of those helper methods ages ago. Definitely use docs.jquery.com for information on the current api. Or visualjquery.com (just updated to 1.2.6). Or check out this bl

[jQuery] Re: $("a") is not a function error

2008-10-16 Thread blacque
Thank you for your reply.. I read the manual from gotapi.com. And I read, to get href attribute I need to write: $('a').href(). Hmm.. maybe I have misinterpreted the manual :) sorry... Thank you so much guys!

[jQuery] Re: jQuery Cycle pagerAnchorBuilder with Div Tags

2008-10-16 Thread Mike Alsup
Hi Zach, Post a link or send me one. We'll get it worked out. Mike On Oct 16, 6:35 pm, Zach Dunn <[EMAIL PROTECTED]> wrote: > Appreciate the help Mike, unfortunately when I plugged that in it > stopped the slideshow all together. Is there something that might > interfere with that? > > On Oct

[jQuery] event.preventDefault() seems to fail

2008-10-16 Thread Hullah
I have a page with input textboxes and input buttons on it. All are contained in a form. I don't want the Enter button to submit the form, so I call preventDefault() on all texboxes. I also don't want the input button to submit the form, so I call preventDefault() on the input button. But, if

[jQuery] Re: [validate] ignore an iframe element

2008-10-16 Thread Jeff Strahl
Here is a simple mock up of the elements in question. The error persists when you click the 'button' to upload an image. http://prolabor.com/testform/ Thanks for your help with this matter. -jeff -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Mike Alsup
> did you get a chance to take a look at the samples? Hi Stefan, The multi file upload seems to work fine for me. I copied your test file and modified it slightly to print the response to the page: http://www.malsup.com/jquery/form/test/oct16.php The json issue is a tricky one. I don't have

[jQuery] jcarousellite vertical issues

2008-10-16 Thread 700lbGorilla
If I leave the jcarousel with default settings with four images it works fine. Shows three thumbnails that I can cycle through to see all four. Now if I change it to be vertical: $(".vertical .gholder").jCarouselLite({ btnNext: ".vertical .next", btnPrev: ".vertical .prev",

[jQuery] Re: dynamic image preload

2008-10-16 Thread 700lbGorilla
Thank you, that helped and it is working!

[jQuery] Re: JS Question: How does this jQuery idiom work?

2008-10-16 Thread 703designs
Thanks, I just figured that out last night reading Crockford's "JavaScript: The Good Parts." I considered posting what I learned, then realized that Mike explained it perfectly in the first reply, I was just being dense. Thanks for the explanations! On Oct 16, 10:42 am, Colin Clark <[EMAIL PROTEC

[jQuery] dynamically generated form

2008-10-16 Thread Felix
I have a form that allows user to add and delete rows as they desire, I tried to use the clone function but the problem is the clone give the same id as the previous row and causes trouble duirng form submission. Also, one of the column have input that is a JQuery datepicker, I am wondering if the

[jQuery] Re: dot separated id

2008-10-16 Thread Mauricio (Maujor) Samy Silva
Specs at link pointed out says: ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). Aren't dots and periods the same? -

[jQuery] Re: jQuery Cycle pagerAnchorBuilder with Div Tags

2008-10-16 Thread Zach Dunn
Appreciate the help Mike, unfortunately when I plugged that in it stopped the slideshow all together. Is there something that might interfere with that? On Oct 16, 6:26 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > $('#headline-rotation').before('').cycle({ > >             fx:'fade', > >        

[jQuery] Re: jQuery Cycle pagerAnchorBuilder with Div Tags

2008-10-16 Thread Mike Alsup
> $('#headline-rotation').before('').cycle({ >             fx:'fade', >                 speed:'slow', >                 timeout: 4000, >                 pager:'#nav', > >                 // callback fn that creates a thumbnail to use as pager anchor >                 pagerAnchorBuilder: function(i

[jQuery] jQuery Cycle pagerAnchorBuilder with Div Tags

2008-10-16 Thread Zach Dunn
I've run into a problem with building a rotating news banner which displays both an image tag and a caption div. The structure for the slides works like this:

[jQuery] Re: how to detect current toggle setting?

2008-10-16 Thread Jay
> If you already have a jQuery object you can do this: > > jqObj.is(":visible"); // returns boolean Thanks Josh, that works for toggle(). Any idea what might work with slideToggle()? It always returns true.

[jQuery] Re: [validate] ignore an iframe element

2008-10-16 Thread Jeff Strahl
Due to the sensitivity of the application, I will put something similar together tonight that best reproduces the scenario. Thanks, -jeff -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 16, 2008 5:10 PM T

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-16 Thread Mike Alsup
> I'd like to combine and compress my jQuery and jQuery UI files into a > single minified file, but I've noticed that every time I do this It > just breaks and gives me "$ is not defined". > > If I do a copy/paste of the two uncompressed files together, it works > fine but it's a 100kb file!  When

[jQuery] Re: dot separated id

2008-10-16 Thread micah
double backslashes are the short term fix, but remember for the long term that dots are illegal in ID's and will cause your page to not validate. see http://www.w3.org/TR/html401/types.html#type-name for reference. -micah On Oct 16, 11:02 am, andrazk <[EMAIL PROTECTED]> wrote: > Hi! > > We're

[jQuery] [Forms Plugin] Additional Submit Method

2008-10-16 Thread allaboutduncan
I've built several forms using the jQuery Forms plugin and the ajaxForm and ajaxSubmit with fieldSerialize. But, this one little problem that seems simple is driving me crazy. The following code submits the form when the Submit button is clicked. How can I also set it up so that when a text lin

[jQuery] Combining jQuery and jQuery UI

2008-10-16 Thread c.barr
I'd like to combine and compress my jQuery and jQuery UI files into a single minified file, but I've noticed that every time I do this It just breaks and gives me "$ is not defined". If I do a copy/paste of the two uncompressed files together, it works fine but it's a 100kb file! When I got to m

[jQuery] scrollTo jScrollPane using each()

2008-10-16 Thread dcasey
I can't figure out how to scroll ALL my panes to the top. Here is the pertinent code: // dynamically assign ids and jScrollPane, I would rather not assign any IDs... $('.scrollpane').each(function(n) { $(this).attr('id', 'scrollpane'+n); $(this).jScrollPane({showArrows:true, scrollbarWi

[jQuery] Re: [validate] position of error message

2008-10-16 Thread Jörn Zaefferer
See http://docs.jquery.com/Plugins/Validation/validate for available options. The first tab points at the options related to displaying messages. errorPlacement is a good place to start. Jörn On Thu, Oct 16, 2008 at 6:14 PM, surrealillusions <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there anyway

[jQuery] Re: [validate] ignore an iframe element

2008-10-16 Thread Jörn Zaefferer
Could you provide a testpage? Jörn On Thu, Oct 16, 2008 at 7:44 PM, -Jeff- <[EMAIL PROTECTED]> wrote: > > > I am using the Validation plugin, which is working well overall. Is there a > way to have it ignore an entire iframe? I have added the { ignore: > ".ignore", ... } parameter to the config

[jQuery] Re: how to detect current toggle setting?

2008-10-16 Thread Josh Nathanson
If you already have a jQuery object you can do this: jqObj.is(":visible"); // returns boolean -- Josh - Original Message - From: "Jay" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, October 16, 2008 2:43 PM Subject: [jQuery] Re: how to detect current toggle setting?

[jQuery] Re: Autocomplete result sorting help

2008-10-16 Thread MorningZ
I don't know what you use for the server-side code, but it looks like that would be a lot easier on that side. i don't see any events you can over ride in the autocomplete plugin where you actually over ride how it matches and what it looks at (for instance: "matches the abbrevation or the na

[jQuery] Re: Rounded Corners and IE 6

2008-10-16 Thread caruso_g
Thanks Tim, tried. Unluckily, no anti-alias, no background images and a messy rendering on IE6. On 16 Ott, 23:32, TimW66 <[EMAIL PROTECTED]> wrote: > I've played around with this one:http://malsup.com/jquery/corner/ > > On Oct 16, 4:19 pm, caruso_g <[EMAIL PROTECTED]> wrote: > > > > > I searched

[jQuery] Re: how to detect current toggle setting?

2008-10-16 Thread Jay
On Oct 16, 3:53 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Read the docs, read the docs. > > http://docs.jquery.com/Selectors I did. I use them frequently. There's no mention of those two functions on the selectors page In docs.jquery.com or the downloadable version. There's no detail on how th

[jQuery] Re: Rounded Corners and IE 6

2008-10-16 Thread TimW66
I've played around with this one: http://malsup.com/jquery/corner/ On Oct 16, 4:19 pm, caruso_g <[EMAIL PROTECTED]> wrote: > I searched for a plugin to round corners using jQuery. > I tried any plugin I was able to find but sadly none of them was able > to work on IE 6. > Some of them didn't even

[jQuery] Autocomplete result sorting help

2008-10-16 Thread Alex
I'm trying to normalize some user input on a form, and I thought Jörn's autocomplete would fit the bill, except I'm having trouble getting the result I need. Desired behavior - user can type either the abbreviation for their state or begin typing the state name, and autocomplete will return the m

[jQuery] Re: dot spearated id

2008-10-16 Thread andrazk
Thanks, I wonder how I could miss it. On Oct 16, 8:43 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > from jquery faq > >  // Does not work >  $("#some.id") > >  // Works! >  $("#some\\.id") > > http://docs.jquery.com/Frequently_Asked_Questions > > 2008/10/16 andrazk <[EMAIL PROTECTED]> > > > > >

[jQuery] Rounded Corners and IE 6

2008-10-16 Thread caruso_g
I searched for a plugin to round corners using jQuery. I tried any plugin I was able to find but sadly none of them was able to work on IE 6. Some of them didn't even work on std compliant browsers. I then, chosen to use Nifty Cube by Alessandro Fulciniti, but I found that shows some bugs too. (ht

[jQuery] Re: Superfish plugin

2008-10-16 Thread Schotime
I found that it is caused by having a textbox directly under the menu so that when you come off the menu you are in the textbox. if this happens the menu does not disappear. It is also still a Firefox only problem as far as I can tell. Regards On Oct 16, 11:42 pm, Schotime <[EMAIL PROTECTED]> wr

[jQuery] Re: jCarousel - endless creation of new placeholders when scrolling forward

2008-10-16 Thread Eric Shepherd
Sorry for the confusion, that was due to an index miscalculation. However, the core issue is still there - the carousel thinks it can go forward even when there are no more items. When I load with two items, it builds one placeholder in the remaining spot, and the next button evaluates to true and

[jQuery] Re: help: Zend Framework and JQuery validation plugin

2008-10-16 Thread Namrasit
Ok. I create a simple testpage. Below I wrote all listing from index controller and view files: IndexController.php: view->baseUrl = $this->_request->getBaseUrl(); Zend_Loader::loadClass('Users'); } function indexAction(){ $this->view->title = "ZF - Validation"; } fu

[jQuery] Re: My first plugin ... need some help.

2008-10-16 Thread ricardobeat
This is quite specific to made into an actual plug-in, but here it goes: $.fn.createList = function(list){ var origin = this; $(':submit',origin).bind('click',function(){ str = []; console.log($('input,select,checkbox:checked',origin)); $

[jQuery] Re: how to detect current toggle setting?

2008-10-16 Thread ricardobeat
Read the docs, read the docs. http://docs.jquery.com/Selectors $('#element:visible') or $('#element:hidden') - ricardo On Oct 16, 12:28 pm, Jay <[EMAIL PROTECTED]> wrote: > Good morning all, > When you use the toggle() or slideToggle() what's the best way to > detect the current condition of t

[jQuery] Re: jCarousel - endless creation of new placeholders when scrolling forward

2008-10-16 Thread Eric Shepherd
Further information: The carousel is creating one more placeholder than necessary. If my carousel area could hold three images, for example, and I only add two using add(), there are two placeholders when it's done adding - the third slot and the imaginary slot off to the right, and scrolling is e

[jQuery] Re: $("a") is not a function error

2008-10-16 Thread ricardobeat
Pay a visit to docs.jquery.com/Attributes ! - ricardo On Oct 16, 1:04 am, blacque <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I use jquery 1.2.6. I'd like to get some attributes from a tag, but i > get some errors. Here's the jquery script: > > $(document).ready(function() { >         alert($

[jQuery] Re: New to jQuery --> Dynamically navigating the DOM

2008-10-16 Thread Jub
Hi Ricardo, Thanks for the reply. Unfortunately there are multiple fields which all need independent error messages - sticking into a class would trigger the same error message for all inputs. :-) On Oct 17, 4:35 am, ricardobeat <[EMAIL PROTECTED]> wrote: > You shouldn't rely on this kind of '

[jQuery] Re: Loading Mask

2008-10-16 Thread Sam Sherlock
to block a div with ID contentWrapper $('#contentWrapper').block( 'Loading Please Wait' ) 2008/10/16 Donald J. Organ IV <[EMAIL PROTECTED]> > > FRom what I can tell this blocks the entire screen and not a given element. > > > - Original Message - > From: "mike.helgeson" <[EMAIL PROTECT

[jQuery] Re: Loading Mask

2008-10-16 Thread Donald J. Organ IV
FRom what I can tell this blocks the entire screen and not a given element. - Original Message - From: "mike.helgeson" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, October 16, 2008 1:43:09 PM GMT -05:00 US/Canada Eastern Subject: [jQuery] Re: Loading Mask Try "BlockUI" >

[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm
Hello Mike, did you get a chance to take a look at the samples? I updated the samples to show you another problem with the fileupload: I added form 3: On beforeSubmit I collect all Formdata and convert them to json and send them as one field "formData" to the server. Without a upload this works

[jQuery] Re: dot spearated id

2008-10-16 Thread Sam Sherlock
from jquery faq // Does not work $("#some.id") // Works! $("#some\\.id") http://docs.jquery.com/Frequently_Asked_Questions 2008/10/16 andrazk <[EMAIL PROTECTED]> > > Hi! > > We're working with a java workframe that creates element ID-s > separated with dots and thus we have problems usin

[jQuery] jCarousel - endless creation of new placeholders when scrolling forward

2008-10-16 Thread Eric Shepherd
I'm creating a jCarousel piece by piece when images are added to my page dynamically. So, for each iteration through an image add, its thumbnail is placed into the jCarousel using the add() method. The carousel begins with no images at all (so it creates placeholder images). So, I start with no im

[jQuery] script tags and domManip

2008-10-16 Thread Jon Palmer
Is it a known issue that various domManip actions can case javascript inside script tags to fire twice? For example if I have this example alert("Hello World"); and somewhere else in the page I use the collowing jQuery: $(document).ready(function() { $(#myDiv).wrapAll("
<

[jQuery] Re: help : why doesn't object.property.name work?

2008-10-16 Thread ricardobeat
What exactly fails? $('scape[title='+whatever+']',datascape.ds.xml) works for me. You don't need the double quotes on the title selector, it's already a string. BTW, the line breaks and all the escaping just make it confusing. In my test a text node "\n" became the parent element. Cleaning that

[jQuery] Re: New to jQuery --> Dynamically navigating the DOM

2008-10-16 Thread ricardobeat
You shouldn't rely on this kind of 'navigation' for the exact reasons you are having problems. Elements in the DOM will change positions everytime you manipulate them, this relative navigation is prone to errors. Base your code on IDs, classes and think always from the top to bottom (parent > chil

[jQuery] Re: dot separated id

2008-10-16 Thread MorningZ
See: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F On Oct 16, 2:02 pm, andrazk <[EMAIL PROTECTED]> wrote: > Hi! > > We're working with a java workframe that creates element ID-s > separated with dots and thus we have problem

[jQuery] Re: question.

2008-10-16 Thread ricardobeat
on a side note, name attributes should be unique (just like IDs), they are identifiers for an element. If you want valid HTML/XHTML you should use a class instead. - ricardo On Oct 16, 11:22 am, GARIL <[EMAIL PROTECTED]> wrote: > Excellent!  Thank you both.  And I apologize. I hit the button >

[jQuery] Re: Is there a way to use regex to remove text from a filename

2008-10-16 Thread ricardobeat
>From what I understand he's talking about text, not an image or it's source. If for example you have it like this: file986.gif the easiest way is: $('.cafe:contains(.gif)').each(function(){ var newText = $(this).html().replace('.gif',''); $(this).html(newText); }); You should a

[jQuery] DOM manipulation slow

2008-10-16 Thread Nick
Hi all, This is my first post here because I can almost always find some help in Google from someone who has had a similar problem to mine... but this time is different. I am using the code from Remy Sharp's gallery slider found here: http://jqueryfordesigners.com/slider-gallery/ I am loading l

[jQuery] dot spearated id

2008-10-16 Thread andrazk
Hi! We're working with a java workframe that creates element ID-s separated with dots and thus we have problems using the jQuery selectors. Example: t = $('#object.member.property').value; alert(t); Of course, this script won't display properly the value "test". I've tried the $('#objec

[jQuery] Modal using dimScreen and Dimensions

2008-10-16 Thread Jason
I can't get it to work. Anyone have a test page I can look at to see it working.

[jQuery] [validate] position of error message

2008-10-16 Thread surrealillusions
Hi, Is there anyway to position the error label before the input or anywhere else? As i'm not using any of the css (apart from the label.error, but only for colours and slight padding), I presume its in the javascript somewhere? Thanks

[jQuery] Re: invalide property value in IE

2008-10-16 Thread alh
Have you figured this out yet? I'm having the same problem... The animation worked until I added the tag to the beginning of the page (in transitional). Now IE7 will not animate at all. On Oct 9, 5:56 pm, Cary <[EMAIL PROTECTED]> wrote: > Has anyone ever seen this bug? The example comes dir

[jQuery] dot separated id

2008-10-16 Thread andrazk
Hi! We're working with a java workframe that creates element ID-s separated with dots and thus we have problems using the jQuery selectors. Example: t = $('#object.member.property').value; alert(t); Of course, this script won't display properly the value "test". I've tried the $('#objec

[jQuery] how to detect current toggle setting?

2008-10-16 Thread Jay
Good morning all, When you use the toggle() or slideToggle() what's the best way to detect the current condition of the effected elements? I'd like to save the state of the user's window in a cookie. I could toggle a class or add a property when I toggle things but I wondered if there was a better

[jQuery] [Validation] DOM changes, adding validation rules to new objects

2008-10-16 Thread Mike
Hi Jörn, Brilliant plug-in, it may be that I can do what I need to but i can't seem to make it work. I'm building a form with lots of fields, after the DOM is ready I then bind the validation rules for the known fields. I then have functionality which allows the user to add new fields, table r

[jQuery] Re: Loading Mask

2008-10-16 Thread mike.helgeson
Try "BlockUI" >> http://www.malsup.com/jquery/block/ On Oct 16, 12:04 pm, "Donald J. Organ IV" <[EMAIL PROTECTED]> wrote: > Sorry didnt see this email. > > Basically I have a table that i am populating with .load() > > but while the data is loading I would like to have a lightbox type mask over

[jQuery] Form plugin + Table Drag and Drop plugin

2008-10-16 Thread adexcube
Hi, what I'm trying to do is when a user clicks on submit the form sends all the form variables + the id's that tDnD generates using ajax. Also when I tried to serialize the table outside the onDrop function it generates an error. I tried many ways to do it but without any success. Ideas are: **

[jQuery] [Forms Plugin] Reloading/Refreshing an iFrame after success

2008-10-16 Thread -Jeff-
'lo all, I don't even know if this is possible, but here's a shot at explaining what I have and what I am trying to accomplish. I have a rather large data entry form and the Forms Plugin works great for that submission, returning a message on success, clears the desired elements for new entry,

[jQuery] Form plugin + Table Drag and Drop plugin

2008-10-16 Thread adexcube
Hi, what I'm trying to do is when a user clicks on submit the form sends all the form variables + the id's that tDnD generates using ajax. Also when I tried to serialize the table outside the onDrop function it generates an error. I tried many ways to do it but without any success. Ideas are: **

[jQuery] Re: Question: Using Autocomplete to pass the fields name to query URL

2008-10-16 Thread adexcube
Hi, have you tried something like this? $("input:text").focus( function() { alert($ (this).attr("name")); } ).autocomplete("server.php", { extraParams: { fieldname: function() { return $(this).attr("name"); } }

[jQuery] [validate] ignore an iframe element

2008-10-16 Thread -Jeff-
I am using the Validation plugin, which is working well overall. Is there a way to have it ignore an entire iframe? I have added the { ignore: ".ignore", ... } parameter to the configuration and applied the ignore class to every element possible in regards to that respective and all elements w

[jQuery] Re: Question: Using Autocomplete to pass the fields name to query URL

2008-10-16 Thread adexcube
Have you tried this? $("input:text").focus( function() { alert($ (this).attr("name")); } ).autocomplete("server.php", { extraParams: { fieldname: function() { return $(this).attr("name"); } } }); It assign the autocomplete function

[jQuery] Re: JS Question: How does this jQuery idiom work?

2008-10-16 Thread Colin Clark
Hi, I'll see if I can break down the syntax for you to illustrate what's going on: 1. Define a function. It should take one argument, called $: function ($) { // Do stuff. }; 2. Since the function is anonymous (it doesn't have a name), you need to wrap it in brackets before invoking it:

[jQuery] R: [jQuery] Re: Loading Mask

2008-10-16 Thread diego valobra
Hi, take a look at this http://www.filamentgroup.com/lab/update_automatically_preload_images_from_css_with_jquery/ Diego --- Gio 16/10/08, Donald J. Organ IV <[EMAIL PROTECTED]> ha scritto: Da: Donald J. Organ IV <[EMAIL PROTECTED]> Oggetto: [jQuery] Re: Loading Mask A: jquery-en@googlegroups.c

[jQuery] Re: Proper jQuery object creation for chaining

2008-10-16 Thread sliver
Thanks Josh... I found a nice simple Class constructor that plays very nicely with jQuery and will simply use that for what I need to do. On Oct 15, 4:51 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Hey Sliver, > > It looks like you are expecting jQuery to work like Prototype does...I'm not

[jQuery] JSON request printout works in FF/Safari but not in IE

2008-10-16 Thread [EMAIL PROTECTED]
Help me please! Im trying with JSON print out content in two DIV's and make them fadeOut and in. This works flawless in Safari and FF but not in any IE. Can anyone see the problem? $(document).ready(function() { $("#jquery_spinner_2").hide(function() { first = true;

[jQuery] Re: IE8 bug when using .find()

2008-10-16 Thread Jimbo M
I can repro this on IE8b2 -- I need to remember to hit the IE7 mode button when things simply don't work as expected!

[jQuery] Re: Beginner: Load Bind Event Problem

2008-10-16 Thread Jason
Thanks for the reply. It makes since to query the dom live right. I'll try to get it to work. And I agree that putting the js in the loaded file is baaad. Thanks a ton. On Oct 15, 11:37 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > Because the events are initialised on page load for

[jQuery] Re: Problem with imported style in text shadow with jquery

2008-10-16 Thread Olaf Bosch
Yassi schrieb: Hi; I have used this script for text shadow. http://eyebulb.com/dropshadow/ When css is in html file, every thing is ok. But when I ımport external css i cant see any style in my page, and i cannot use this script in my designs with imported styles. Have you try the style loa

[jQuery] Re: Ajax load() problems

2008-10-16 Thread Miroku
I get [object Object] so I have a valid jQuery Object... and now how do I make my load work? =___= On 15 Ott, 23:06, MorningZ <[EMAIL PROTECTED]> wrote: > "how do I verify that?" > > quick and dirty way...  "alert" it: if you are using firebug (which > you should be!), type this in the console af

[jQuery] Re: [Validation] required dependency issue

2008-10-16 Thread Jörn Zaefferer
You proably want to use a custom method in this case instead of the dependency check. Jörn On Thu, Oct 16, 2008 at 5:25 PM, w1ntermut3 <[EMAIL PROTECTED]> wrote: > > Hi, > > Trying to use the validation plugin (http://docs.jquery.com/Plugins/ > Validation) to manage the following: > > > > > s

[jQuery] Re: [autocomplete] Found characters are not bolded

2008-10-16 Thread Jörn Zaefferer
The "bolding" is done by adding a element around the matching characters. That is styled by default as "bold", though you may have to do that explicitly depending on your stylesheet. Jörn On Thu, Oct 16, 2008 at 12:05 PM, Dan Petitt <[EMAIL PROTECTED]> wrote: > Hi all, I have plugged in autocomp

[jQuery] Re: Loading Mask

2008-10-16 Thread Donald J. Organ IV
Sorry didnt see this email. Basically I have a table that i am populating with .load() but while the data is loading I would like to have a lightbox type mask over it. - Original Message - From: "Mike Alsup" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, October 15, 200

[jQuery] Re: help: Zend Framework and JQuery validation plugin

2008-10-16 Thread Jörn Zaefferer
Can you post a testpage? Jörn 2008/10/16 Namrasit <[EMAIL PROTECTED]>: > > Hi! > > I try to use Zend Framework with JQuery validation plugin. Standard > validation of forms works good but when I want to remote validate (f.e > check a login in database) remote function dosen't work. Below I write

[jQuery] Re: Access to restricted URI denied" code: "1012

2008-10-16 Thread [EMAIL PROTECTED]
I don't know why my page have error yet! You can go http://www.giftcenter.ir/ You'll see that the loading picture ( in top and right of page (recessive picture)! ) is still on page and don't hide! and you can go to http://www.giftcenter.ir/sitemap.php You'll see that that picture hide after pag

[jQuery] [Validation] required dependency issue

2008-10-16 Thread w1ntermut3
Hi, Trying to use the validation plugin (http://docs.jquery.com/Plugins/ Validation) to manage the following: Either a radio button must be checked, or something must be in the text box. If no radio button is checked and nothing is typed in the text box, I need an error message. If a radio

[jQuery] Re: question.

2008-10-16 Thread MorningZ
Right from the docs http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_check.2Funcheck_an_input.3F $("input[name='veggies']").attr("checked", "checked"); On Oct 16, 9:25 am, GARIL <[EMAIL PROTECTED]> wrote: > I used     $(":checkbox").each(function() > {this.checked=this.name=="veggie

[jQuery] Re: question.

2008-10-16 Thread GARIL
Excellent! Thank you both. And I apologize. I hit the button too quickly.

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: Question: Using Autocomplete to pass the fields name to query URL

2008-10-16 Thread MorningZ
This may not be the most elegant solution, and is untested since it's just off the top of my head, but i wouldn't see why it wouldn't at least "work", heh var _CurrentFieldName; $(document).ready(function() { $(".autocomlete") .focus(function() { _CurrentFieldName = $ (thi

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: Jquery tab

2008-10-16 Thread Klaus Hartl
Tabs already attaches/detaches a class for the selected tab and the first tab is active by default. Thus you don't need to attach your class at all. If you want to roll your own style look for .ui-tabs-selected: .ui-tabs-selected { border: 1px solid red !important; /* just an example */ } -

[jQuery] Re: question.

2008-10-16 Thread Klaus Hartl
$('input[name=veggies]').attr('checked', true); By the way: putting the question into the subject instead of "question" will probably increase chances of your mail being read. --Klaus On 16 Okt., 15:25, GARIL <[EMAIL PROTECTED]> wrote: > I used     $(":checkbox").each(function() > {this.chec

[jQuery] Re: Is there a way to use regex to remove text from a filename

2008-10-16 Thread MorningZ
The initial selector is much easier than that and will make much of that above code unnecessary $("img[src$='.gif']").each(function() { }) On Oct 16, 8:17 am, punkplod <[EMAIL PROTECTED]> wrote: > somthing like this is what you want have not got the time to finish > this good luck with the re

[jQuery] Re: Tooltip Plugin Looking Horrendous in IE6 - How to fix?

2008-10-16 Thread [EMAIL PROTECTED]
That's strange, it looks ok on my copy of IE6 here. I was testing on IEs4linux last night, perhaps that was messing up the display of the tooltips? It was putting the tooltips in white boxes with no borders and adding a scrollbar. Well it's all ok now. Sorry for the confusion. -Greg On Oct 1

[jQuery] Re: question.

2008-10-16 Thread GARIL
I used $(":checkbox").each(function() {this.checked=this.name=="veggies"}) but I'm wondering if there's another way, like using filter perhaps? On Oct 16, 8:06 am, GARIL <[EMAIL PROTECTED]> wrote: > Using jQuery, is there a quick way of setting the 'checked' attribute > to true for all the

[jQuery] Re: Loading Mask

2008-10-16 Thread Donald J. Organ IV
No has any recommendations on this?? - Original Message - From: "Donald J. Organ IV" <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Wednesday, October 15, 2008 2:50:18 PM GMT -05:00 US/Canada Eastern Subject: [jQuery] Loading Mask Is it possible to add a loading mask to a spec

[jQuery] Re: Is there a way to use regex to remove text from a filename

2008-10-16 Thread punkplod
somthing like this is what you want have not got the time to finish this good luck with the rest. may need a for loop instead //

[jQuery] [forms] question.

2008-10-16 Thread GARIL
Using jQuery, is there a quick way of setting the 'checked' attribute to true for all the 'veggies' below? Thank you. Banana Avocado Apple Papaya Plum Broccoli Cabbage Radish Squash Cucumber

  1   2   >