[jQuery] .animate , display:none not working

2008-07-22 Thread Geir
Hi! I have a problem on an animated hover-out. The display (#K_meny li) sticks to block. And I want to get it to none. What is the problem and what can I do? I also have a minor problem on not getting the z-index I want. The #K_meny li comes on top no matter what I do. Solutions? Thanks!

[jQuery] Critique requested of first jQuery code

2008-07-22 Thread Tony Bowden
I'm new to jQuery, and have created a script that operates on a simple two-field form (as described below). I know that jQuery should make much of what I'm doing much easier than I'm actually doing it, so I'd appreciate any feedback on how to do things better. I'm trying to learn the jQuery

[jQuery] Re: .stop in it's own sentence?

2008-07-22 Thread Geir
Oh. Thanks! So then I can have it in one sentence? On Jul 22, 12:10 pm, Cloudream [EMAIL PROTECTED] wrote: .stop(); do not forget () Geir wrote: Hi! Is it right that I have to put .stop in it's own sentence? Like:                 $('#K_meny li') .stop;                 $('#K_meny

[jQuery] Re: .stop in it's own sentence?

2008-07-22 Thread Geir
Works! Thanks again! On Jul 22, 12:10 pm, Cloudream [EMAIL PROTECTED] wrote: .stop(); do not forget () Geir wrote: Hi! Is it right that I have to put .stop in it's own sentence? Like:                 $('#K_meny li') .stop;                 $('#K_meny li').animate({.. } , 1000);

[jQuery] Clone Question

2008-07-22 Thread Camacho
Hi Guys! I'm using jquery to clone one div area, but the clone object uses the same ID as the original, how can I generate the object with a diferent ID? Thanks, Pedro

[jQuery] Augmentation of Object.prototype

2008-07-22 Thread Greg
Hi everyone, I want to use the code from this page : http://www.coolpage.com/developer/javascript/Correct%20OOP%20for%20Javascript.html to enable true inheritance with JavaScript ... but sadly JQuery doesn't support a such possibility.. Why ? If you take care by using hasOwnProperty() when you

[jQuery] Can't seem to access any Interface functions - something stupid i'm sure...

2008-07-22 Thread Max Williams
I've been using jQuery for a while, and some plugins, such as in-place editing and treeview with no problems. I'm not trying to use this drag-and-drop plugin, NestedSortable (http://plugins.jquery.com/project/NestedSortable) which uses some of the functions added by Interface. However, i can't

[jQuery] Accordion: Linking the Title of an Empty Panel to a Different Page

2008-07-22 Thread juro
Hi, I am using the accordion plugin and trying to get this functionality working. In respect to my demo, http://root.juro.at/showcase/questions/accordion-animation/accordion-animation.htm , I would like Link 1 and Link 2 to be treated as a normal hyperlink but the rest open the panels. Is this

[jQuery] ask: jquery plugins loader (just in time loader)

2008-07-22 Thread Adwin Wijaya
Hi , I have a project and my project using many plugins from jquery (thank you everybody ... ). But it makes my page load slower than usual because i load all jquery libs before loading pake (I load it on templates) but I am not using all of it ... I just need a plugins /script that can load

[jQuery] Back/Forward

2008-07-22 Thread [EMAIL PROTECTED]
hi all I want to use jQuery for a lots of my eShop as ajax . But the most important my problem is using Back and Forward button with clients! is there a plugin to handling back/forward button?! I want to know that have jQuery any solution for this?! ( I think dojo technology have and I want

[jQuery] Re: Problem with long request

2008-07-22 Thread k8
up On 20 Lug, 03:37, k8 [EMAIL PROTECTED] wrote: I have need that the content of the manually loaded page bot.php or, not when he is ended the execution of the file bot.php clearly? On 19 Lug, 19:21, Ariel Flesler [EMAIL PROTECTED] wrote: $(window).load(function(){ $(#content)

[jQuery] Re: problems in Firefox 3, Opera 9.5 with jQuery Corner plugin on images

2008-07-22 Thread Richard
Hi, I just want to thank you for posting this fix! Works great! On 4 jul, 13:35, MarmaladeToday [EMAIL PROTECTED] wrote: Hello everyone, A fix has been found, so I hope the developer reads this in case it helps. Here's a quote from the guy that worked it out: jQuery Corners was

[jQuery] Re: JQuery 1.2.6 and JQuery Form Plugin in IE7

2008-07-22 Thread Brad Kellett
Has there been any progress on this issue? I'm having the same 1.2.6/ jquery.forms issue, and commenting out line 203 doesn't work for me. I'd really like to use the newer jQuery build, but I need the forms functionality. ~bck On Jul 7, 1:04 pm, fgubert [EMAIL PROTECTED] wrote: I have a

[jQuery] Re: AJAX request pending after TCP connection closed

2008-07-22 Thread k8
I have your same problem here http://groups.google.com/group/jquery-en/browse_thread/thread/ea1a416e94c66164 On Jun 6, 1:22 pm, Greg [EMAIL PROTECTED] wrote: Hi everybody! I use jQuery 1.2.6 and I encounter a little issue. I try to do some COMET (server push), here is an overview of my

[jQuery] Re: How can I downlod that jQuery Ipod Drilldown menu?

2008-07-22 Thread dleifm
Here's what I do when I'm faced with this situation... 1. Grab the Demo: - create a new folder for this plugin - save the source of the demo page as a static XHTML file - check through the source for all the related resource files (css, js, images) and then download them from the demo page to

[jQuery] tablesorter 2.0 with subtables

2008-07-22 Thread Toccamonium
Hi, right now I'm trying to figure out what's best practice for a simple table grid with detail view on click. I know there are grid plugins available but for my first test I want to create a simple one by myself and add some other plugins to enhance it. One of them is tablesorter 2.0:

[jQuery] Re: Can't seem to access any Interface functions - something stupid i'm sure...

2008-07-22 Thread Richard D. Worth
Interface doesn't work with jQuery 1.2+ and has been abandoned. Take a look at jQuery UI, which provides an upgrade path: Website http://ui.jquery.com/ Documentation http://docs.jquery.com/UI Mailing List: http://groups.google.com/group/jquery-ui/ - Richard On Tue, Jul 22, 2008 at 5:12 AM,

[jQuery] UI/TABS: Can't enable multiple tabs in one call

2008-07-22 Thread [rob desbois]
Hi all, I want to enable/disable a couple of tabs at will. The docs say To enable more than one tab at once reset the disabled property like: $('#example').data('disabled.ui-tabs', []); I cannot get this to work at all - what element is the #example supposed to select? I've been trying on the

[jQuery] How can I using jQuery Form with accents (iso-8859-1)?

2008-07-22 Thread c_h
I´m a brazilian and I need to send form with iso-8859-1 that accept special character. The question is how can I send without received corrupt character using jQuery or jQuery Form

[jQuery] tablesorter -- need help sorting hyperlinks

2008-07-22 Thread deesnoop
posting again because I wasn't subscribed to the mailing list before. So, I have a table that has a few text and date fields, as well as two hyperlink fields. The hyperlinks are sorting by the url instead of the description of the link, which is how I would like it to work. I would think that

[jQuery] How do I do a Ajax request before form submits

2008-07-22 Thread HairyJim
Hi, I created a form which I wanted to submit using jQuery (I'm new to jq) but before the submit I wanted to run an ajax request and attach the returned result to the form for posting. However it seems the form submits before the ajax request is returned, I can see the code generated in the DB

[jQuery] Error with custom method

2008-07-22 Thread CocoLeNain
Hi, I try to make a custom method which indicates if the field room Number is available. And I have this error : jQuery.validator.methods[method] is undefined with this code : !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/html4/strict.dtd html head

[jQuery] Re: Uncompressed, Minified and Gzipped and Packed

2008-07-22 Thread fambi
Jeffrey said, The server-side gzip code I used looks for IE6 SP1 to determine whether or not it should gzip it. Can you please share the logic (if not the code)? Thanks On Jul 20, 12:02 am, Jeffrey Kretz [EMAIL PROTECTED] wrote: Actually, IE 6.0 SP1 has some issues with GZipping. The

[jQuery] Autocomplete plugin: Modifying how the input JSON is read

2008-07-22 Thread Magnus
Hi, I use the autocomplete plugin, but don't have a JSON that consists of an simple array with the results. I get the JSON directly from a SPARQL end point, so I don't have the option to format it at that point. I want to modify the autocomplete plugin so that it handles the following JSON: {

[jQuery] Re: JQuery 1.2.6 and JQuery Form Plugin in IE7

2008-07-22 Thread fgubert
I found that MY problem is when im using ISA Firewall Client. If this is enabled, only IE doesnt post things. Im using apache with mod_auth_sspi and domain integrated. The combination mod_auth_sspi/integrated apache domain+jquery/forms plugin+firewall client at workstations doesnt work for me

[jQuery] Re: Jquery Taconite, PHP Mysql

2008-07-22 Thread Newbie Coder
Thanks Mike, that clears a lot up. What I still do not have clear in my head is that I have lets say 10 rows of these on a page, how do I know which node (which of the 10) to run the query against and then which node to update? On Jul 21, 7:09 pm, Mike Alsup [EMAIL PROTECTED] wrote: Ok, first

[jQuery] Information about jQuery.getScript

2008-07-22 Thread Serek
I wanted to ask why jQuery authors chooses an XMLHttpRequest for dynamic loading of files instead of DOM Manipiluation (append on head)? I know that DOM Manpiulation offer loading of cross domain scripts but what is the difference in those two methods? In meaning of performance and loading few

[jQuery] Re: Can't seem to access any Interface functions - something stupid i'm sure...

2008-07-22 Thread Max Williams
Ah, thanks Richard. I actually just got it working - i had a space at the start of my interface folder name (doh, knew it would be something dumb). I'll look at jQueryUI though. cheers, max -- View this message in context:

[jQuery] Re: ajax queue/stack aka fifo/lifo

2008-07-22 Thread op
http://plugins.jquery.com/project/ajaxq On Jul 17, 1:35 am, AstroIvan [EMAIL PROTECTED] wrote: Is jquery doing either of these by default? I haven't seen requests overwriting each other in my work, but I'm curious is this is manually handled or not even a problem these days with xhr.

[jQuery] Re: How to queue up ajax requests?

2008-07-22 Thread op
You may give this plugin a try: http://plugins.jquery.com/project/ajaxq partner56290674 wrote: Hi folks, can anyone help me with some links to queuing up ajax requests using jQuery please? I tried using the Ajax Queue plug-in (http:// plugins.jquery.com/project/ajaxqueue) but this wasn't

[jQuery] Re: Augmentation of Object.prototype

2008-07-22 Thread Michael Geary
Greg, you can't extend Object.prototype. It will break more than just jQuery. As you noted, there is a workaround, but it requres code to be added to every for loop, which has a performance impact. Instead, simply revise the Object.prototype.Inherits function from that page so it does not need

[jQuery] Re: for input cloning

2008-07-22 Thread Michael Geary
Robin, your suspicion is pretty close to the mark. When you add your event handler to the last row of the table, you are doing it at that moment in time only. Whatever is the last row then, that is where your event handler will be. Adding a new row to the table does not magically change any of

[jQuery] Re: AutoComplete

2008-07-22 Thread shapper
The JSon method is always returning a simple array: [First,Second] Do I need to parse it? I tried but it does not work. I then tried: $(#Subjects).autocomplete(GetSubjects, { autoFill: true, cacheLength: 1, multiple: true, scrollHeight: 200,

[jQuery] Re: click() on submit button doesn't trigger form's jquery submit handler

2008-07-22 Thread Will Moffat
Hi guys, thanks for the replies, and sorry for the delay in responding. I see that didn't clearly state the context of my problem. I want to use jQuery to simulate mouse clicks for many different HTML elements (not just form submit buttons). My test shows that jQuery.click() doesn't give same

[jQuery] Is there a nice way to convert the Color object to #xxxxxx or just a Number?

2008-07-22 Thread realfun
Hi, I am trying to find a way to convert the Color object to #xx format. I use the obj.css(color) to get the the Color object. First I tried to get an Number value, but failed to Google it out. Then I tried to parse it as a string, but IE and Firefox has different explanantion on the toString

[jQuery] keyup change together dont work for me

2008-07-22 Thread [EMAIL PROTECTED]
hi everyone, my name is Joaquín. I can't find the solution to my problem. i have two events (keyup and change) on a input:text my code is: $(#some_id) .bind('keyup', function() { $(this).val(formatContent($(this).val())); } ) .bind('change', function() {

[jQuery] Newbie - trying to find and remove specific text but leave the html alone!

2008-07-22 Thread mickes
I have the following mark up that I want to remove just the text This is text I want to remove but I want to leave the td in place and expand its size. Actually I want to increase the size of the row containing the text I want to remove. BTW I have no control over the markup and there are tables

[jQuery] Re: Augmentation of Object.prototype

2008-07-22 Thread Greg
Thanks for your reply. Some parts of my reply are below in you text. If you want to iterate over the members of an object you have to use 'hasOwnProperty' as showed at the first post. JavaScript iterate over all the prototypes members if you do anything. Why a library can't assume that

[jQuery] Re: jQuery add additional attribute like jQuery1216740106187 to any operated node(IE only)

2008-07-22 Thread Jeffrey Kretz
These are used by the engine to ensure the same nodes aren’t selected multiple times. What exactly is this affecting? Are you using TinyMCE or something, and trying to save the resultant HTML content? If so, regex is your friend. var _regex_jquery = new RegExp('jQuery\\d{6,}=\\d+','g'); html

[jQuery] Superfish feature request - disabled items and menus

2008-07-22 Thread Dirty Frank
I'd like to see an option or method where I can disable a menu, sub menu, and menu items. $(ul.sf-menu).superfishDisabled(); Also, I added these lines to the return this.each function to give me more control over li hovers in IE var $li = $('li', this); $li.each(function(){

[jQuery] Re: click() on submit button doesn't trigger form's jquery submit handler

2008-07-22 Thread Roland Schaer
I have a similar problem where i want to submit a AJAX form through its button click event because the AJAX onclick handler is added dynamically through RichFaces. I have two different forms and tried to define a keypress handler for my input fields as follows -- jQuery(.search

[jQuery] Re: Augmentation of Object.prototype

2008-07-22 Thread Michael Geary
If it's so BAD why Douglas Crockford in his book[1] has no problem with object.prototype augmentation ? For example, take a look : http://javascript.crockford.com/prototypal.html He says : The problem with Object.prototype.begetObject is that it trips up incompetent programs[..]

[jQuery] How do you close a thickbox from an iframe and also refresh page

2008-07-22 Thread bob
Hi, I've been trying to finish off a review section on my site but having trouble. I have a working review TB that pops up and holds the form for the review in an iframe. Once someone enters all the form info and submits it shows a thankyou message. At this point I would like the user to be

[jQuery] Re: Accordion: Linking the Title of an Empty Panel to a Different Page

2008-07-22 Thread Jörn Zaefferer
No, not with the standard accordion. Maybe you need something else: http://docs.jquery.com/UI/Accordion#What_this_isn.27t Jörn On Tue, Jul 22, 2008 at 12:52 PM, juro [EMAIL PROTECTED] wrote: Hi, I am using the accordion plugin and trying to get this functionality working. In respect to my

[jQuery] Re: Error with custom method

2008-07-22 Thread Jörn Zaefferer
jqmRoomNumber and roomNumber doen't match. Jörn On Tue, Jul 22, 2008 at 3:59 PM, CocoLeNain [EMAIL PROTECTED] wrote: Hi, I try to make a custom method which indicates if the field room Number is available. And I have this error : jQuery.validator.methods[method] is undefined with this

[jQuery] Re: How do I do a Ajax request before form submits

2008-07-22 Thread Adwin Wijaya
you can do this form onsubmit='return false' and then $(form#RegForm).submit(function() { $.get(servertime.php,function(response) { response=response.split(\n); $(#serialnumber).val(response[0]);

[jQuery] Re: superfish shadow width problem

2008-07-22 Thread Dirty Frank
I had a similar issue. Try adjusting these styles. ul.sf-menu li li.sfHover ul { left:12em; /* match ul width */ } ul.sf-menu li li li.sfHover ul { left:12em; /* match ul width */ } And I also had to add this css hack to get the shadow back in the right place for IE6 .sf-shadow

[jQuery] Replacing DOM Elements While Maintaining Child Elements

2008-07-22 Thread Chris P
Ok, I have this code (I know it's horrific). td class=ms-sbscopes ms-sbcell select class=ms-sbscopes title=Search Scope id=ctl00_PlaceHolderSearchArea_ctl01_SBScopesDDL name=ctl00$PlaceHolderSearchArea$ctl01$SBScopesDDL option value=This SiteThis Site: Hirsch Branding/option /select /td I want

[jQuery] Re: How do I do a Ajax request before form submits

2008-07-22 Thread Adwin Wijaya
simple solutions ... do this on form . onsubmit='return false;' that will do what you want :) On Jul 22, 7:22 pm, HairyJim [EMAIL PROTECTED] wrote: Hi, I created a form which I wanted to submit using jQuery (I'm new to jq) but before the submit I wanted to run an ajax request and

[jQuery] Packed version 32 kB

2008-07-22 Thread hosemaria
Hi I have made performance test for two independent servers with 3 types of jQuery packages: jQuery 1.2.6 (16kb, Minified and Gzipped) jQuery 1.2.6 (97kb, Uncompressed) jQuery 1.2.6 (30kb, Packed) My tests says that packed version is the slowest one up to 3-4 times. Why is that? What is the

[jQuery] Re: superfish shadow width problem

2008-07-22 Thread seezee
never mind. i added this: .sf-vertical ul {width:12em;} and the problem went away. On Jul 22, 11:58 am, seezee [EMAIL PROTECTED] wrote: i'm using the latest version of superfish (1.4.7). i have both horizontal and vertical menus on the same page. i've adjusted the parameters on the

[jQuery] Re: Backward Compatible Ajax Links - the best way?

2008-07-22 Thread Hinch
Thanks, that's a useful little function and fits my needs. That's much more simple than I had in mind.

[jQuery] Re: Packed version 32 kB

2008-07-22 Thread Bil Corry
hosemaria wrote on 7/22/2008 12:45 PM: My tests says that packed version is the slowest one up to 3-4 times. Why is that? Resig explains it here: - When distributing a piece of JavaScript code it's traditional to think that the smallest (byte-size) code will download and load the

[jQuery] Autocomplete PlugIn: Some Questions

2008-07-22 Thread Stefan Sturm
Hello, I'm testing the Autocomplete PlugIn, and now I have some questions. 1.) Autofill seams not to work for me. When I select an entry, wirde text is display in the textbox. 2.) Is it possible to display icons in the result List? 3.) What is the parse function for? I take my code from the

[jQuery] Replacing DOM Elements While Maintaining Child Elements

2008-07-22 Thread Chris
Ok, I have this code (I know it's horrific). td class=ms-sbscopes ms-sbcell select class=ms-sbscopes title=Search Scope id=ctl00_PlaceHolderSearchArea_ctl01_SBScopesDDL name=ctl00$PlaceHolderSearchArea$ctl01$SBScopesDDL option value=This SiteThis Site: Hirsch Branding/option /select /td I want

[jQuery] Accessing named anchors from the URL...

2008-07-22 Thread René
New to jQuery, having fun with it. Is there a section in the docs concerning accessing the URL string? Reason I ask is, when a certain page loads from a URL such as http:// www.site.com/page.html#section123 I want the page to scroll (smoothly if possible with the core library) to that

[jQuery] Re: Finding the element which has focus

2008-07-22 Thread Karl Rudd
Correct. The only way to reliably find out what element current has focus is to bind a focus handler to all the elements that might take focus on the page. When an element gets focus, you note it down. For example: var currentFocus = null; $(':input').focus( function() { currentFocus = this;

[jQuery] Re: Accordion: Linking the Title of an Empty Panel to a Different Page

2008-07-22 Thread Jörn Zaefferer
The navigation-option is documented here: http://docs.jquery.com/UI/Accordion/accordion The standalone accordion plugin got included and UI, but it didn't have support for that either. Jörn On Tue, Jul 22, 2008 at 8:54 PM, juro [EMAIL PROTECTED] wrote: Hi Joerg, Thank you for your response.

[jQuery] Re: Augmentation of Object.prototype

2008-07-22 Thread Greg
Adding checks into the library would add overhead Did you make some performance tests ? If it's so BAD why Douglas Crockford in his book[1] has no problem with object.prototype augmentation ? For example, take a look : http://javascript.crockford.com/prototypal.html He says : The problem with

[jQuery] DOM not clearing in FF3 on page refresh - using jQuery .val()

2008-07-22 Thread sam_tronik
Sorry if this has appeared elsewhere in the group. Im not sure if it posted the first two times!!! I have a problem in a pretty complex app I'm writing. I load a page, which populates some inputs with values picked up from a mySQL database, like so: (URL eg /projectDetails.php?projectId=12345)

[jQuery] Append element once

2008-07-22 Thread M
Hi, just learn jQuery today and have the first question. I want to append a line of html code with onclick, but I want to append it only one time no matter how many times the users click. How do I do it? The code below works but it appends the additional code after every click. #

[jQuery] Re: DOM changes persist after page reload in FF?

2008-07-22 Thread sam_tronik
Hi Greg, I'm having some similar problems in a pretty complex app i'm writing. Did you work this out? At the moment, I have a page that shows results from mysql table and inserts them as standard php variables as the form loads in the style of input id=test value=$valueToInsert. Then I have

[jQuery] Possible to cancel an AJAX request?

2008-07-22 Thread [EMAIL PROTECTED]
Hi, Is it possible to cancel an AJAX request once the wheel has been set in motion? Below is my call var response = $.ajax({ type: GET, url: 'get_file_manager_preview.php', data: 'f=' + p_file,

[jQuery] Re: Finding the element which has focus

2008-07-22 Thread Joel Newkirk
I don't think that'll work out as you expect... $(selector).focus() GIVES $(selector) the focus, it doesn't test whether it already HAS focus. Ideally there would be a selector such as :focus, fitting in with :enabled, :selected, :hidden, and others. j On Mon, Jul 21, 2008 at 5:27 PM, jquertil

[jQuery] .stop in it's own sentence?

2008-07-22 Thread Geir
Hi! Is it right that I have to put .stop in it's own sentence? Like: $('#K_meny li') .stop; $('#K_meny li').animate({.. } , 1000); And not: $('#K_meny li') .stop.animate({.. } , 1000); I've got some errors with the latter.

[jQuery] Re: How can I downlod that jQuery Ipod Drilldown menu?

2008-07-22 Thread dleifm
Here's what I do when I'm faced with this situation... 1. Grab the Demo: - create a new folder for this plugin - save the source of the demo page as a static XHTML file - check through the source for all the related resource files (css, js, images) and then download them from the demo page to

[jQuery] trigger mouseover when hoverIntent active

2008-07-22 Thread apaella
Hi *, how can I trigger a mouseover event where hoverIntent is active? Firefox firebug console simply ignore my $('#kwick_flight').mouseover(); Tkz!