[jQuery] Re: IE and the Invalid Source Code Error

2007-07-27 Thread Stephan Beal
Hi, Mike! Something not directly related to your problem, but maybe helpful nonetheless... you can chain a lot of these calls to make them run faster. As it is written now, you are forcing jQ to repeat a few of the searches several times... On Jul 27, 1:54 am, mcraig [EMAIL PROTECTED] wrote:

[jQuery] hiding a div when clicked outside of it

2007-07-27 Thread Ganeshji Marwaha
Hi friends, I am showing a div on click of a hyperlink. Now, when i click elsewhere in the document other than the div itself, then i want to hide the showing div... Is there any easy way to do this? -GTG

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread David Duymelinck
Oh sorry it is my mistake i was forgotten i changed .css({height:'100%',width:'100%',position:'fixed',left:0,top:0,'z-index':z-1,opacity:c.overlay/100}) to .css({height:'100%',width:'100%',position:'absolute',left:0,top:0,'z-index':z-1,opacity:c.overlay/100}) That fixed the problem for me

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread David Duymelinck
To put my money where my mouth is I tried it and i changed the css part to .css({height:$(document).height(),width:$(window).width(),position:'absolute',left:0,top:0,'z-index':z-1,opacity:c.overlay/100}) It works fine in IE6, FF2 for me. -- David David Duymelinck schreef: The only

[jQuery] Re: Ken Burns effects using jQuery?

2007-07-27 Thread Tane Piper
Please correct me if I'm wrong, but does the upcoming jQuery UI library not have a zoom effect planned? On 26/07/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: How about this one: http://medienfreunde.com/lab/innerfade/ It is nice, but there is no move and no zoom, which are the effects

[jQuery] Re: Iteration through multiple class attribute values

2007-07-27 Thread Erik Beeson
each iterates over the elements of a given array. Since a string is an array of characters (try alert(bar[1]) if you don't believe it), each is iterating over each character. Maybe try splitting the classes on space characters? Maybe something like this: $.each(foo.className.split(' '), ...);

[jQuery] Iteration through multiple class attribute values

2007-07-27 Thread pd
Hi All I'm trying to iterate through a DOM object's class values to develop a form validation routine. At the moment the $.each() function is treating each and every character in the class value as a separate item, instead of splitting the values into separate values based on spaces. Therefore

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread David Duymelinck
The only problem i found is when you scroll a large page it will have an uncovered bottom but that can be solved by using the dimensions plugin and replace the 100% with the fetched document with and height, I haven't tried it yet myself. David Duymelinck schreef: Oh sorry it is my

[jQuery] My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread twe . alexander
Hi all, Happy to share this plugin! It is base on Klaus's tab plugin. http://www.twe-market.com/tab/#remote-tab-4 Regards, Tung

[jQuery] Re: [Off-Topic] CSS Combine Images

2007-07-27 Thread Christof Donat
Hi, I have been using this technique for some time now and always searched for a tool that would help me combine those images easily, but never succeeded. That is why I decided to build my own :) Have you had a look at ImageMagick? The ImageMagick tool montage should do what you need. I

[jQuery] Re: [Off-Topic] CSS Combine Images

2007-07-27 Thread Klaus Hartl
Alexander Graef wrote: Just google for it, there are many many sources that have dealt with this over the years. Here are some: http://www.alistapart.com/articles/slidingdoors2/ http://www.websiteoptimization.com/speed/tweak/combine/ http://www.quate.net/newsnet/read.php?id=48

[jQuery] Re: Iteration through multiple class attribute values

2007-07-27 Thread pd
Thanks Erik. This situation has got me all muddled. Where you wrote string is an array of elements I thought I was misreading something! I need a good night's sleep or ten and a clear mind :) Thanks again On Jul 27, 4:49 pm, Erik Beeson [EMAIL PROTECTED] wrote: each iterates over the

[jQuery] Re: [Off-Topic] CSS Combine Images

