[jQuery] Re: Turning a checkbox on and off

2007-08-06 Thread Klaus Hartl
Mitchell Waite wrote: Do you know of a good place to learn more about using “:” and all those other characters listed in the docs? http://docs.jquery.com/DOM/Traversing/Selectors http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#pseudo-classes --Klaus

[jQuery] Re: Turning a checkbox on and off

2007-08-06 Thread Erik Beeson
$('your_selector').removeAttr('checked') will also work, which personally seems more intuitive to me. --Erik On 8/5/07, Marshall Salinger [EMAIL PROTECTED] wrote: That is a strange find. I wouldn't have thought to test a different string outside of the html spec for setting it to checked. I

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Michael Schwarz [MVP]
And did anybody of you write a periodical updater that is using POST without having memory leak problems? Michael On Jul 25, 8:57 am, Michael Schwarz [MVP] [EMAIL PROTECTED] wrote: Hi, I'd like to create a periodical Ajax request with jQuery. What i have done is: $j.ajax({ type:

[jQuery] Re: Animate height from 0px to default w/o flicker

2007-08-06 Thread Kia
Can someone how an example of how to toggle the height, starting from height = 0px, without the box being visible for a few milliseconds. Thanks! I've only tried it in Firefox. I'm using this doctype: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN

[jQuery] Resize images with jQuery

2007-08-06 Thread LSUDVM
Hi, i can now read the values of the input file filed and set the img src to that value for a preview of the image prior to u pload. But what i need to do now is resize this large image when showing the preview prior to upload AND maintain aspect ratio. Possible? Ashok

[jQuery] Help

2007-08-06 Thread Muhammad Mohsin
How to send jquery $.get php varibles. i need to call ajax file with multivaribles how can i do it

[jQuery] Re: IE memory problem (still)

2007-08-06 Thread Michael Schwarz [MVP]
Any news about this topic? Michael On Jul 24, 1:37 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Thanks for the ticket Michael. Memory leaks are always a high priority. You should see a fix for this show up in SVN soon. -- Brandon Aaron On 7/24/07, Michael Schwarz [MVP] [EMAIL PROTECTED]

[jQuery] help on $.get

2007-08-06 Thread mohsin
how to pass multiple value from php to $.get in jQuery. i need to pass varibles from php to ajax file ...buti cann't find no way to do it.

[jQuery] Fisheye within Horizontal Scrolling Div - Breaks Cursor Location

2007-08-06 Thread Darin
Trying to use Fisheye JS within a horizontal scrolling widget. If the fisheye overflows (which I want) the cursor location calculated is incorrect. If I used a div element scollLeft() it would work. My question is, how do i incorporate the scollLeft() div element value into the code? Thanks

[jQuery] doubt about jQuery

2007-08-06 Thread Igo88
Hi...i am new to JavaScript but i have been reading a little...and i entered jQuery web page, and i have a some Doubts... 1) Is jQuery programming faster than traditional javaScript programming?? 2)Is jQuery available for the Client without downloading anything?... Thanks in advance

[jQuery] Click counter

2007-08-06 Thread ROME
Hi, I would like to know if someone try to make Click (link) conter in jQuery. * If user click to link, the jQuery would count the click in database. There is any solution?

[jQuery] Re: doubt about jQuery

2007-08-06 Thread Stephan Beal
On Aug 6, 5:30 am, Igo88 [EMAIL PROTECTED] wrote: Hi...i am new to JavaScript but i have been reading a little...and i entered jQuery web page, and i have a some Doubts... 1) Is jQuery programming faster than traditional javaScript programming?? It depends on what you are doing. If you are

[jQuery] Re: Help

2007-08-06 Thread Stephan Beal
On Aug 6, 12:27 pm, Muhammad Mohsin [EMAIL PROTECTED] wrote: How to send jquery $.get php varibles. i need to call ajax file with multivaribles how can i do it The documentation is your friend: http://docs.jquery.com/Ajax#.24.get.28_url.2C_params.2C_callback_.29

[jQuery] Re: help on $.get

