Re: [jQuery] jquery session handling versus PHP

2006-12-20 Thread David Duymelinck
Juha Suni schreef: > David Duymelinck wrote: > >> Putting post data in a session isn't a good choice because cookies and >> sessioncookies have a limited file size. >> > > Ermm... the session data is not stored in the cookie (thank god). Therefore > filesize for regular POST-requests shoul

Re: [jQuery] JQuery driven site

2006-12-20 Thread Stefan Holmberg
andreas, the page numbering. By design it is supposed to work that way - I mimicked the behaviour from some "cool" web2.0 site I found - not even sure which one anymore. But I might change it. As for transition effects I agree. I will probably implement Ajax paging - in fact I already have

Re: [jQuery] JQuery driven site

2006-12-20 Thread Stefan Holmberg
the tabs in FF 2.0.0.1 is working for me. Oh man, I hate those type of errors...I will look into it more... Powered by JQuery logo: yes I am using it - on the About page (I will update the acknowledgement list also later - lots of you have been great help...). However I had to google the button u

Re: [jQuery] Duplicating a row...

2006-12-20 Thread Olaf Bosch
[EMAIL PROTECTED] schrieb: > As you two requested...sorry I didn't do it sooner: > > http://www.commadelimited.com/uploads/bug/ > > You'll see the rudimentary beginnings of my code. remove the class befor duplicat :) $('#ingList .ingredient').clone().removeClass("ingredient").appendTo('#ingLi

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Tim Saker
Sorry, I did not test outside of FF and IE. malsup wrote: > >> UPDATE: Gavin has reponded to me by email, privately. We should see a >> new >> release of the ModalContent plugin before long. > > Cool. Thanks, Tim. Did you test the event handling with Opera? I'm > working on something simil

Re: [jQuery] Duplicating a row...

2006-12-20 Thread Blair McKenzie
$(document).ready( function(){ var clickAdd; clickAdd = function() { // In your code you will end up cloning every item in the list // This snipet finds the list item that this button is in $(this).parents("li.ingredient") // You had :last-child here but really there sh

Re: [jQuery] Duplicating a row...

2006-12-20 Thread andy
Quoting Blair McKenzie <[EMAIL PROTECTED]>: As you two requested...sorry I didn't do it sooner: http://www.commadelimited.com/uploads/bug/ You'll see the rudimentary beginnings of my code. > This is the sort of situation where a demo page would really help. Can you > put any of this on a public

[jQuery] Cross-browser list of keyboard shortcuts?

2006-12-20 Thread Patrick Hall
Hi jQuerians, I just started using Firefox 2, and something happened which got me thinking: alt-s (at least on Linux) now opens a "History" tab in the tool bar. Nothing wrong with that, of course, but it happens to overlap with a key comination I've been using in an app. So what I was thinking wa

Re: [jQuery] logic help

2006-12-20 Thread Ⓙⓐⓚⓔ
I read your posts, and I have to agree with Brent's suggestion to draw the polygon based on the order in which the points were clicked. Then give them the option to move the list of points around. On 12/20/06, bander <[EMAIL PROTECTED]> wrote: I don't think there's any reason it needs to be co

Re: [jQuery] Resetting a form/general floundering

2006-12-20 Thread Bruce MacKay
Thanks again Blair, the [0] was the missing piece of my puzzle - I'd never have picked it up. Cheers, Bruce At 12:12 p.m. 20/12/2006, you wrote: $("#sQuestion").resetInput(). Most plugins create new methods that you can run on a jQuery selection. I haven't actually had to reset an entire f

Re: [jQuery] logic help

2006-12-20 Thread bander
I don't think there's any reason it needs to be completely convex, and I don't think you should throw out points. But yes, I agree that he should consider giving the user free reins. that's a good algorithmic problem, and not a trivial one: http://en.wikipedia.org/wiki/Convex_hull but if you

Re: [jQuery] logic help

2006-12-20 Thread Brent Pedersen
that's a good algorithmic problem, and not a trivial one: http://en.wikipedia.org/wiki/Convex_hull but if you draw the polygon based on the order in which the points were clicked, (assuming the user will automatically generate a convex polygon) then it will be a lot simpler. On 12/20/06, bmste

Re: [jQuery] login help

2006-12-20 Thread Blair McKenzie
1. Get the center of mass of the points ( average x, average y) 2. get the angle of each point in relation to the center of mass (basic trigonometry) 3. sort the array by the angle Blair On 12/21/06, bmsterling <[EMAIL PROTECTED]> wrote: Guys and gals, I am working on something that

Re: [jQuery] logic help

2006-12-20 Thread bander
I don't know if this is actually the best way, but this is how I would do it: Find the average x and average y to get the center. Find the angle from this center point to each other point. Sort by those angles. It's a tough problem to define--for example, imagine ten points along the circumfer

Re: [jQuery] logic help

2006-12-20 Thread bmsterling
the while loop was just to slow down, something was not working correctly at one point and I never took it out. the canvas is just a reference to the the object that is set at about line 64. For some reason when I did it that way it did not work, only worked when I wrapped it like I did. But al

Re: [jQuery] logic help

2006-12-20 Thread Matt Stith
Aha, thats better. Whats with this: i = 1; while(i > 0){ i--; } I dont know much about the canvas, but that seems like a bad way to do... anything! Also, you have something like this: var e = $('#mapit'); eHeight = $(e).innerHeight(); eWidth = $(e).innerWidth(); eTop= $(e).top

Re: [jQuery] logic help

2006-12-20 Thread bmsterling
lol... yeah, logic help is what I meant, been a very long day. yeah, the site was down for a few, but is currently up now. Thanks -- View this message in context: http://www.nabble.com/logic-help-tf2862831.html#a8000515 Sent from the JQuery mailing list archive at Nabble.com. ___

Re: [jQuery] performance issues in IE

2006-12-20 Thread Brandon Aaron
On 12/20/06, Todd Menier <[EMAIL PROTECTED]> wrote: > If anyone cares, here's what I finally resorted to. Thought maybe I could at > least use $(form.elements) and still apply my filter, but IE doesn't treat > form.elements as an array, nor does it appear to treat the individual > elements as true

Re: [jQuery] logic help

2006-12-20 Thread Matt Stith
Im going to guess this is the title you meant to put, not 'Login help' your test page isnt working for me, did you make a typo? On 12/20/06, bmsterling <[EMAIL PROTECTED]> wrote: Guys and gals, I am working on something that requires a person be able to click in an area and create a hot area.

[jQuery] login help

2006-12-20 Thread bmsterling
Guys and gals, I am working on something that requires a person be able to click in an area and create a hot area. Here is a link to you can understand (http://ov.informationexperts.com/test.htm) The problem that i have is how do I sort a multidimensional array so that if a person clicks on four

Re: [jQuery] performance issues in IE

2006-12-20 Thread Todd Menier
If anyone cares, here's what I finally resorted to. Thought maybe I could at least use $(form.elements) and still apply my filter, but IE doesn't treat form.elements as an array, nor does it appear to treat the individual elements as true DOM nodes. So as much as it pained me to do it, here's the

Re: [jQuery] Duplicating a row...

2006-12-20 Thread Dave Methvin
> I'm working with various jQ methods but I can't > seem to get this working. > Does anyone have input on this? Do you have pie recipies? I like pie. :) A demo page might help. The outline you give looks okay, as long as you reattach the events to the cloned elements. I seem to remember there ar

Re: [jQuery] Duplicating a row...

2006-12-20 Thread Blair McKenzie
This is the sort of situation where a demo page would really help. Can you put any of this on a public server? Blair On 12/21/06, Andy Matthews <[EMAIL PROTECTED]> wrote: I'm working with recipes and I want to use some jQuery goodness to clone a DOM construct that will contain a few form field

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Blair McKenzie
Now that's interesting. I was using the IE Tab FF extension, and that seems to make a difference. Blair On 12/21/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote: On 12/20/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: > > Very nice! I could probably use this as well. Some things: > >- In IE I

[jQuery] Duplicating a row...

2006-12-20 Thread Andy Matthews
I'm working with recipes and I want to use some jQuery goodness to clone a DOM construct that will contain a few form fields so that adding ingredients is easy, and fun. I thought that it would be pretty easy to code but it's giving me some trouble and I wanted to see if you guys could help me out.

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Jörn Zaefferer
Jonathan Sharp schrieb: > I'd have no problem merging this into the form plugin if it's deemed a > good fit. There is quite a bunch of options that could be added to a form module as optional plugins. Starting with the already existing form plugin, adding your masked inputs and some validation s

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Jonathan Sharp
Yes, very possibly. The behavior code for "binding" multiple text boxes together is there and generic enough that you can have n number of boxes and it will navigate between them with full delete, arrows, home & end keys. So for example you could do: Social security numbers: ###-##-###. Dates: ##

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Andy Matthews
Nice plugin. If you're going to release this, you might consider also allowing formatting for credit card numbers, social security numbers and all that good stuff. Then get it melded in with the official form plugin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Matt Stith
Wow theres alot of potential in this plugin. Any plans to go farther than just phone numbers (Custom masks, etc)? On 12/20/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote: I have a Proof of Concept for a masked phone number input. Tested in FF & IE. It utilizes four seperate input fields but still

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Jonathan Sharp
On 12/20/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: Very nice! I could probably use this as well. Some things: - In IE I was able to put more than three characters in the first part - In IE I was able to put in letters - It would be great if you could add keyboard arrow support,

Re: [jQuery] jQuery powered shopping site

2006-12-20 Thread Sean O
Hi Michael, This looks like a good start. A bug I noticed immediately: I clicked to add the "Brain Trainer" Software to my cart two separate times. Both times the large button changed to "Product Added" (like the gfx & transition), but neither time was it added to the actual cart. (using FF 2.

Re: [jQuery] JQuery driven site

2006-12-20 Thread Christopher Jordan
Stefan, the tabs don't seem to work for me in FF 2.0.0.1. Not sure if that's just me or what. Still a good lookin' site. How about a powered by jQuery logo? We had the contest, but I don't see anyone using it. :o) Chris Stefan Holmberg wrote: Thank you all for your great input. It was a jo

Re: [jQuery] Cannot retrieve $.post( ) response - Works

2006-12-20 Thread Sasha Oros
Right, my return page was html vs xml. Once, I fixed it your selectors worked great, thanks! Klaus Hartl wrote: > > Sasha Oros schrieb: >> Jörn, >> >> The $("[EMAIL PROTECTED]", xml); returned an object, but $("[EMAIL >> PROTECTED]", >> xml).val(); returned 'null' value... >> >> When I put

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Mike Alsup
> Mike, in which events are you trying to intercept these keys? I found a > few inconsistencies regarding this. Hi Klaus, Just for testing I setup a handler to reject all keypress/keydown events like this: var f = function() { return false; }; $().bind('keypress', f).bind('keydown', f); In Oper

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Blair McKenzie
Very nice! I could probably use this as well. Some things: - In IE I was able to put more than three characters in the first part - In IE I was able to put in letters - It would be great if you could add keyboard arrow support, i.e. to navigate between parts Blair On 12/21/06, Jonathan

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Aaron Heimlich
Also on the subject of intercepting keys in Opera: http://www.opera.com/support/tutorials/nomouse/index.dml#nav On 12/20/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: Mike Alsup schrieb: >> UPDATE: Gavin has reponded to me by email, privately. We should see a new >> release of the ModalContent

Re: [jQuery] JQuery driven site

2006-12-20 Thread Andreas Wahlin
my turn to feedback :) I think paging with Ajax might be a good thing, would speed up the process. I found myself thinknig "what a snap" when I changed from search filter to results, then "god, this takes forever" when paging. Speaking of which, it's bothersome when page numbering links jump

Re: [jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Klaus Hartl
Sasha Oros schrieb: > Jörn, > > The $("[EMAIL PROTECTED]", xml); returned an object, but $("[EMAIL > PROTECTED]", > xml).val(); returned 'null' value... > > When I put above line in HTMLTestPage.htm it worked. It seems that $( does > not see an 'xml' variable content. I am now wondering, how ca

Re: [jQuery] Little Bug

2006-12-20 Thread Choan C. Gálvez
To correct myself: > Search for this line: > > min: cfg && cfg.min ? Number(cfg.min) : null, > > And replace with this: > > min: cfg && cfg.min !== null ? Number(cfg.min) : null, Should be: min: cfg && cfg.min !== undefined ? Number(cfg.min) : null, -- Choan

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Jonathan Sharp
On 12/20/06, Karl Swedberg <[EMAIL PROTECTED]> wrote: This wouldn't work for pasting text into the inputs, but for copying it from the inputs, it just might... 1. have the four inputs initially hidden, and display a single, disabled text input. 2. on double-click, the single input is hidden, th

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Klaus Hartl
Mike Alsup schrieb: >> UPDATE: Gavin has reponded to me by email, privately. We should see a new >> release of the ModalContent plugin before long. > > Cool. Thanks, Tim. Did you test the event handling with Opera? I'm > working on something similar and I'm having trouble squashing events > (l

Re: [jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Sasha Oros
Jörn, The $("[EMAIL PROTECTED]", xml); returned an object, but $("[EMAIL PROTECTED]", xml).val(); returned 'null' value... When I put above line in HTMLTestPage.htm it worked. It seems that $( does not see an 'xml' variable content. Jörn Zaefferer wrote: > > Sasha Oros schrieb: >> Hi, >> >>

Re: [jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Klaus Hartl
Sasha Oros schrieb: > Hi, > > > I'm trying to use an ajax post request and not sure why is not working. > > > Code in a button: > > $.post( "HTMLTestPage.htm", > { > employeeID: "007", > requestType: "R" > }, > function(xml){ > al

Re: [jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Mike Alsup
> HTML or XML returned by $.post or the other AJAX methods do not provide > a getElementById selector. But even if they did, the xml arg in this case is not valid. It is just text, not a node. ___ jQuery mailing list discuss@jquery.com http://jquery.co

Re: [jQuery] jQuery powered shopping site

2006-12-20 Thread Abel Tamayo
Loved the shopping cart, but for the sake or usability, you could include an "ad to shopping cart" option in the search results page. Also, if you find difficulties combining colors for your site, you could try some online free apps like www.colorjack.com or kuler.adobe.com (wich use AJAX too): D

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Karl Swedberg
This wouldn't work for pasting text into the inputs, but for copying it from the inputs, it just might... 1. have the four inputs initially hidden, and display a single, disabled text input. 2. on double-click, the single input is hidden, the 4 others are displayed, and focus is set to the

Re: [jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Jörn Zaefferer
Sasha Oros schrieb: > Hi, > > > I'm trying to use an ajax post request and not sure why is not working. > > > Code in a button: > > $.post( "HTMLTestPage.htm", > { > employeeID: "007", > requestType: "R" > }, > function(xml){ > alert(

[jQuery] jdNewsScroll - Headline Scroller

2006-12-20 Thread Jonathan Sharp
Another Proof of Concept code. I'll be refactoring this into a plugin in the next week or so. http://jdsharp.us/code/jdNewsScroll/ Cheers, -js ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Little Bug

2006-12-20 Thread Choan C. Gálvez
Hi. On 12/14/06, AKB <[EMAIL PROTECTED]> wrote: > > I have found a little bug while trying to use it (last version from > http://www.softwareunity.com/sandbox/jqueryspinbtn/) > > It seems to fail when you set the min value to 0, like this: > > var myOptionsHour = { min: 0, max: 23, step: 1 } > $("

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Mike Alsup
> UPDATE: Gavin has reponded to me by email, privately. We should see a new > release of the ModalContent plugin before long. Cool. Thanks, Tim. Did you test the event handling with Opera? I'm working on something similar and I'm having trouble squashing events (like TAB, arrow keys) in Opera.

Re: [jQuery] performance issues in IE

2006-12-20 Thread Todd Menier
Thank you for all the suggestions. Yes, we are most definitely looking at ways to rein in the big select lists, but that won't happen overnight, unfortunately. I would argue that hundreds of nodes is fairly big, but not big enough to explain it taking 12+ seconds to process, especially when the sa

[jQuery] Cannot retrieve $.post( ) response

2006-12-20 Thread Sasha Oros
Hi, I'm trying to use an ajax post request and not sure why is not working. Code in a button: $.post( "HTMLTestPage.htm", { employeeID: "007", requestType: "R" }, function(xml){ alert( xml ); alert( "BankNam

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Tim Saker
UPDATE: Gavin has reponded to me by email, privately. We should see a new release of the ModalContent plugin before long. Jörn Zaefferer wrote: > > >> Note that I'm just posting the changes here to solicit public awareness >> and >> input. I will attempt to notify the original author, Gavin

Re: [jQuery] get selected element

2006-12-20 Thread Jörn Zaefferer
David Gironella schrieb: > > If i have > > > > 10 > > 20 > > 30 > > 40 > > > > I need to know which element is selected? > Try $("#myselect option:selected") -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Jörn Zaefferer
Erik Beeson schrieb: > It's "native" in that it doesn't require any additional plugin or > config file. It parses all of the javascript it finds in your project. > Here's a screenshot of a case insensitive completion: > http://www.divshare.com/download/1081-4d6 > And I don't even have a "web mod

Re: [jQuery] Autocomplete IDE WAS New design on jquery.com

2006-12-20 Thread Andy Matthews
Let's change the subject line shall we? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erik Beeson Sent: Wednesday, December 20, 2006 11:59 AM To: jQuery Discussion. Subject: Re: [jQuery] New design on jquery.com It's "native" in that it does

Re: [jQuery] possible stupid question re: dimensions plugin

2006-12-20 Thread bmsterling
Thanks -- View this message in context: http://www.nabble.com/possible-stupid-question-re%3A-dimensions-plugin-tf2860567.html#a7994974 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.c

[jQuery] get selected element

2006-12-20 Thread David Gironella
If i have 10 20 30 40 I need to know which element is selected? Thk. Giro. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Jonathan Sharp
On 12/20/06, Alex Cook <[EMAIL PROTECTED]> wrote: If you solve that copy/paste issue this would be added to an app we use in the office here in a heartbeat... Great plugin, thanks! -ALEX Yeah, that's the one issue I have with it right now... I have a few ideas about how it might be solved...

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Erik Beeson
It's "native" in that it doesn't require any additional plugin or config file. It parses all of the javascript it finds in your project. Here's a screenshot of a case insensitive completion: http://www.divshare.com/download/1081-4d6 And I don't even have a "web module" setup. It's smart about your

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Dave Methvin
> Is there native jQuery autocompletition support within > InteillJ IDEA or do you need some kind of plugin or addon? I started playing around with Aptana and got autocomplete for jQuery with that. It seems like a great environment, but I am not up to speed with how to set up projects with it an

Re: [jQuery] xml response with $.get()

2006-12-20 Thread Erik Beeson
Thanks for the tip. I don't think of using try/catch in javascript. I'll keep that in mind next time I'm having a problem. --Erik On 12/20/06, Dotan Dimet <[EMAIL PROTECTED]> wrote: Whenever you're puzzled why a certain line never gets executed, consider that your code might have thrown an exc

Re: [jQuery] scrolling effect

2006-12-20 Thread Alex Cook
On 12/20/06, Brian Smith <[EMAIL PROTECTED]> wrote: Hi, I love jquery so far, just learning. I'm trying to develop a scrolling effect, to scroll a list of news headlines inside a div tag.  I'm sure I probably should be adjusting the clip region, I just can't figure out how to do it. Anyone kn

Re: [jQuery] xml response with $.get()

2006-12-20 Thread Dotan Dimet
Whenever you're puzzled why a certain line never gets executed, consider that your code might have thrown an exception and died. I've found that wrapping the suspicious code with a try/catch block try{ } catch(e){ alert(e); } is very helpful. Especially when your code gets called by a li

Re: [jQuery] possible stupid question re: dimensions plugin

2006-12-20 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bmsterling Subject: [jQuery] possible stupid question re: dimensions plugin Are the functions in the dimensions plugin the same as the functions in the default jquery build? ie. height, width - .height() and .width() are over

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Jörn Zaefferer
Erik Beeson schrieb: > IntelliJ IDEA does a pretty good job at autocompletion. > > What I really need is that roast beef sandwich. Ok, I understand your desire for a roast beef sandwich. Is there native jQuery autocompletition support within InteillJ IDEA or do you need some kind of plugin or add

Re: [jQuery] 1.0.4 breaks sort (w/ fix)

2006-12-20 Thread Jörn Zaefferer
Erik Beeson schrieb: > The "sort plugin" breaks in > jQuery 1.0.4 with the following error: > second argument to Function.prototype.apply must be an array > > Down in set(), called from pushStack. Apparently, the array returned > from apply isn't array enough

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Erik Beeson
IntelliJ IDEA does a pretty good job at autocompletion. What I really need is that roast beef sandwich. --Erik On 12/20/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Erik Beeson schrieb: > That's an awesome quote on the main page. I expect a jQuery IDE soon > that actually WILL read my mind.

Re: [jQuery] Masked Phone Number Input

2006-12-20 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Sharp Subject: [jQuery] Masked Phone Number Input I have a Proof of Concept for a masked phone number input. Tested in FF & IE. It utilizes four seperate input fields but still allows for using the arrow keys, home, end and

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Jörn Zaefferer
Erik Beeson schrieb: > That's an awesome quote on the main page. I expect a jQuery IDE soon > that actually WILL read my mind. I start typing: > > $('span').filter('.links').cli > > And a little red devo hat pops up with a little speech bubble and taps > on my screen: "Excuse me, it looks like yo

Re: [jQuery] Trivial typo in docs

2006-12-20 Thread Jörn Zaefferer
Erik Beeson schrieb: > I found an error in the docs, and checked the SVN version to see if it > had been fixed already. It had been, but while there, I found a > trivial typo in the same area: > > http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js#L478 > > Wheather is whether, at least in Am

Re: [jQuery] modalContent plugin is not modal

2006-12-20 Thread Jörn Zaefferer
> Note that I'm just posting the changes here to solicit public awareness and > input. I will attempt to notify the original author, Gavin Roy, in hopes > that the changes will make it into a next release. > I'd really prefer that. But the same I get find a need for the plugin, the mail would

Re: [jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Christof Donat
Hi, > > Anyone know of a fast way to remove dups in an array? > > The Perl way to do this is to convert the array entries into hash keys > and then extract the keys back into an array. This is faster than > searching the array and it should work with javascript. The speed of such solutions very m

Re: [jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Stephen Woodbridge
Rich Manalang wrote: > It is sorted, but it's an array of objects. Is there a way to hash an > object? I guess a better question would be how do you determine object A is equal object B. Because if it is sorted, it would be much faster to walk the array and copy any element that is not the sam

Re: [jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Rich Manalang
It is sorted, but it's an array of objects. Is there a way to hash an object? On 12/20/06, Christof Donat <[EMAIL PROTECTED]> wrote: Hi, > Anyone know of a fast way to remove dups in an array? Is the array sorted? Then you can do function arrayUniq(a) { var rval = [a[0]]; va

Re: [jQuery] jQuery powered shopping site

2006-12-20 Thread Christopher Jordan
I agree nice effects. I did see once when adding a product to the cart, that the contents of the cart disappeared, and reported zero items. When I switched tabs though and put something else in, it came right back and showed everything correctly. Since then, I wasn't able to reproduce the same

[jQuery] Masked Phone Number Input

2006-12-20 Thread Jonathan Sharp
I have a Proof of Concept for a masked phone number input. Tested in FF & IE. It utilizes four seperate input fields but still allows for using the arrow keys, home, end and backspace across all of them. Current limitations are copy & pasting. Thoughts/feedback welcome! http://jdsharp.us/code/

[jQuery] possible stupid question re: dimensions plugin

2006-12-20 Thread bmsterling
Are the functions in the dimensions plugin the same as the functions in the default jquery build? ie. height, width -- View this message in context: http://www.nabble.com/possible-stupid-question-re%3A-dimensions-plugin-tf2860567.html#a7992532 Sent from the JQuery mailing list archive at Nab

[jQuery] 1.0.4 breaks sort (w/ fix)

2006-12-20 Thread Erik Beeson
The "sort plugin" breaks in jQuery 1.0.4 with the following error: second argument to Function.prototype.apply must be an array Down in set(), called from pushStack. Apparently, the array returned from apply isn't array enough to pass into apply down in set.

Re: [jQuery] scrolling effect

2006-12-20 Thread Erik Beeson
Sounds like you want the overflow CSS property? http://www.google.com/search?q=css+overflow --Erik On 12/20/06, Brian Smith <[EMAIL PROTECTED]> wrote: Hi, I love jquery so far, just learning. I'm trying to develop a scrolling effect, to scroll a list of news headlines inside a div tag. I'm

[jQuery] Little Bug

2006-12-20 Thread AKB
I have found a little bug while trying to use it (last version from http://www.softwareunity.com/sandbox/jqueryspinbtn/) It seems to fail when you set the min value to 0, like this: var myOptionsHour = { min: 0, max: 23, step: 1 } $("#someid").SpinButton(myOptionsHour); Everything works fine, b

Re: [jQuery] jquery session handling versus PHP

2006-12-20 Thread Brice Burgess
Juha Suni wrote: > I've seen programming leakage that resulted in session files of several > megabytes, causing some minor slowdowns, but still functioning 100%. > > Sessions are incredibly handy and powerful, if used correctly. I'm not > recommending dumping all your data there, but you shouldn'

Re: [jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Christof Donat
Hi, > Anyone know of a fast way to remove dups in an array? Is the array sorted? Then you can do function arrayUniq(a) { var rval = [a[0]]; var o = a[0]; for( var i = 1; i < a.length; i++ ) if( a[i] != o ) { rval.push(a[i]); o = a[i];

Re: [jQuery] Odd clone bug

2006-12-20 Thread Andy Matthews
I've since changed my code. I used Divs instead of tables and didn't have this problem. And I don't use thead tags. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Methvin Sent: Wednesday, December 20, 2006 8:58 AM To: 'jQuery Discussion.' Subject: Re

Re: [jQuery] Odd clone bug

2006-12-20 Thread Dave Methvin
> When I "Viewed Generated Source" in Firefox (because > it wasn't displaying properly), I found the code looked > like this. Notice that the closing TR tag on the content > row is missing. > > Where's the tag? Normally Firefox and IE will put one in if you forget it. Can you post a link to a

[jQuery] scrolling effect

2006-12-20 Thread Brian Smith
Hi, I love jquery so far, just learning. I'm trying to develop a scrolling effect, to scroll a list of news headlines inside a div tag. I'm sure I probably should be adjusting the clip region, I just can't figure out how to do it. Anyone know how, or has someone done this? Brian _

[jQuery] Odd clone bug

2006-12-20 Thread Andy Matthews
I've since changed the code on my sample page, but I found an odd bug in jQuery using a combination of clone() and appendTo() that I wanted to put out there. I had a table with 4 columns that I was using for a form entry. Then I created a "template" row that was hidden. When the use entered data f

Re: [jQuery] jquery session handling versus PHP

2006-12-20 Thread Juha Suni
David Duymelinck wrote: > Putting post data in a session isn't a good choice because cookies and > sessioncookies have a limited file size. Ermm... the session data is not stored in the cookie (thank god). Therefore filesize for regular POST-requests should not be a problem. Storing huge amounts

Re: [jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Stephen Woodbridge
Rich Manalang wrote: > Anyone know of a fast way to remove dups in an array? The Perl way to do this is to convert the array entries into hash keys and then extract the keys back into an array. This is faster than searching the array and it should work with javascript. -Steve _

Re: [jQuery] New design on jquery.com

2006-12-20 Thread Andy Matthews
Right... My IE as well. The logo is cut off about 1/4 inch from the top. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Aaron Heimlich Sent: Tuesday, December 19, 2006 7:19 PM To: jQuery Discussion. Subject: Re: [jQuery] New design on jquery.com

[jQuery] Fast way to remove duplicate array entries?

2006-12-20 Thread Rich Manalang
Anyone know of a fast way to remove dups in an array? Thanks! Rich ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery powered shopping site

2006-12-20 Thread Stefan Holmberg
Hi Michael, really nice! Cool effects. Especially the shoppingcart adding procedure is slick - looking great! Strange things I noticed: 1. running 1152x864 and IE 7 - I always get "sent" to bottom of page when I click on any link at all. 2. the scrolling in shoppingcart is not too intuitive. A

Re: [jQuery] performance issues in IE

2006-12-20 Thread Dave Methvin
> Did you perhaps mean filter() instead of select()? Yep, I meant filter(), thanks for the catch. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery powered shopping site

2006-12-20 Thread Erik Beeson
Looks nice. One thing I notice is the background for the thickbox appears to only be as tall as the content, not the whole window. Is it time for a jQuery powered wiki page yet? --Erik On 12/20/06, Michael Price <[EMAIL PROTECTED]> wrote: Hiya folks, Thought I'd take a few minutes to ask for

[jQuery] jQuery powered shopping site

2006-12-20 Thread Michael Price
Hiya folks, Thought I'd take a few minutes to ask for feedback on my jQuery powered Amazon API-based website, http://www.cyberscoreshop.co.uk/ It uses jQ itself for some AJAX stuff to add products to the shopcart in the background, my pngFix extension to correct some image issues in IE, Thickbo

Re: [jQuery] xml response with $.get()

2006-12-20 Thread Erik Beeson
Now my data is getting returned properly, I can do $(...).size()/.childre()/.tex(), but $('.success', data).size() still equals 0. Argh. This part at least was solved using an attribute selector for the class attribute. This is working well enough, but dealing with XML is still frustratingly

Re: [jQuery] JQuery driven site

2006-12-20 Thread Stefan Holmberg
Thank you all for your great input. It was a joy to read - some funny stuff and also it's so great to feel the support from you all ! I have created a new version - implementing some of the stuff you have mentioned but want to just have some input on one more thing: http://www.findfreefonts.net/

Re: [jQuery] xml response with $.get()

2006-12-20 Thread Jörn Zaefferer
> I use Firefox 2.0.* and the latest jquery pack. > > Using .html() instead of .text() does not work... html() is a wrapper for the innerHTML property. That is not available for XML documents, therefore it doesn't work. PS: I'm gonna check the docs for mentioning this. -- Jörn Zaefferer http

Re: [jQuery] xmlExec - sanitized output

2006-12-20 Thread youngwax
I was enclosing content in less-than and greater-than. Inside stuff, I don't need more brackets, like . Thanks for your help. Now, I can move forward to the next simple obstacle. -- View this message in context: http://www.nabble.com/xmlExec---sanitized-output-tf2857111.html#a7989609 Sent fro

Re: [jQuery] xml response with $.get()

2006-12-20 Thread Erik Beeson
I've spent the past few hours fighting with exactly this type of problem. My problem is using $.post or a comparable $.ajax call. It seems like there's something wrong with the object getting passed to the callback. Any attempts at getting at the data seems to make things just hang, in that, the b

  1   2   >