[jQuery] Re: Best way to select a cell in a table?

2007-08-03 Thread Karl Swedberg
On Aug 4, 2007, at 12:20 AM, Ganeshji Marwaha wrote: ha ha, u got me... :-) but, why is that so? aren't there 3 td's each in a "tr" representing index 2? Yes, there are three td's, each representing index 2, but only within their respective context. When you have $("tr:eq(1), td:eq(2)"

[jQuery] stop animation

2007-08-03 Thread Ganeshji Marwaha
hi friends, is there a way to stop an animation after it has started? any hack that will make this happen will be useful... thanks in advance, -GTG

[jQuery] Re: Best way to select a cell in a table?

2007-08-03 Thread Ganeshji Marwaha
ha ha, u got me... but, why is that so? aren't there 3 td's each in a "tr" representing index 2? -GTG On 8/3/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > On Aug 3, 2007, at 6:15 PM, Ganeshji Marwaha wrote: > > I don't think ur selector is right for selecting the 2nd row, 3rd column. > It m

[jQuery] Re: Resig's Accordion Lite

2007-08-03 Thread Dan G. Switzer, II
Mitchell, >Hi John > >I set up your menu so its as close to the one from Adobe as I could, given >my meager knowledgebase. > >Adobe >http://www.whatbird.com/wwwroot/Components/Accordion%20Menu.html > >Resig >http://www.whatbird.com/wwwroot/Components/Accordion%20Menu_Resig.html > >There are two t

[jQuery] Re: Best way to select a cell in a table?

2007-08-03 Thread Karl Swedberg
On Aug 3, 2007, at 6:15 PM, Ganeshji Marwaha wrote: I don't think ur selector is right for selecting the 2nd row, 3rd column. It most probably is returning you more elements depending on the number of rows u have. Eg: if you have 3 rows in your table, then it should return, 1 tr and 3 td's

[jQuery] Re: jquery.flickr + reflection

2007-08-03 Thread Daniel MacDonald
try #gallery ul {list-style:none;} #gallery li {display:inline;padding:2px;} in your css. On Aug 3, 9:21 am, b0bd0gz <[EMAIL PROTECTED]> wrote: > Awesome that did the trick, the reflection is applied every time now > :jumping:. Still having no luck in getting the thumbnails to display inline >

[jQuery] Re: Split list digests for the mainlist

2007-08-03 Thread Olivier Percebois-Garve
Use thunderbird or another email client and sort your emails by thread. With that you'll be able to concentrate only on what is interesting you. David Duymelinck wrote: Hello, I think it's a good idea there are split lists but is it somehow possible to inject good ideas or decisions made in

[jQuery] Re: How to read value of a file input field?

2007-08-03 Thread Michael Geary
> From: Alex Ezell > > This is not possible because the image will not yet be on your server. > The browser will have no access to display an image local to > the user's machine within a web page. Silly me, you are right. I was thinking you could use the file: URL in the IMG tag, but that won't

[jQuery] Re: How to read value of a file input field?

2007-08-03 Thread Michael Geary
> I just found the jQuery group and joined. I absolutely jQuery > after discovering the Thickbox. I need some help with this > task. I have an asp.net page for uploading photos. I want to > show a preview of the image once i have browsed for and > selected the image using the file input. How c

[jQuery] Re: How to read value of a file input field?

2007-08-03 Thread Alex Ezell
This is not possible because the image will not yet be on your server. The browser will have no access to display an image local to the user's machine within a web page. You could maybe start uploading it as soon as they select it, then use Ajax to update the div once the upload is done. Maybe it

[jQuery] How to read value of a file input field?

