[jQuery] Re: Selecting readonly textboxes

2007-08-17 Thread Ganeshji Marwaha
Try this $("input:text").not("[EMAIL PROTECTED]"); -GTG On 8/17/07, Mohsen Saboorian <[EMAIL PROTECTED]> wrote: > > > Hello list, > > Is it possible to select non-readonly textboxes with JQuery? I've > tried the following queries, non of which worked: > > $("input:[EMAIL PROTECTED]") > $("inpu

[jQuery] Selecting readonly textboxes

2007-08-17 Thread Mohsen Saboorian
Hello list, Is it possible to select non-readonly textboxes with JQuery? I've tried the following queries, non of which worked: $("input:[EMAIL PROTECTED]") $("input:[EMAIL PROTECTED]'false']") $("input:[EMAIL PROTECTED]'true']") However it was possible to select readonly textboxes with the fol

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread Glen Lipka
Dont forget this one. ClueTip http://examples.learningjquery.com/62/demo/ Glen On 8/17/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > Look on Bassistance...the "fancy" example with the drop shadow. When you > move the mouse around, the tooltip follows you. The one you're using on > GotCFM is

[jQuery] Re: Optimization Help

2007-08-17 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/forms/all.htm var regularBoxes = $("[EMAIL PROTECTED]").not("#allToggle"); $("#allToggle").click(function(){ if ($("#allToggle").attr("checked") == true) { regularBoxes.removeAttr("checked"); } }); regularBoxes.click(funct

[jQuery] Re: request for comments - a periodic execution plugin/function for jQuery

2007-08-17 Thread Ganeshji Marwaha
This is a neat utility plugin that i will definitely use... There are a few suggestions - just thinking out loud though First, to answer your question, i dont think u need to use $.extend, there isn't a function called periodic in the core, so it should be fine... My suggestion is, typically

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Ganeshji Marwaha
>> $(...).onclick().toggle().end(); This will be cool John... I have so many one-liner anonymous functions that i can get rid of then... When can we expect it.? -GTG On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > > > I've thought of this, as well. I also wanted to add a hook to allow: > >

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Ganeshji Marwaha
i don't see why the selector needs to be that complex. I would do it this way... $("#srTable tr").each(function() { alert("test"); }); -GTG On 8/17/07, Potluri <[EMAIL PROTECTED]> wrote: > > > > sorry that a typo.. I know that rows contain colomns. My table already has > multiple colomns.

[jQuery] Re: How to show Updating container

2007-08-17 Thread Ganeshji Marwaha
try something like this... $("#some_table_name").click(function() { $("#rs_loading").show(function() { someFuncTORefine(); $("#rs_loading").hide(); }); }); -GTG On 8/17/07, Potluri <[EMAIL PROTECTED]> wrote: > > > > So whats the alternative for this to work... there should be

[jQuery] Re: event bubbling - checking for the right element

2007-08-17 Thread Ganeshji Marwaha
I don't know ur use-case, but why are u using body.click... Instead it could be very easy, intuitive and smaller to use $("#test h2").click(function() { alert("test"); }); -GTG On 8/17/07, Jones <[EMAIL PROTECTED]> wrote: > > > Hi, > > I've got a problem with event bubbling. > > That works

[jQuery] Re: ORing selectors

2007-08-17 Thread Ganeshji Marwaha
I am not sure about the additional overhead, but i find comma more straight-forward because they are css selectors and we use commas to select in css anyways. -GTG On 8/17/07, Rob Desbois <[EMAIL PROTECTED]> wrote: > > Does anyone know offhand how much overhead using .add() instead of the > comm

[jQuery] Re: Question about event.StopPropagation()

2007-08-17 Thread Mitch
Thank you Mike. I discovered that the best first "documentation" to read can be found by clicking on every screen shot on the main page, and printing each out and then trying every feature they so describe with terrific brevity (like one or two sentences :) I'm beginning to see how to use Firebug

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Alexandre Magno Teles Zimerer
Hey dude, why you wanna loop thrungh table rowsAwaiting for your answer,Alexandre MagnoWeb developerhttp://blog.alexandremagno.net> Date: Fri, 17 Aug 2007 14:48:41 -0700> From: [EMAIL PROTECTED]> To: jquery-en@googlegroups.com> Subject: [jQuery] Re: problem looping through table rows in IE>

[jQuery] Re: Modals don't mask whole page with Ext and jQuery

2007-08-17 Thread Neil
Great. Works a treat. Many thanks.

[jQuery] Autocomplete problem

2007-08-17 Thread ars_oguz
Hi, I have a textarea and i will write news related to mobile phones in it. But i want each phone must match the name in my database and be a link to its description page like journal form in last.fm In order to do this autocomplete should start to search whenever i type [phone] and when i find t

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Olaf Bosch
Potluri schrieb: Can you please help me out in how to make it work in IE. It would be gr8 if you figure out a way. Uups, i tested this. Its work in IE7, IE6+5.5 standalone, not in IE5.0 standalone Have you got IE in QuirksMode? $(document).ready(function(){ $(">tbody:first/tr","#srT

[jQuery] Re: Creating DOM elements on the fly

2007-08-17 Thread Sean Catchpole
I wrote a fun dom creation plugin, but in the end it's not much better than the built in dom creation: http://jqueryjs.googlecode.com/svn/branches/sean-dev/jquery.dom.js ~Sean

[jQuery] Re: stop animation

2007-08-17 Thread Ganeshji Marwaha
Hey Christian, This is either a huge co-incidence or we are probably born on the same date and time... coz, i spent the full day yesterday to figure out exactly this and was jumping for joy that i found the simplest and the easiest way to stop animation and i started incorporating them into the jk

[jQuery] Re: hide some divs, show one

2007-08-17 Thread Justin Sepulveda
What you're looking for sounds a lot like tab functionality. I think you could pull it off using Klaus's tab plugin. http://www.stilbuero.de/2007/05/14/tabs-plugin-more-flexibility/ On Aug 17, 1:21 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > hi friends, > > I have a product list... whe

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Potluri
Hi Olaf, I really appreciate your suggestion. I used this way of looping until late but this type of looping is quite slow for table with 300 rows, but the other way which I'm trying to do in firefox $(">tbody:first/tr","#srTable").each(); is tons faster for table with large number of rows. I c

[jQuery] request for comments - a periodic execution plugin/function for jQuery

2007-08-17 Thread westamastaflash
So I wrote a periodic execution function for jQuery, similar to the PeriodicExecuter function of prototype. I'd like some feedback as to it's usefulness (or non-usefullness). This is my first plugin, so any suggestions as to what to change are appreciated (should I use jQuery.extend to create the

[jQuery] Re: Tablesorter 2.0

2007-08-17 Thread Christian Bach
Lukek, I will supply a fix for this after the weekend. If you cant wait that long a tip is that if this.config exists that should be extended instead of the defaults. /christian 2007/8/17, lukek <[EMAIL PROTECTED]>: > > Hi, > > I have just been playing with the new Tablesorter 2.0. Thanks Mr Bach

[jQuery] Re: TableSorter Set Column Sorter to false

2007-08-17 Thread Christian Bach
Dan, in order to set options inline you need to include the metadata plugin. The reason why this seems to work with out metadata is because the auto detection for column sorter is working its magic. There is no need to specify sorters for standard columns like the ones that you have in your table

[jQuery] Round button... ?!

2007-08-17 Thread Tobias Parent
Hey, all - I'm trying to create an UNOBTRUSIVE JAVASCRIPT routine to replace links in a navigation menu with button graphics. All good, so far, but I'd like to make the buttons .png files, with an alpha transparency, and the color changeable via javascript. Thus far, I have a canvas that is b

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Olaf Bosch
Potluri schrieb: I'm planning to loop through the rows of table and get the id of each row but I'm not able to loop through the rows in IE but in firefox it works. I can't provide you with any links at this point. When I'm trying to put an alert message inside the loop of each, it doesn't give

[jQuery] Re: Creating DOM elements on the fly

2007-08-17 Thread duma
Anurag, I've written a Dom element-creating plugin for jQuery. The documentation is here: http://www.pinkblack.org/itblog/?page_id=22 This is how its usage looks: var someNodes = $.create( "div", {}, [ "span", {"class": "MyText"}, ["Hi! How are you?"], "img", {"sr

[jQuery] Re: stop animation

2007-08-17 Thread Cybolic
You can start and stop an animation like so: // start $('#animationElement').animate({width: 50}, slow); // stop $.dequeue($('#animationElement').get(0), "fx"); You can of course define a helper for it like so: $.fn.stop = function(){ this.each(function(){ $.dequeue(this, "fx");

[jQuery] hide some divs, show one

2007-08-17 Thread [EMAIL PROTECTED]
hi friends, I have a product list... when the user click on a product i wanna show the respectly div for this product..(photo) and hide all the one that are visible.(for the case the user forget to close them) how can i do it ?

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Potluri
I'm planning to loop through the rows of table and get the id of each row but I'm not able to loop through the rows in IE but in firefox it works. I can't provide you with any links at this point. When I'm trying to put an alert message inside the loop of each, it doesn't give the alert message.

[jQuery] Re: Creating DOM elements on the fly

2007-08-17 Thread Pops
Thanks Sam and Byron for the dynamic DOM creation plugin references. Like a puzzle, this is all coming together now. Thanks! -- HLS On Aug 17, 11:27 am, Sam Collett <[EMAIL PROTECTED]> wrote: > There are also a few others:http://jquery.com/plugins/project/FlyDOM > > Easy DOM creation (which te

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Pops
I agree with Joan, I am not too sure I like this additional reduction. I believe similar concepts are being applied to JS 2.0 and FF 3.0? IMO, part of good software craftmanship and being productive is being able to recognized code in brain speed. One might called say the art of "jQuery Theory"

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Andy Matthews
What are you expecting to happen and what's actually happening? Do you have a link that you could post? You've got to give some history as to what's going on before someone can help you out. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Potlur

[jQuery] problem looping through table rows in IE

2007-08-17 Thread Potluri
Hi every one, Please help me out in solving this problem. I face this only in IE, I've table with id="srTable", so I'm looping through the table rows using selector $("> tbody:first/tr","#srTable") .each(function(){}); , the table has only one tbody with multiple rows in it. Please post

[jQuery] Re: Where is the latest autocomplete plugin?

2007-08-17 Thread Priest, James (NIH/NIEHS) [C]
FWIW - Dan - do you think it would be worthwhile to pop a note and link on your autocomplete page letting people know about this one since it appears to be the most recent iteration?? http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Thanks! Jim

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-17 Thread Andy Matthews
Yeah...would be nice if someone took something like that and converted it to a plugin. Mario? YOu up for it? :) _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mario Moura Sent: Friday, August 17, 2007 2:58 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 8:54 pm, "Joan Piedra" <[EMAIL PROTECTED]> wrote: > On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > > > $(...).onclick().toggle().end(); > > The same would happen to John's code, this would mess me up. > Just my opinion tho. i agree with Joan here. The semantics on the above would

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-17 Thread Mario Moura
Hi Wow. Looks great. ASAP I will study this I saw that fileExtension is caseSensitive so probably should have fileExtension == "JPG" fileExtension == "jpg" fileExtension == "Jpg" to avoid trouble. thanks a lot Andy for share this Regards Mario 2007/8/17, Joan Piedra <[EMAIL PROTECTED]>: >

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread Andy Matthews
Look on Bassistance...the "fancy" example with the drop shadow. When you move the mouse around, the tooltip follows you. The one you're using on GotCFM is fixed. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Friday, August 17,

[jQuery] Re: Where is the latest autocomplete plugin?

2007-08-17 Thread Priest, James (NIH/NIEHS) [C]
Thanks Rey! I grabbed that one (http://bassistance.de) and had it working way too fast... esp. for a Friday afternoon :) I luv jQuery! Jim > -Original Message- > From: Rey Bango [mailto:[EMAIL PROTECTED] > Sent: Friday, August 17, 2007 3:18 PM > To: jquery-en@googlegroups.com > Subje

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread Rey Bango
Not sure what you mean by "move with the mouse". Do you have an example of it from another site? Rey Andy Matthews wrote: I should have added in that I want the tooltip to be able to move with the mouse. The one from Bassistance is what I was planning on using. Just wanted to see if there wa

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread Andy Matthews
I should have added in that I want the tooltip to be able to move with the mouse. The one from Bassistance is what I was planning on using. Just wanted to see if there was one better than that. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey

[jQuery] Re: stop animation

2007-08-17 Thread Ganeshji Marwaha
thats wonderful joan... simple and effective how to's are very useful pieces of information. Send us a link after u have posted something. -GTG On 8/17/07, Joan Piedra <[EMAIL PROTECTED]> wrote: > > Hello Ganeshji, > > Nvm the previouse message, I've just seen your work at the lava lamp > plugin

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread duma
I've created a tooltip plugin that lets you hover your mouse pointer over the tooltip, in case you want to put controls in there. I don't have a homepage for this plugin yet, but let me know if you want to use it! Take care, and keep creating! Sean Andy Matthews-3 wrote: > > I'm probably goi

[jQuery] Re: jCarousel Lite - version 1.0

2007-08-17 Thread Ganeshji Marwaha
Aaron, I checked the site and it seems to work as u expect it to now. I guess u already fixed it. If u haven't, can u explain what part do u need help with? -GTG On 8/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi Ganeshji, > > Thanks for your plugin. Its easy to use, and the tru

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread Rey Bango
Try this one: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ Cluetip is already great and easy to use and is what I used on GotCFM.com's info icons. Rey Andy Matthews wrote: I'm probably going to be implementing a basic tooltip in my current project and I'd like to hear from

[jQuery] Re: Where is the latest autocomplete plugin?

2007-08-17 Thread Rey Bango
Either one is fine but I know that on the second one, Joern incorporated alot of suggestions from Dan and Joern actively maintains that version. Rey... Priest, James (NIH/NIEHS) [C] wrote: Just curious which is the latest - last one I used was on Dan Switzer's site: http://www.pengoworks.com

[jQuery] Re: stop animation

2007-08-17 Thread Joan Piedra
Hello Ganeshji, Nvm the previouse message, I've just seen your work at the lava lamp plugin, awesome. It looks like you already use the interface plugin so there isn't a need for me to tell you how to do it ;) Still, I will post a simple howto how to do it, so anyone in the jquery community can ta

[jQuery] Re: stop animation

2007-08-17 Thread Joan Piedra
Hello Ganeshji, I gave interface a try and It deserves it a lot. I'll write a simple howto stop animations and queuing in jquery. You can see an example here. All the navigation animations use it. http://www.justaquit.com/ Cheers, On 8/5/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > > Thanks

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-17 Thread Aaron Scott
> $(object).css("opacity", 0.7).fadeIn(400); > Ha! That did the trick. Thanks. Aaron

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-17 Thread Joan Piedra
Hello Andy, It looks interesting, I've tried this before but I had some difficulties with Firefox, at last I could do it with IE6, IE7, and Firefox. But Safari and Opera mask the whole url in the input file. So this won't work in those browsers. Regards, On 8/17/07, Andy Matthews <[EMAIL PROTECT

[jQuery] Where is the latest autocomplete plugin?

2007-08-17 Thread Priest, James (NIH/NIEHS) [C]
Just curious which is the latest - last one I used was on Dan Switzer's site: http://www.pengoworks.com/workshop/jquery/autocomplete.htm But I also found this one: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Which says "Heavily improved Dylan Verheul's initial plugin, integr

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-17 Thread Justin Sepulveda
Haha. Whoops. So i guess don't set the opacity in the css. $(object).css("opacity", 0.7).fadeIn(400); If that doesn't work, then I should stop posting to these boards while at work :-) On Aug 17, 10:50 am, Aaron Scott <[EMAIL PROTECTED]> wrote: > > For me, I like having the opacity setting in

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Joan Piedra
On 8/17/07, Matt Kruse <[EMAIL PROTECTED]> wrote: > > > I want to do this: > $('#test').click("alert('test');"); > > Hello Matt, IMHO, I've seen code like this, but I got confused each time I read it. I find using anonymous a better approach because it encapsulate the whole code that will show in

[jQuery] Best tooltip plugin

2007-08-17 Thread Andy Matthews
I'm probably going to be implementing a basic tooltip in my current project and I'd like to hear from the list which one might be the "best". IE: simplest to implement, but most importantly, the easiest to style. Andy Matthews Senior ColdFusion Developer Of

[jQuery] Re: Modals don't mask whole page with Ext and jQuery

2007-08-17 Thread Brandon Aaron
Release early, release often. So I had a regression in 1.1.1 with Safari and window width and height calculation. I just released 1.1.2 which fixes that and a bug with getting the offset of table cells with borders in mozilla. -- Brandon Aaron On 8/17/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Sean Catchpole
On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > $(...).onclick().toggle().end(); I really like this idea John. ~Sean

[jQuery] Re: Fading element opacity problem using Interface FX!!!

2007-08-17 Thread Joan Piedra
Hey Nazgulled, I got the same problem a while ago, dunno how but I did fixed it. Maybe you could take a look at the site and see if it can helps you. http://www.justaquit.com/ Cheers, On 8/6/07, Nazgulled <[EMAIL PROTECTED]> wrote: > > > Anyway, I'm not going to use this effect because stupid IE7

[jQuery] TableSorter Set Column Sorter to false

2007-08-17 Thread Dan Vega
>From the docs I gather that I should be able to do the following: This should allow me to define the parser per column as well as to tell it that I do not want the edit column to be sortable. The parser definitions work fine but the sorter:false is not working. I want the edit column to be un-sor

[jQuery] Optimization Help

2007-08-17 Thread TigeRyan
Someone want to help trim this function down some? What it does is take a list of checkboxes and if someone selects "ALL" it turns off all the other boxes and checks, if someone selects any other box it turns off "ALL" and allows the others to light up. $('[EMAIL PROTECTED]').click(function() {

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Matt Kruse
On Aug 17, 12:32 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > a) scoping rules are different (more eval()-like, no lexical scoping) > for Function, as opposed to lexical scoping for anonymous functions. Exactly, which is the caveat I put in my original post. This does have an advantage, though,

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Matt Kruse
On Aug 17, 11:50 am, "John Resig" <[EMAIL PROTECTED]> wrote: > However, I'm currently leaning away from it (embedding code in strings > is messy) in favor of another solution that I'm working on: > $(...).onclick().toggle().end(); > Removing the need for anonymous functions entirely. Only if your

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Potluri
sorry that a typo.. I know that rows contain colomns. My table already has multiple colomns. I just provided example to make you understand clearly. The main problem is looping forget abt the way table is right now. I want the optimal way to loop through the rows in table which works in both bro

[jQuery] Re: How to show Updating container

2007-08-17 Thread Potluri
So whats the alternative for this to work... there should be definitely a alternative... Stephan Beal-3 wrote: > > > On Aug 17, 6:36 pm, Potluri <[EMAIL PROTECTED]> wrote: >> function() >> { >> $("#rs_loading").show(); >> >> someFuncTORefine(); >> $("#rs_loading").hide(); >> } > ... >> I dont

[jQuery] Re: Totally new to this...

2007-08-17 Thread polyrhythmic
The first experiment is absolutely 100% achievable through jQuery. I know there is much progress being made in the updated Interface plugin (which includes Dragging) but I haven't seen any recent builds. Thickbox plugin will provide you with an image overlay popup, but only Interface (again) has

[jQuery] Re: How to show Updating container

2007-08-17 Thread Stephan Beal
On Aug 17, 6:36 pm, Potluri <[EMAIL PROTECTED]> wrote: > function() > { > $("#rs_loading").show(); > > someFuncTORefine(); > $("#rs_loading").hide(); > } ... > I dont know where it's breaking it rs_loading container is shown after the > someFuncTORefine() is executed. So it appears once the refine

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-17 Thread Andy Matthews
That's not true at all. I've got a JS file that allows for live previews. The JS file is attached, and here's the code needed to trigger it: I can't say that it works on all computers, but I've never once had a client say that it didn't work. _ From: jquery-en@googlegroups

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-17 Thread Aaron Scott
> For me, I like having the opacity setting in the CSS, so i set it > there and set "display:none". Then I use fadeIn instead of fadeTo. > Not a solution, but a possible alternative. I'm sure someone else > will have a real solution. > The problem with fadeIn is that it brings the element to 10

[jQuery] Re: flicker on tooltips fix ?

2007-08-17 Thread alexfoxy
I don't think that's why that happens? It's because when you hover over the tooltip, you are no longer hovering on the icon, so the tooltip disappears. but as it disappears you are then hovering over the icon again, thus the tooltip appears again.. rinse and repeat, hence the flickering? Al

[jQuery] Focus Disappears After Effect Ends

2007-08-17 Thread Cliff Spence
I have a login box that slides down when the 'login' link is clicked. It also is set to automatically focus on the first input in the login box when it slides down. The problem is that the focus only happens for a brief second until the toggle effect is complete. Then the focus is gone. Here's

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Stephan Beal
On Aug 17, 7:36 pm, Potluri <[EMAIL PROTECTED]> wrote: > > > a1 > a2 > a3 > a4 > > This isn't legal HTML. TR elements can only contain TD elements, not text. Try replacing each row with: a1

[jQuery] Re: flicker on tooltips fix ?

2007-08-17 Thread Stephan Beal
alexfoxy wrote: > The problem occurs when you hover over both tooltip and icon > underneath, it begins to flicker. > I know why this happens, but I don't know how to solve it. If you mean the quickly toggling on and off when your mouse is near the right side of the item, this happens because the

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-17 Thread Joan Piedra
Hey Mario, I had the same idea some time ago, but after trying some workarounds and reading a lot of browser docs I noticed this was an horrible and really bad practice in web development. So we actually can't make an "image preview" before sending data to the server. We will have to stick to the

[jQuery] problem with selector in IE

2007-08-17 Thread Potluri
Hi, I face this selector problem only in IE(that sucks). What I'm trying to do is select rows of a table by looping through them like I've table with id srTable as a1 a2 a3 a4 I'm trying to loop through rows of table as $("> tbody:first>tr","#srTable").each (function() { alert("vj

[jQuery] Re: fadeTo fades up in Safari and FF, down in IE

2007-08-17 Thread Justin Sepulveda
Yah I had an issue with this as well. I use a work around. For me, I like having the opacity setting in the CSS, so i set it there and set "display:none". Then I use fadeIn instead of fadeTo. Not a solution, but a possible alternative. I'm sure someone else will have a real solution. On Aug 17

[jQuery] "jQuery is not defined" in line 1400 in 1.3.1.1

2007-08-17 Thread R. Rajesh Jeba Anbiah
""jQuery is not defined" in line 1400" Now and then, I'm getting this error in FF. The line is: // Clean up added properties in IE to prevent memory leak if (jQuery.browser.msie) Is it a known issue or am I mistaken? TIA -- Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:49 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > According to the rhino book: ... One more follow-up here and i'll shut up: Also according to the rhino book: "The Function() constructor parses the function body and creates a new function object each time it is called. ... By contra

[jQuery] flicker on tooltips fix ?

2007-08-17 Thread alexfoxy
On a website I am making I'm having a problem with some tooltips. If you have a look ( http://www.rockbandlogo.com/test_index.html ), you'll see three icons, which when you hover over them you'll get a tooltip type pop up. The problem occurs when you hover over both tooltip and icon underneath,

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Jonathan Sharp
On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > > > I've thought of this, as well. I also wanted to add a hook to allow: > > $(...).click(".toggle()") > > However, I'm currently leaning away from it (embedding code in strings > is messy) in favor of another solution that I'm working on: > > $(.

[jQuery] How to show Updating container

2007-08-17 Thread Potluri
Hi, I have a problem like when checkbox is clicked it refines the rows of table and then finally shows only those results which for which checkboxes are checked. My problem is until the refinement is done it should show some pop_up container to appear and then hide as soon as refinement is compl

[jQuery] fadeTo fades up in Safari and FF, down in IE

2007-08-17 Thread Aaron Scott
I have an element with this style associated with it: filter:alpha(opacity=0); -moz-opacity: 0; opacity: 0; Now, I fade it in: $(object).fadeTo(1000, 0.8); In FF and Safari, this results in the object fading from 0% to 80% opacity. But in IE, it makes the object pop in

[jQuery] Re: Select 2 types of elements

2007-08-17 Thread John Resig
$("input, select") to select them both --John On 8/17/07, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > > Hi, I did not find in doc, can I select 2 types of elements in only one > instruction? > > My purpose is to capture values from input and select elements in a form > to serialize it.

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:42 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > function f(a,b,c) { ... } > var f1 = f; > var f2 = new Function("..."); > > f1(1,2,3); > f2(1,2,3); // this won't work My mistake: f2(1,2,3) WILL work, but you must still pass the proper number of arguments to the Function constructor,

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread John Resig
I've thought of this, as well. I also wanted to add a hook to allow: $(...).click(".toggle()") However, I'm currently leaning away from it (embedding code in strings is messy) in favor of another solution that I'm working on: $(...).onclick().toggle().end(); Removing the need for anonymous fun

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:33 pm, Matt Kruse <[EMAIL PROTECTED]> wrote: > On Aug 17, 11:11 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > > i think this would be counter-intuitive. If i pass a string to a > > function and know that it will be executed, i would expect the string > > to be eval()'d, not run in a F

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:25 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > the base code. I think slamming ideas is a bad practice. It might not make > it into the code, but all ideas should have the benefit of the doubt that > the suggestion is thoughtful. Saying "i personally see no benefit" is a statemen

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Matt Kruse
On Aug 17, 11:11 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > People who are unwilling to become comfortable with the language > they're working in (e.g., by using its available features, such as > anonymous functions) shouldn't be working in the language. Perhaps. I'm comfortable with the langu

[jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names

2007-08-17 Thread Andy Matthews
Then by all means...have at it. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Friday, August 17, 2007 10:56 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Glen Lipka
I cant comment on the merits of the technical aspects, but I do appreciate Matt's desire to simplify and to suggest possible alternatives. This isn't a "love-it-or-leave-it" community. We actively discuss ideas for changing the base code. I think slamming ideas is a bad practice. It might not m

[jQuery] Re: jCarousel Lite - version 1.0

2007-08-17 Thread [EMAIL PROTECTED]
Hi Ganeshji, Thanks for your plugin. Its easy to use, and the true circular function is a great benefit! I am utilizing your plugin in the design for a food company website: http://www.comittechnologies.com/designs/brucefoods/test.html You can see the carousel on the left side, where the logo

[jQuery] Autocomplete problem

2007-08-17 Thread ars_oguz
Hi, I have a textarea and i will write news related to mobile phones in it. But i want each phone must match the name in my database and be a link to its description page like journal form in last.fm In order to do this autocomplete should start to search whenever i type [phone] and when i find t

[jQuery] Select 2 types of elements

2007-08-17 Thread Giovanni Battista Lenoci
Hi, I did not find in doc, can I select 2 types of elements in only one instruction? My purpose is to capture values from input and select elements in a form to serialize it. Thank you

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 5:51 pm, Matt Kruse <[EMAIL PROTECTED]> wrote: > Assigning event functions like click() require an anonymous function > for what is often a very small snippet of code. These anonymous > functions are confusing to inexperienced javascript coders and make > the code less readable, IMO. P

[jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names

2007-08-17 Thread John Resig
> The only concern I have is that this could be yet another mysterious method > that someone might not know what it does. Will it work just lke javascript's > slice method? Yes, of course - that's the only reason why I'm making this change. --John

[jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names

2007-08-17 Thread Andy Matthews
The only concern I have is that this could be yet another mysterious method that someone might not know what it does. Will it work just lke javascript's slice method? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Friday, August 17, 2007

[jQuery] Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Matt Kruse
Assigning event functions like click() require an anonymous function for what is often a very small snippet of code. These anonymous functions are confusing to inexperienced javascript coders and make the code less readable, IMO. I think it would be great to be able to pass a string to these func

[jQuery] Re: Question about event.StopPropagation()

2007-08-17 Thread Mike Alsup
Look at all the "Learn More" links on the main page. There is some good stuff. Maybe not exactly what you're looking for, but there is some useful info. > Have you looked at the "documentation"? They have a one page FAQ, > console reference, keyboard reference and jQuery Lite. I dont see > an

[jQuery] Re: Question about event.StopPropagation()

2007-08-17 Thread Mitch
I found something http://www.evotech.net/blog/2007/06/introduction-to-firebug/ On Aug 17, 7:22 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > I wish Firebug had some documentation. > > It does. http://getfirebug.com/

[jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names

2007-08-17 Thread Benjamin Sterling
I like that, I like that alot! On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote: > > > > I'm all in favor of removing gt/lt/eq in favor of the selector version > > with filter. > > That was the original goal, but I actually decided to introduce an > array method into jQuery to solve that problem:

[jQuery] Re: Question about event.StopPropagation()

2007-08-17 Thread Mitch
Have you looked at the "documentation"? They have a one page FAQ, console reference, keyboard reference and jQuery Lite. I dont see anything like "how to use Firebug to debug". http://getfirebug.com/docs.html Maybe there is another link to a tutorial? On Aug 17, 7:22 am, "Mike Alsup" <[EMAIL P

[jQuery] Re: columnize large text ...

2007-08-17 Thread duma
Oh, that's very interesting! Thank you, Xavier! Hum... maybe I will have a jQuery-only version after all! ;-) Sean xavier dutoit wrote: > > > Looks promising... > > >> Other feature ideas I find interesting are: >> - Allowing users to specify the height of their element, or the columns,

[jQuery] Re: columnize large text ...

2007-08-17 Thread xavier
Looks promising... > Other feature ideas I find interesting are: > - Allowing users to specify the height of their element, or the columns, and > then paginate the text (I'd include links/buttons that allow you to page > through the text). This would be good so that your columns don't get so >

  1   2   >