2007-07-27 Thread Alexander Graef
I have done this in php with gd and ImageMagick in the past, but this a desktop application that will allow more finegrained control of the combined output image and the source handling in the future. Sure there are many options to do it, I even created a photoshop action to do it, but none of

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread Ganeshji Marwaha
cool, that is wonderful... it would be cooler if you provided option to cache (or not) ajax requests. This means, when an ajax tab is clicked for the first time u load the content from the server, from the next time onwards the downloaded information is displayed. -GTG On 7/27/07, [EMAIL

[jQuery] Re: Attach pre-defined events to loaded dom elements?

2007-07-27 Thread David Duymelinck
I think this is what you need : http://www.learningjquery.com/2006/09/sacrificial-lambda -- David Phillip B Oldham schreef: Hi all I have a document with some links with a certain class. When loaded, some events are attached to these links. I'm then using $().load() to grab a HTML

[jQuery] Re: [Off-Topic] CSS Combine Images

2007-07-27 Thread Christof Donat
Hi, I have done this in php with gd and ImageMagick in the past, but this a desktop application that will allow more finegrained control of the combined output image and the source handling in the future. montage is a CLI tool with fairly finegrained control of the combined output ;-)

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread Stephan Beal
On Jul 27, 9:23 am, [EMAIL PROTECTED] wrote: Happy to share this plugin! It is base on Klaus's tab plugin.http://www.twe-market.com/tab/#remote-tab-4 Nice :). Two comments: a) In Firefox, the Download link is almost completely hidden/covered up by the tabs. b) i would recommend renaming your

[jQuery] Attach pre-defined events to loaded dom elements?

2007-07-27 Thread Phillip B Oldham
Hi all I have a document with some links with a certain class. When loaded, some events are attached to these links. I'm then using $().load() to grab a HTML fragment and append it to the DOM. Inside this HTML fragment are more links with aforementioned class. Is there a way I can globally

[jQuery] Re: [Off-Topic] CSS Combine Images

2007-07-27 Thread Alexander Graef
Thanks for the input. The image formats are not really an issue, just not supported at this stage of the project :) And this is a cross platform tool, currently running on windows and mac, soon linux. Just had no time to test it on Linux yet. Cheers Alexander -Original Message- From:

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread twe . alexander
Dear Klaus, Sorry~I wasn't trying to make you feel bad on purposed. I'll fixed my title~ And I just want to share how to do that patch~ Best Regard, Tung On Jul 27, 4:21 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Stephan Beal wrote: b) i would recommend renaming your file from jquery.tabs.js

[jQuery] Re: Attach pre-defined events to loaded dom elements?

2007-07-27 Thread Phillip B Oldham
Perfect! Thanks for your help. On Jul 27, 9:22 am, David Duymelinck [EMAIL PROTECTED] wrote: I think this is what you need :http://www.learningjquery.com/2006/09/sacrificial-lambda -- David Phillip B Oldham schreef: Hi all I have a document with some links with a certain class. When

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-27 Thread Priest, James (NIH/NIEHS) [C]
Mitchell, I don't know of any Firebug tutorials offhand, I would just Google it and see what turns up. I also had this bookmarked (haven't watched it yet) http://ejohn.org/blog/hacking-digg-with-firebug-and-jquery/ Presented by John Resig: This is an adaptation of a

[jQuery] Fade out stage before entering the site

2007-07-27 Thread [EMAIL PROTECTED]
Hello, I have a project to do and that is an advertising spot stage that appears for 5 seconds before entering the page and then fade out. I first started it using dhtml but is buggy and is using ActiveX. Here is my try: http://www.folmultimedia.com/jokeroo/fade/dhtml/j.html I found something

[jQuery] Looking for a different type of menu

2007-07-27 Thread tlphipps
I've been using a javascript menu system in my application that I haven't seen replicated yet in any of the jquery plugins I've been able to find. I'd like to find a replacement for the script I'm using because it's quite bloated and I think using jquery could greatly simplify it. Also, the

[jQuery] Detect when scrollbar gets to bottom

