[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Kelvin Luck
Hi, I had a quick look at your page and you need to add the winXP class to the TD which contains the jScrollPane rather than to the element you are applying the jScrollPane to. The element you apply jScrollPane too is wrapped in another element (the jScrollPaneContainer) which contains the

[jQuery] Re: I'm not a doctor, but I'm pretty sure this isn't right...

2007-09-23 Thread Rabbit
For objects that are loaded via ajax, that you want to bind clicks to, try the Live jQuery plugin. Wow! The jQuery community comes through once again, reaffirming my belief that I made the right choice moving away from Prototype and MooTools. Thanks, Glen, that's *exactly* what I was looking

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread Diego A.
I'm not arguing with you either, and I'm not discrediting your method. I was intrigued to know more because we had similar requirements and went in different directions. I see the benefits of your method. It is without a doubt the fastest and most efficient of the two. With the metadata plugin,

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread Erik Beeson
I do it like this: div id=div1 class={field1: 'value1', field2: 'value2'}/div It costs more performance-wise, but I think it is worth it in terms of flexibility and clarity, which is why I went out of my way to fine- tune the metadata plugin. I went with the nested script block because I

[jQuery] Store meta data in jQuery?

2007-09-23 Thread rolfington
Hi, I have a javascript application running on a Drupal powered site. I plan to port it to jQuery since jQuery is part of Drupal 5 and due to jQuery's powerful features. In my current implementation I store some meta data in the DOM elements in order to speedup the user interface. It works like

[jQuery] Re: Large Project Management

2007-09-23 Thread muccy
I'm developing an app in this way: index.html images/ |_ ... |_ ... pagedepot/ |_ where I store page which I load through AJAX |_ ... js/ |_ where I store jquery, plugins and myapp.js (which uses *module pattern* to organize better my namespace) |_ ... css/ |_ ... |_ ... On Sep 22,

[jQuery] Windows Optimization Tips

2007-09-23 Thread John Travolta
http://windowsfreetips.blogspot.com/

[jQuery] Re: overide or deleting events

2007-09-23 Thread muccy
I don't understand what you want to achieve. If you want to override I think $(#customer).click(A); $(#customer).click(B); it will execute B on click. Is it false? On Sep 22, 1:35 pm, james_027 [EMAIL PROTECTED] wrote: hi i have something like this $('[EMAIL

[jQuery] Re: Star rating plugin for 1.2?

2007-09-23 Thread NccWarp9
Excellent, it works now... Thank you so much On Sep 22, 3:39 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Please excuse the double post. I just updated all the files at http://examples.learningjquery.com/rating/ Feel free to grab the files from there now. --Karl _ Karl

[jQuery] Passing Form Data To Thickbox via CakePHP

2007-09-23 Thread [EMAIL PROTECTED]
I am attempting to write a preview page for a form using Thickbox as the preview window. I want to be able to see the data that's currently in the form without submitting it to the database first. I need to gather up the field data in a javascript call so that I do not have to submit the form,

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-23 Thread voltron
Thanks for the reply Jörn, unfortunately, a few things are not clear. I have used the example on your site as a template for my code. I use the metadata plugin and a separate div to show the errors: $(document).ready(function(){ var container = $('#error_container');

[jQuery] Re: Post to PHP file, update div

2007-09-23 Thread muccy
I think it could work... $.ajax({ url: yourphpurl, type: POST, data: { postvar: escape($(#value1).val()) }, success: function(data) { $(#updateme).append(data); } }); On Sep 21, 9:00 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to figure out something that I know how to do in

[jQuery] each() and this problems

2007-09-23 Thread Pluthos
Help! I have been into jQuery for about two weeks but I cannot solve this problem. I am trying to lop bad branches off the DOM tree. A bad branch is defined as a branch that does not contain any appropriate anchor address located in keeplist. I have been able to lop off bad leaves (VERSION 1).

[jQuery] Re: Help me improve my script

2007-09-23 Thread RichUncleSkeleton
Cheers for #2, can't believe I didn't think that... I've just looked up children() in the jQuery API, but I don't see how it is different to find(). Unfortunately the jQuery demos are useless since they don't actually do anything... As for #1, I thought one was supposed to add objects to the

[jQuery] Re: n00b question: how to pass multiple parameters on a href

2007-09-23 Thread muccy
I've just read the link you pasted. In the ajax call you can add data option. data: { val1: escape($(#field).val()), val2: escape($ (#field).val()), ... } In the JSON way... PS: if you use escape() you have to urlencode() in the PHP! On Sep 22, 12:22 am, edelwater [EMAIL PROTECTED] wrote:

[jQuery] Inner workings of jQuery

2007-09-23 Thread Dustin
I was wondering if someone could explain a few things about the inner workings of jQuery. Recently I've been doing quite a bit of work with Javascript and decided to make a small library to aid in the validation of form data with the main reason being to simply increase my knowledge/skill with

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-23 Thread Joan Piedra
This looks great, thanks for taking your time in writing it. Is it me or the :after example in firefox doesn't work? On 9/22/07, Christian Bach [EMAIL PROTECTED] wrote: Updated the script to support :focus and :after http://lovepeacenukes.com/jquery/ie6cssfix/ /christian 2007/9/21,

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Joan Piedra
Looks like you didn't add the css code, nor the images. .winXP .jScrollPaneTrack { background: url(windows_track.gif) repeat-y; } .winXP .jScrollPaneDrag { background: url(windows_drag_middle.gif) no-repeat 0 50%; } .winXP .jScrollPaneDragTop { background: url(windows_drag_top.gif)

[jQuery] Re: Large Project Management

2007-09-23 Thread Joan Piedra
Hello sgrover, I've found I can use the jsmin php script and compress all the plugins in a single file, then link this .php file in the head as a script. It works really great, you could add some gzip compression and mod_rewrite to map it as a .js file. Cheers,

[jQuery] Re: Registry Fix for Windows XP

2007-09-23 Thread Bil Corry
John Travolta wrote on 9/22/2007 3:34 PM: Repair your registry base http://windowsxpsp2pro.blogspot.com/ I would consider any message that is posted to 87 (very diverse) groups and doesn't explicitly relate to any of them as spam:

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-23 Thread Fabien Meghazi
Updated the script to support :focus and :after http://lovepeacenukes.com/jquery/ie6cssfix/ Mhhh :focus on input !! I need this ! ;-) Unfortunately I tried it on the application I'm currently working and it makes IE eating 10 Mo every seconds until swapspace is filled. Going to look at it.

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-23 Thread Fabien Meghazi
Updated the script to support :focus and :after http://lovepeacenukes.com/jquery/ie6cssfix/ May I ask you why you are fetching inline/remote css in the updated version of your script instead if keeping using document.styleSheets ? I didn't read carefully the updated version so maybe I

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-23 Thread Fabien Meghazi
May I ask you why you are fetching inline/remote css in the updated version of your script instead if keeping using document.styleSheets ? Ok, understood, you're doing this because of :after As I'm not using it, I will use the old version with just support for :hover :focus -- Fabien

[jQuery] Re: overide or deleting events

2007-09-23 Thread james_027
hi, On Sep 22, 10:02 pm, muccy [EMAIL PROTECTED] wrote: I don't understand what you want to achieve. If you want to override I think $(#customer).click(A); $(#customer).click(B); it will execute B on click. Is it false? Yes it's false, it will execute both A B. karl has a good post

[jQuery] radio button help... script is worng... :(

2007-09-23 Thread amircx
hey. i got this : http://pastebin.ca/708004 , i want to run a script once radio button is clicked... its not working... anyone can help tell me why? -- View this message in context: http://www.nabble.com/radio-button-help...-script-is-worng...-%3A%28-tf4504714s15494.html#a12847154 Sent from

[jQuery] Re: filtering elements

2007-09-23 Thread Karl Swedberg
Hey Brandon, Thanks so much for investigating these issues, and especially for the advice on using .filter() instead of .not(). I'll update the clueTip script to use that as a default. As for the truncation, I suggested to Hector off-list that he use the truncate option built into the

[jQuery] Re: filtering elements

2007-09-23 Thread Pops
Hi Karl, There are three primary reasons for controlling it from the server: 1) MIME processing, 2) More optimal to pass only whats necessary (a message can be large), and 3) Security wise, its safer, I've been able (for now) to get around this hangup by wrapping the truncated content with

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread polyrhythmic
If you need to store just key/value pairs mapped to an element, why not use the new jQuery.data method (aka Expando Management)? I'm using this in a caption plugin I'm writing to store the id of the caption element to its image. The code is fast and has been working super smooth for me, I

[jQuery] How to create dom element with a defined behaviour ?

2007-09-23 Thread xavier
Hello, I found myself adding elements to a page, and then adding behaviour to these elements. What I did was : $('.container').each(function(){ $(this).prepend('a class=dosomething href=...'Do something/ a') .find(.dosomething).click(function(){return doSomething(this);}); ... It

[jQuery] Re: How to create dom element with a defined behaviour ?

2007-09-23 Thread Brandon Aaron
You could reverse the logic and use the prependTo method instead of prepend. $('.container').each( function() { $('a class=dosomething href=...'Do something/ a') .prependTo(this) .click(doSomething); You could also use the Live Query plugin to create a set of behaviors

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-23 Thread Jörn Zaefferer
Web Specialist schrieb: Jörn marketo form accepts a password with 6 numbers. But rule for that require numeric and letters, right? Could be a bug? Yes, a bug. Thanks for spotting, fixed that. -- Jörn

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-23 Thread Jörn Zaefferer
voltron schrieb: Could you show me how I would implement this using the code above? Another thing, the code below, using password:true causes errors and does not work with Jquery 1.2 input id=password1 type=password name=password1 class={validate:{required:true, password:true}} Just add

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread Jörn Zaefferer
polyrhythmic schrieb: If you need to store just key/value pairs mapped to an element, why not use the new jQuery.data method (aka Expando Management)? I'm using this in a caption plugin I'm writing to store the id of the caption element to its image. The code is fast and has been working

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Birgit Pauli-Haack
Thanks Kelvin, that works:-) Birgit On 9/23/07, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, I had a quick look at your page and you need to add the winXP class to the TD which contains the jScrollPane rather than to the element you are applying the jScrollPane to. The element you apply

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Birgit Pauli-Haack
Now, there is an interesting phenomenon. As there are other elements in that table td I created another div class=WinXp around the jscrollPane but now it scrolls past the content of the pane.. somtimes..At the end of the content there is still space on the scroll bar, the slider is not at the

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread Karl Swedberg
On Sep 23, 2007, at 5:19 PM, Jörn Zaefferer wrote: polyrhythmic schrieb: If you need to store just key/value pairs mapped to an element, why not use the new jQuery.data method (aka Expando Management)? I'm using this in a caption plugin I'm writing to store the id of the caption element to

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Kelvin Luck
Hi, It looks like you are loading the content into your jScrollPane using AJAX. If you change the contents of the jScrollPane you need to re-initialise it after changing the content. You can see this in action on example 4 on this page:

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Birgit Pauli-Haack
Hey Kelvin, ha, the Spry call indeed takes a finished function and I can reinitialize the jscrollPane content. Genius... Thank you:-) Now another phenomenon takes place: Now all the images display right, most of the time. There are several cases when the distance between the top edge of the

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-23 Thread linuja
Thanks Michael and thanks Brandon. I got it. ~_~ On 9/23/07, Michael Geary [EMAIL PROTECTED] wrote: Glad to help. BTW, the code below looks like it should work with one simple change: $('#test-div').click(function(){

[jQuery] jdmenu and new dimensions issue?

2007-09-23 Thread Eridius
Does anyone know if the issue with the new dimensions(the one with the jQuery UI) is being worked out with jdmenu cause i need to use both or is there a menu system like jdmenu under development for release in the jQuery UI? -- View this message in context:

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-23 Thread Brandon Aaron
What issue are you referring to? -- Brandon Aaron On 9/23/07, Eridius [EMAIL PROTECTED] wrote: Does anyone know if the issue with the new dimensions(the one with the jQuery UI) is being worked out with jdmenu cause i need to use both or is there a menu system like jdmenu under development

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-23 Thread Eridius
When i update to the new dimensions plugins and i hover over any link that has a drop down i get this error: h.style has no properties jquery.js line 11(packed version) This error does not really help me to understand what is wrong, if it was a error inside the jdmenu file i might be able to

[jQuery] ajaxcfc - if ajax call fails - how does it get handled?

2007-09-23 Thread Duncan
I have a page that submits checkboxes as they are checked on the way down a form. The click hides the checkbox for a loading gif, submits the ID via ajax, and on its return changes the loading icon to a tick image. What I want to know is how to handle a failure of the ajax request. currently I