2007-08-03 Thread LSUDVM
Hi I just found the jQuery group and joined. I absolutely jQuery after discovering the Thickbox. I need some help with this task. I have an asp.net page for uploading photos. I want to show a preview of the image once i have browsed for and selected the image using the file input. How can get the

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread John Resig
They'll be deprecated in 1.1.4, removed in 1.2. --John On 8/3/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > > > josh, how is that maintaining backwards compatibility? > > I assume that you will still be able to use the old selectors, but the > underlying method that processes them will be di

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
> josh, how is that maintaining backwards compatibility? I assume that you will still be able to use the old selectors, but the underlying method that processes them will be different - thus they will be "deprecated". Is that not correct jQuery gurus? -- Josh

[jQuery] Re: Importing New CSS

2007-08-03 Thread Glen Lipka
I have an example of how to do that here. http://www.commadot.com/jquery/slideMenu/ Also, you may be interested in the behavior plugin. It listens for dom changes and will rebind clicks, and other events when something shows up, so you dont need to redo that sort of thing. Glen On 8/3/07, [EMAI

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Richard D. Worth
On 8/3/07, Frank <[EMAIL PROTECTED]> wrote: > > > Was I misinformed or is the is(); used only with CSS? If not, > is("click"); should evaluate when click() is clicked. > > Frank > > I don't know that "used only with CSS" is the way I'd put it, but you're on the right track. The is(expr) function a

[jQuery] plugin tabs and form

2007-08-03 Thread Aysseline
Hi, I installed this plugin (stilbuero.de) and I got a problem that I can't resolve: I have a form in my third tab an when I click on submit the page reload but go to the first tab. How I can stay on the same tab ? I try this (but I really not a coder !) and it doesn't work: $("form")[2].submi

[jQuery] Re: can jquery handle onclick with mouseover

2007-08-03 Thread Michael Geary
Frank, is the missing close brace a typo in the post, or is it missing in your code too? (Thanks to Komodo [1] for marking the syntax error with a squiggly red underline.) Also, what is $(this) == "click" supposed to do? That creates a jQuery object and compares it with a string, which will alwa

[jQuery] Importing New CSS

2007-08-03 Thread [EMAIL PROTECTED]
Hello, I am trying to create new CSS Selectors from the results of an Ajax call. The server returns the string: --- fielset{ border } legend{ some values... } --- Can I append this to my document? Can I replace existing values? W

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
josh, how is that maintaining backwards compatibility? -GTG On 8/3/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > > > Selectors are staying, the methods are going. > > Ah yes, that's the way to maintain backwards compatibility. > > > - Original Message - > From: "John Resig" <[EMAIL PR

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
Selectors are staying, the methods are going. Ah yes, that's the way to maintain backwards compatibility. - Original Message - From: "John Resig" <[EMAIL PROTECTED]> To: Sent: Friday, August 03, 2007 3:29 PM Subject: [jQuery] Re: :eq vs :nth? --John On 8/3/07, Ganeshji Marwa

[jQuery] can jquery handle onclick with mouseover

2007-08-03 Thread Frank
Can jquery handle mouseover, mouseout and onclick in one function. I need a mouseover to change the image. I need to keep the image if the image is clicked, and not, if the image is not clicked. I need to clear the function if another image is clicked. I have tried this code structure but no s

[jQuery] animate navigation effect

2007-08-03 Thread adrianmak
Is it possible to make the animate navigation by jquery like below site http://www.cyberexpert.com.hk

[jQuery] Re: jQuery slowdowns on consecutive calls