2007-07-27 Thread Adrian Lynch
Hey all, I'm having trouble working out a way to detect when a scrollbar has hit the bottom. I've played about with the scrollTop property but because this gives the number of pixels from the top of the element to the top of the bar, I can't easily compare the height. Any ideas or pointers? I

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-27 Thread Jonathan Sharp
Why simply write bug free code! -js On 7/26/07, cfdvlpr [EMAIL PROTECTED] wrote: Firebug is awesome for debugging your Jquery code using firefox. But, how do you debug problems that occur in IE and IE only?

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-27 Thread Mike Alsup
There is tons of documentation at http://getfirebug.com/ On 7/27/07, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote: Mitchell, I don't know of any Firebug tutorials offhand, I would just Google it and see what turns up. I also had this bookmarked (haven't watched it

[jQuery] Re: hiding a div when clicked outside of it

2007-07-27 Thread Stephan Beal
On Jul 27, 1:43 pm, Maggi [EMAIL PROTECTED] wrote: Hi Ganeshji! You could create an overlay background div with 100% in height and width and write a small jQuery code for that. The problem with this approach is that this consumes the click, such that if the user clicks on another clickable

[jQuery] Re: Iteration through multiple class attribute values

2007-07-27 Thread Dan G. Switzer, II
PD, I'm trying to iterate through a DOM object's class values to develop a form validation routine. At the moment the $.each() function is treating each and every character in the class value as a separate item, instead of splitting the values into separate values based on spaces. Therefore this

[jQuery] Re: Ken Burns effects using jQuery?

