Re: [jQuery] Plugin Requests

2007-03-23 Thread Allan Mullan
Ummm the slots one is already jQuery - The JS is in this file: http://commadot.com/jquery/slots/includes/indexNoProduct.js Pretty damn cool actually Allan Glen Lipka wrote: On 3/22/07, *Sean Catchpole * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Post your plugin

Re: [jQuery] Jquery can learn from Mootools for distribution its code

2007-03-23 Thread agent2026
I tend to be in this camp as well. At 20k packed, I don't really see the point of breaking it all up. And with people's use of plugins, I'd be interested to see a breakdown of customized vs full package downloads. There's been much debate on this, but in the end I guess we must trust the

Re: [jQuery] Plugin Requests

2007-03-23 Thread Karl Swedberg
Yeah, Glen is the one who wrote that. It's not in plugin form, though. I think that's the part that Glen was saying he didn't know how to do. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 23, 2007, at 2:04 AM, Allan Mullan wrote: Ummm the

Re: [jQuery] Jquery can learn from Mootools for distribution its code

2007-03-23 Thread Andy Matthews
I'm not as concerned with file size as I once was. ~20k is smaller than a single medium-sized JPG. Plus, once it gets cached, the file size is no longer an issue. I'm all for smaller file size, but I'd much rather see new development in speed or functionality than have you devs spend time building

Re: [jQuery] Jquery can learn from Mootools for distribution its code

2007-03-23 Thread Brian Cherne
I really like the one-size fits all idea. At ~20k it's really not bad (even on high traffic sites). While I don't use all of jQuery's functions on a given project it's really nice to know what's available to me... without having to patch the base library. It will be really tricky to write

[jQuery] Datepicker Enhancement Request

2007-03-23 Thread Ryan Rose
I was curious to find out if anyone has modified Kelvin's excellent datepicker plugin to work with a series of select lists instead of a single line text field? If not, could this functionality be included? Thanks. Ryan Rose http://www.digiwize.com

Re: [jQuery] Playing a beep with jQuery

2007-03-23 Thread Sean O
I was able to get a (hidden) sound to play using Mike Alsup's version of my jMp3 plugin, jq-mp3: http://malsup.com/jquery/media/ I hid the sound span and used the cls option of the plugin to make the generated sound code invisible (i.e. 0 opacity, -1000px offscreen, etc.) by CSS. However, the

[jQuery] How do I find what form my input is in?

