[jQuery] Re: Opacity in IE

2008-10-07 Thread Greg G
Thanks for the help. I do have a Flash version but I wanted to use Javascript. I didn't think of making the .css call instead of reversing the animation. Outstanding! On Oct 6, 4:55 pm, ricardobeat [EMAIL PROTECTED] wrote: Honestly, you should be using flash for this stuff. You'll only get

[jQuery] Re: Ajax Tabs - programmatically change URL

2008-10-07 Thread Steffan A. Cline
on 10/6/08 7:35 PM, Steffan Cline at [EMAIL PROTECTED] wrote: on 10/6/08 6:59 PM, Steffan Cline at [EMAIL PROTECTED] wrote: I have a calendaring solution where within tabs are different views such as day, week, work week and month. I want to make the monthly view's days be links to

[jQuery] Tabs and scrollTo()

2008-10-07 Thread Steffan A. Cline
Ok... Getting close here... I have a structure of scrollable divs in ajax ui.tabs div style=overflow:scroll id=day1 ... /div div style=overflow:scroll id=day2 a name=first2/a /div div style=overflow:scroll id=day3 a name=first3/a /div div style=overflow:scroll id=day4 ... /div ... Now, I have

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Klaus Hartl
History/Remote is not supposed to work that way. Although the hash is changing correctly it will not work in IE for example. You need to explicitly tell the history manager which links add to history. Just have a look at the demo. For pure Ajax loading links that is the remote method. In your

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-07 Thread skankster
Hi Ariel, Thanks for your answer. This is exactly what I was looking for. Cheers, Dirk On 7 Okt., 04:30, Ariel Flesler [EMAIL PROTECTED] wrote: You can check my Textnode Translator. I made a simple example where it replaces textual emails. That's just an example of course. I'd not rely on

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread pjdevries
Thanks Jörn. I was afraid you might say something like that :( Apart from not knowing how to do that, it will also make my servers side code more complex. Can you think of any other nifty work around? On Oct 6, 7:01 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: If you use prerendered, you have

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread Jörn Zaefferer
Not really. prerendered is a performance optimization, and as such a trade-off. The best solution would be a treeview that is optimized enough itself to not needing the prerendered option. But that isn't a workaround and involves much more work. Jörn On Tue, Oct 7, 2008 at 9:59 AM, pjdevries

[jQuery] Re: The Accordion Experience

2008-10-07 Thread Jörn Zaefferer
You're welcome to edit parts of your blog post into the documentation to helps others avoid the issue: http://docs.jquery.com/UI/Accordion Jörn On Tue, Oct 7, 2008 at 4:08 AM, Vlad Didenko [EMAIL PROTECTED] wrote: While at the TAE in Boston, I have tried to use the accordion widget on the

[jQuery] Help with custom selector

2008-10-07 Thread johns
I wrote a custom selector to better deal with ASP.NET autogenerated IDs. The syntax I got working is $(:asp('TextBox1')).show(); Here's the code: jQuery.extend( jQuery.expr[:], { asp: jQuery(a).attr('id').match('_'+m[3]+'$'); } ); I don't really think

[jQuery] Re: A plugin registry?

2008-10-07 Thread Ferenc Radius
I wrote a script http://svn.hallik.mine.nu/filedetails.php?repname=Hallikpath=%2Fjsframework%2Fassets%2Fjs%2Floader.js maybe you can pick some ideas from it :) Ferenc On Tue, Oct 7, 2008 at 11:13 AM, philip [EMAIL PROTECTED] wrote: Hi, When I use JQuery often I need to use plugins. What

[jQuery] Re: JQuery validate problem

2008-10-07 Thread Bill
thanks a lot! On 10月6日, 下午8时45分, Jörn Zaefferer [EMAIL PROTECTED] wrote: Take a look at the instructions here:http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_compl... Jörn On Mon, Oct 6, 2008 at 10:50 AM, Bill [EMAIL PROTECTED] wrote: I have a problem.where i use the

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Klaus Hartl
Nevertheless you are using the plugin in a way it isn't supposed to be used, this is what I wanted to point out and this is where the double loading comes from. One from the click handler itself and a second time because that click event is triggered again by the plugin. Besides if you're not

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Leanan
In that situation, 'this' does not appear to be a reference to the link we've clicked, and when I use firebug and do some console output, this is what I get: this.id = undef /\d/.exec(this.id) is null I had actually tried something along those lines before, changing my click handler on the

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Leanan
I forgot to note that when I do a console.info(this) inside that function, I get the following in firebug: Window index.html

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Michael Geary
Ah, my mistake. I saw all the template.find() calls and didn't pay close enough attention. OK, now it's clear that the problem is all the DOM manipulation inside the loop. (The performance of $.each() itself is the least of your worries.) You can easily speed this up by a factor of 10 or more

[jQuery] Some examples don't work on Firefox 3.0.3 on the Mac

2008-10-07 Thread Forrie
Has anyone else noticed some of the examples (like drag/resize) do not work on Firefox 3.0.3 on Mac OS X 10.5.5?

[jQuery] Re: How to uninstall the

2008-10-07 Thread Kynn Jones
Thanks for your suggestion! (And sorry for the botched subject line!) Kynn On Tue, Oct 7, 2008 at 8:03 AM, Rene Veerman [EMAIL PROTECTED] wrote: add a global variable somewhere that your onready callback checks? if true: execute, if false:dont. then manipulate that global var instead of

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-07 Thread craig.kaminsky
Hi, Jack, I have just tried it out on a site. It works pretty darn well. We've noticed two things thus far: 1. The count for each letter and the total is off. For example, this page (http://www.experiencecoloradosprings.com/index.cfm/go/ecs.pages/

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Leanan
Not having a test for Chap3 was a typo. That last if should be adjusted accordingly. Klaus- I don't want to use .remote, because I only want to make the ajax call once. If the content we expect to be there isn't there, then I want to load it. If, however, we've already loaded it, I just want

[jQuery] Re: random image and content loading

2008-10-07 Thread janus76
Excellent. This might just be what I've been looking for. I'll let you know if I can get it working. Many thanks Janus Rene Veerman-2 wrote: if i get it correctly, in the xhtml content there's an IMG tag with the image that needs to be pre-loaded. There's a plugin that can do this

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Coryt
Unfortunately I don't have a place to put up a test page. Here is the html template: div style=display:none; table tr id=TemplateRowLineItem td/td td/td td id=DocumentNumber/td td

[jQuery] Re: Opacity in IE

2008-10-07 Thread Greg G
And the answer is: Because I had a line in the animation color: #White which IE choked on but Firefox had no problem with. On Oct 6, 2:12 pm, Greg G [EMAIL PROTECTED] wrote: I have some animation I'm working on that works fine in Firefox but not in IE.  I have two issues: Part of the

[jQuery] ocupload incompatible with ui.tabs

2008-10-07 Thread MarcelloP
Hi, I have a very big problem using your great plugin with the ui.tabs plugin. If the element (a link) passed to the ocupload is in a tab not currently visible, then when I show that tab, the link initialized by you plugin is invisible; with Firebug I see that the div that wrap the link has

[jQuery] Re: ocupload incompatible with ui.tabs

2008-10-07 Thread MorningZ
$(#subtab-upload).tabs(); ?? Should be wired to the ul tag: $(#subtab-upload ul).tabs(); On Oct 7, 10:14 am, MarcelloP [EMAIL PROTECTED] wrote: Hi, I have a very big problem using your great plugin with the ui.tabs plugin. If the element (a link) passed to the ocupload is in a tab not

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-07 Thread David C. Zentgraf
What about using a regular expression match/replace? Seems like an obvious candidate. On 7 Oct 2008, at 04:38, skankster wrote: No one? On 2 Okt., 14:45, skankster [EMAIL PROTECTED] wrote: Hi, I have a div that contains simple text data with line breaks. I want to append a mailto link

[jQuery] Re: ocupload incompatible with ui.tabs

2008-10-07 Thread MarcelloP
My bad! You're right. Bac Copy Paste. But that is not an issue. The broblem is still here!

[jQuery] random image and content loading

2008-10-07 Thread janus76
I was wondering if anyone can point me in the right direction with this. i am pretty new to javascript and jquery so any help would be most appreciated. I have a homepage which displays a large random image from an array every 10 seconds or so. I have used a variation of the following script to

[jQuery] Re: cycle plugin causing container to be thrown to the right ( in IE6 IE7 )

2008-10-07 Thread Mike Alsup
Hi palam, Sorry I missed your first post. Thanks for posting your solution. Mike On Oct 7, 4:55 am, palam [EMAIL PROTECTED] wrote: Found the solution (didn't take this long, just didn't work on it for a while). The plugin positions the outer element (the one you specify) relatively and

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread Jörn Zaefferer
With optimized enough I meant applying tricks like lazy-loading and event delegation to the current treeview plugin. It doesn't do that much anyway, so there is no point in writing a seperate plugin. Event delegation would be rather straight forward, but the actual issue is the DOM manipulation:

[jQuery] Re: Need solution to cycle through images and display a caption

2008-10-07 Thread Paul Mills
Hi, You could try the cycle plugin: http://plugins.jquery.com/project/cycle The documentation is very good with lots of examples. You can use the before and after callback functions to show/hide the caption and CSS to position the caption on top of the image. Paul On Oct 6, 12:44 am,

[jQuery] jcarousel revers

2008-10-07 Thread Newborn
http://sorgalla.com/projects/jcarousel/examples/static_auto.html http://sorgalla.com/projects/jcarousel/examples/special_circular.html How to make carousel Engine from left to right, if we take this as an example, where the merry-go-round moves right to left in a circle, how to make a reversal

[jQuery] Re: Ajax/load help with external javascripts

2008-10-07 Thread Rene Veerman
my function is lengthy because my cms requires all the code in there to work. for instance, the code that 'removes then re-adds script.src links if you already have them in head' is to make some plugins, like tinyMCE.moxiecode.com, work in IE6 when it's loaded up multiple times in a row

[jQuery] OT : javascript editor (with code formatting)

2008-10-07 Thread Alexandre Plennevaux
Friends, aptana studio, albeit a nice editor, is recently crashing all the time and now doesn't even want to restart. I'm looking for a good alternative, that has a code formatting (auto indenting) functionality. Any suggestion ? I'm on Windows XP SP3... Thank you, Alexandre

[jQuery] Re: A plugin registry?

2008-10-07 Thread Jörn Zaefferer
There is ongoing work to improve packaging of plugins and making a repository like you describe here possible. You're welcome to participate in the discussion: http://groups.google.com/group/jquery-dev/browse_thread/thread/270ed108a9bc9de3 Jörn On Tue, Oct 7, 2008 at 11:13 AM, philip [EMAIL

[jQuery] Re: treeview: prendered + cookie persistence

2008-10-07 Thread pjdevries
Unfortunately my JavaScript knowledge is not up to par to understand exactly what's going on when the cookie persistence is processed, so I fail to grasp what's going on exactly. But doesn't it make sense to have treeview itself set the expanded nodes to 'collapsible' once they have been

[jQuery] Re: How to uninstall the

2008-10-07 Thread Rene Veerman
add a global variable somewhere that your onready callback checks? if true: execute, if false:dont. then manipulate that global var instead of the callback itself? Kynn Jones wrote: I have a jQuery-based script that performs some updates on the current page (using the load method), and

[jQuery] Re: random image and content loading

2008-10-07 Thread Rene Veerman
if i get it correctly, in the xhtml content there's an IMG tag with the image that needs to be pre-loaded. There's a plugin that can do this for you; http://flesler.blogspot.com/2008/01/jquerypreload.html http://demos.flesler.com/jquery/preload/ janus76 wrote: I was wondering if anyone can

[jQuery] Re: The Accordion Experience

2008-10-07 Thread Vlad Didenko
Great, thank you! I thought that alwaysOpen: false only allows for API to close the accordion. I will add to the docs. On Oct 7, 4:09 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: On a different note: Your last part is irratating, that custom click handling shouldn't be necessary. As long as you

[jQuery] Re: cycle plugin causing container to be thrown to the right ( in IE6 IE7 )

2008-10-07 Thread palam
Found the solution (didn't take this long, just didn't work on it for a while). The plugin positions the outer element (the one you specify) relatively and the inner elements (the ones that are, for ex crossfaded) absolutely. Applying this fixes it: HTML: ul id=cpcontainer li.../li li.../li /ul

[jQuery] A plugin registry?

2008-10-07 Thread philip
Hi, When I use JQuery often I need to use plugins. What annoys me slightly is I have to download each one and put in some arbitrary place in my directory. This process is a bit slow, find plugin, download it, add script tag, and use. It would be really good if there was a central place where

[jQuery] Re: Valid jQuery on Development fails on Production

2008-10-07 Thread rich
Sorry, I saw those... That was just a copy paste error. The tags are all closed. On Oct 6, 6:38 pm, Ryura [EMAIL PROTECTED] wrote: You have some unclosed tags (the last tr and td). Try closing those. On Oct 6, 6:06 pm, rich [EMAIL PROTECTED] wrote: I am writing a fairly basic script

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Jörn Zaefferer
Try jsbin.com for a testpage: http://jsbin.com/ Jörn On Tue, Oct 7, 2008 at 4:20 PM, Coryt [EMAIL PROTECTED] wrote: Unfortunately I don't have a place to put up a test page. Here is the html template: div style=display:none; table tr id=TemplateRowLineItem

[jQuery] Re: The Accordion Experience

2008-10-07 Thread Jörn Zaefferer
On a different note: Your last part is irratating, that custom click handling shouldn't be necessary. As long as you set alwaysOpen:false, it should be perfectly possible to close the accordion without any additional event handling. Jörn On Tue, Oct 7, 2008 at 4:08 AM, Vlad Didenko [EMAIL

[jQuery] jcarousel revers

2008-10-07 Thread Newborn
http://sorgalla.com/projects/jcarousel/examples/static_auto.html http://sorgalla.com/projects/jcarousel/examples/special_circular.html how to make carousel Engine from left to right, if we take this as an example, where the merry-go-round moves right to left in a circle, how to make a reversal

[jQuery] Different jQuery object when having prototype loaded

2008-10-07 Thread k3liutZu
Here, only jquery is used: http://owu.myaiesec.ro/index.php?id=43 Here, we also have prototype and scriptaculous http://owu.myaiesec.ro/index.php?id=41 You wont see any error in Firefox. You'll see errors in IE. But no jquery code is correctly executed (or is not executed at all) What i have

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Coryt
Actually the data is being returned as json. sample data: [ { LineItemType:2, DocumentNumber:COM, Description:DREG09-rbl2105-1000.com, SubTotal:7.74000, TaxTotal:0.39000, Total:8.13000, Quantity:1.0 }, { LineItemType:3,

[jQuery] Re: Intercept Back button click on browser

2008-10-07 Thread Leanan
All right... I've found a solution to the problem, though it is not the solution I had hoped for. I basically had to do a $.getscript and generate script that had a $ (selector).history() for each link. Not ideal, but it works. I do wonder though if I was doing something wrong in my calls

[jQuery] Re: jQuery Truncating Help

2008-10-07 Thread Balazs Endresz
I haven't tried it, but in the plugin near line 25 instead of myStr.length you could try something like $this.text(). So that it will check the length of the text instead of the innerHTML. But it may need some more hacking, I don't know. On Oct 6, 11:40 pm, Zachary [EMAIL PROTECTED] wrote: Does

[jQuery] Re: Un-minify?

2008-10-07 Thread Eric
I'll throw in a plug for Git ( http://git-scm.com/ ). Easily installed on Linux, Windows and OS X 10.5, it can be a great safety net that takes literally 10 seconds to set up for a new project (once the program is on your comp). Nothing puts a smile on my face like erasing a huge chunk of

[jQuery] Re: argument list

2008-10-07 Thread [EMAIL PROTECTED]
Thanks - exactly what I was looking for. On Oct 3, 9:19 pm, Dave Methvin [EMAIL PROTECTED] wrote:         function nextPage(clicker) {                 $(clicker).click(function () {... Inside the click handler, the this variable is the DOM element that was clicked. Try alert(this.id) and

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-07 Thread Rey Bango
Hi Chris, Great explanation. Would you mind though moving this over to the Processing Google group? I'm trying to keep things on-topic. Thanks, Rey... chris thatcher wrote: Processing.js ( http://github.com/jeresig/processing-js/ ) is written by John Resig and is a port of the Processing

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-07 Thread chris thatcher
Sure Rey I actually moved it there a couple days ago, sorry about that. On Tue, Oct 7, 2008 at 12:20 PM, Rey Bango [EMAIL PROTECTED] wrote: Hi Chris, Great explanation. Would you mind though moving this over to the Processing Google group? I'm trying to keep things on-topic. Thanks,

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-07 Thread Jacques PYRAT
Great ! Could you do the same for definition lists (dl, dt, dd). It would be great for http://www.pyrat.net/@sigles.html And does listnav handle EÉÈÊEeéèêë ? Regards

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-07 Thread Nabha
Installed the plugin, and it works great! I'm using it just as you suggested. For those who find this later, you'll want to minify the javascript file: http://www.digitaloverload.co.uk/jsmin/ And this is code you can copy and paste (has a fixed typo): $(document).domready(function() {

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-07 Thread rolfsf
craig - I notice that the Location: X and Category: Y content are both lists/list items. I haven't looked at the script, but I suspect it may be hiding and counting those - you're problem with both the high count and the disappearing content is the same problem. It's counting Category in the C

[jQuery] Re: Questions about Flexigrid

2008-10-07 Thread Brandon
Hi Jens, Does this not work to reload your table? $('#tableName').flexReload(); On Aug 19, 4:49 am, Jens Grochtdreis [EMAIL PROTECTED] wrote: Hi, auto-height seems possible. just write: height: 'auto' The same seems not possible for width. But ususally you know the width of the div the

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-07 Thread Micky Hulse
Thanks for the great feedback ajpiano! Hehe, I soon noticed that $(#anElementThatIsNotInTheDOM) was not working how I wanted it to... Your solution works perfectly! I should be getting jQuery Reference Guide in a few days -- I am looking forward to learning more about plugins. I think my main

[jQuery] How can I change all radio buttons to yes and no?

2008-10-07 Thread Costaud
Hello, Can you please tell me how can I have all radio buttons set to yes or no? Thanks.

[jQuery] Re: Disable globals for jQuery.get()?

2008-10-07 Thread Micky Hulse
Just as an update, I ended-up using $.ajax() // Append hidden field with unique token to form: $.ajax({url: token, global: false, cache: false, success: function(txt) { $emailStory.append('input type=hidden name=ts value=' + txt + ''); }}); Works perfectly. Thanks to all who helped!!!

[jQuery] Re: jQuery Star Rating Plugin Problem

2008-10-07 Thread [EMAIL PROTECTED]
Hi Gareth, I have a similar problem with the plugin. I've posted about it here : http://groups.google.com/group/jquery-en/browse_thread/thread/4a12b64ac5139dcc/059e78bffb9a2ba4?lnk=gstq=star+rating#059e78bffb9a2ba4 When the form that contain the stars is submitted by ajax the hover class of

[jQuery] Re: Un-minify?

2008-10-07 Thread jeremyBass
That looks cool... funny thing is everything is truning into a fine tuned system... I'm loving it lol... thanks for the help... Any one else? I think yours Eric seems the best solution so far... :-) On Oct 7, 9:02 am, Eric [EMAIL PROTECTED] wrote: I'll throw in a plug for Git

[jQuery] Re: How can I change all radio buttons to yes and no?

2008-10-07 Thread Isaak Malik
Do you understand the purpose of radio buttons? You probably need checkboxes instead and you can check them all by using the below code: $(function(){ $('input[type=checkbox]').checked = true; }); On Tue, Oct 7, 2008 at 7:36 PM, Costaud [EMAIL PROTECTED] wrote: Hello, Can you please tell me

[jQuery] Using .fadeOut() then .html()

2008-10-07 Thread hubbs
I have some text that is in a div that I would like to fade out, then I want to clear the HTML of that div. But, it seems that the fadeOut doesn't get run before the HTML gets cleared: setTimeout(function() { $(#ajaxResult).fadeOut(slow).html(); },

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread Michael Geary
I do most of my editing in Komodo. I use the commercial Komodo IDE which includes integrated debuggers for Python, Ruby, PHP, and JavaScript and a great regular expression tester, but the free Komodo Edit is very nice too. Among other things, it has syntax checking for all these languages while

[jQuery] Re: How can I change all radio buttons to yes and no?

2008-10-07 Thread MorningZ
Quick and simple example of what's asked for http://paste.pocoo.org/show/87343/ On Oct 7, 2:08 pm, Isaak Malik [EMAIL PROTECTED] wrote: Do you understand the purpose of radio buttons? You probably need checkboxes instead and you can check them all by using the below code: $(function(){

[jQuery] Re: Using .fadeOut() then .html()

2008-10-07 Thread MorningZ
Use the callback of the fadeOut event http://docs.jquery.com/Effects/fadeOut#speedcallback $(#ajaxResult).fadeOut(slow, function() { $(this).html() }); On Oct 7, 2:08 pm, hubbs [EMAIL PROTECTED] wrote: I have some text that is in a div that I would like to fade out, then I want to clear

[jQuery] Re: Using .fadeOut() then .html()

2008-10-07 Thread MorningZ
Use the callback of the fadeOut event http://docs.jquery.com/Effects/fadeOut#speedcallback $(#ajaxResult).fadeOut(slow, function() { $(this).html() }); On Oct 7, 2:08 pm, hubbs [EMAIL PROTECTED] wrote: I have some text that is in a div that I would like to fade out, then I want to clear

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Michael Geary
Next thing I want to see is the HTML that the code you generate is being inserted into. I'm having trouble following this selector: $( [EMAIL PROTECTED] + GPRowID + ], [EMAIL PROTECTED] ) My guess is that the @ characters are left over from some old jQuery syntax? And so it would find an

[jQuery] Re: Un-minify?

2008-10-07 Thread jeremyBass
That looks cool... funny thing is everything is truning into a fine tuned system... I'm loving it lol... thanks for the help... Any one else? I think yours Eric seems the best solution so far... :-) On Oct 7, 9:02 am, Eric [EMAIL PROTECTED] wrote: I'll throw in a plug for Git

[jQuery] Re: Using .fadeOut() then .html()

2008-10-07 Thread hubbs
Perfect, thank you!! On Oct 7, 11:19 am, MorningZ [EMAIL PROTECTED] wrote: Use the callback of the fadeOut event http://docs.jquery.com/Effects/fadeOut#speedcallback $(#ajaxResult).fadeOut(slow, function() { $(this).html() }); On Oct 7, 2:08 pm, hubbs [EMAIL PROTECTED] wrote: I have

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-07 Thread John D.
Hmm...I'm still having trouble with this. my showHide script is as follows: $(document).domready(function() { $('body').addClass('jsEnabled'); // let css know js is enabled $('p.firstparagraph').hide() $('#showh1').click(function(){ $('p.firstparagraph').show(200); });

[jQuery] autocomplete and updating different fields from delimited string

2008-10-07 Thread JimD
Hi all, I'm using rhe great jquery autocomplete plugin which works great. But Im returning a pipe delimited list so I can return more data and then populate specific fields with that info. So for example my autocomplete would return pipe delimited data like so for each line. Top

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-07 Thread Micky Hulse
Hmmm, also, I suppose I could do the below when setting-up my variables: var $parentObj = $('#parentContianer'); if($parentObj.length 0) { // $parentObj exists, cache child objects: var $childObj1 = $('#childEle1'); var $childObj2 = $('#childEle2'); var

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-07 Thread Brandon Aaron
Make sure your styles are included before the script tags. Is this happening in a particular browser? -- Brandon Aaron On Tue, Oct 7, 2008 at 1:58 PM, John D. [EMAIL PROTECTED] wrote: Hmm...I'm still having trouble with this. my showHide script is as follows:

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread Alexandre Plennevaux
thanks for the tip Mike ! Komodo IDE is a bit too expensive for my purse, but i do use the free version which is good, except it does not allow code formatting AFAIK. LAb[au] _ *lab*oratory for *a*rchitecture and *u*rbanism Alexandre Plennevaux Lakensestraat 104 Rue de Laeken Brussel 1000

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-07 Thread Michael Geary
Why do you need to test the existence of the parent container? The HTML you listed was: div id=parentContianer         div id=#childEle1/div         div id=#childEle2/div         div id=#childEle3/div         div id=#childEle4/div         div id=#childEle5/div         div id=#childEle6/div /div

[jQuery] [validate] Showing/hiding fields depending on conditions

2008-10-07 Thread Weyert de Boer
Hello! I am currently trying to use the validation plugin for jQuery to improve my current code generator for making forms. I would like to support conditional fields, meaning that it shows or hides other fields depending on the evaluation of a conidition. For example, if fieldA is B then it

[jQuery] Always-on Tooltips on image with usemap areas

2008-10-07 Thread iantresman
I'd like to show tooltips on usemap images with multiply defined AREAs and their associated title tag text. And I'd like to show them all displaying by default, so they show as dynamically generated captions. I've been using kemayo's excellent Map Hilight at

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Coryt
Ah, yes, sorry, the @ selectors are because I am using .net, which alters rendered control ID values. Therefore I need to search for the end of the ID. From what i read and as you noted, the selector $( [EMAIL PROTECTED] + GPRowID + ], [EMAIL PROTECTED] ), would use [EMAIL PROTECTED]

[jQuery] Re: autocomplete and updating different fields from delimited string

2008-10-07 Thread JimD
Ok I got this figured out. maybe this can help anyone else looking for a similiar solution. bnased of the demo I can manipulate output with the findValueCallback function. $(document).ready(function() { function findValueCallback(event, data, formatted) { $(li).html( !data ? No

[jQuery] jCarousel Lite problem

2008-10-07 Thread BroOf
Hey all! I found the jCarousel plugin and it's perfect for me. Everything works great but I've one problem. I would like to define the btnGo automatically with jquery. So I setted up a for-loop to creat 6 classes which are saved in an array. Now I would like to insert the array into the btnGo[]

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-07 Thread Jörn Zaefferer
Showing and hiding fields based on user-defined conditions isn't part of the validation plugin. But it should be easy enough to implement with jQuery. To get you started, something like this: $(#someCheckboxA).click(function() { var toggleThose = $(#fieldQ, fieldR); if (this.checked) {

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-07 Thread Weyert de Boer
Interesting thanks. I will see if I can't make some invalidate method for every condition. Somehow I think that's easier to maintain. I will have to lookup if I can add multiple methods to such click-event. Thanks. Wow, jQuery makes your live a lot easier. Yours, Weyert On Tue, Oct 7, 2008

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Michael Geary
Great, now (I think) I'm understanding better what you're doing. Is there no way to find out what that .NET-assigned prefix is? That would let you do a direct #id lookup. If you can't do that, one thing that will speed up the selectors a lot is to add the tagname. Also, it appears that the

[jQuery] Is .prev() being used in the wrong way here?

2008-10-07 Thread hubbs
I have a function that filters a listed based on the value of an input field. The .each() function looks at inside each anchor tag, and adds a new class if there is a match. But, I want the class to be added to the parent, or prev element here, which is a holder div called itemHolder. For some

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-07 Thread John D.
Ok I found the culprit. There was a JavaScript for our Google site search. Commenting it out solves the problem. It's a Coldfusion page. I'm not sure why this bit of JavaScript, which is included at the bottom of the page is causing the problem. Shouldn't the paragraph hide before the site

[jQuery] Re: autocomplete and updating different fields from delimited string

2008-10-07 Thread MorningZ
I'm not sure all that is necessary looking in your .result code, you have: if (data) $(#title_name).val(data[0]); $(#item_number).val(data[1]); $(#title_street).val(data[2]); $(#title_prebook).val(data[3]) but no where to you split the data based on the

[jQuery] Re: Un-minify?

2008-10-07 Thread ricardobeat
Dreamweaver (CS3 at least) has an 'apply source formatting' option that does the job well (for minified, not packed files). - ricardo On Oct 7, 3:51 pm, jeremyBass [EMAIL PROTECTED] wrote: That looks cool... funny thing is everything is truning into a fine tuned system... I'm loving it lol...

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread ricardobeat
Notepad++ is a (free and) very light editor with good syntax highlighting and indentation guides. Not many extra features though. http://notepad-plus.sourceforge.net/ - ricardo On Oct 7, 4:18 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: thanks for the tip Mike ! Komodo IDE is a bit too

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread Alexandre Plennevaux
thanks. I'm currently trying microsoft visual web developer 2008 Express. The installation is quite heavy, but it does work pretty well. i don't need all its .asp interfacing but it allows to edit javascript in a comfy environment. On Tue, Oct 7, 2008 at 10:57 PM, ricardobeat [EMAIL PROTECTED]

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-07 Thread ricardobeat
Also you should validate your page, it's throwing dozens of markup errors, invalid attributes, uppercase tags, invalid nestings etc. Not to say it is the cause, but invalid markup can affect the DOM tree. - ricardo On Oct 7, 2:29 pm, rolfsf [EMAIL PROTECTED] wrote: craig - I notice that the

[jQuery] Re: How can I change all radio buttons to yes and no?

2008-10-07 Thread Hi
First all the radio buttons need to have different names then $(function(){ $('input[type=radio]').attr(checked,true); }); On Oct 7, 10:36 am, Costaud [EMAIL PROTECTED] wrote: Hello, Can you please tell me how can I have all radio buttons set to yes or no? Thanks.

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread Stefan Sturm
Take a look at NetBeans. I switch to NetBeans 6.5 a short Time ago. Greetings, Stefan 2008/10/7 Alexandre Plennevaux [EMAIL PROTECTED]: Friends, aptana studio, albeit a nice editor, is recently crashing all the time and now doesn't even want to restart. I'm looking for a good alternative,

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread iKnowKungFoo
I haven't used it yet, but someone recommended http://www.spket.com/ to me as an alternate to Aptana. -- Adrian On Oct 7, 10:13 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Friends, aptana studio, albeit a nice editor, is recently crashing all the time and now doesn't even want to

[jQuery] ajaxForm works like normal flow

2008-10-07 Thread Jim
Once I clicked a submit button, my servlet is processing the data submitted through through ajaxForm. In the servlet I use the following code to write a string to response: -- PrintWriter out;

[jQuery] Re: ajaxForm works like normal flow

2008-10-07 Thread Mike Alsup
Hi Jim, There are lots of demos at: http://malsup.com/jquery/form/ Can you post a bit of your javascript, or a link to your page? Maybe you've got a scripting error somewhere. Mike On Oct 7, 4:05 pm, Jim [EMAIL PROTECTED] wrote: Once I clicked a submit button, my servlet is processing

[jQuery] Re: Poor Performing jQuery .each()

2008-10-07 Thread Dave Methvin
I am thinking Mike is right, and you wanted insertAfter rather than appendTo. I could build a local string, then once the loop finishes, append the string where I need it. Don't give up on your DOM approach yet,the performance of the [id$=] selector may be the killer and your current approach

[jQuery] jQuery Slide Panel

2008-10-07 Thread dacoder
I am trying to make a slide panel using the slideToggle method similar to this one http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html My problem is that it is in the footer of my page and when it slides down it increases the page height because it is almost the last thing on the

[jQuery] Re: Is .prev() being used in the wrong way here?

2008-10-07 Thread Dave Methvin
 But, I want the class to be added to the parent, or prev element here, which is a holder div called itemHolder. So which element should get the hidden class? .prev() selects the previous sibling. It sounds like you may want .parent() instead.

[jQuery] Re: Is .prev() being used in the wrong way here?

2008-10-07 Thread hubbs
The .itemHolder element should get the hidden class. I tried using .parent() instead, and it worked perfectly. Thanks! On Oct 7, 2:34 pm, Dave Methvin [EMAIL PROTECTED] wrote:  But, I want the class to be added to the parent, or prev element here, which is a holder div called itemHolder.

  1   2   >