2007-07-27 Thread Richard D. Worth
I don't see anything about effects on the 1.0 roadmap for UI: http://docs.jquery.com/UI/Roadmap The focus right now is on core UI - drag, drop, select, sort, widgets, theming. If someone is interested in doing effects, I'm sure it would be welcome. Otherwise I would guess it'll be tackled in a

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread weepy
another alteration to fix problems with apostrophes var $s = function(s) { p = s.replace(/'/g, '').replace(/#{/g, ' + ).replace(/}/g, + '); p = ' + p + '; return eval(p); } this replaces with ' in your input string, it works best if you use to signify the edge of your string and '

[jQuery] Re: how to catch a scroll event for the document ...

2007-07-27 Thread Adrian Lynch
Did you try document instead of body? Adrian On Jun 28, 4:38 pm, Michael Stuhr [EMAIL PROTECTED] wrote: i tried: $j('body').scroll( function() { console.info ('scrolling ...'); // do sth }); but it doesn't work ... Maybe the selector is wrong, but what is the

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Robert O'Rourke
Robert O'Rourke wrote: Jay Salvat wrote: Due to the multitude of existing Tag set, i have no idea to how to easily implement an universal preview or wysiwyg mode. The HTML output is the constant isn't it? You'd just have to go from HTML (i.e. textarea value) to WYSIWYG or textile or

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread Wizzud
The problem is caused by the browser detection method being used to determine IE6. The test used is: ie6=$.browser.msie typeof XMLHttpRequest == 'function' which worked up to 1.1.2 where there was code along the lines of if ( !window.XMLHttpRequest ) XMLHttpRequest = function(){...}

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Robert O'Rourke
Jay Salvat wrote: Due to the multitude of existing Tag set, i have no idea to how to easily implement an universal preview or wysiwyg mode. For the moment, the only way to preview is the green tick button which open a preview window. You can post the content of the editor in your own php (or

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread Dan G. Switzer, II
The problem is caused by the browser detection method being used to determine IE6. The test used is: ie6=$.browser.msie typeof XMLHttpRequest == 'function' Also, new in v1.1.3.x you could do: ie6=$.browser.msie ($.browser.version == 6) -Dan

[jQuery] Re: how to catch a scroll event for the document ...

2007-07-27 Thread Sam Collett
You could try $j(document).bind(scroll, function() { }); On Jun 28, 4:38 pm, Michael Stuhr [EMAIL PROTECTED] wrote: i tried: $j('body').scroll( function() { console.info ('scrolling ...'); // do sth }); but it doesn't work ... Maybe the selector is wrong, but what is

[jQuery] Re: Detect when scrollbar gets to bottom

2007-07-27 Thread Glen Lipka
Similar thread, might be helpful. http://www.nabble.com/Is-it-possible-so-scroll-all-the-way-to-the-end-a-div-overflow:-scrollt4139781s15494.html I would think that listening for the scroll event and then use the dimensions plugin to get the scrolloffset. Hmm, Id like to demo something like

[jQuery] Re: hiding a div when clicked outside of it

2007-07-27 Thread Maggi
Hi Ganeshji! You could create an overlay background div with 100% in height and width and write a small jQuery code for that. div class=overlay style=width: 100%; height: 100%;/div div class=mydivThis is the text box you have!/div script $(.overlay).click(function() { $(.mydiv).hide();

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-27 Thread Rick Faircloth
simply write bug free code! Sure that's the easiest way. I don't even have to debug in Firebug, because all my code is perfect the first time! I found that even checking for the *remote* possibility of errors to be counter-productive! :oP Rick From: jquery-en@googlegroups.com

[jQuery] Re: autocomplete caches against my will

2007-07-27 Thread Sam Collett
Maybe the old autocompleters should point to Jörn's (if his is the most up to date) and recommend it as an alternative? It has been in Alpha for a while (and I think the one in SVN is more up to date). On Jul 27, 11:53 am, Dylan Verheul [EMAIL PROTECTED] wrote: Use a correct value for

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread John Resig
Klaus - I've already added this functionality to Tabs for a presentation that I gave yesterday. I'm going to whip up a patch and email it to you real quick. --John On 7/27/07, Klaus Hartl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Dear Klaus, Sorry~I wasn't trying to make you

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread John Resig
jQuery 1.2 is going to have animatable scrolling, you can find a quick demo here (using easing): http://dev.jquery.com/~john/ticket/step/test2.html --John On 7/27/07, Glen Lipka [EMAIL PROTECTED] wrote: There is a feature of EXT 2.0 that needs a ScrollTo function. I saw this one:

[jQuery] Re: named function vs anonymous functions

2007-07-27 Thread Christof Donat
Hi, I currently have: $(this).change(function(){ //my function code here });//end change fn I decided to move the function outside this block since I might want to use it at another time besides a change event so my function is now myfunction = function(){ //my function code

[jQuery] Re: named function vs anonymous functions

2007-07-27 Thread Stephan Beal
On Jul 27, 5:48 pm, Christof Donat [EMAIL PROTECTED] wrote: so what is the proper syntax for calling this named function for that change event? $(this).change(myfunction); To expand on that a small bit: if you want to call a method of an object then you must create an anonymous function to

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread Wizzud
r9 and r10 use exactly the same test for IE6 detection. Search for the current code ie6=function' and replace with the (suggested) modification ie6=Request) (Be careful not to disturb the commas around the assignment!) shelane wrote: Was this for r10? How about r9? It appears

[jQuery] ScrollTo with Easing

2007-07-27 Thread Glen Lipka
There is a feature of EXT 2.0 that needs a ScrollTo function. I saw this one: http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html The feature is better if it has access to easing functions. I know Interface has this, but I wanted to suggest to the ScrollTo author to possibly synergize

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread David Duymelinck
This is the real programmers solution :) I just had the dimension plugin handy. If you don't use it for other purposes Wizzuds solution is the way to go keeping the jqModal as lightweight as possible. -- David Wizzud schreef: The problem is caused by the browser detection method being

[jQuery] Re: named function vs anonymous functions

2007-07-27 Thread Christof Donat
Hi, $(this).change(myfunction); To expand on that a small bit: if you want to call a method of an object then you must create an anonymous function to do it for you: $(this).change( function(){ myobject.myFunc() } ); I was of the impression that $(this).change(myObject.myFunc);

[jQuery] Re: how to catch a scroll event for the document ...

2007-07-27 Thread Klaus Hartl
Michael Stuhr wrote: i tried: $j('body').scroll( function() { console.info ('scrolling ...'); // do sth }); but it doesn't work ... Maybe the selector is wrong, but what is the correctr one ? micha I was using $(window).bind('scroll', function() { }); successfully.

[jQuery] OT: js file obfuscation

2007-07-27 Thread Jack Killpatrick
Hi All, Any recommendations for a (preferably free/opensource) js obfuscator that you've used and liked? I'm looking for something to take what packer does to the next step: at minimum, obscure methods names, but preferably scramble the dickens out of the file to reduce the likelihood of

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread Klaus Hartl
John Resig wrote: Klaus - I've already added this functionality to Tabs for a presentation that I gave yesterday. I'm going to whip up a patch and email it to you real quick. --John Wow, that's nice! So I guess there'll be a v2.8... :-) Thank you John! --Klaus

[jQuery] Re: hiding a div when clicked outside of it

2007-07-27 Thread Richard D. Worth
How about (untested)? $('#theDiv).click(function() { return false; }); $('body').click(function() { $('#theDiv').hide(); }); - Richard On 7/27/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Hi friends, I am showing a div on click of a hyperlink. Now, when i click elsewhere in the document

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Ganeshji Marwaha
i understand that the preview mode for the html could be daunting and ofcourse we don't want a bloated editor. How possible is it to give a clean preview mode for the wiki or textile though. -GTG On 7/26/07, Jay Salvat [EMAIL PROTECTED] wrote: Due to the multitude of existing Tag set, i have

[jQuery] Re: It's all in the mind - the power of belief

2007-07-27 Thread Rob Desbois
That's ok - I believe that *I* have a real spiritual impact in my life, so I do! On 7/27/07, Gordon [EMAIL PROTECTED] wrote: Sorry! I posted this into entirely the wrong group. Please ignore/ delete. On Jul 27, 11:04 am, Gordon [EMAIL PROTECTED] wrote: Sources:

[jQuery] ruby style string manipulation

2007-07-27 Thread weepy
Sick and tired of string manipulation in javascript ? I was Try this nice little function : $s = function(s) { p = s.replace(/#{/g, ' + eval().replace(/}/g, ) + ') p = ' + p + ' return eval(p) } OK it's not exactly bullet-proof, but it's the concept that counts here. So now you can

[jQuery] Re: $strip has no properties (??)

2007-07-27 Thread GianCarlo Mingati
Hi, no, inserting a variable that if it's true calls the function that scrolls the P. You gave me the idea. GC On Jul 26, 7:08 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: do u mean it works if u put it into the $.get() callback? Eitherways, glad it worked -GTG On 7/26/07, GianCarlo

[jQuery] It's all in the mind - the power of belief

2007-07-27 Thread Gordon
Sources: http://www.ehponline.org/members/2007/10286/10286.pdf http://news.bbc.co.uk/1/hi/health/6914492.stm http://www.theregister.co.uk/2007/07/25/mobile_sufferers_unaffected_by_turning_kit_off/ There are people who believe that signals from mobile phone masts are causing them ill health.

[jQuery] Re: It's all in the mind - the power of belief

2007-07-27 Thread Gordon
Sorry! I posted this into entirely the wrong group. Please ignore/ delete. On Jul 27, 11:04 am, Gordon [EMAIL PROTECTED] wrote: Sources:

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Sam Collett
Couple of comments: There's some inconsistency with the icons (specifically for tables). The icon with vertical line is used for inserted rows in html and wiki formats, but column in textile (which makes more sense). The one with it horizontally is for td's in html, columns in wiki and rows in

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread weepy
or even $s = function(s) { p = s.replace(/#{/g, ' + ).replace(/}/g, + ') p = ' + p + ' return eval(p) }

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread David Duymelinck
Can't you make it a oneliner? $s = function(s) { return eval(' + s.replace(/#{/g, ' + ).replace(/}/g, + ') + '); } more place for bloated functions :) -- David weepy schreef: or even $s = function(s) { p = s.replace(/#{/g, ' + ).replace(/}/g, + ') p = ' + p + ' return eval(p) }

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread weepy
hehe On Jul 27, 11:36 am, David Duymelinck [EMAIL PROTECTED] wrote: Can't you make it a oneliner? $s = function(s) { return eval(' + s.replace(/#{/g, ' + ).replace(/}/g, + ') + '); } more place for bloated functions :) -- David weepy schreef: or even $s = function(s) {

[jQuery] autocomplete caches against my will

2007-07-27 Thread (null)
Hi everybody, I'm trying to use autocomplete (this one: http://www.pengoworks.com/workshop/jquery/autocomplete.htm) to suggest street names to the user while he types them. Because there can be quite a lot streets I decided to limit the result to 10 entries server-side. Now the problem: Let's

[jQuery] Re: |OT| craigslist parsing (Was Re: SITE SUBMISSION: Please add gsalr.com to the list of sites)

2007-07-27 Thread nate
On Jul 26, 11:42 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: To phrase to question better, how were you able to parse the addresses if you're getting the data from craigslist directly? Or which web service are you using if you're using one? Obviously, batch web scraping. For

[jQuery] Form Plugin - Reference to the form in callbacks

2007-07-27 Thread Joonas Govenius
Hi, I needed access to the form that's being submitted in the options.success() function (in order to hide the form after successful submission). I ended up modifying line 222 in jquery.form.js. I added $form as the third argument for all callbacks, like so: options.success =

[jQuery] ANOUNCE: Grid Row Sizing v.0.1 plugin released !

2007-07-27 Thread Enrique Meléndez Estrada
This plugin applied to HTML tables, provides the ability of expand/collapse rows (in IE with animation). The key is using CSS over simple TR, TDs (not using DIVs embeded in TDs). check it in : http://jquery.com/plugins/project/gridRowSizing -- Enrique Meléndez Estrada Servicios Informáticos

[jQuery] Re: autocomplete caches against my will

2007-07-27 Thread Dylan Verheul
Use a correct value for cacheLength and matchSubset (see docs for the original at at http://www.dyve.net/jquery/autocomplete.txt) Tip: Use the latest and greatest autocompleter: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Good luck! -Dylan On 7/27/07, (null) [EMAIL

[jQuery] Re: [ANNOUNCE] jCarouselLite version 0.4.0

2007-07-27 Thread Ganeshji Marwaha
sure buddy, will make this a weekend project. ;-) -GTG On 7/26/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: Think both Nicolas and Mike are looking for the same feature... I will see if that can be implemented without affecting the size of the plugin too much. You know, coz it is named

[jQuery] Re: |OT| craigslist parsing (Was Re: SITE SUBMISSION: Please add gsalr.com to the list of sites)

2007-07-27 Thread R. Rajesh Jeba Anbiah
On Jul 27, 12:31 pm, nate [EMAIL PROTECTED] wrote: On Jul 26, 11:42 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: To phrase to question better, how were you able to parse the addresses if you're getting the data from craigslist directly? Or which web service are you using if

[jQuery] Re: autocomplete caches against my will

2007-07-27 Thread Dan G. Switzer, II
Sam, Maybe the old autocompleters should point to Jörn's (if his is the most up to date) and recommend it as an alternative? It has been in Alpha for a while (and I think the one in SVN is more up to date). That's my intention when the code is stabilized and final. -Dan

[jQuery] Re: query against response text from $.get() not working...

2007-07-27 Thread Giant Jam Sandwich
Hi Dan, That forced IE to comply, but FF is still being stubborn. It just won't let me query against that data. What is odd about this whole thing is that in my working example from the previous project, I did not have to add data to the jQuery object before using it. I can't see anything

[jQuery] Re: Looking for a different type of menu

2007-07-27 Thread Glen Lipka
Try this: http://www.trendskitchens.co.nz/jquery/contextmenu/ ALL you have to do is set it to click instead of right click. However, I would make the suggestion to the plugin author: That should be an option, so you can make the menu on other events, like doubleclick or left click or even the

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Peter Bengtsson
Awesome! I didn't quite understand all the keyboard shortcuts and stuff but I have a question: Any other planned syntax inputs? Eg. StructuredText or WYSIWYG? Jay Salvat wrote: Hi all, I'm pleased to announce the birth of jTagEditor 1.0 beta. It's a small and customizable tag editor wich

[jQuery] how do a post-action by default for every ajaxCall success

2007-07-27 Thread oscar esp
I need to control the expiration time session in order to warning the user. I am using settimeout method. In order to update the settimeout I need to call a method each time that Ajax call has success. I have a lot of Ajax calls... I would like execute by default the update timeout for every

[jQuery] named function vs anonymous functions

2007-07-27 Thread Shelane
I currently have: $(this).change(function(){ //my function code here });//end change fn I decided to move the function outside this block since I might want to use it at another time besides a change event so my function is now myfunction = function(){ //my function code here } so

[jQuery] Re: Attach pre-defined events to loaded dom elements?

2007-07-27 Thread Dan G. Switzer, II
Some of these questions that get asked over and over on the list should really be on the jQuery FAQ: http://docs.jquery.com/Frequently_Asked_Questions -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Duymelinck Sent: Friday, July

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-27 Thread Shelane Enos
Was this for r10? How about r9? It appears to be different and I'm not sure what to change. On 7/27/07 7:30 AM, Wizzud [EMAIL PROTECTED] wrote: The problem is caused by the browser detection method being used to determine IE6. The test used is: ie6=$.browser.msie typeof

[jQuery] query against response text from $.get() not working...

2007-07-27 Thread Giant Jam Sandwich
I have done this exact same thing on a previous project, which I believe was using version 1.1.2, and had no problems. On this current project we are using version 1.1.3, and for the life of me I cannot figure out why this is not working. $(function() { $(.btnSubmit).click(function() {

[jQuery] Re: OT: js file obfuscation

2007-07-27 Thread Christof Donat
Hi, Any recommendations for a (preferably free/opensource) js obfuscator that you've used and liked? I'm looking for something to take what packer does to the next step: at minimum, obscure methods names, but preferably scramble the dickens out of the file to reduce the likelihood of

[jQuery] Re: named function vs anonymous functions

2007-07-27 Thread Klaus Hartl
Stephan Beal wrote: On Jul 27, 5:48 pm, Christof Donat [EMAIL PROTECTED] wrote: so what is the proper syntax for calling this named function for that change event? $(this).change(myfunction); To expand on that a small bit: if you want to call a method of an object then you must create an

[jQuery] Re: query against response text from $.get() not working...

2007-07-27 Thread Dan G. Switzer, II
Brian, I have done this exact same thing on a previous project, which I believe was using version 1.1.2, and had no problems. On this current project we are using version 1.1.3, and for the life of me I cannot figure out why this is not working. $(function() { $(.btnSubmit).click(function()

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread Dan G. Switzer, II
My joke must not be as funny as I thought it might be... When I read the word animatable in my head, the word that came to mind was amiable. -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Friday, July 27, 2007 12:44 PM

[jQuery] Re: OT: js file obfuscation

2007-07-27 Thread Dan G. Switzer, II
Jack, Any recommendations for a (preferably free/opensource) js obfuscator that you've used and liked? I'm looking for something to take what packer does to the next step: at minimum, obscure methods names, but preferably scramble the dickens out of the file to reduce the likelihood of

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread Dan G. Switzer II
jQuery 1.2 is going to have animatable scrolling, you can find a quick demo here (using easing): http://dev.jquery.com/~john/ticket/step/test2.html Animatable scrolling? Does that mean it gets along well with other scrolling plug-ins? :) -Dan

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread John Resig
I assume that it'll just supercede it, since it'll be used directly through the .animate() function. --John On 7/27/07, Dan G. Switzer II [EMAIL PROTECTED] wrote: jQuery 1.2 is going to have animatable scrolling, you can find a quick demo here (using easing):

[jQuery] Re: Best Plug-in For Mouse-over show larger image function

2007-07-27 Thread Glen Lipka
I was working on something cool. http://www.commadot.com/jquery/easebox/ But I am stalled right now. It's not a plugin, and the page is broken. But still. :) Glen On 7/27/07, Sean Catchpole [EMAIL PROTECTED] wrote: Rick, you could try zoomi. http://www.sunsean.com/zoomi/ ~Sean

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread Glen Lipka
So does that mean easing is part of 1.2 core? (Please say yes, please say yes.) Glen On 7/27/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: My joke must not be as funny as I thought it might be... When I read the word animatable in my head, the word that came to mind was amiable. -Dan

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread Simon Huntley
When can we expect to see jQuery 1.2? By the way, I love this framework. -Simon Huntley Lead Developer, http://www.smallfarmcentral.com On Jul 27, 11:48 am, John Resig [EMAIL PROTECTED] wrote: jQuery 1.2 is going to have animatable scrolling, you can find a quick demo here (using

[jQuery] Re: Best Plug-in For Mouse-over show larger image function

2007-07-27 Thread Rick Faircloth
Hi, Glen. I like the fact that the image shows up in the center of the window no matter where the thumbnail is located. One issue I'm going to have with some of my work is when I use the function/plug-in to display photos that I sell. Currently, that's the biggest use. The function I

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread John Resig
Nope - that'll always be a plugin, as with things like color animations. However, we do provide hooks to allow plugins to attach this way. These style of animations simply aren't used enough to warrant them being included in core. --John On 7/27/07, Glen Lipka [EMAIL PROTECTED] wrote: So does

[jQuery] Re: Best Plug-in For Mouse-over show larger image function

2007-07-27 Thread Glen Lipka
I need to start over and try again. The biggest problem is that writing plugins are a little over my head and OOP is hard for me. The key to centering is using the dimensions plugin. First there is a function (which I didnt write) in there to figure out which is bigger, the width or the height.

[jQuery] Re: Best Plug-in For Mouse-over show larger image function

2007-07-27 Thread Rick Faircloth
Do you think you'd be able to make it impossible for someone to right-click the image and save or print it? From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Friday, July 27, 2007 1:51 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Best

[jQuery] html() can not get updated form value

2007-07-27 Thread Shanwa
I'm not sure if this is a bug or feature, but I can not get it to work, any advice will be appreciated I have some textbox fields in a table and I wrap them in a tbody, I tried to move that chunk of code around, so I fetch it with html() function, but the problem is that only get me original

[jQuery] Re: ScrollTo with Easing

2007-07-27 Thread John Resig
http://docs.jquery.com/Frequently_Asked_Questions#When_will_jQuery_1.2_be_released.3F :-) End of August 2007. On 7/27/07, Simon Huntley [EMAIL PROTECTED] wrote: When can we expect to see jQuery 1.2? By the way, I love this framework. -Simon Huntley Lead Developer,

[jQuery] Re: jQuery 1.1.3 Ignores Inline Event Registration

2007-07-27 Thread John Resig
Already been fixed in SVN, will be in jQuery 1.1.4. --John On 7/27/07, Diego A. [EMAIL PROTECTED] wrote: Hi there, I'm not sure whether this is a bug or an intentional change, but I'm having problems with my implementations of jQuery because version 1.1.3 ignores inline event

[jQuery] running a callback function even when no results returned

2007-07-27 Thread Shelane
it seems that if no results are returned from a .$.getJSON, nothing in the function(results) callback function runs. I just tested with a console.log('hello world') and got nothing. if however valid JSON results are returned, everything works fine. is this what it's supposed to do? if so, how

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread Stephan Beal
On Jul 27, 7:11 pm, Michael Geary [EMAIL PROTECTED] wrote: Sorry to be a party pooper, but what happens if you call $s from inside a function, using replacement variables that are local to that function? How will the eval see those variables? You can, to the best of my knowledge, eval code

[jQuery] WYSIWYG Editing with Form Plugin

2007-07-27 Thread Shaun Kester
Hi all, I'm having a heck of a time getting either tinymce or fckeditor to load via ajax and then be submitted with mikes awesome form plugin. Anybody got these to successfully work? Here my code that loads and binds the textarea and form. function LoadFunctions() {

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread Mateusz Misiorny
You could also do sth like this: String.prototype.templatize = function(values) { return this.replace(/{\$([^}]+)}/g, function (full_match, group_match) { return values[group_match]; }); } and use it like this: var tpl = Flight

  1   2   >