2007-08-03 Thread Ganeshji Marwaha
In your attachBehavior method, u r attaching the click event every time. This means that during each run, the same handler is run multiple times. That is what is causing ur problem. Attach the click() event only once, and u should see consistent results. -GTG On 8/2/07, offwhite <[EMAIL PROTECTED

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
thanks. -GTG On 8/3/07, John Resig <[EMAIL PROTECTED]> wrote: > > > Selectors are staying, the methods are going. > > --John > > On 8/3/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > > quick question... are the :eq() etal... selectors gonna stay? or are > they > > going to be removed as well.

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread John Resig
Selectors are staying, the methods are going. --John On 8/3/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > quick question... are the :eq() etal... selectors gonna stay? or are they > going to be removed as well. > > > -GTG > > On 8/3/07, John Resig < [EMAIL PROTECTED]> wrote: > > > > Well, it

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
> quick question... are the :eq() etal... selectors gonna stay? or are they > going to be removed as well. They would have to be left in the API for backwards compatibility, correct? Or would they become private methods only? -- Josh - Original Message - From: Ganeshji Marwaha

[jQuery] Re: BlockUI fade out - Possible to disable for some instances?

2007-08-03 Thread Mike Alsup
Ok, it's fixed now! v1.31 is what you want. http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js Mike On 8/3/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > Maggi, > > I just realized that I don't have this implemented correctly. I'll > post an updated version when I have i

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
quick question... are the :eq() etal... selectors gonna stay? or are they going to be removed as well. -GTG On 8/3/07, John Resig <[EMAIL PROTECTED]> wrote: > > > Well, it should be noted that we're remove .lt() .gt() and .eq() in > favor of a new .slice() method, which will be able to produce >

[jQuery] Re: Best way to select a cell in a table?

2007-08-03 Thread Ganeshji Marwaha
oh ok... i guess, that is a good solution overall. I would use that. I don't know what other prefer though. But, i wouldn't give ids to each and every cell in the table just for the purpose of selection. it increases markup size. -GTG On 8/3/07, Matt Penner <[EMAIL PROTECTED]> wrote: > > You're

[jQuery] Best way to select a cell in a table?

2007-08-03 Thread Matt Penner
You're right GTG. I found this out quickly after my post. I'm using the following: $('tr:eq(2) td:eq(3)') which seems to get exactly the one cell I'm looking for. Just for sake of argument this is a very simple example. I use variables in my code and I have only one table on the page. If I had

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
cool, i will keep an eye on that -GTG On 8/3/07, John Resig <[EMAIL PROTECTED]> wrote: > > > Well, it should be noted that we're remove .lt() .gt() and .eq() in > favor of a new .slice() method, which will be able to produce > identical results (and even better). > > --John > > On 8/3/07, Ganesh

[jQuery] :eq vs :nth?

2007-08-03 Thread Matt Penner
Ah, thanks for that. I'll check the code next time. Matt From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Friday, August 03, 2007 2:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: :eq vs :nth? They're t

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread John Resig
Well, it should be noted that we're remove .lt() .gt() and .eq() in favor of a new .slice() method, which will be able to produce identical results (and even better). --John On 8/3/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > i agree, but i saw hasClass() in the roadMap for 1.2. > So, i th

[jQuery] Re: Best way to select a cell in a table?

2007-08-03 Thread Ganeshji Marwaha
I don't think ur selector is right for selecting the 2nd row, 3rd column. It most probably is returning you more elements depending on the number of rows u have. Eg: if you have 3 rows in your table, then it should return, 1 tr and 3 td's each representing the 3rd column in every row. I would use

[jQuery] Re: Unable to replicate what seems like a simple element via jQuery

2007-08-03 Thread John Resig
Do you have a page using the jQuery code? It's a little bit hard to tell from the example. Right now, the only thing that seems strange is .removeAttr("style"), but it's hard to say without seeing it in action. --John On 8/3/07, Jim Newfer <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > > Aft

[jQuery] Re: jCarouselLite problem

2007-08-03 Thread Ganeshji Marwaha
i think, u might not be specifying the attributes width and height for the images within the carousel. Try, specifying width and height attributes and lemme know if it works. -GTG On 8/3/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: > > > Hi folks/Ganeshji > > I'm having trouble getting jCaroselLit

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
i agree, but i saw hasClass() in the roadMap for 1.2. So, i thought you were adding some convenience methods. So thought i would give my .02 coz, this sometimes had a tendency to increase my code and decrease legibility with a lot of .lt(var + 1) and .gt(var - 1). I, in particular don't have a pro

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread John Resig
Probably not since :le(3) is the same thing as :lt(4). --John On 8/3/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > meantime, is there any possibility to add le() and ge() (for lesser than or > equal to and greater than or equal to). > I am under the assumption it is not already there. > > -G

[jQuery] Re: jCarousel question

2007-08-03 Thread Ganeshji Marwaha
are u using jcarousellite , or jcarousel . Can you post a test page somewhere so we can take a look? -GTG On 8/3/07, Fasita <[EMAIL PROTECTED]> wrote: > > > Hi, quick question about jCarousel: > > I have 3

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Klaus Hartl
Ganeshji Marwaha wrote: meantime, is there any possibility to add le() and ge() (for lesser than or equal to and greater than or equal to). I am under the assumption it is not already there. these are gt() and lt() --Klaus

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Ganeshji Marwaha
meantime, is there any possibility to add le() and ge() (for lesser than or equal to and greater than or equal to). I am under the assumption it is not already there. -GTG On 8/3/07, John Resig <[EMAIL PROTECTED]> wrote: > > > Huh... I should probably nuke :nth(). > > --John > > On 8/3/07, Karl S

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread John Resig
Huh... I should probably nuke :nth(). --John On 8/3/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > They're the same, so you can use whichever you prefer. > > From jquery.js: > > nth: "m[3]-0==i", > eq: "m[3]-0==i", > > > > --Karl > _ > Karl Swedberg > www.englishrules.com > www

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Karl Swedberg
They're the same, so you can use whichever you prefer. From jquery.js: nth: "m[3]-0==i", eq: "m[3]-0==i", --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 3, 2007, at 4:51 PM, Matt Penner wrote: I've

[jQuery] Re: annoying newbie

2007-08-03 Thread Josh Nathanson
I haven't done it, but isn't the modal window just a div on the parent page? I would think you could add a function in the onHide callback that would select the appropriate modal window field and then populate your parent window field with the value. Not tested, but something like this should

[jQuery] Unable to replicate what seems like a simple element via jQuery

2007-08-03 Thread Jim Newfer
Hello everyone, After spending quite some time trying to figure this out, I have resorted to asking for help because after trying what seems like everything, I have yet to find a solution. So maybe someone could help me out/point me in the right direction or offer some function names. I have tri

[jQuery] Best way to select a cell in a table?

2007-08-03 Thread Matt Penner
I have a table that represents a matrix with various columns and rows. I use AJAX/JSON to populate the various cells with data. Not every cell will contain an item of data and some may have more than one item. What's the best way to select a specific cell of the table? If I wanted the 2nd row 3

[jQuery] :eq vs :nth?

2007-08-03 Thread Matt Penner
I've searched the groups but I can't seem to find any related talk on this. What, if any, is the difference between using :eq(n) and :nth(n)? I'd like to know before I start standardizing on one or the other. Thanks, Matt Penner

[jQuery] annoying newbie

2007-08-03 Thread jsmart
I have read through the site, and fear I am asking in the wrong place. If I am, please accept my sincear apologies. I use the modal pop up in many situations - it is fantastic! I am forever indebted to the skills of the programmers, your skills make me look clever! I am trying to have the pop-up

[jQuery] Re: Coldfusion 8 / Javascript image cropper

2007-08-03 Thread cfdvlpr
That is an awesome tag and thanks for leading me to it... On Aug 2, 6:07 pm, Andy Matthews <[EMAIL PROTECTED]> wrote: > This demo uses Prototype and Scriptaculous, but there's no reason that > it shouldn't be able to use jQuery: > > http://cfsilence.com/blog/client/index.cfm/2007/8/2/Introducing-

[jQuery] Re: forcing string literals

2007-08-03 Thread Todd Harris
Aha! Much thanks, Klaus! On Aug 3, 1:38 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Todd Harris wrote: > > Hi all - > > > I have a JSON response with a parameter like > > > count: 0; > > > But if I try appending this value in a chained command, jQuery > > interprets this as false and not a stri

[jQuery] Re: Help with dblclick

2007-08-03 Thread Terry B
i made it even more simply... sry, took forever for the post to actually post... $t("#event_" + i).dblclick(function () {eventDoubleClick(this)}); } just send the object On Aug 3, 4:03 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > > From: Terry B > > > I have a bunch of events and I l

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Frank
Was I misinformed or is the is(); used only with CSS? If not, is("click"); should evaluate when click() is clicked. Frank On Aug 3, 2:12 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Pete wrote: > > I guess I'm still not getting "else" out of this. I thought I had it > > figured out > > > I thi

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-03 Thread LKK
I'm also interested in this effect - you can take a look at my first rough code mockup: http://www.kaaeklausen.dk/jquery_test/ the hover effect is by no means perfect (it works best in the latest build of the webkit engine - if you use another browser your mileage may vary), but maybe you or oth