2007-03-23 Thread Dan Eastwell
I know I can use parents to get the ancestors of my input, but this will get all forms on the page $(#myInput).parents(form); How do I find the one the form is in? var formItsIn = checkAncestors(theSearchBox, form); function checkAncestors(theItem, requiredAncestor){ var theparent =

Re: [jQuery] Datepicker Enhancement Request

2007-03-23 Thread Hrvoje Blažeković
Try this date picker http://www.frequency-decoder.com/2006/10/02/unobtrusive-date-picker- widgit-update Hrvoje On 23 ožu, 2007, at 16:08, Ryan Rose wrote: I was curious to find out if anyone has modified Kelvin's excellent datepicker plugin to work with a series of select lists instead of a

Re: [jQuery] How do I find what form my input is in?

2007-03-23 Thread Mike Alsup
I know I can use parents to get the ancestors of my input, but this will get all forms on the page Why would parents() get all the forms on the page? Your input can only be in one form. You can always use dom code: var form = $(#myInput)[0].form; Mike

Re: [jQuery] How do I find what form my input is in?

2007-03-23 Thread Klaus Hartl
Dan Eastwell schrieb: I know I can use parents to get the ancestors of my input, but this will get all forms on the page $(#myInput).parents(form); How do I find the one the form is in? var formItsIn = checkAncestors(theSearchBox, form); function checkAncestors(theItem,

Re: [jQuery] How do I find what form my input is in?

2007-03-23 Thread Rob Desbois
I think this will do it for you, although haven't tested: $(#myInput).parentNode; On 3/23/07, Dan Eastwell [EMAIL PROTECTED] wrote: I know I can use parents to get the ancestors of my input, but this will get all forms on the page $(#myInput).parents(form); How do I find the one the form

Re: [jQuery] How do I find what form my input is in?

2007-03-23 Thread Dan Eastwell
Hahaha!! Much better! And there I was, having written a recursive function in order to do it!! The function worked ok, for the record, but threw an error on var theparent = theItem.parentNode; which firebug said had 'no properties'... Well, I'll look into it should I ever need to step upwards

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Klaus Hartl schrieb: * Necessary classes are attached by the plugin if not present. That makes it easier to apply no-javascript-fallback-styles that get overruled by the tabs styles... to make rendering faster, you can of course still attach the classes in the html immediatly. but i prefer a

[jQuery] Interface slideshow not working in IE

2007-03-23 Thread Robert O'Rourke
Hi again, I'm attempting to use the Interface slideshow plugin on the site I am working on but it just does not want to work in IE. In IE7 for some reason the images just take forever to download I don't get it. Works perfect in FF.

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Klaus Hartl
Mike Alsup schrieb: I've added file upload support to the form plugin and I could use some help testing it out. If this feature interests you then go ahead and grab the beta plugin at: http://malsup.com/jquery/form/file/jquery.form.js Mike, GREAT stuff!!! I always hoped you would bake

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Will schrieb: I liked tabstruct! :) Thanks for the update. Will Hi Will, it's deprecated, but not yet removed. :-) So that option should still work. The problem with that was that there was no similiar option for the unordered list and I wanted something easier than an option... --

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Jack Killpatrick schrieb: Looks sweet. Is it possible to put the tabs on the bottom of a box? I haven't tested it, but using the class approach now should work: div id=container ... ul class=tabs-nav ... /ul /div -- Klaus

Re: [jQuery] Nest and anchor in a header

2007-03-23 Thread Klaus Hartl
Dan Eastwell schrieb: How can I change this: h2text/h2 h2other text/h2 to this: h2a href=#text/a/h2 h3a href=#other text/a/h3 Thanks, Dan. Try (untested): $('h2+h2').each(function() { var $$ = $(this); $$.before('h3a href=#' + $$.text() + '/a/h3').remove(); }); --

[jQuery] Flash plugin

2007-03-23 Thread Timothy Bowler
Hi, Im having a bit of a problem on a site with the flash plugin. It works on all browsers except safari, and some IE 6 on large corporate networks. http://reborn.or-media.com. Can anyone tell me why its going wrong? Thanx -- ___ Timothy M

Re: [jQuery] hoverIntent = my first plug-in

2007-03-23 Thread Brian Cherne
SHORT ANSWER: hoverIntent will not work onMouseOver/onMouseOut. The children would be firing events, starting and stopping timers, resetting mouse coordinates, etc. It would be a mess. The reason hoverIntent works (well, almost works... there are still some bugs) is that it tracks mouse movement

Re: [jQuery] Plugin Requests

2007-03-23 Thread Jason Levine
Ok, this isn't a plugin request but it is related to JQuery. Occasionally I wonder whether a site is using JQuery to make their cool effects. I made a bookmarklet to quickly try to access the JQuery object on the page and return either the JQuery version or a no JQuery in use message. Here's

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Alexandre Plennevaux
Bouhouhou, nobody likes my file upload plugin with progress bar , bouhouhouh :) Mike, works perfect here, winxpSP2 FF2.0.0.3 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: vendredi 23 mars 2007 16:47 To: jQuery Discussion Subject: Re:

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Dan G. Switzer, II
Mike, Thanks for that feedback Aaron! XML responses are a little dicey using the iframe approach. Although both dojo and YUI use this same technique, dojo comes right out and says they don't support XML responses: XML responses are not supported because we can't get a nice cross-browser

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-23 Thread Dan G. Switzer, II
Gareth, Dan, many thanks for the explanation. It took a couple of read throughs but it all makes sense. I've posted my presentation at: http://blog.pengoworks.com/blogger/index.cfm?action=blog:585 Take a look at the files for ex2.5_mailing_list_validation_ajax.cfm It shows off how you can

Re: [jQuery] Plugin Requests

2007-03-23 Thread Sean Catchpole
I'll accept that challenge Jason. I just finished writing my first firefox extension, Google Icon (which can be found in the sandbox section of mozilla's addon website or here: http://www.sunsean.com/googleicon/ ). This doesn't sound like it would be too hard to implement as an extension. What if

Re: [jQuery] select box - options manipulation

2007-03-23 Thread MARIO MOURA
Do you have a example? $(#edit-taxonomy-6).change(value,0); I am trying back to value=0 Regards macm 2007/3/21, Mike Alsup [EMAIL PROTECTED]: Aljosa, You need to bind to the change event on the select element. On 3/21/07, Aljosa Mohorovic [EMAIL PROTECTED] wrote: i have a

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Harald Dietrich
Great! I used ajaxupload.js before and made the decision which plugin to use on my own, which forced me to use two plugins for forms. Tested with Firefox 2.0.0.2 (Windows 2000). Tonight I will do additional tests with IE7 (Windows XP). Harald -Original Message- From: [EMAIL

[jQuery] Gurus - best Javascript references?

2007-03-23 Thread Daemach
I have no formal programming training, so I often brute-force things that could be a lot more elegant. One thing I'm struggling with in particular now is the benefits of creating object prototypes over just storing data in a global tree. A few people on this list have taken a shot at explaining

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Jörn Zaefferer
Daemach schrieb: I have no formal programming training, so I often brute-force things that could be a lot more elegant. One thing I'm struggling with in particular now is the benefits of creating object prototypes over just storing data in a global tree. A few people on this list have

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Mike Alsup
Alexandre, I was under the impression that quite a few people like your plugin (including me). The upload feature in the form plugin is not meant to replace what you've done. I think some UIs are well suited for jqUpload. I'm just trying to fill out some missing functionality in the form

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Klaus Hartl
Daemach schrieb: I have no formal programming training, so I often brute-force things that could be a lot more elegant. One thing I'm struggling with in particular now is the benefits of creating object prototypes over just storing data in a global tree. A few people on this list have

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. I hope I'm not stepping into the role of guru by replying to this message!! Here's a great article on closures, references, scope, etc: http://jibbering.com/faq/faq_notes/closures.html --N .:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.: ||:. Nathan Young

[jQuery] input textfield within a DIV that is sortable

2007-03-23 Thread dalvarado
Hi, I'm having trouble getting the cursor to focus on a text field within a DIV that has been made sortable. Here is the HTML div id=m12 class=sortList form onsubmit=return get(this)/form table tr tdimg width=100

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Mike Alsup
Nathan, you beat me to it! That is best reference I've seen on identifier resolution and scope chains. I *highly* recommend reading it as many times as it takes to sink it. You'll be glad you did. Mike Here's a great article on closures, references, scope, etc:

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Daemach
Yep - that is the exact article that finally helped me understand closures. I have more to learn, but at least I get it now. I often have to see things at that level before it sinks in :) As the old guy once said, don't tell me what to do, tell me why I'm doing it. On 3/23/07, Nathan Young -X

[jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread Nate Cavanaugh
Hi all, I'm looking to find the current numeric position of a certain element amongst it's siblings. Let's say I have a list like so: ul liTest 1/li liTest 2/li li class=selectedTest 3/li liTest 4/li liTest 5/li /ul So, I grab $('li.selected'). I now want to find out what number it is (in this

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Jake McGraw
I'd recommend JavaScript: The Definitive Guide by David Flanagan, O'Reilly Publishing. It is the most comprehensive guide I've seen for the inner (and I mean INNER) workings of JavaScript. It really helped me to understand how things actually worked. - jake On 3/23/07, Daemach [EMAIL PROTECTED]

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mark
yea that`s the idea.. nut how to make it in ajax? 2007/3/22, Benjamin Sterling [EMAIL PROTECTED]: I would assume you would put a set timeout function on it somewhere and then have the the form submit and process thru ajax, and when the response from the server is complete, you will append the

Re: [jQuery] Plugin Requests

2007-03-23 Thread Leonardo K
Hi Glen, look this: Select box Plugin http://cbach.jquery.com/demos/selectbox2/ On 3/23/07, Glen Lipka [EMAIL PROTECTED] wrote: Ooh sorry, one more. It would be awesome to have a plugin that could transform a regular Selectoption structure into something that you could use CSS on. Maybe even

Re: [jQuery] Plugin Requests

2007-03-23 Thread Sean Catchpole
Nathan said: There's a greasemonkey script someone wrote. If you are referring to Google Icon, I wrote that userscript too =P and it can be found here: http://userscripts.org/scripts/show/6061 ~Sean ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread Karl Swedberg
Hi Nate, Give this one a shot: $('li').each(function(index){ if($(this).is('.selected')) { alert(index+1); }; }); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 23, 2007, at 1:41 PM, Nate Cavanaugh wrote: Hi all, I'm looking to find

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Karl Swedberg
When that jQuery book comes out, I hear it's going to have an awesome Appendix dealing with closures. ;-) --Karl p.s. Look for more book details coming soon (hint, hint) _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 23, 2007, at 1:22 PM, Nathan Young

Re: [jQuery] Plugin Requests

2007-03-23 Thread Dan G. Switzer, II
I know no one asked for my opinion, but I've never been a fan of trying to recreate the select box just for design reasons. There's certain things that a select box does that can't be re-created using DOM elements (such as expanding outside the browser window.) Plus, I've yet to see one that

[jQuery] Interface Sortables

2007-03-23 Thread SiCo
Hi, I am trying to create two lists which the user can sort between. Basically an active and inactive list of sections of the site. So those in list a will be active and those in b will be inactive. Simple and I've got it working using Interface and a bit of fiddling. However (Yes the but!) I

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Ⓙⓐⓚⓔ
I picked up John's book over at http://ejohn.org/. He gets a few extra pennies when you order thru his page! On 3/23/07, Klaus Hartl [EMAIL PROTECTED] wrote: Daemach schrieb: I have no formal programming training, so I often brute-force things that could be a lot more elegant. One thing I'm

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Omar Rodriguez
I would think that you could do this using php and gd... http://us3.php.net/manual/en/ref.image.php here's one way to do it... http://icant.co.uk/articles/phpthumbnails/ a quick search for php create thumbnails should help you find other/better resources for creating images on the fly with php.

[jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Arne-Kolja Bachstein
Hi there, I am using the form plugin to serialize my form fields and post them to a php file. It's working fine, but I need to add a variable added to the serialized object and/or array, that I use to prevent spamming (a security variable that is not printed in the html code). So I have the

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Ⓙⓐⓚⓔ
that would require intimate knowledge of png format internals... I've never seen that kind of code in Javascript! php or perl would be a much saner direction! On 3/23/07, Mark [EMAIL PROTECTED] wrote: yea that`s the idea.. nut how to make it in ajax? 2007/3/22, Benjamin Sterling [EMAIL

[jQuery] Flash plugin

2007-03-23 Thread Timothy Bowler
Hi, Im having a bit of a problem on a site with the flash plugin. It works on all browsers except safari, and some IE 6 on large corporate networks. http://reborn.or-media.com. Can anyone tell me why its going wrong? Thanx ___ jQuery mailing

Re: [jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Mike Alsup
Try this: var securityCheck = mysecuritycode; var formData = $(#myForm).formToArray(); formData.push( { name: security, value: securityCheck }); ... // replace security with whatever the correct name is. On 3/23/07, Arne-Kolja Bachstein [EMAIL PROTECTED] wrote: Hi there, I am using the form

Re: [jQuery] Plugin Requests

2007-03-23 Thread Jason Levine
The JQuery logo sounds good as it would keep the status bar as uncluttered as possible. You could have the mouseover tooltip inform you as to which JQuery version was being used. -- View this message in context: http://www.nabble.com/Plugin-Requests-tf3446837.html#a9641731 Sent from the JQuery

Re: [jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread John Resig
You want the index() function: var item = $(li.selected)[0]; var position = $(li).index( item ); On 3/23/07, Nate Cavanaugh [EMAIL PROTECTED] wrote: Hi all, I'm looking to find the current numeric position of a certain element amongst it's siblings. Let's say I have a list like so: ul

Re: [jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Arne-Kolja Bachstein
Thank you, Mike, it works great this way! :-) Arne http://www.arnekolja.com Mike Alsup wrote: Try this: var securityCheck = mysecuritycode; var formData = $(#myForm).formToArray(); formData.push( { name: security, value: securityCheck }); ... // replace security with whatever the correct

[jQuery] blockUI and IE 6.0 issues

2007-03-23 Thread Kevin Fricovsky
Anyone else having issues with Mike's blockUI extension in IE 6.0? This thing works like a beauty in FF. And it's a great plugin for what I need versus the more robust jqModal - which is great too but offers more functionality than I need right now. That being said, I may have to work with

Re: [jQuery] Plugin Requests

2007-03-23 Thread Kenneth
I modified the original GreaseMonkey script by Paul Bakaus to remove the remote dependencies. When it detects jQuery, it will show the jQuery icon as a small overlay in the bottom-right of your browser. http://kenman.net/jQuery/jquerydetector_local.user.js (sorry I forget where Paul's site is)

Re: [jQuery] blockUI and IE 6.0 issues

2007-03-23 Thread Mike Alsup
Kevin, Can you send me a link to your page? I've never seen the won't unblock problem before. The height issue is a result of not stretching the body element. IE6 borks in certain situations when that happens and so I dropped that code because it was becoming problematic. There were two

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mark
I would think that you could do this using php and gd... http://us3.php.net/manual/en/ref.image.php here's one way to do it... http://icant.co.uk/articles/phpthumbnails/ a quick search for php create thumbnails should help you find other/better resources for creating images on the fly with

[jQuery] How install JQuery Plugins?

2007-03-23 Thread MARIO MOURA
Hi I am trying install JQuery Plugins but I cant. I followed instructions ...simply include their source file after you include jQuery's... Obviously my page will be something like this: script type=text/javascript src=/home2/misc/jquery.js/script script type=text/javascript

Re: [jQuery] Plugin Requests

2007-03-23 Thread Glen Lipka
@Leonardo, This looks great. It definitely belongs on the plugins page. Select box Plugin http://cbach.jquery.com/demos/selectbox2/ @Dan, Take a look at this one: http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html It goes WAY beyond what a typical select box does. Nice

Re: [jQuery] How install JQuery Plugins?

2007-03-23 Thread Matt Stith
The src should be relative to the page your putting it on, so if your page is in /home2/sites/default, then your src should be plugins/jquery- select.js On 3/23/07, MARIO MOURA [EMAIL PROTECTED] wrote: Hi I am trying install JQuery Plugins but I cant. I followed instructions ...simply include

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mark
ehm.. my javascript knowledge is kinda limited ^_^ would you (or anyone that has some javascript knowledge) like to make a sample code? i can expand it to mu wishes when i have a sample code but it`s really hard for me to start from scratch. i can do all the php coding myself Thanx Mark.

Re: [jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread Ariel Jakobovits
Might want to be careful with that last suggestion, and be sure to specify the specific ul in question in case there are other li on the page. i.e. $(ul#theid li) though i am just learning jquery and am not sure if that is the correct syntax to select the li in a particular ul by id. -

[jQuery] return false

2007-03-23 Thread Sebastián V . Würtz
I have a html like this div id=list ul lia href=data/cat1.htmcat1/a/li ... /ul The html $('#list a').each(function(i){ $(this).click(function(event){ $(#list).fadeOut(slow).load(this.href); $(#list).fadeIn(slow);return false; })

Re: [jQuery] Plugin Requests

2007-03-23 Thread Dan G. Switzer, II
Glen, Take a look at this one: http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html It goes WAY beyond what a typical select box does. Nice styling. Keyboard shortcuts, tabbing. Nice scrolling. Type in

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mateusz Misiorny
On 3/23/07, Mark [EMAIL PROTECTED] wrote: ehm.. my javascript knowledge is kinda limited ^_^ would you (or anyone that has some javascript knowledge) like to make a sample code? i can expand it to mu wishes when i have a sample code but it`s really hard for me to start from scratch. i can do

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mark
do you have a special timeout extension installed? cause that`s not working for me. 2007/3/23, Mateusz Misiorny [EMAIL PROTECTED]: On 3/23/07, Mark [EMAIL PROTECTED] wrote: ehm.. my javascript knowledge is kinda limited ^_^ would you (or anyone that has some javascript knowledge) like to

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Daemach
I just ordered it myself along with Flanagan's book. On 3/23/07, Klaus Hartl [EMAIL PROTECTED] wrote: Daemach schrieb: I have no formal programming training, so I often brute-force things that could be a lot more elegant. One thing I'm struggling with in particular now is the benefits of

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Glen Lipka schrieb: This is awesome. I told my successor at Intuit about it to see if he can replace the homepage tabs with your tabs. They removed the slide effect because it had issues when you clicked real fast between tabs. I think yours fixes that. Congrats! Glen Thanks

[jQuery] Inserting info into opening doc

2007-03-23 Thread Shelane Enos
With plain javascript I can do this from a child window: opener.document.getElementById(resumemessage).innerHTML = Resume uploaded + filename; What I'd like to do with jquery is $('opener.#resumemessage).load(myprocesspage.lasso, {pageID: 25}); Is this possible? What is the right syntax?

Re: [jQuery] Upload image, make thumbnail all on the fly.. possible?

2007-03-23 Thread Mark
oke.. timeout is a default javascript function :P i`m getting somewhere now. i will post my results when i`m getting close to the final result. or i will put it online somewhere.. i think this can be verry usefull for others aswell. 2007/3/23, Mark [EMAIL PROTECTED]: do you have a special

Re: [jQuery] How do I, record what item was clicked

2007-03-23 Thread Klaus Hartl
Scottus schrieb: i have page div id=one click one/div div id=two click one/div i want a script in the header to be able to report the ID of the div that I clicked on. $(function() { $('#one, #two').bind('click', function() { alert('Clicked: ' + this.id); }); });

Re: [jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread Nate Cavanaugh
You are teh hotness John :D Thanks for that. I've been racking the cabeza for quite a while trying to get that one :) John Resig wrote: You want the index() function: var item = $(li.selected)[0]; var position = $(li).index( item ); On 3/23/07, Nate Cavanaugh [EMAIL PROTECTED]

Re: [jQuery] animate

2007-03-23 Thread Klaus Hartl
Alexander Petri schrieb: Hi, i have a small problem to solve: i want to animate the src attribute in an img tag i have 25 scaled images of a filled circle. the larest is 640x640px and the smallest is 32x32 i want to animate the steps in one second. can anyone give me a hint how to do

[jQuery] Google group email problem

2007-03-23 Thread Janet Weber
I joined the group but I can't set the email option for indivdual emails. Does anyone else have this problem? Janet ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] animate

2007-03-23 Thread rolfsf
depending on the image type, that could be a really bad way to do it too... not all images scale well - you can get a lot of distortion and artifacts. Matt Stith wrote: Thats a really bad way to do that! The best way would be to just have a 640x640 image, and animate the width and height

Re: [jQuery] Google group email problem

2007-03-23 Thread John Resig
Yeah - it seems like everyone has this problem. Unfortunately, it doesn't seem like it's possible to open it up until everyone's email addresses are moved over. Let's hope that it happens soon. --John On 3/23/07, Janet Weber [EMAIL PROTECTED] wrote: I joined the group but I can't set the email

Re: [jQuery] Google group email problem

2007-03-23 Thread Dossy Shiobara
On 2007.03.23, Janet Weber [EMAIL PROTECTED] wrote: I joined the group but I can't set the email option for indivdual emails. Does anyone else have this problem? I have the same problem--I thought it was just me. Glad to hear I'm not the only one. Is this a problem with the group's settings

Re: [jQuery] Google group email problem

2007-03-23 Thread John Resig
It appears to be related to the fact that the group is currently archiving conversations - it seems like you can't get all emails when the group is in archive mode. Once everyone's email addresses are moved over I can un-toggle it out of archive mode and make the switch to move the whole list

Re: [jQuery] How do I, record what item was clicked

2007-03-23 Thread Evan
Something like this should work, assuming you want it to apply to only those 2 elements. $(document).ready(function() { $('#one, #two').click(function() { var id = $(this).attr('id'); alert(id + ' was clicked.'); } } ); On Mar 24, 5:28 am, Scottus [EMAIL PROTECTED] wrote:

Re: [jQuery] return false

2007-03-23 Thread Evan
By putting return false, you're preventing the default behaviour of the anchor, otherwise it would still fire like a normal link. Alternatively, you could use another element (like a span, styled like an anchor) to achieve the same effect. On Mar 24, 8:30 am, Sebastián V. Würtz [EMAIL PROTECTED]

Re: [jQuery] blockUI and IE 6.0 issues

2007-03-23 Thread Kush Murod
Hi Kevin, I've had some issues with the plugin in IE, and received good support from Mike Alsup. Try this version http://khurshid.com/sebs/js/jquery.block.js It is older than what you are using, but works perfect for me. --Kush Kevin Fricovsky wrote: Anyone else having issues with Mike's

Re: [jQuery] Event not firing inside unhidden div

2007-03-23 Thread Kush Murod
Hi Karl, This is as if you were reading my mind, this gold dude Thanks heaps --Kush Karl Swedberg wrote: Hi Kim, My friend Jonathan Chaffer posted a reply to a similar question that I think you might find helpful. Here it is: In the near future there will be a dead-tree reference for

Re: [jQuery] Is the JQuery slowest?

2007-03-23 Thread Juha Suni
John Resig wrote: The trick is that his library, which only does selectors and basic DOM additions, comes in at 20kb - the same size as jQuery complete (which includes Ajax, Effects, etc.) I have some speed improvements sitting around that need to be merged in and tested some more. I'm

Re: [jQuery] Best way to find current position in DOM stack?

2007-03-23 Thread Klaus Hartl
John Resig schrieb: You want the index() function: var item = $(li.selected)[0]; var position = $(li).index( item ); What about scoping the first query: var lis = $('li'); var position = lis.index( $('.selected', lis)[0] ); -- Klaus ___ jQuery

Re: [jQuery] Jquery can learn from Mootools for distribution itscode

2007-03-23 Thread Alexandre Plennevaux
John, do you actually sleep? Thanks for all this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: jeudi 22 mars 2007 19:44 To: jQuery Discussion Subject: Re: [jQuery] Jquery can learn from Mootools for distribution itscode Actually, I

Re: [jQuery] Event not firing inside unhidden div

2007-03-23 Thread Kush Murod
I would also be interested in finding out whether we can do .hover on elements implementing event bubling --Kush Kush Murod wrote: Hi Karl, This is as if you were reading my mind, this gold dude Thanks heaps --Kush Karl Swedberg wrote: Hi Kim, My friend Jonathan Chaffer posted a reply to

Re: [jQuery] google takes over my error div!!!

2007-03-23 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: I suspect this is because Google is inserting content into any label tag it sees--which is what Jorn's (I wish I could remember the keystroke to get the accent right in Jorn's name) Form Validation Plug-in uses. My guess is if this was switched to some other

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Will schrieb: I liked tabstruct! :) Thanks for the update. Will Hi Will, it's deprecated, but not yet removed. :-) So that option should still work. The problem with that was that there was no similiar option for the unordered list and I wanted something easier than an option... --

[jQuery] How can I get a second children element?

2007-03-23 Thread MARIO MOURA
Hi I am newbie How can I get a second children element? In firebug I have ---DIV --FIELD --FIELD --FIELD --FIELD --FIELD My problem is all children have same name. How can I get second and after the third... Regards -- macm

Re: [jQuery] google takes over my error div!!!

2007-03-23 Thread Dan G. Switzer, II
Jörn, Thanks for investigating. It would be easy to make the element used for error messages customizable. What would you recommend as the default? The Google Toolbar problem can occur everywhere, so the label-default seems like a bad idea now. Well, my initial thought was a div /, but perhaps

Re: [jQuery] anyone success to inegrate sortable with mysql/php?

2007-03-23 Thread Juha Suni
Matt Kruse wrote: i see the scriptaculs thing that rule on the web... maybe its because there are working examples of scriptacouls with php/mysql integration? How would a client-side sorting plugin interact with php/mysql? Once the rows are delivered to the browser (independent of

Re: [jQuery] Nest and anchor in a header

2007-03-23 Thread Dan Eastwell
Sorry, I specified my problem incorrectly. Apologies. I meant to ask 'how do you wrap the text in an element in an anchor, if that's the only node within that element'. This was my solution, although it's very long and unwieldy: function wrapTextInAnAnchor(theElement){

Re: [jQuery] Jquery can learn from Mootools for distribution its code

2007-03-23 Thread Daemach
I had some thoughts along this line too. I got hung up on dependencies. If there was a central plugin library and a standardized method for setting version numbers and such, an auto- updating mechanism would be really handy. I was thinking more along the lines of an apollo or win32 front-end

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Klaus Hartl schrieb: * Necessary classes are attached by the plugin if not present. That makes it easier to apply no-javascript-fallback-styles that get overruled by the tabs styles... to make rendering faster, you can of course still attach the classes in the html immediatly. but i prefer a

[jQuery] Function.call() and xss?

2007-03-23 Thread Luke Lutman
I got an email today that one of my plugins might be a cross-site scripting/security risk because the plugin uses the Function.call() method, like so: $.fn.plugin = function(elem, options, callback) { callback.call(elem, options); }; Has anyone heard of or dealt with this problem? If it

Re: [jQuery] Javascript dump, ala Coldfusion's CFDUMP

2007-03-23 Thread Christopher Jordan
Nice piece of hackery, Daemach! Thanks for the jQuery port of Shawn's excellent tool! :o) Cheers, Chris Daemach wrote: I wrote the jquery plugin and fixed a few bugs but credit for the original dump() goes to Shawn at Netgrow. On Mar 22, 10:50 am, Michael E. Carluen [EMAIL PROTECTED]

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Daemach
Any recommendations? ;) My stumbling block is the following: I have a masking function that lets you define a mask for an input field: $(#myInput).fieldMask((999) 999-) This lets me force an input into a certain pattern. At the moment I have a root global object which is just a place to

Re: [jQuery] PNG Fix and the browser sniffer

2007-03-23 Thread Robert O'Rourke
Olaf Bosch wrote: Robert O'Rourke schrieb: The intention is to slice up that massive background image on the fly which is easy to do with the cms I'm using, I am going to have a set of images for choosing the big background image or for getting rid of it altogether down one side so I

Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-23 Thread Klaus Hartl
Jack Killpatrick schrieb: Looks sweet. Is it possible to put the tabs on the bottom of a box? I haven't tested it, but using the class approach now should work: div id=container ... ul class=tabs-nav ... /ul /div -- Klaus

  1   2   >