2007-08-06 Thread Stephan Beal
On Aug 6, 12:41 pm, mohsin [EMAIL PROTECTED] wrote: how to pass multiple value from php to $.get in jQuery. i need to pass varibles from php to ajax file ...buti cann't find no way to do it. You can't pass variables from PHP to JavaScript. You can pass them from JS to PHP by making a GET or

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Stephan Beal
On Aug 6, 9:10 am, Michael Schwarz [MVP] [EMAIL PROTECTED] wrote: And did anybody of you write a periodical updater that is using POST without having memory leak problems? If i'm not mistaken, someone posted about this problem yesterday or the day before and posted a fix to the jQuery bug

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Stephan Beal
On Aug 6, 1:20 pm, Stephan Beal [EMAIL PROTECTED] wrote: If i'm not mistaken, someone posted about this problem yesterday or the day before and posted a fix to the jQuery bug database. i'm sorry, but i don't have the links available. Here's the bug link: http://dev.jquery.com/ticket/1463

[jQuery] Re: problem or unable to understand html(val) empty() function

2007-08-06 Thread Stephan Beal
On Aug 6, 7:45 am, Klaus Hartl [EMAIL PROTECTED] wrote: This is a typical case of running into unexpected results because of invalid HTML. A p element must not contain a list. What happens here is that a browser implicitly closes the paragraph before the list starts. Is there a more general

[jQuery] Re: problem or unable to understand html(val) empty() function

2007-08-06 Thread Klaus Hartl
Stephan Beal wrote: On Aug 6, 7:45 am, Klaus Hartl [EMAIL PROTECTED] wrote: This is a typical case of running into unexpected results because of invalid HTML. A p element must not contain a list. What happens here is that a browser implicitly closes the paragraph before the list starts. Is

[jQuery] Re: Turning a checkbox on and off

2007-08-06 Thread troycawley
On Aug 6, 5:40 am, Erik Beeson [EMAIL PROTECTED] wrote: $('your_selector').removeAttr('checked') will also work, which personally seems more intuitive to me. --Erik This, indeed seems more correct, as the w3c states: A switch is on when the control element's checked attribute is set... They

[jQuery] Finding the parent/context of dynmically executed script

2007-08-06 Thread Ryan
Hi all, I have the following file loaded by calling $.ajax divThis html is loaded dynamically script alert('Script executed from the loaded sample'); /script /div The script executes fine and the callback from $.ajax works. My issue is that I would like the loaded script to attach to the

[jQuery] Re: help on $.get

2007-08-06 Thread mohsin
thnx for ur help but that is hard coded values from jQuery. i need to pass values from php to jquery $.get function as i need them in ajax file called by $.get function. as we used before like this onclick=call_ajax('?=$userid?',?=$productid?) how can i do this with jQuery

[jQuery] Re: IE6 blockUI issue in combination with jQuery 1.1.3.1

2007-08-06 Thread Mike Alsup
Interesting. I can't explain that behavior, but I can offer a work-around: html head script type=text/javascript src=jquery.js/script script type=text/javascript src=jquery.blockUI.js/script script type=text/javascript $(function() { $('#id1 a').click(function() { $('#id1').block();

[jQuery] blockUI... I must be doing something wrong...