[jQuery] "Eloquent JavaScript" hyper-book

2007-08-03 Thread Sean O
Hi, Just wanted pass along a site I just came across that is a well-done "hyper-book" titled Eloquent JavaScript. It covers everything from basic variables, strings, etc. to DOM, regular expressions and OOP. As the author states, it's aimed at the beginner JavaScript programmer, but experienc

[jQuery] Re: Hover accordion (as on apple.com)

2007-08-03 Thread Dragan Krstic
I added some styling to inverted accordion and changed functionality a little bit. Now there's no need hoverIntent plugin. Still there's some styling issues in IE6 It can be found on: http://www.bydot.net/hoveracc/hoveracc_4.htm @John Why callback in animation method doesn't work when using "step

[jQuery] Re: Resig's Accordion Lite

2007-08-03 Thread Dragan Krstic
In my inverted hover, I copy-pasted easing function from Interface. 2007/8/3, Mitchell Waite <[EMAIL PROTECTED]>: > > Hi John > > > > I set up your menu so its as close to the one from Adobe as I could, given > my meager knowledgebase. > > > > Adobe > > http://www.whatbird.com/wwwroot/Components/

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-03 Thread Rey Bango
Go, go, go Ganeshji!!! Ganeshji Marwaha wrote: i am working on something like that... if i get lucky and find some free time out this weekend, you can probably see an alpha version by monday or tuesday. -GTG On 8/3/07, * Ty* <[EMAIL PROTECTED] > wrote: Anyone

