[jQuery] Re: Google subscription

2007-05-23 Thread Bil Corry
Kush Murod wrote on 5/23/2007 8:31 PM: I want to subscribe to this mailing using different account other then gmail. So when I go to Google it seems to force me use gmail account ONLY Is it true or am I getting it wrong If you figure out a way, let me know. I finally gave up and created a n

[jQuery] load thick box within ajax load

2007-05-23 Thread Tom Shafer
I am using the jquery load function function loadContent(id) { $("#bioscontent").load("grabbios.php?id="+id+""); } and I am wondering how I can make thickbox work inside of it. When i try It just pushes the loading ar to the bottom of the page. Here is th

[jQuery] Google subscription

2007-05-23 Thread Kush Murod
Hi guys, I want to subscribe to this mailing using different account other then gmail. So when I go to Google it seems to force me use gmail account ONLY Is it true or am I getting it wrong --Kush

[jQuery] Re: Creating DIV with JEditable Callback Function

2007-05-23 Thread Jean Nascimento
dont work?? On 5/23/07, Jean Nascimento <[EMAIL PROTECTED]> wrote: $(document).ready(function(){ $(".editemail").editable("save1.php", { cancel: 'Cancel', submit: 'Submit' }); var newDivz = mama papa

[jQuery] Re: Creating DIV with JEditable Callback Function

2007-05-23 Thread Jean Nascimento
$(document).ready(function(){ $(".editemail").editable("save1.php", { cancel: 'Cancel', submit: 'Submit' }); var newDivz = mama papa $(".addemail").editable("save2.php", { cancel

[jQuery] Re: improve my working code

2007-05-23 Thread Jean Nascimento
How he said is the better way, i think $(".classLink").click( function(){ $(".classDetail").slideToggle("slow"); return false; }); On 5/23/07, Richard D. Worth <[EMAIL PROTECTED]> wrote: On 5/23/07, tlob <[EMAIL PROTECTED]>

[jQuery] Re: Performance tip

2007-05-23 Thread Jean Nascimento
I´m a javascript nooba, so thanks for the tip :D On 5/23/07, Gordon <[EMAIL PROTECTED]> wrote: It is one of those blindingly obvious things but also easy to forget. I suppose the tip should be "if you find $ in a loop, find a way to cache it". On May 23, 4:43 pm, "Rob Desbois" <[EMAIL PROTECT

[jQuery] Re: Support to xml namespaces

2007-05-23 Thread Benjamin Sterling
c- Sorry I don't have an exact answer, but there is a plugin that you can look at to see if it helps. http://jquery.glyphix.com/ jquery.xslTransform Also, have you tried $('dc:subject', xml) -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Google Code SVN Issue - PROBLEM RESOLVED

2007-05-23 Thread Rey Bango
The folks at Google wrote this: "If the repository was accessible in your browser and not via the svn client, I'll bet that the AV program just didn't understand DAV HTTP traffic." Once I upgraded Kaspersky AV to its latest version, the issue went away so it looks like some other Kaspersky mus

[jQuery] Re: Drop shadows and Tooltips

2007-05-23 Thread DaveG
That one looks pretty neat, but it uses dimensions.js, which *appears* not to work well with Prototype. Anyone else using drop-shadows with tooltips? ~ ~ Dave Alexandre Plennevaux wrote: You should check clueTip out, it's really great: http://examples.learningjquery.com/62/ As for the dro

[jQuery] Re: default submit is not prevented when using jquery.validate with submitHandler

2007-05-23 Thread oliver
> That's a bit weird. I'm gonna check the code that should prevent the > submit when a submitHandler is present. I agree it is strange. Based on your comment, I thought to try the same exact copy that is used in the example on your site (just in case something had changed between versions). How

[jQuery] Re: Google Code SVN Issue - PROBLEM RESOLVED

2007-05-23 Thread Karl Swedberg
Hey Rey, taking a wild guess here, but maybe they use a slightly different port than other svn repos, and maybe your AV program was blocking traffic through that port? Kind of like how some AV / firewall programs block ports used for BitTorrent? Anyway, really glad you got it worked out!

[jQuery] Re: Streaming information from a server

2007-05-23 Thread Glen Hinkle
I have a simple example in my comet plugin demo, @ http:// empireenterprises.com/_comet.html#server_example -g On May 21, 2007, at 5:03 AM, Jan Sorgalla wrote: Hi, On May 21, 10:58 am, peter <[EMAIL PROTECTED]> wrote: I have a server application where I start a long running process and

[jQuery] Re: Back in the Club!!

2007-05-23 Thread Daemach
Welcome back :) It's frustrating when your own system is fighting you! On May 23, 3:34 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > Sorry guys. This is just a silly OT post. Since I have SVN access once > again and was able to do my build of jQuery v1.1.3, I'm just feeling > giddy and feeling part

[jQuery] Re: NEWS: 217 Sites Using jQuery and Growing

2007-05-23 Thread Rey Bango
Awesome! Thanks Jean. :) Jean Nascimento wrote: I´m using in 2 projects(intranet) mine, the other are stoped now, but when i returne to them i will pass all to jQuery \o/ On 5/23/07, Rey Bango <[EMAIL PROTECTED]> wrote: I just wanted to let everyone know that the list of sites continues to

[jQuery] Re: NEWS: 217 Sites Using jQuery and Growing

2007-05-23 Thread Jean Nascimento
I´m using in 2 projects(intranet) mine, the other are stoped now, but when i returne to them i will pass all to jQuery \o/ On 5/23/07, Rey Bango <[EMAIL PROTECTED]> wrote: I just wanted to let everyone know that the list of sites continues to grow. We are currently at 217 sites (that we know

[jQuery] NEWS: 217 Sites Using jQuery and Growing

2007-05-23 Thread Rey Bango
I just wanted to let everyone know that the list of sites continues to grow. We are currently at 217 sites (that we know of) and growing, it seems, almost daily. http://docs.jquery.com/Sites_Using_jQuery On behalf of the jQuery project, thank you so much for your continued site contribution

[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow

2007-05-23 Thread Rey Bango
Added: * Marketo * 3Circle Studio * AskSolvers * Socofi Consult Rey...

[jQuery] Support to xml namespaces

2007-05-23 Thread cesare
Hello, I am trying to figure out how to get jQuery work on namespaced xml elements. I am parsing an rss feed in rdf format, like this one: http://del.icio.us/rss/recent My success function is: success: function(xml){ $(xml).find('item').each ( function () {

[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow

2007-05-23 Thread Glen Lipka
Just launched company website. Marketo - http://www.marketo.com On-Demand Marketing Automation. Used it as many times as I could think of! Glen On 5/23/07, Sam Sherlock <[EMAIL PROTECTED]> wrote: Heres another one http://www.3circlestudio.com/ Sure this listed on cssimport and did not see

[jQuery] Re: Masked Input Field

2007-05-23 Thread Glen Lipka
And of course, the second I say I am done...I am not. If you don't put in the right number of characters...like if you only put half the field in and blur, it erases the content completely. I think this is bad UX. (Sorry) Sometimes someone might know their zip (first 5 digits) then click to go t

[jQuery] Re: Masked Input Field

2007-05-23 Thread Glen Lipka
On 5/23/07, Chris W. Parker <[EMAIL PROTECTED]> wrote: On Wednesday, May 23, 2007 3:00 PM Glen Lipka <> said: > Trying to use this. > http://digitalbush.com/projects/masked-input-plugin > It is an awesome plugin by the way! Yeah that is pretty sweet. Except that... It's a waste. You *still*

[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow

2007-05-23 Thread Sam Sherlock
Heres another one http://www.3circlestudio.com/ Sure this listed on cssimport and did not see it on the powered sites page - S On 17/05/07, Rey Bango <[EMAIL PROTECTED]> wrote: Added: http://skybus.com/home.aspx Skybus - Travel information http://www.supportthetroopsendthewar.com/ Support

[jQuery] Re: Back in the Club!!

2007-05-23 Thread Rey Bango
LOL. Cool! ;) Benjamin Sterling wrote: your giddiness, is our giddiness :) -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com

[jQuery] Re: Back in the Club!!

2007-05-23 Thread Benjamin Sterling
your giddiness, is our giddiness :) -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Back in the Club!!

2007-05-23 Thread Rey Bango
Sorry guys. This is just a silly OT post. Since I have SVN access once again and was able to do my build of jQuery v1.1.3, I'm just feeling giddy and feeling part of the club again! :) Rey... -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambr

[jQuery] Re: Detecting Mouse Paste

2007-05-23 Thread Benjamin Sterling
That's 10 points for Benjamin Sterling :) On 5/23/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Wow, this is awesome. I have been writing code just like this for the last 3 hours. I'm switching to the plugin right now. Glen On 5/23/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Glen, > Josh

[jQuery] Re: show fails in Konqueror with jQuery 1.1.2

2007-05-23 Thread Alessandro Portale
I had the same issue, and had to find out that Konqueror, currently does not support the opacity css property: http://konqueror.kde.org/css/ . That is possibly because of a regression that came with a huge Safari -> Konqueror code merge. JQuerys show() effect makes use of that opacity property. So

[jQuery] Re: Google Code SVN Issue - ONE FINAL NOTE

2007-05-23 Thread Rey Bango
Guys, just wanted to let you know that I updated Kaspersky to the latest version and I can now checkout files even with all of the settings enabled. So if you encounter the issue that I mentioned and you're running Kaspersky AV, upgrade to the latest version. Rey Rey Bango wrote: No prob.

[jQuery] Re: Masked Input Field

2007-05-23 Thread Chris W. Parker
On Wednesday, May 23, 2007 3:00 PM Glen Lipka <> said: > Trying to use this. > http://digitalbush.com/projects/masked-input-plugin > It is an awesome plugin by the way! Yeah that is pretty sweet. Except that... It's a waste. You *still* absolutely have to do proper server-side validation. Clien

[jQuery] Re: Masked Input Field

2007-05-23 Thread Brandon Aaron
Yeah I agree with Jörn. It looks like an $().unmaskedinput() would be nice for this case. I just tried to call $().maskedinput() to overwrite the current mask but it doesn't do that very well. You could just replace the input onChange of ccType. Some psuedo code illustrate. onChange: if ccTyp

[jQuery] Re: Masked Input Field

2007-05-23 Thread Dan G. Switzer, II
Glen, >I want to put in the spaces like this . >But for Amex I want 99 9. >Ultimately, I want to submit to the server without spaces. (Maybe a hidden >form field) You should just use a RegEx on the server side to strip out non-numeric characters, instead of trying

[jQuery] Re: Masked Input Field

2007-05-23 Thread Jörn Zaefferer
Glen Lipka wrote: Im asking alot of questions today, sorry. Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! I have one field called creditcard (guess what goes in there) And another select called credtcardType (amex, visa, mc, discove

[jQuery] Masked Input Field

2007-05-23 Thread Glen Lipka
Im asking alot of questions today, sorry. Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! I have one field called creditcard (guess what goes in there) And another select called credtcardType (amex, visa, mc, discover) I want to put in

[jQuery] Metadata update / whatwg attributes conflict

2007-05-23 Thread Jörn Zaefferer
Hi folks, I've recently updated the metadata plugin[1] to avoid the property "data". That an issue I had when reading metadata from select-elements in Opera, because Opera already implements (at least parts) the whatwg spec. If you have similar problems or are just curious about the topic, t

[jQuery] Re: Form Validate Plugin Question

2007-05-23 Thread Jörn Zaefferer
Dan G. Switzer, II wrote: We could potentially look at using a function callback to return a string for the message as well. That certainly would be easier for development... Great Dan! We have that pattern all over the place already anyway. Thanks for the pointer! -- Jörn Zaefferer http:

[jQuery] Re: Form Validate Plugin Question

2007-05-23 Thread Dan G. Switzer, II
Jörn, >Thats is almost what I proposed in the blog comments: > >|var messages = { > phone: "Please select a phonenumber." >} >$("#myform").validate({ > messages: messages; >}); >$("#phoneType").change(function() { > messages.phone = "Please fill in an appropriate " + this.value + " >number”; >

[jQuery] (should be) simple use of getScript failing

2007-05-23 Thread Austin Schutz
In js file 'A.js' I have: function A() { alert('function A here'); } In js file 'B.js' I have: $.getScript('A.js'); function B() { A(); } But Firefox claims 'A is not defined' when I call B(), though clearly it should be. I know jQuery is loading and evaluating

[jQuery] Re: default submit is not prevented when using jquery.validate with submitHandler

2007-05-23 Thread Jörn Zaefferer
oliver wrote: I am trying to use jquery.validate and jquery.form together, following the example here: http://jquery.bassistance.de/validate/demo-test/ajaxSubmit-intergration-demo.html Looking in the validate documentation, I see that submitHandler is supposed to prevent the default fo

[jQuery] Re: Good news, everyone!

2007-05-23 Thread Jörn Zaefferer
Glen Lipka wrote: Jorn, I have been trying (unsuccessfully) to use the plugin to achieve my desired user experience. Example of how I would like it to work: http://www.commadot.com/jquery/inlineError/ Things I can't figure out: -how to make the required errors compile into a number. (You m

[jQuery] Re: Good news, everyone!

2007-05-23 Thread Jörn Zaefferer
Leonardo K wrote: When I use the success function, the plugin start to validate hidden fields. :( Thanks for reporting. Gonna fix that till the next release, its just a matter of ignoring hidden fields when processing the success-elements. -- Jörn Zaefferer http://bassistance.de

[jQuery] Thickbox 3 transitions

2007-05-23 Thread tzmedia
Hey all, you've probably seen cody's thickbox 3 by now: http://jquery.com/demo/thickbox/ He mentions transitions, but now how to implement any, beyond the scope of his application probably. I've got a little combo app gallery (for a client) that is here: http://www.chatelainplastics.com/signageVin

[jQuery] Re: Good news, everyone!

2007-05-23 Thread Jörn Zaefferer
Luc Pestille wrote: Been working with it this morning and have found an IE bug (I think) - this is just with the latest jquery.js and the validate.pack.js files in a page (including or excluding my jQuery scripts has no effect). On opening I get an alert: --- Line: 10 Error: Expected ':' ---

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-23 Thread Jörn Zaefferer
Ryan Rose wrote: Jörn, How can I force the new validation plugin to ignore form elements with display: none? I modified the previous release this way: validator.elements = this.find(":input:not(:submit):not(:reset):visible").focus(function() { validator.lastActive = this; }); Try

[jQuery] Re: Detecting Mouse Paste

2007-05-23 Thread Glen Lipka
Wow, this is awesome. I have been writing code just like this for the last 3 hours. I'm switching to the plugin right now. Glen On 5/23/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Glen, Josh has a plugin that may have some paste feature, that may point you in the right direction http://di

[jQuery] Re: Form Validate Plugin Question

2007-05-23 Thread Jörn Zaefferer
Mandy Singh wrote: Okay I tried the following and that seems to work - If I assign the validate class to suppose temp then i can do - if (mobile) { temp.settings.messages['phone'] = "mobile"; } if (home) { temp.settings.messages['phone'] = "home"; } Just let me know if this is fine? Seems to wor

[jQuery] Re: Validation function help request

2007-05-23 Thread Jörn Zaefferer
Luc Pestille wrote: Thanks - the examples made it a lot clearer, I almost feel stupid for not realising how easy it is, and having tried RC1 now, I can't see me ever using any other validation. Glad to hear that. Last question, and might require it's own thread; using TinyMCE and your pl

[jQuery] default submit is not prevented when using jquery.validate with submitHandler

2007-05-23 Thread oliver
I am trying to use jquery.validate and jquery.form together, following the example here: http://jquery.bassistance.de/validate/demo-test/ajaxSubmit-intergration-demo.html Looking in the validate documentation, I see that submitHandler is supposed to prevent the default form submit: and i

[jQuery] Re: Detecting Mouse Paste

2007-05-23 Thread Benjamin Sterling
Glen, Josh has a plugin that may have some paste feature, that may point you in the right direction http://digitalbush.com/projects/masked-input-plugin -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: [ANN] jQuery Media Plugin

2007-05-23 Thread Jean Nascimento
We all love the jQuery and yours plugins \o/ greate job! On 5/23/07, Mike Alsup <[EMAIL PROTECTED]> wrote: @Dan: That's a very good idea. Thanks for the suggestion! @Alexandre: The plugin adds codebase and pluginspage attrs to the object/embed elements so I think that's covered. @Rob: I'm

[jQuery] Re: Highlight problem in IE6

2007-05-23 Thread Rodrigo Moraes
On 5/23/07, Rodrigo Moraes wrote: The problem: a simple highlight in IE6 ends with the highlight color, instead of the element original color. See by yourself: sorry to not look for it before. there's a bug filled about this already: http://dev.jquery.com/ticket/1014 in the mean time, I'll s

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Andy Matthews
Right... I admit it's not the best, but I wanted to see about that possibility so as to change as little code as possible. I ended up giving each select it's own unique ID and of course that works just fine. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: BlockUI question

2007-05-23 Thread Mike Alsup
I'm not sure I followed all that. Does this boil down to clicking a link to get a PDF? If so, that seems like an odd case for blocking the UI. Is the request made using ajax or normal link navigation? Mike I am using the BlockUI plugin on one of may pages. it works well for blocking the UI

[jQuery] Re: Detecting Mouse Paste

2007-05-23 Thread Erik Beeson
Maybe some combination of click, focus, and/or change? Google javascript paste event. --Erik On 5/23/07, Glen Lipka <[EMAIL PROTECTED]> wrote: I have an input and I want to detect if the user drags a value into it or if they right-click and then click "paste". Is there an event that fires in

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Daemach
I think he said two form elements, both of which are identical in every way (contents and all) except for their IDs. That being said, if there were 2 forms, duplicating name attributes would be fine since you would use the parent form's context to get to them. ID's should always be absolutely un

[jQuery] Highlight problem in IE6

2007-05-23 Thread Rodrigo Moraes
The problem: a simple highlight in IE6 ends with the highlight color, instead of the element original color. See by yourself: http://dev.tipos.com.br/jquery/highlight.php Am I doing something wrong? Can highlight work on IE6 without reseting the background color by hand in the end? -- rodri

[jQuery] Re: Like Google Calendar

2007-05-23 Thread Anthony Leboeuf(Worcester Wide Web)
Hi Chris you can take my code if your looking for static calendar http://bostonbilliardclubs.com/calendar.php?time=1182571200 The one I have is dynamic and is built with php in tables, you can get the css from here http://bostonbilliardclubs.com/templates/bb/modules.css I kinda mimicked the wh

[jQuery] Re: Good news, everyone!

2007-05-23 Thread Leonardo K
URL: http://200.169.53.89:8080/WebApplication/Test.jsp?acao=cadastrar On 5/23/07, Leonardo K <[EMAIL PROTECTED]> wrote: When I use the success function, the plugin start to validate hidden fields. :( $("form").validate({ focusInvalid: true, event: "keyup", success: func

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Josh Nathanson
The OP has a case where there are two forms, each with its own ID, however, the elements of each form are the same so there are duplicate ID's. Perhaps this is not the best design pattern, and class or name could be used for selection rather than IDs. Or, set it up so the IDs are not duplica

[jQuery] Re: background-position

2007-05-23 Thread Sean Catchpole
Liam, I highly recommend checking out the panView Plugin: http://motherrussia.polyester.se/jquery/panview/ or jQPanView: http://projects.sevir.org/storage/jpanview/index.html ~Sean

[jQuery] BlockUI question

2007-05-23 Thread bdee1
I am using the BlockUI plugin on one of may pages. it works well for blocking the UI, but i am having trouble gettign it to unblock the UI. on this page, i click a hyperlink which calls a page that generates a PDF file. this page calls another page which sends the PDF file to the browser so the

[jQuery] Re: jquery tabs: creating tabs without triggering onShow action

2007-05-23 Thread Klaus Hartl
Klaus Hartl wrote: [EMAIL PROTECTED] wrote: Hi, I noticed when I create my JQuery tabs, the "onShow" callback function is automatically invoked. $('#container').tabs(tab_id, { remote: true, fxFade: true, fxSpeed:

[jQuery] Re: Color Label on Form Validation Error

2007-05-23 Thread Scott Moore
Jörn, that works great. Thanks.

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Daemach
I think you can use a selector in a context attribute, but there isn't much point in this situation. If all of your ID's are unique (and they should be), $('#make') is enough. You don't need a context. When you use the #, it's the same as doing document.getElementByID(); On May 23, 11:19 am, "S

[jQuery] Re: Switching params in $.post()

2007-05-23 Thread Jean Nascimento
How can i send ISO charset with .post function this is making me crazy On 5/23/07, Tom McGuire <[EMAIL PROTECTED]> wrote: Awesome. Thanks! I'm just a JS newb in general, and it's good to see people actually help us newbies out. ~ Tom On May 23, 11:52 am, "Daniel Hollocher" <[EMAIL PROTECTE

[jQuery] Re: Like Google Calendar

2007-05-23 Thread Chris W. Parker
On Wednesday, May 23, 2007 11:39 AM Jean Nascimento <> said: > I have to made a Calendar for my sys and wanna make some like the > Google Calendar > but my real doubt is How the best way to make the cells (days/events) > div in a tables? divs with display: table-cell ?? I wanna know the > best wa

[jQuery] Re: Ajax Problem?

2007-05-23 Thread Benjamin Sterling
I could be wrong on this, but you have json as the dataType and your are passing xml, so, although firebug says it sees the file correctly, jquery is not successfully getting json, it's getting xml. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Good news, everyone!

2007-05-23 Thread Leonardo K
When I use the success function, the plugin start to validate hidden fields. :( $("form").validate({ focusInvalid: true, event: "keyup", success: function(label) { label.text("").addClass("campoValido"); }, errorClass: "campoErro", errorContain

[jQuery] Re: Trouble with calendar icon and datePicker v2

2007-05-23 Thread Kelvin Luck
Thanks for the headsup on this - I've now fixed the code in the example pages... Wizzud wrote: the class of the anchor is actually .dp-choose-date, not .date-picker as the example page states. Check his css and you'll find an entry for a.dp-choose-date{}. Chris W. Parker wrote: Hello, Wh

[jQuery] Like Google Calendar

2007-05-23 Thread Jean Nascimento
I have to made a Calendar for my sys and wanna make some like the Google Calendar but my real doubt is How the best way to make the cells (days/events) div in a tables? divs with display: table-cell ?? I wanna know the best way to do this with a rounded box in background =D ps: the rounded box i

[jQuery] Re: Detecting Mouse Paste

2007-05-23 Thread Bil Corry
Glen Lipka wrote on 5/23/2007 11:11 AM: I have an input and I want to detect if the user drags a value into it or if they right-click and then click "paste". Is there an event that fires in these cases? Tom Deater mentioned adding some code to his plug-in to detect it:

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Josh Nathanson
It's invalid to have a string as the second parameter to jQuery. I don't know if that's true? I have this that works fine, to select the first option in a select (id 'prodlist'): $("option:first","#prodlist").attr("selected",true); -- Josh

[jQuery] NEWS: jQuery-Powered FeedBurner to be Acquired for $100M

2007-05-23 Thread Rey Bango
Congrats to the FeedBurner team: http://www.techcrunch.com/2007/05/23/100-million-payday-for-feedburner-this-deal-is-confirmed/ Rey -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com

[jQuery] background-position

2007-05-23 Thread Liam Byrne
Hi folks I'm looking for a handy way to pan across an image; my theory is that if you set the image as the background to a div and then, on mouse move, change the background position, this would work pretty sweetly. Is this possible with JQuery, and if so, does anyone have the code/syntax t

[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com

2007-05-23 Thread Sean Catchpole
As others have mentioned, plugins are the main form of reusable code. This is not very different from creating a carefully constructed Object in a OO language. In fact I find most OO languages to not have very reusable code, the only languages that support re-usability in my opinion, are function

[jQuery] Re: Google Code SVN Issue - PROBLEM RESOLVED

2007-05-23 Thread Rey Bango
No prob. Hopefully it won't happen to anyone else but at least there's a solution. I plan on contacting Kasperky on this. I'm just curious as to why this only effects Googles SVN repos. Rey Brandon Aaron wrote: Glad you were able to get it worked out. Thanks for sharing the solution. -- B

[jQuery] Validation Plugin validates hidden form fields

2007-05-23 Thread Ryan Rose
Jörn, How can I force the new validation plugin to ignore form elements with display: none? I modified the previous release this way: validator.elements = this.find(":input:not(:submit):not(:reset):visible").focus(function() { validator.lastActive = this; }); Great work as always.

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Sean Catchpole
$('#make','#redlineSelect').click( do something here) It's invalid to have a string as the second parameter to jQuery. Try this instead: $("#redlineSelect #make").click(...); ~Sean

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Jeffrey Kretz
Although .size() has very little overhead, .length is a bit better in terms of performance. I just ran 100,000 iterations of .size() vs length, and .length is about 3 times faster. So: var redline = $('#redline'); if (!redline.length) // do some stuff here. JK -Original Message--

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Benjamin Sterling
I would say yes. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Andy Matthews
Looks like I answered my own question. Doesn't appear that this is possible. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Wednesday, May 23, 2007 1:01 PM To: jquery-en@googlegroups.com Subject: [jQuery] Question about the context attribute

[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com

2007-05-23 Thread ħ
I had a similar problem before... There were "some people" who could not think in anything else other than regular OO and knocked jQuery. Sad story. I believe this model is exactly what makes jQuery strong: it's ability to not be constrained to object trees, but be able to mix as the selectors req

[jQuery] Detecting Mouse Paste

2007-05-23 Thread Glen Lipka
I have an input and I want to detect if the user drags a value into it or if they right-click and then click "paste". Is there an event that fires in these cases? Thanks, Glen

[jQuery] Re: Dispatch events into dynamically loaded content

2007-05-23 Thread [EMAIL PROTECTED]
Thanx a lot Chris, I've already found that topic but can't do it myself. So I did it but it "blinks" more and more according to the clicks made. My js code is this one $(document).ready(function(){ var loadContent = function(){ $('.research .toolbox li a, .researc

[jQuery] Question about the context attribute of a jQuery call

2007-05-23 Thread Andy Matthews
Assume I have two form elements, both of which are identical in every way (contents and all) except for their IDs. One named redlineSelect, and the other named inventorySelect. some options here some options here if I do a click function like so: $('#make

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Andy Matthews
Thanks. I think I'm going to try a different tack. Ideally, I'd like to check to see if an object exists AND store a reference to that object at the same time. So I'll do this: var redline = $('#redline'); if (!redline.size()) { // do some stuff here } Thanks for the point to size() da

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Daemach
var redlineExists = ($('#redlineSelect').size() > 0) if you want a true boolean, I guess... On May 23, 10:31 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > I've got some multiple dropdowns that I'm trying to conditionalize. Our > designers can select one (or both) of two sets of code. I'd like

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread cliff
That's it, just $('[EMAIL PROTECTED]) I don't need form or input in front of it? > Do you mean something like: > $("input").next().remove(); > or > $("input").siblings("div.error").remove(); Interesting. Either of these would be a start. But I'd still need to loop over next to remove all siblin

[jQuery] Re: Boolean value for if an element exists

2007-05-23 Thread Daemach
var redlineExists = ($('#redlineSelect').size()) On May 23, 10:31 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > I've got some multiple dropdowns that I'm trying to conditionalize. Our > designers can select one (or both) of two sets of code. I'd like to > conditionalize my jQuery code so that

[jQuery] Boolean value for if an element exists

2007-05-23 Thread Andy Matthews
I've got some multiple dropdowns that I'm trying to conditionalize. Our designers can select one (or both) of two sets of code. I'd like to conditionalize my jQuery code so that if the redline dropdowns exist, I can run that code, or if the inventory dropdowns exist, I can run THAT code. Is there

[jQuery] Re: Hacker wants to format Ajax Data elegantly

2007-05-23 Thread Sean Catchpole
Why not send the data back as JSON, and then parse through it server side. There are probably some small scripts that already do this for ASP. ~Sean

[jQuery] Re: rounded-corners in images (photos) ?

2007-05-23 Thread Jean Nascimento
For that u can apply the PNG OVERLAY tech u make a corner border with inside invisible and put this above the img =D On 5/23/07, paul wisehart <[EMAIL PROTECTED]> wrote: Hi, Anybody know a good way in jQuery to round the corners of photo images? thanks for any pointers, paul w -- []´s

[jQuery] Re: Google Code SVN Issue - PROBLEM RESOLVED

2007-05-23 Thread Bil Corry
Rey Bango wrote on 5/23/2007 9:21 AM: Well, I figured it out and it was Kasperky AV. A sign of the times when AV products cause more harm than the actual viruses: "The update of Norton's virus database on Friday has caused millions of PCs and computers to crash, a heavy blow to people's dai

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Daemach
I don't know if you've found these yet, but here are two great sources of information - reading the examples in the api browser will really help you get your head around the jquery methodology. I'm from a DOM background too, and this is how I got up to speed http://jquery.bassistance.de/api-brow

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Daemach
I don't know if you've found these yet, but here are two great sources of information - reading the examples in the api browser will really help you get your head around the jquery methodology. I'm from a DOM background too, and this is how I got up to speed http://jquery.bassistance.de/api-brow

[jQuery] rounded-corners in images (photos) ?

2007-05-23 Thread paul wisehart
Hi, Anybody know a good way in jQuery to round the corners of photo images? thanks for any pointers, paul w

[jQuery] Re: Google Code SVN Issue - PROBLEM RESOLVED

2007-05-23 Thread Sean Catchpole
That's great news. Thanks for the feedback Rey. ~Sean

[jQuery] Ajax Problem?

2007-05-23 Thread [EMAIL PROTECTED]
I write this simple code. I check it by using firefox and firebug and firebug gives me that the request is successful. But I don't see the box "ok!"??? So what is the problem? $.ajax({ type: "GET", url: "feed.xml", dataType: "json", success: function(msg){ alert("ok!"); }

[jQuery] Re: Form Validate Plugin Question

2007-05-23 Thread Mandy Singh
Jorn? On 5/23/07, Mandy Singh <[EMAIL PROTECTED]> wrote: Okay I tried the following and that seems to work - If I assign the validate class to suppose temp then i can do - if (mobile) { temp.settings.messages['phone'] = "mobile"; } if (home) { temp.settings.messages['phone'] = "home"; }

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread Glen Lipka
re: the second part. Do you mean something like: $("input").next().remove(); or $("input").siblings("div.error").remove(); You can see different ways of achieving the same goal depending on your structure and circumstances. Glen On 5/23/07, cliff <[EMAIL PROTECTED]> wrote: I am new to jQuer

  1   2   >