2007-08-06 Thread Christopher Jordan
Hi folks, I'm in need of some help. I'm using blockUI to display a small set of fields to the user along with two buttons, save and close. This little psuedo-form (it's not a true form) appears when the user clicks on a store from a list of stores that I'm displaying for them. It works great on

[jQuery] Re: Turning a checkbox on and off

2007-08-06 Thread John Resig
How do you check and uncheck a checkbox from jQuery? This is another item that is in the FAQ: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_check.2Funcheck_an_input.3F --John

[jQuery] Droppables into iframe

2007-08-06 Thread slart23
Hello, Wondering if anyone has ever considered this situation: I have a list of items on a page, and an iframe within that page. In the iframe I've implemented Sortables, and I want to drag items from my page's list into the iframe, and work with that Sortables implementation. Any ideas?

[jQuery] Re: IE6 blockUI issue in combination with jQuery 1.1.3.1

2007-08-06 Thread tazman
Hi Mike! Thank you for your reply. The reason why I didn't choose the unobtrusive way of doing this (like your suggestion) is that I have to use a Java framework that generates much of the HTML. However, in this case I think I can manage to use your work-around. Thanks again. BTW, this was

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Terry B
It would be nice to determine where this array is as I have noticed the same and would like to get it fixed in 1.1.2 as 1.1.3 really is not backwards compatible with all the plugins I use. ~Terry On Aug 6, 7:22 am, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 6, 1:20 pm, Stephan Beal [EMAIL

[jQuery] Complete jQuery documentation

2007-08-06 Thread __note
Is there complete jQuery documentation? I think about all functions using in jQuery even low-level, eg. function jQuery.inArray , jQuery.swap or jQuery.isXMLDoc. I know it's not useful for an ordinary user, but I'm trying write my own plugins and I think it will be useful. Sorry for my English ;)

[jQuery] Getting prev siblings

2007-08-06 Thread DaveG
Is there a way to get the previous sibling of a specific class in the DOM (a) at the same level as the start point, and (b) at lower levels? .prev appears to obtain the sibling *only* if it's the immediate sibling in the DOM. It doesn't return the first previous matching sibling as one might

[jQuery] Re: Complete jQuery documentation

2007-08-06 Thread John Resig
We generally don't document those functions intentionally - since they're not supported and will probably be changed, or possibly removed, at any point in the future. As a plugin developer, there's a good chance that you won't have to worry about those functions. --John On 8/6/07, __note [EMAIL

[jQuery] get _GET paramers from parent window in thickbox

2007-08-06 Thread amircx
hey im using thickbox and the problem is that once i open a modal window i cannot access to the GET parameters that i typed cause its diffrent url lets say the main page has www.bla.com/?blah=1b=2 then i open a thickbox - // a href=#

[jQuery] Re: blockUI... I must be doing something wrong...

2007-08-06 Thread Christopher Jordan
this didn't seem to post the first time even though it's in my sent items. hopefully it will work this time. i really need help with this. thanks, chris On 8/6/07, Christopher Jordan [EMAIL PROTECTED] wrote: Hi folks, I'm in need of some help. I'm using blockUI to display a small set of

[jQuery] Design group

2007-08-06 Thread raziel . ag
Hi John, have you considered creating two separate groups: one for design topics, and other related to support issues. Some other open source projects work this way and I think improves readability, it's easier to participate in them and find what we're looking for, and especially keeping up to

[jQuery] Re: (generic) Accordion plugin question

2007-08-06 Thread Dan G. Switzer, II
Stephan, All these posts about various Accordion plugins has gotten me looking at several, and after trying them out i've got a generic question: Is there any Accordion(like) plugin out there which does not force all elements except the selected one to be closed? What if i want to open multiple

[jQuery] Re: Design group

2007-08-06 Thread John Resig
What do you mean by design issues? Do you mean the design of the library? If that's the case, that's why we have the dev list: http://groups.google.com/group/jquery-dev --John On 8/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi John, have you considered creating two separate groups: one

[jQuery] Re: Click counter

2007-08-06 Thread Glen Lipka
If its in a database, then you need to use AJAX to ping something server-side inside the click function. $(p).click( function() { // ajax call to addOneToTheDatabase.php } ); Glen On 8/6/07, ROME [EMAIL PROTECTED] wrote: Hi, I would like to know if someone try to make Click (link)

[jQuery] Re: Getting prev siblings

2007-08-06 Thread Glen Lipka
It would help if you put up a skeleton page somewhere to demonstrate the challenge. :) Glen On 8/6/07, DaveG [EMAIL PROTECTED] wrote: Is there a way to get the previous sibling of a specific class in the DOM (a) at the same level as the start point, and (b) at lower levels? .prev appears

[jQuery] Validate form field with 1 capital letter and 1 number

2007-08-06 Thread Aaron
Is there a way to validate or make it so a user can not submit a form if the password field does not have atleast 1 captital letter and 1 number and atleast 6 characters long? I have found the google password strength meter that sorta does this but i want something that will valitdate the field

[jQuery] Fwd: DOM traversing problem.

2007-08-06 Thread Dan Eastwell
-- Forwarded message -- From: Dan Eastwell [EMAIL PROTECTED] Date: Aug 3, 2007 4:40 PM Subject: DOM traversing problem. To: jQuery Discussion [EMAIL PROTECTED] Given this html within a form: li !-- Children -- h4a

[jQuery] Re: (generic) Accordion plugin question

2007-08-06 Thread Karl Swedberg
As Dan mentioned, this isn't tough to accomplish. I wrote a tutorial a while back that shows how to implement something like this at a basic level: http://www.learningjquery.com/2007/02/more-showing-more-hiding --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: blockUI... I must be doing something wrong...

2007-08-06 Thread Mike Alsup
Chris, It's hard to say without seeing the code in action. Try putting a break on the line where $.blockUI is called. Based on your description it would seem like $StoreUpdateForm[0] is null at that point. Mike success: function(data) {

[jQuery] Convert to jQuery

2007-08-06 Thread LSUDVM
Hi, I need help in converting this to jquery: function resize(which, max) { var elem = document.getElementById(which); if (elem == undefined || elem == null) return false; if (max == undefined) max = 100; if (elem.width elem.height) { if (elem.width max) elem.width = max; } else

[jQuery] Re: New Plugin: HoverAccordion

2007-08-06 Thread mikael
Dragan - why do you have to wait for 1.2? I'm really excited about your plugin and can't wait to see the final result that works like Apples all the way. It's very nice work you are doing - keep it up! /Mikael On Aug 5, 6:53 pm, Dragan Krstic [EMAIL PROTECTED] wrote: @Bernd I see... I'm

[jQuery] Re: Complete jQuery documentation

2007-08-06 Thread __note
Thank you for answer. You're probably right, it's only little facility and it isn't worth the great effort. On 6 Sie, 16:05, John Resig [EMAIL PROTECTED] wrote: We generally don't document those functions intentionally - since they're not supported and will probably be changed, or possibly

[jQuery] Re: Getting prev siblings

2007-08-06 Thread DaveG
On Mon, 6 Aug 2007 08:14:28 -0700, Glen Lipka [EMAIL PROTECTED] wrote: It would help if you put up a skeleton page somewhere to demonstrate the challenge. :) Good point. Unfortunately, I can't do that right now, but here's a skeleton of the issue: h2 id=h2a class=h2Heading 2a/h2 h3

[jQuery] Re: Convert to jQuery

2007-08-06 Thread Joel Birch
On 06/08/2007, at 11:36 PM, LSUDVM wrote: function resize(which, max) { var elem = document.getElementById(which); if (elem == undefined || elem == null) return false; if (max == undefined) max = 100; if (elem.width elem.height) { if (elem.width max) elem.width = max; } else {

[jQuery] Re: Finding the parent/context of dynmically executed script

2007-08-06 Thread Michael Geary
Do you *generate* the HTML dynamically, or is it a static file? If you generate it dynamically on your server, you can wrap the script inside a function whose name comes from the query string. Then in JavaScript, each time you start an ajax download, generate a unique function name and pass that

[jQuery] Re: blockUI... I must be doing something wrong...

2007-08-06 Thread Christopher Jordan
Mike, thanks. I'll check that. email me off list if you'd like to see it working... or not working... or whatever ;o) On 8/6/07, Mike Alsup [EMAIL PROTECTED] wrote: Chris, It's hard to say without seeing the code in action. Try putting a break on the line where $.blockUI is called. Based

[jQuery] Re: Getting prev siblings

2007-08-06 Thread Brian Cherne
h2 id=h2a/h2 h3 id=h3a/h3 h3 id=h3b/h3 h2 id=h2b/h2 $('#h2b').prev(); returns [h3#h3b] // returns previous sibling $('#h2b').prev('h3'); returns [h3#h3b] // returns previous sibling because it is an h3 $('#h2b').prev('.foo'); returns [] // empty, because previous sibling does have class of

[jQuery] draggable fx and jQuery 1.1.3.1

2007-08-06 Thread Maurizio Mangione
Hi, I've noticed that using the option fx, with interface draggable and jQuery 1.1.3.1, I get an error (jQuery.easing[e.easing] is not a function). With jQuery 1.1.2 all run perfectly. -Maurizio

[jQuery] Traversing the DOM and more...

2007-08-06 Thread [EMAIL PROTECTED]
Hi All, I'm having much difficulty these last hours in coding a function that would give me a box(div) position in a column once the box is dropped ( actually I'm using sortable boxes demo on http://interface.eyecon.ro/ ). I guess this should be done by traversing the DOM and couting the number

[jQuery] Re: New Plugin: HoverAccordion

2007-08-06 Thread Dragan Krstic
@Mikeal Sorry Mikael. My script use step function in .animation() method. John informed us not to use this function, because it will be changed in version 1.2. So, if you like it, you can customize my script. I would be glad to help you. 2007/8/6, mikael [EMAIL PROTECTED]: Dragan - why do you

[jQuery] Re: (generic) Accordion plugin question

2007-08-06 Thread Stephan Beal
On Aug 6, 5:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote: As Dan mentioned, this isn't tough to accomplish. I wrote a tutorial a while back that shows how to implement something like this at a basic level: http://www.learningjquery.com/2007/02/more-showing-more-hiding Excellent. Thanks for

[jQuery] Thickbox popup, containing an autoselected textarea?

2007-08-06 Thread Andy Matthews
I working on an improvement to our CMS and had an idea. Our clients view source on one of our outputted pages and use that HTML to send to THEIR clients via email. Right now this is a 5 or 6 click process and I'd like to streamline it on our end. I''d like to have a link which opens a thickbox

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

2007-08-06 Thread Nazgulled
I'm using Interface Elements jQuery plugin to have some extended animation functions that I need, some are working, ie: $ (this).animate({ color: '#ff' }, 200);, some are not. I don't have full javascript interface.js file included, only the ifx.js. However, I tried to include ifx.js +

[jQuery] how to use scrollto to scroll in other elements?

2007-08-06 Thread Luciano A. Ferrer
Hi! I have a left menu, with a few links in there... And a main section of content with a few ID (it is a div with fixed width height, overflow hidden), I need each ID related to each link, and the scrollto function working on that main content Can be done that? TIA, and sorry for the bad

[jQuery] Re: Thickbox popup, containing an autoselected textarea?

2007-08-06 Thread skyeflye
Hi Andy, Thinking around the problem rather than about the problem... Have you instead considered the possibility of allowing your customers to send the email message with the source code (as an attachment, or in the message body) directly from the Thickbox? So instead of the Thickbox

[jQuery] Re: jQuery slowdowns on consecutive calls

2007-08-06 Thread Ganeshji Marwaha
did u get any response to the ticket. it sounds like a serious problem to me... i saw ur solution and was wondering if as a user, i should call unbind for all those elements that get removed. that should solve the problem somewhat? but then it becomes hard to remember it everytime like in those

[jQuery] Re: Animate height from 0px to default w/o flicker

2007-08-06 Thread Ganeshji Marwaha
i don't understand ur problem quite right, but assuming that all you need is to animate the height of a box from 0 to some max value, i would write it like this $('#wait').animate({ height: 'toggle' }, 3000); If you wanted this box to be invisible during the initial page load, i would use css...

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Ganeshji Marwaha
the issue link stephan gave, contains a solution as well. i guess u can start there.. -GTG On 8/6/07, Terry B [EMAIL PROTECTED] wrote: It would be nice to determine where this array is as I have noticed the same and would like to get it fixed in 1.1.2 as 1.1.3 really is not backwards

[jQuery] UPDATE - Thickbox popup, containing an autoselected textarea?

2007-08-06 Thread Andy Matthews
That's a good thought, but the customers are using an external, third party app to do the email sending. Plus, we don't want our mail servers to potentially blacklisted. Okay...I've got this working now. Turns out that the code for auto-selecting needs to be on the calling page. :)

[jQuery] Thickbox - why isn't the window centered?

2007-08-06 Thread Andy Matthews
Okay...as a secondary post about my thickbox auto-select. I have a page which contains a long listing of records. When I scroll down to the bottom, and click the thickbox trigger link, thickbox opens the modal window, but it's at the very top of the page, out of sight. Is there a way to force

[jQuery] Re: IE memory problem (still)

2007-08-06 Thread Brandon Aaron
Nothing yet Michael ... -- Brandon Aaron On 8/6/07, Michael Schwarz [MVP] [EMAIL PROTECTED] wrote: Any news about this topic? Michael On Jul 24, 1:37 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Thanks for the ticket Michael. Memory leaks are always a high priority. You should see a

[jQuery] NEW SITE: me.dium

2007-08-06 Thread Gerry T
Just found this terrific site using jQuery. a href=http://me.dium.com;http://me.dium.com/a

[jQuery] NEW SITE: me.dium

2007-08-06 Thread Gerry T
This site just popped up on Ajaxian, and it's powered by jQuery. http://me.dium.com/ Regards, Gerry

[jQuery] Re: Traversing the DOM and more...

2007-08-06 Thread Richard D. Worth
Did you try .index()? See: http://docs.jquery.com/Core#index.28_subject_.29 Untested, but you should be able to call something like: var pos = $(div).parent().children(.sameClass).index(div); - Richard On 8/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm having much

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

2007-08-06 Thread Mitchell Waite
Is hide a legal keyword for opacity? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nazgulled Sent: Monday, August 06, 2007 11:25 AM To: jQuery (English) Subject: [jQuery] Fading element opacity problem using Interface FX!!! What's the

[jQuery] follow-up: (generic) Accordion plugin question

2007-08-06 Thread Stephan Beal
On Aug 6, 5:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote: http://www.learningjquery.com/2007/02/more-showing-more-hiding To follow up, here's how trivial it is (with jQuery) to write a very basic accordion-like widget which does not support Highlander behaviour (there can be only one). HTML

[jQuery] Re: .ajax error function

2007-08-06 Thread Joe
Mike, Thanks for the information. It was very helpful. I end up using firebug and was able to get the server response status. Much easier to fix when you know what's happening! On Aug 2, 2:41 pm, Mike Alsup [EMAIL PROTECTED] wrote: Anajaxcall can error out if: - it times out (per the timeout

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

2007-08-06 Thread Aaron Heimlich
On 8/6/07, Mitchell Waite [EMAIL PROTECTED] wrote: Is hide a legal keyword for opacity? Technically, no. But, IIRC, jQuery uses it as a hint that it should supply some sort of default animation for the property. See

[jQuery] Need help 're-stripping' a table

2007-08-06 Thread cliff
I am trying to remove a row from a table and then re-strip it as follows: $('#rowid').remove(); stripeMe(); But I can't get this to work. Either re-striping isn't working or the row isn't being completely remove. Help!

[jQuery] Re: Need help 're-stripping' a table

2007-08-06 Thread Benjamin Sterling
Cliff, I must have missed something, but what is stripeMe();? Do you have a demo page to look at? On 8/6/07, cliff [EMAIL PROTECTED] wrote: I am trying to remove a row from a table and then re-strip it as follows: $('#rowid').remove(); stripeMe(); But I can't get this to work. Either

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

2007-08-06 Thread Nazgulled
It doesn't matter... even if I set it to 0 or 0.0, the same thing happens. Any reason why and any solution? On Aug 6, 9:30 pm, Mitchell Waite [EMAIL PROTECTED] wrote: Is hide a legal keyword for opacity? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On

[jQuery] request: need help naming new plugin

2007-08-06 Thread Stephan Beal
Hi, all! i just put together an accordion-like plugin based off of this Karl Swedberg's article: http://www.learningjquery.com/2007/02/more-showing-more-hiding The difference from other Accordions is that it does not enforce Highlander Behaviour. That is, it does not force only one of the

[jQuery] Re: Getting prev siblings

2007-08-06 Thread DaveG
This should work... but it is a little wasteful as it performs the same search on h2s over and over again. Another way (that I'm not sure will work) is: var h2cache = $('h2'); var prevIndex = h2cache.index( $('#h2b')[0] ) - 1; h2cache.filter(':eq('+prevIndex+')'); This is *exactly* what I

[jQuery] Re: request: need help naming new plugin

2007-08-06 Thread John Resig
Toggle Pane On 8/6/07, Stephan Beal [EMAIL PROTECTED] wrote: Hi, all! i just put together an accordion-like plugin based off of this Karl Swedberg's article: http://www.learningjquery.com/2007/02/more-showing-more-hiding The difference from other Accordions is that it does not enforce

[jQuery] Re: Fwd: DOM traversing problem.

2007-08-06 Thread John Resig
You can't have a table and h4 inside of an LI - they're both block-level elements, so browsers automatically push them outside of the LI (meaning that you can't find them. You'll have to use some other markup structure in order to handle that. --John On 8/6/07, Dan Eastwell [EMAIL PROTECTED]

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

2007-08-06 Thread Aaron Heimlich
You're definitely not the first to experience that bug[1]. The good news is that it's been fixed in SVN[2]. The bad news is that the fix happened after jQuery 1.1.3.1 was released, so you have a couple options (I'm assuming you're using 1.1.3.1 here): A) Revert to jQuery 1.1.2 B) Patch your

[jQuery] Re: request: need help naming new plugin

2007-08-06 Thread Stephan Beal
On Aug 7, 12:31 am, John Resig [EMAIL PROTECTED] wrote: Toggle Pane Okay, it'd be hard to turn down the opportunity to say, The Man named my plugin for me, so TogglePane it is. Thanks, John!

[jQuery] Re: request: need help naming new plugin

2007-08-06 Thread John Resig
No prob :) It's just what popped into my mind after you described the problem/solution. --John On 8/6/07, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 7, 12:31 am, John Resig [EMAIL PROTECTED] wrote: Toggle Pane Okay, it'd be hard to turn down the opportunity to say, The Man named my

[jQuery] Testing in old versions of Safari

2007-08-06 Thread Mike Chabot
Does anyone have a good way of testing jQuery in old versions of Safari that does not involve installing multiple copies of the Mac OS? I upgraded a high-traffic site from jQuery 1.1.2 to 1.1.3.1 and tested the change in the major browsers, including Safari 2.0.4. However, users of older

[jQuery] Re: Need help 're-stripping' a table

2007-08-06 Thread cliff
Actually, I figured it out. $('#pageElement') should be $('#'+pageElement) This is most of the function $('#'+pageElement).remove(); stripeMe(); function stripeMe() { $(.stripeMe tr).removeClass(alt); $(.stripeMe tr:even).addClass(alt); rowOver(); } function rowOver()

[jQuery] Trouble with Klaus Hartl's Tabs Plugin Customization... even possible?

2007-08-06 Thread Jim Newfer
Hello everyone, I got the tabs plugin by Klaus Hartl working about 1 hour ago, and since have been trying to change some basic things about the way it works, starting with the button image and the size. I took a brief look at the source and i see the background is just a simple image. Now when

[jQuery] Re: Thickbox - why isn't the window centered?

2007-08-06 Thread polyrhythmic
I also have this problem, I noticed it working on an image gallery for an interactive CD-ROM. The problem is only exhibited in Internet Explorer, it seems to be related directly to the CSS expressions used to position the #TB_window div: from thickbox.css * html #TB_window { /* ie6 hack */

[jQuery] Associate an event handler to an element out of $(document).ready

2007-08-06 Thread David Garcia Ortega
Hi JQueriers, I have a question for you. Well, my problem is the following: In .js file and inside $(document).ready, I have the following code: $(document).ready(function() { $('#menu').find('a').eq(0).click( function () {

[jQuery] Re: Need help 're-stripping' a table

2007-08-06 Thread Scott Trudeau
Heh. IE has me so trained not to use fancy css selectors I forgot about :even. I just wrote the same thing like: $(tr).each(function(i){ if(i % 2 == 0) $(this).addClass(on); else $(this).removeClass(on);

[jQuery] Trouble with Klaus Hartl's Tabs Plugin Customization... even possible?

2007-08-06 Thread Jim Newfer
Hello everyone, I got the tabs plugin by Klaus Hartl working about 1 hour ago, and since have been trying to change some basic things about the way it works, starting with the button image and the size. I took a brief look at the source and i see the background is just a simple image. Now when

[jQuery] Announcement: new plugin: TogglePane

2007-08-06 Thread Stephan Beal
Yo! http://jquery.com/plugins/project/TogglePane Only 719 bytes MIN'd. :D Many thanks to: a) Joern Zaefferer for his Accordion plugin, which inspired this plugin. b) John Resig for naming it. Well, and of course for writing jQuery. c) Karl Swedberg, for his article which made this plugin

[jQuery] Re: Jquery Vs. Prototype

2007-08-06 Thread Ganeshji Marwaha
haha, thanks... -GTG On 8/4/07, Mitchell Waite [EMAIL PROTECTED] wrote: Ganeshji: Very nice story! I really enjoyed reading it. And learned what I already suspected. You just saved me a LOT of wasted time checking out those other frameworks. Mitch PS In some ways its

[jQuery] Re: Jquery Vs. Prototype

2007-08-06 Thread Tobias Parent
I feel like such a n00b - I've always pronounced it to rhyme with 'say-ferry' . DOH! - Toby It's not just that you got to call it j and then query. And it's not just that the word query is hard to pronounce on its own: say kweer-ee really fast. You sound like a Disney

[jQuery] Two IE6/7 issues: clone() creating DOM element

2007-08-06 Thread Nazgulled
I'm having 2 little issues regarding IE6/7 with 2 instructions that seem to work just fine in most browsers but not in IE6/7. First one, using clone() method: $('div#content a').each(function(elem) { if(elem === 0) { var color = $(this).clone(false).addClass('content-

[jQuery] Re: Jquery Vs. Prototype

2007-08-06 Thread Josh Nathanson
say-ferry = American say-kweery = UK -- Josh - Original Message - From: Tobias Parent [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Monday, August 06, 2007 5:26 PM Subject: [jQuery] Re: Jquery Vs. Prototype I feel like such a n00b - I've always pronounced it to rhyme

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

2007-08-06 Thread Nazgulled
I opted by patching my version, thank you. And yes, I was using jquery 1.1.3.1. :) On Aug 6, 11:50 pm, Aaron Heimlich [EMAIL PROTECTED] wrote: You're definitely not the first to experience that bug[1]. The good news is that it's been fixed in SVN[2]. The bad news is that the fix happened after

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

2007-08-06 Thread Nazgulled
Anyway, I'm not going to use this effect because stupid IE7 and Opera9 makes the text all jaggy (not anti-aliased) when fading the div element... This sucks!!! On Aug 7, 1:45 am, Nazgulled [EMAIL PROTECTED] wrote: I opted by patching my version, thank you. And yes, I was using jquery 1.1.3.1.

[jQuery] Re: Problem with jQuery + Dimension plugin + Autocomplete plugin + Float

2007-08-06 Thread Mark
Hi Brandon, I am using pixels, and in some cases % for widths. (most of them 100%) The problem not happens in Explorer 7, only in explorer 6. On 20 jul, 23:51, Brandon Aaron [EMAIL PROTECTED] wrote: Are you using units other than pixels for anything? -- Brandon Aaron On 7/20/07, Mark

[jQuery] Re: Fwd: DOM traversing problem.

2007-08-06 Thread Karl Rudd
Actually you can have anything inside an LI, I've used that structure many times. LIs are a kind of limited block level element, limited in the sense that their parent has to be an OL or a UL. DTs are inline elements, perhaps that's what you were thinking? Karl Rudd On 8/7/07, John Resig

[jQuery] how to disable a handler with a click

2007-08-06 Thread Mitchell Waite
I have a check box that I want to disable the sound in my app when its checked and restore sounds when its unchecked. The sounds in my app are created when the user clicks on a link that has a handler like this: onclick=execEventSound('../sounds/sound1.mp3') I was thinking the easy

[jQuery] jQuery 1.1.3.1 Safari Crashes

2007-08-06 Thread Mike Chabot
jQuery 1.1.3.1 Safari Crashes After upgrading a high-traffic Web site from jQuery 1.1.2 to jQuery 1.1.3.1, some Safari users started reporting that the Web site would cause their browsers to crash. The crash would be that Safari would instantly shut down. I set up multiple test environments

[jQuery] Re: jQuery 1.1.3.1 Safari Crashes

2007-08-06 Thread RobG
On Aug 7, 2:55 pm, Mike Chabot [EMAIL PROTECTED] wrote: jQuery 1.1.3.1 Safari Crashes After upgrading a high-traffic Web site from jQuery 1.1.2 to jQuery 1.1.3.1, some Safari users started reporting that the Web site would cause their browsers to crash. The crash would be that Safari would