[jQuery] Re: Help with dblclick

2007-08-03 Thread Michael Geary
> From: Terry B > > I have a bunch of events and I loop through them. I would > like to create a double-click effect so that I call function > "eventDoubleClick" but I want that event to pass its index value, as > such: > > for (i=0, i { > $t("#event_" + i).dblclick(function () {eventDoub

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-03 Thread Ty
Wow OK I hadn't realized the thumbnails swap out when a main menu item is hovered. I thought maybe they were just set to cycle on intervals. On Aug 3, 3:00 pm, Ty <[EMAIL PROTECTED]> wrote: > Anyone have any idea how to do something like this in jQuery, I think > it's built using mooTools, that's

[jQuery] Re: forcing string literals

2007-08-03 Thread Klaus Hartl
Todd Harris wrote: Hi all - I have a JSON response with a parameter like count: 0; But if I try appending this value in a chained command, jQuery interprets this as false and not a string literal. eg $("counts_col").append(json.count); Is there a trick to making 0 a string literal and not a

[jQuery] forcing string literals

2007-08-03 Thread Todd Harris
Hi all - I have a JSON response with a parameter like count: 0; But if I try appending this value in a chained command, jQuery interprets this as false and not a string literal. eg $("counts_col").append(json.count); Is there a trick to making 0 a string literal and not a boolean false? eval

[jQuery] Help with dblclick

2007-08-03 Thread Terry B
I have a bunch of events and I loop through them. I would like to create a double-click effect so that I call function "eventDoubleClick" but I want that event to pass its index value, as such: for (i=0, ihttp://www.userfriendly.org :P ) Thanks ~Terry

[jQuery] Scrolling a div area without scrolling the page?

2007-08-03 Thread [EMAIL PROTECTED]
Hi, I don't know if jquery will be able to address this but I thought I would try anyway. Is there a way to scroll a div area (which has an overflow:auto) to an anchor point within the div without scrolling the page (i.e., the page should remain stationary)? I've coded a basic html example at h

[jQuery] Coder vs Designer?

2007-08-03 Thread Matt Penner
Good catch Klaus & Christof. I am a coder and relatively new to CSS. I do have a little tenancy towards classitis which I am trying to cure myself of. Thanks for the good suggestions! Matt -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christo

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-03 Thread Ganeshji Marwaha
i am working on something like that... if i get lucky and find some free time out this weekend, you can probably see an alpha version by monday or tuesday. -GTG On 8/3/07, Ty <[EMAIL PROTECTED]> wrote: > > > Anyone have any idea how to do something like this in jQuery, I think > it's built using

[jQuery] Resig's Accordion Lite

2007-08-03 Thread Mitchell Waite
Hi John I set up your menu so its as close to the one from Adobe as I could, given my meager knowledgebase. Adobe http://www.whatbird.com/wwwroot/Components/Accordion%20Menu.html Resig http://www.whatbird.com/wwwroot/Components/Accordion%20Menu_Resig.html There are two things miss

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
gotcha - thanks -GTG On 8/3/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Ganeshji Marwaha wrote: > > klaus, how did u use timeout to prevent IE or Opera from firing change > > events... > > > > Or, did u mean that, to achieve cross-browser consistency, u didn't > > listen for change events, r

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Klaus Hartl
Pete wrote: I guess I'm still not getting "else" out of this. I thought I had it figured out I think what's confusing to me as a n00b is that "if" does not seem to be closed. How would I accomplish an else condition? I highly recommend to make yourself familiar with JavaScript control str

[jQuery] SevenMagOnline.com Feature blocks

2007-08-03 Thread Ty
Anyone have any idea how to do something like this in jQuery, I think it's built using mooTools, that's in the js calls anyways... http://www.sevenmagonline.com/ The 4-thumbnail blocks on the homepage just beneath the large flash movie of features, that click and expand on mouseover. The click the

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Klaus Hartl
Ganeshji Marwaha wrote: klaus, how did u use timeout to prevent IE or Opera from firing change events... Or, did u mean that, to achieve cross-browser consistency, u didn't listen for change events, rather chose to poll the select on an interval? I'm simply delaying the handler being execu

[jQuery] jCarousel question

2007-08-03 Thread Fasita
Hi, quick question about jCarousel: I have 3 items in the carousel, showing only one at a time. What I'm trying to accomplish is have the middle item showing on start, so you can scroll one item left or right. When I set the 'start: 2' option, it does start on the middle item, but when scrolling

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Pete
PERFECT! That helps me out quite a bit since I didn't really know the syntax on JQuery conditional statements. On Aug 3, 10:26 am, spinnach <[EMAIL PROTECTED]> wrote: > try it like this, .is() returns true or false so you have to use it in > an if statement: > > $("a.saveConfig").click(function(

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Pete
Sorry... I figured it out fairly easily. Still learning over here. Thanks for the help! On Aug 3, 10:57 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Yes, is() method returns true/false. This is one of the few methods which > doesnt return a jquery object because it makes more sense to re

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Pete
I'm still confused about one thing though. How does the else portion work? Sorry for being such a noob, but I haven't been able to find the syntax using "IS" as an if statment through Jquery. On Aug 3, 10:57 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Yes, is() method returns true/fal

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Pete
I guess I'm still not getting "else" out of this. I thought I had it figured out I think what's confusing to me as a n00b is that "if" does not seem to be closed. How would I accomplish an else condition? On Aug 3, 11:27 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Pete wrote: > > I'm trying t

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Klaus Hartl
Pete wrote: I'm trying to create a link that when clicked will produce an alert if there are any visible divs (all .detail divs are hidden by default). I have the following function but it doesn't seem I'm doing it correctly; nothing happens regardless of the visibility status of the divs. $("a

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Klaus Hartl
Ganeshji Marwaha wrote: i guess, as others have said, the browser will fire change events only when the select box loses focus for keyboard navigation. But don't code for this feature making that assumption, as i don't think this behavior is the same across all browsers. Either IE or FF (i can

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
klaus, how did u use timeout to prevent IE or Opera from firing change events... Or, did u mean that, to achieve cross-browser consistency, u didn't listen for change events, rather chose to poll the select on an interval? -GTG On 8/3/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Ganeshji Ma

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
i guess, as others have said, the browser will fire change events only when the select box loses focus for keyboard navigation. But don't code for this feature making that assumption, as i don't think this behavior is the same across all browsers. Either IE or FF (i can't remember which) fires chan

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread Ganeshji Marwaha
Yes, is() method returns true/false. This is one of the few methods which doesnt return a jquery object because it makes more sense to return boolean. -GTG On 8/3/07, spinnach <[EMAIL PROTECTED]> wrote: > > > try it like this, .is() returns true or false so you have to use it in > an if statemen

[jQuery] Re: Superfish, Click no Hover

2007-08-03 Thread Joel Birch
Hi Kristin, It's a silly hour in Australia and I'm not really awake, but I quickly changed this: $.fn.applyHovers = function(){ return this[($.fn.hoverIntent) ? 'hoverIntent' : 'hover'](over,out); }; ...to this: $.fn.applyHovers = function(){ if (o.useClick) {

[jQuery] Re: Two words for Jquery

2007-08-03 Thread Frank
Bravo jquery!! Frank On Aug 2, 2:10 am, David Duymelinck <[EMAIL PROTECTED]> wrote: > js ez > > -- David > > Geoffrey Knutzen schreef: > > > > > Remember, the two words must be less than a total of 20 characters > > (compressed) > > :) > > > -Original Message- > > From: jquery-en@googleg

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Jack Killpatrick
Ah, yes, I see that now. Works for me ;-) thx for pointing that out! Dan G. Switzer, II wrote: When the user has changed the value with the keyboard, it will fire the change event when it loses focus. (I think that's right..) Correct. The browsers won't fire the onchange event on a sel

[jQuery] Re: IS condition true like an if statement?

2007-08-03 Thread spinnach
try it like this, .is() returns true or false so you have to use it in an if statement: $("a.saveConfig").click(function() { if ($('div.detail').is(':visible')) alert('Hey this works'); }); dennis. Pete wrote: I'm trying to create a link that when clicked will produce an alert if there ar

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Dan G. Switzer, II
>When the user has changed the value with the keyboard, it will fire >the change event when it loses focus. (I think that's right..) Correct. The browsers won't fire the onchange event on a select element when you're using the keyboard until you're "finished" changing the value--which when usin

[jQuery] Image Rollover

2007-08-03 Thread Frank
Hi fellow members, I have to accomplish the following for same page side navigation: pseudo code: nav 1 - mouseout image1, mouseover image2 click image, fn(view div) css display:block shows text on same page if "click" show image 2 - if !click show image1 nav(n) the same as above If click nav

[jQuery] IS condition true like an if statement?

2007-08-03 Thread Pete
I'm trying to create a link that when clicked will produce an alert if there are any visible divs (all .detail divs are hidden by default). I have the following function but it doesn't seem I'm doing it correctly; nothing happens regardless of the visibility status of the divs. $("a.saveConfig").

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Collin Allen
When the user has changed the value with the keyboard, it will fire the change event when it loses focus. (I think that's right..) On Aug 3, 3:16 am, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > Hi, wondering if anyone knows why this might be happening: > > I've attached a .change event to a se

[jQuery] Superfish, Click no Hover

2007-08-03 Thread kristin
I'm trying to modify superfish to open when u click on the parent link, insead of when you hover over it, but I'm not having any luck. I'm not that great at js when it comes to writing it from scratch, but I can take what you give me and run with it. Any suggestions would be helpful. Thanks!

[jQuery] Re: Do you think jQuery's documentation is enought?

2007-08-03 Thread njsuperfreak
I would like it to list every built-in function like in (MySql), and make it searchable, with more real world examples. The problem I ran into lastnight is I was trying to load a ext JavaScript file, and I forgot the tutorial with the examples. I tried doing a search, and the result was kind of ga

[jQuery] Re: Show all?

2007-08-03 Thread Mitch
Well this turned out to be so easy to fix I would laugh, except I should have seen this a lot sooner. All you need to do is make sure each link shares a common class then use hide() to remove them all and show() to show the layer with the ID that was clicked. http://www.whatbird.com/wwwroot/Compo

[jQuery] Re: jquery.flickr + reflection

2007-08-03 Thread b0bd0gz
Awesome that did the trick, the reflection is applied every time now :jumping:. Still having no luck in getting the thumbnails to display inline though. Big THANKS for the help=) b0bd0gz -- View this message in context: http://www.nabble.com/jquery.flickr-%2B-reflection-tf4204797s15494.html#a

[jQuery] Re: jquery.flickr + reflection

2007-08-03 Thread Daniel MacDonald
addClass('reflect') is definitely running before the images are loading - the hazards of living in an AJAX world. setTimeout is a step in the right direction, but you really want to add you reflections after the response. There are a couple of options: the flickr plugin can accept a callback: set

[jQuery] Re: Find nested elements within a div

2007-08-03 Thread Karl Swedberg
Hi Jeff, The slash ( / ) in your selector expression is finding children only, not descendants. Use either a space or two slashes to find all descendants. Also, jQuery has a pseudo-selector for checkboxes, :checkbox. So you could do this ... $("#checkGroup//:checkbox") or this ..

[jQuery] Re: multiline string

2007-08-03 Thread Karl Swedberg
Another way you could do this with multiple lines would be to use .insertAfter() . Something like this maybe: $(') .append('sample') .insertAfter('p'); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 3, 2007, at 4:23 AM, Klaus Hartl

[jQuery] Re: radiobutton is checked?

2007-08-03 Thread David Duymelinck
$("input:radio:checked") should work too. -- David bytte schreef: Ok, sorry , should hae checked the documentation better. I found this to be the perfect answer to my question: $("[EMAIL PROTECTED]@checked]") On 3 aug, 15:03, bytte <[EMAIL PROTECTED]> wrote: How can I check with jQuer

[jQuery] Re: radiobutton is checked?

2007-08-03 Thread bytte
Ok, sorry , should hae checked the documentation better. I found this to be the perfect answer to my question: $("[EMAIL PROTECTED]@checked]") On 3 aug, 15:03, bytte <[EMAIL PROTECTED]> wrote: > How can I check with jQuery whether or not a radiobutton is checked?

[jQuery] radiobutton is checked?

2007-08-03 Thread bytte
How can I check with jQuery whether or not a radiobutton is checked?

[jQuery] Re: New to jQuery: Problem setting current time to some element

2007-08-03 Thread drainman
Hi! For me it works if i do like this: function displayDate(){ var date = new Date(); $("#dateandtime").text(""+date); } hope it helps /Jonas

[jQuery] Re: BlockUI fade out - Possible to disable for some instances?

2007-08-03 Thread Mike Alsup
Maggi, I just realized that I don't have this implemented correctly. I'll post an updated version when I have it fixed (probably tonight). Mike On 8/2/07, Maggi <[EMAIL PROTECTED]> wrote: > > Great, thanks alot Mike! > > On Aug 2, 9:01 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Hi Magnus

  1   2   >