[jQuery] [Autocomplete] - Doesn't always work

2009-05-19 Thread MeanStudios
Greetings, I'm currently using this awesome plugin for my web app but I'm having a bit of an annoying bug with it. It sometimes does not pull up any results when typing in. Like if I have something in the database with the name March and I type in mar it shows the little loading.gif but then

[jQuery] Tell me , name of the jquery plugin for my requirement

2009-05-19 Thread bharani kumar
Hi all , Am looking one plugin must statisfy all my need , below is my need , Can u please tell me , which plugin is suitable for my requirement , * * * Search Box* * Pagination * *S.No(table sort)* *Subject(sort)*

[jQuery] Re: [Autocomplete] - Doesn't always work

2009-05-19 Thread Shawn
There are a few different autocomplete plugins out there. I'll assume you are using the one found at http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ (which is the one documented at docs.jquery.com) The author, Jorn Zaefferer, is on this list often I've seen oddities

[jQuery] Re: Tell me , name of the jquery plugin for my requirement

2009-05-19 Thread Shawn
tablesorter with pagination? And a search option? The tablesorter plugin (http://tablesorter.com/docs/) works well for most my needs. I haven't had to implement pagination yet, but I've seen a few plugins for this, and have heard of some combined with tablesorter. The search option needs

[jQuery] Re: [Autocomplete] - Doesn't always work

2009-05-19 Thread MeanStudios
Shawn, yes, that is the plugin I am talking about. In Jorn's blog post on Autocomplete he said to post here with [Autocomplete] in the subject if having problems. Here's the code I'm using: $(#client_name).autocomplete(/ac/get_clients/, { scroll: true, scrollHeight: 300,

[jQuery] Re: Tell me , name of the jquery plugin for my requirement

2009-05-19 Thread bharani kumar
Hi shawn , Thanks for reply , Actually today morning i saw one plugin , That plugin satisfy my need , Without book mark to i closed , even i clear the browser history , Thats y am asking somthing similar, and i asked to google with keyword somthing like pager,tablesort,search jquery plugin ,

[jQuery] Re: [validate] - disabling focusInvalid for a given element

2009-05-19 Thread Steve Jordan
Steve J wrote: Group, I'm putting together a form using the Validate plugin, and have run into an issue it would be nice to resolve. My issue Is around the focusInvalid option. I'd like to disable the focusInvalid behavior for a particular element, yet keep it enabled for the rest. Is

[jQuery] Re: [validate] - disabling focusInvalid for a given element

2009-05-19 Thread Jörn Zaefferer
There is no official API for that, but you can customize the focusInvalid method. An example is here: http://jquery.bassistance.de/validate/demo/tinymce/ (take a look at the source) Jörn On Tue, May 19, 2009 at 11:05 AM, Steve Jordan steveajor...@gmail.com wrote: Steve J wrote: Group, I'm

[jQuery] Re: Web dev problem face to face with JAVA J2EE Dev's

2009-05-19 Thread elpatator
Dealing with Json or XML isn't really a problem, but basically what i'm facing is another deal : those guys chain custom action (for example, login/logincheck/loginok/homeView...), these actions filling a different task. So, applying this to our current problem (user enter bargain code, submits,

[jQuery] Re: Web dev problem face to face with JAVA J2EE Dev's

2009-05-19 Thread Steven Yang
yes basically instead of a jsp-generated htmla json or xml text should do the job and those guys don't even have to worry about how to present the information. all they need to do is pass the data or tell you that the handshake was unsuccessful

[jQuery] Re: scrollTop on jQuery object

2009-05-19 Thread Arrviasto
OK the scrollHeight works, but what with scrollTop? I want to make something like this: obj.scrollTop = obj.scrollHeight; I need scroll down this element on an event. var i = 0; while

[jQuery] Flash file uploaders that will send a file as an email attachment ?

2009-05-19 Thread expanism
Hello Jquery users, I'm looking for an Jquery Flash file upload script that can send the file as an email attachment, without saving it to a database. I have found some nice scripts: http://www.uploadify.com/ http://www.pixeline.be/experiments/jqUploader/ But I can't find any documentation to

[jQuery] Javascript error on IE

2009-05-19 Thread Aaron Lee
Hi, I got the following error when I render the page using jquery-1.3.2.min.js Line: 20 Char: 2424 Error: Exception thrown and not caught Code: 0 URL: ... I then replaced it with jquery-1.3.2.source.js and the exception was thrown at: Sizzle.filter = function(expr, set, inplace, not){

[jQuery] File input path

2009-05-19 Thread twista
How do i get the local path of a file i want to upload. I would like to display an image before uploading using the file input. Anyone who can help

[jQuery] non-recursive find?

2009-05-19 Thread Ari
Hi, I parse XML with JQuery and my XML looks like this: record NodeType_1 NodeType_2/ /NodeType_1 NodeType_2 NodeType_3/ /NodeType_2 NodeType_4/ /record I need to group first level of nodes by their types according certain rules. So I have now something like

[jQuery] cluetip and ajax page load

2009-05-19 Thread winston.nolan
helo, i am using the wonderful cluetip plugin. my intention is to load a page via ajax into the tip. i have set it up with the following settings: jQuery(document).ready(function() { jQuery('.sticky').cluetip({ // effect and speed for opening clueTips fx: { open:

[jQuery] Re: Web dev problem face to face with JAVA J2EE Dev's

2009-05-19 Thread elpatator
thanks a lot. They have also been talking about servlets, and again, that's not my world; should I encourage this pratice ? will it ease the job between us

[jQuery] Re: Best book to learn jQuery?

2009-05-19 Thread Ethan Mateja
Kudos to the suggestions. I purchased both yesterday as a result. :D On Mon, May 18, 2009 at 11:15 PM, Karl Swedberg k...@englishrules.comwrote: On May 18, 2009, at 9:58 AM, Brandon Aaron wrote: On Mon, May 18, 2009 at 8:35 AM, Karl Swedberg k...@englishrules.com wrote: I've heard

[jQuery] Move element to parent div

2009-05-19 Thread aly
I'm trying to move a set of divs into their parent elements. Currently I'm using: jQuery('.mydiv').each(function(){ jQuery(this).prependTo ('.mydivcontainer').remove(); }); this works somehow, but the problem is that all elements on the page with class .mydiv are inserted into each

[jQuery] Re: Move element to parent div

2009-05-19 Thread Richard D. Worth
What does your html look like? Is .mydivcontainer the immediate parent of .mydiv? - Richard On Tue, May 19, 2009 at 7:20 AM, aly he...@digitalnature.ro wrote: I'm trying to move a set of divs into their parent elements. Currently I'm using: jQuery('.mydiv').each(function(){

[jQuery] Re: Move element to parent div

2009-05-19 Thread Richard D. Worth
And what is it you're trying to do exactly? I have to say I was caught curious by your subject 'Move element to parent div'. Where would an element be, if not inside its parent? Are you just trying to move it up to be the first child of the parent, by prependTo? I wonder if in the first case,

[jQuery] generic jquery tip

2009-05-19 Thread ocptime
Hi, In my application I have many tips ( which are divs ) for eg: a tip explaining what are recurring invoices, items etc. Each of these tips has a close button, when closed will set a cookie with value true. tip1 cookie value =1 which then will dismiss this tip. So the next time a page is

[jQuery] [treeview] No event on node after add node.

2009-05-19 Thread mrkeyser
Hello, I'm french, sorry for my English, thank you google translation! ;) I'd like to make ajax calls to load sub-nodes in my treeview. I have the following tree: Tree HTML : ul id=tree li id=1spanItem 1/span/li li id=2span id=item-2Item 2/span/li li id=3spanItem 3/span/li /ul Method

[jQuery] Re: Javascript error on IE

2009-05-19 Thread ryan.j
it's going to be one of your selectors - if you're at a loss where to start maybe just chop out functions until it starts working, and then look more closely at what it was doing in that function. On May 19, 7:00 am, Aaron Lee waifun...@gmail.com wrote: Hi, I got the following error when I

[jQuery] Re: File input path

2009-05-19 Thread ryan.j
in a browser the local filesystem uses file:/// eg. file:///c:\My Pornography\margret_thatcher_naked.png On May 19, 11:05 am, twista korir.morde...@gmail.com wrote: How do i get the local path of a file i want to upload. I would like to display an image before uploading using the file input.

[jQuery] Re: non-recursive find?

2009-05-19 Thread ryan.j
could get NodeType_1 then get it's .siblings()? On May 19, 8:49 am, Ari ari.hayri...@gmail.com wrote: Hi, I parse XML with JQuery and my XML looks like this: record     NodeType_1         NodeType_2/    /NodeType_1     NodeType_2        NodeType_3/    /NodeType_2    NodeType_4/

[jQuery] Re: [validate] blur

2009-05-19 Thread Ravi
Jörn, Thank you for the code, may I ask why is it not intended to be used that way. It works for me, but just curious to know. -- Ravi On May 18, 7:56 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this: $(...).validate({   onfocusout: function(element) {    

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-19 Thread ldexterldesign
Browsers are clever these days - that's my answer, but yea, thanks for the clarification. I'll bear this in mind in the future. Ended up with this page in the end: http://is.gd/ARvj Hit a service on the left, then; Hit the 'Get a quote' button I wanted the contact form to animate in, but it's

[jQuery] Displaying more information without shifting the page

2009-05-19 Thread paulinstl
My issue is this. I have a box that has a fixed height with repeatable elements in it. I want to display the top eight with a More link/button. When the user clicks More, the box essentially floats on top of its designated area and expands OVER the top of everything else. (much like a drop

[jQuery] Re: [validate] blur

2009-05-19 Thread Jörn Zaefferer
Its not documented as part of the public API, especially the element-method of the validator instance is otherwise internal only. That mostly affects backwards compability of future versions: I may decide to change the name of the element-method or its usage; currently very unlikely. Jörn On

[jQuery] Cycle plugin - frame number / IE behaviour

2009-05-19 Thread clement.val.cee...@gmail.com
Hi ! As implied by the subject, my question concerns jquery.cycle plugin and I have 2 questions. I tried to find answers searching the web, but didn't find any. I'm currently using cycle to built a photography website and enjoy it a lot so far. However, I'd like to display/update the image

[jQuery] is it possible to add elements to validate on fly? [validate]

2009-05-19 Thread quard
My form has multiple elements like Name[] , which added via AJAX call. And I want to add them to validation check. How can I do it?

[jQuery] Re: Cycle plugin - frame number / IE behaviour

2009-05-19 Thread Mike Alsup
Does anybody know how to display the frame number (and total number of frames) using the standard plugin, only putting some code in the after: function callback ? http://www.malsup.com/jquery/cycle/count.html Second question : with IE7, if all images are already in cache, they all

[jQuery] Re: is it possible to add elements to validate on fly? [validate]

2009-05-19 Thread Jörn Zaefferer
Make each name unique, eg. name[0], name[1] and so on. As long as the names are unique, the validation plugin can pick up new elements and validate them. In addition, rules must exist for each name. Using inline rules (metadata, or classes and attributes) is the best approach here. Otherwise use

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-19 Thread Liam Byrne
Browser can only do what they're told when combined with some basic facts and inbuilt assumptions. This was done in one of the jQuery libraries to recalculate the RGB colours from starting-colour to finishing-colour, so it can be done; but in that case each in-between colour already

[jQuery] Adding/Removing text on texarea

2009-05-19 Thread Johannes Theile
Hi, I have a list of text-snippets which should be inserted into a textarea, separated by a comma. When I click the same text-snipped again, it should be removed from the textarea. I managed to to implement the inserting with the following code, but for the removal I have no idea.

[jQuery] Re: non-recursive find?

2009-05-19 Thread chris thatcher
Nodes_A = $( NodeType_2, NodeType_4, xml); Nodes_B = $( NodeType_1, NodeType_5, xml); On Tue, May 19, 2009 at 9:16 AM, ryan.j ryan.joyce...@googlemail.comwrote: could get NodeType_1 then get it's .siblings()? On May 19, 8:49 am, Ari ari.hayri...@gmail.com wrote: Hi, I parse XML with

[jQuery] Re: Adding/Removing text on texarea

2009-05-19 Thread Michael Lawson
If you select the text area and use the text() function on it, you'll get a string back. You can do whatever you want with it from there and then just reinsert it again, thats one option at least cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail:

[jQuery] Re: Cycle plugin - frame number / IE behaviour

2009-05-19 Thread clement.val.cee...@gmail.com
On 19 mai, 15:48, Mike Alsup mal...@gmail.com wrote: http://www.malsup.com/jquery/cycle/count.html Wow !! That was fast ! Strangely, I never found this demo. Thanks a LOT ! Use CSS style rules to position and stack the images. Do you mean forcing the images to be all at the same position ?

[jQuery] Re: JQUERY Pagination

2009-05-19 Thread Jim D
I would check out DataTables. It looks like it would easily be able to do what you're talking about and much more. http://www.sprymedia.co.uk/article/DataTables -Jim On May 18, 11:59 am, bharani kumar bharanikumariyer...@gmail.com wrote: Hi all, Please refer few jquery pagination plugins ,

[jQuery] update from 1.2.6 to 1.3.2 $('select') - strange!?

2009-05-19 Thread asrij...@googlemail.com
Hi Guys, just started to upgrade my site jquery version to the latest, now I'm facing some strange behaviour. In 1.2.6 - $('select[name^=q_select_]') - returns the select - object In 1.3.2 - $('select[name^=q_select_]') - returns the options of the select !? Some1 else facing this problem?

[jQuery] Re: jqModal - Deactivate a register trigger

2009-05-19 Thread Jim D
I don't believe there's a removeTrigger sort of function for jqModal. The only thing I can think of to do would be to bind a click event to the element you want to trigger the modal instead of using the jqmAddTrigger() method. So instead of:

[jQuery] Exclude single td from whole tr

2009-05-19 Thread heohni
I found a good solution to make a complete table row clickable: tr link=/folder/here.php. $(tr[link]).bind(click, function(){ var link = $(this).attr(link); window.location.href = link; }); Only problem in my case: My tbale has as first td a checkbox to select my products.

[jQuery] Re: Move element to parent div

2009-05-19 Thread aly
thanks for your reply. html is something like: div class=mydivcontainer ... div class=mydiv ... /div /div there are more elements where I placed the (...) dots, but I guess it doesn't matter since parent('.mydivcontainer') should locate the target element. and yes, what I am trying

[jQuery] [BlockUI]: how to block overlapping DIVs?

2009-05-19 Thread Franz Buchinger
Hi, I'm developing a Google Maps app that uses BlockUI to freeze the map during loading cycles and to display dialogs. I wanted to place a custom menu bar on top of the Google Maps div. Because Google Maps empties its div during loading, i had to resort to the following markup structure: div

[jQuery] [treeview] No event on node after add node.

2009-05-19 Thread mrkeyser
Hello, I'm french, sorry for my English, thank you google translation! ;) I'd like to make ajax calls to load sub-nodes in my treeview. I have the following tree: Tree HTML : ul id=tree li id=1spanItem 1/span/li li id=2span id=item-2Item 2/span/li li id=3spanItem 3/span/li /ul Method

[jQuery] Re: update from 1.2.6 to 1.3.2 $('select') - strange!?

2009-05-19 Thread Matt Kruse
You should post a simple test case, because the simple test case I created does not show this problem. Matt Kruse On May 19, 9:33 am, asrij...@googlemail.com asrij...@googlemail.com wrote: Hi Guys, just started to upgrade my site jquery version to the latest, now I'm facing some strange

[jQuery] Re: [jQuery][validate] - disabling focusInvalid for a given element

2009-05-19 Thread Steve Jordan
Jörn Zaefferer wrote: There is no official API for that, but you can customize the focusInvalid method. An example is here: http://jquery.bassistance.de/validate/demo/tinymce/ (take a look at the source) Jörn Thanks for the help. It turned out I was going round the houses to do

[jQuery] Problem with the jQuery cluetip plugin and jboss Richfaces ajax submit

2009-05-19 Thread Julien Martin
Hello, I am trying to re-render through ajax a richfaces element contained in a cluetip tooltip div and it is not working. Can anyone help please? Here is the code for the div: a id=aa rel=#tttoto/a div id=tt style=display: none a4j:outputPanel id=sculptureSuggereeTT

[jQuery] problems with ajaxSubmit and files when file(s) not selected

2009-05-19 Thread csetzkorn
Hi, I am kind of successfully uploading files using ajaxForm/ajaxSubmit and POST. My form has a file input (I am actually using jquery.MultiFile.js) and some text inputs e.g. input type=file maxlength=1 class=multi id=image name=image accept=gif|jpg|jpeg/ label for=fax class=labelFax:/label

[jQuery] event propagation

2009-05-19 Thread soni2926
Hi, I just had a question regarding event propagation, do events propagate up only when they're the same? Meaning if a click event happens in the child and goes up to the parent, will just the click event of the parent occur? This one causes the alert in the parent click to happen when i click

[jQuery] Re: Javascript error on IE

2009-05-19 Thread Aaron Lee
Thanks! I tracked it down to the use of curvycorner http://www.curvycorners.net/(which btw causes IE to pop up operation aborted error when you visit the site) I did $(.class_name).corner() and comment out that line works. So the mystery is solved but I wonder if anyone can recommend a good

[jQuery] Re: Move element to parent div

2009-05-19 Thread Richard D. Worth
On Tue, May 19, 2009 at 10:48 AM, aly he...@digitalnature.ro wrote: thanks for your reply. html is something like: div class=mydivcontainer ... div class=mydiv ... /div /div there are more elements where I placed the (...) dots, but I guess it doesn't matter since

[jQuery] Re: Move element to parent div

2009-05-19 Thread aly
it seems that parent('...') is the problem... the code works only if I specify the name of the target div: jQuery(document).ready(function(){ jQuery(.mydivcontainer).prependTo('.mydiv''); }); but this is useless in my case because I have multiple and dynamic items with that class...

[jQuery] Re: Move element to parent div

2009-05-19 Thread Richard D. Worth
How about (untested): $(this).parent().prepend(this) ? - Richard On Tue, May 19, 2009 at 1:29 PM, aly he...@digitalnature.ro wrote: it seems that parent('...') is the problem... the code works only if I specify the name of the target div: jQuery(document).ready(function(){

[jQuery] help using parent()

2009-05-19 Thread elubin
I am trying to find the div parent of a td tag. In the following code, I do not understand why the alert shows 0 instead of 1?? script type=text/javascript $(function(){ var x = $('#row_3'); var y = x.parent('div[id^=idSection_]'); alert( y.length ); }); /script

[jQuery] IE8 Dom accessibility issue

2009-05-19 Thread TS
hello, Previously in IE7, I was able to inject HTML using $('foo').innerHTML ('code here'); I inject a hidden input type, for example input type=hidden etc etc I could reference these in the DOM in IE7, now in IE8 the objects cannot be found. Does anyone know of a fix for this or what

[jQuery] Re: Exclude single td from whole tr

2009-05-19 Thread aquaone
Either you can bind to the td's that don't contain the checkbox or you can delegate and check the target of the clicked event to make sure it's not the td that has the checkbox. The former would be $(tr[link] td:not(:has(:checkbox))) I believe, and is the easiest. Hopefully others can chime in

[jQuery] Re: help using parent()

2009-05-19 Thread Andy Matthews
You might try just var y = x.parent('div'); Would there ever be another div that could be a parent of one of these TD tags? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of elubin Sent: Tuesday, May 19, 2009 12:47 PM To: jQuery

[jQuery] Re: help using parent()

2009-05-19 Thread aquaone
A div will never be a parent of a td. It will be an ancestor but not a direct parent. .parents() http://docs.jquery.com/Traversing/parents#exprwill look for ancestors. In other news, please use classes on your divs instead of pattern matching the id. It's better for a variety of reasons. aquaone

[jQuery] Re: non-recursive find?

2009-05-19 Thread Ricardo
Just use children() directly: var $record = $(xml).children('record'); Nodes_A = $record.children(NodeType_2,NodeType_4); Nodes_B = $record.children(NodeType_1,NodeType_5); On May 19, 4:49 am, Ari ari.hayri...@gmail.com wrote: Hi, I parse XML with JQuery and my XML looks like this: record  

[jQuery] How to print json data, key and value

2009-05-19 Thread Massimiliano Marini
Hi all, from my PHP script with json_encode() I print this json output: [{name:pippo,surname:pluto,age:20}] Is possible to print the key and the value of json object without using code like this: $.each(data, function(key, value){ console.log(value.name); console.log(value.surname);

[jQuery] executing priority jquery script

2009-05-19 Thread webvideoto...@gmail.com
on this page http://nl.pokerunlimited.eu/home-test-99/ The banner images are first loaded and only assembled into the sliding banner when the whole page is done loading. This has obvious drawbacks; being ugly and all :) Anyone know of a good solution for this? its jquery 171 and i can post the

[jQuery] Display random text+image whenever user refreshes

2009-05-19 Thread Adrian Chen
I've been trying to look for some sort of jquery plugin that would allow me to display random text and images in a page. I've seen that there are some scripts that fade in and fade out content, but it starts as the page loads and it's in some sort of linear way, I wouldn't mind using this as long

[jQuery] XSLT problem in JQuery

2009-05-19 Thread Amod
Hi I am using jquery xslt plugin and the problem I am having is that when I perform xslt i.e $('#outputDiv').xslt('PPPoE.xml','PPPoE.xsl'); /b the browser continues execution of the lines following this line(ie xslt line) and when the execution is finished it displays the xslt result. I want

[jQuery] Re: append() and the browser back button

2009-05-19 Thread kmikc
See http://www.mikage.to/jquery/jquery_history.html On 8 mayo, 15:26, Dragon-Fly999 dragon-fly...@hotmail.com wrote: Hi, I use append() to add html fragments to a page dynamically.  This works fine until the user navigates to another page and then clicks on thebrowserbackbutton.  The

[jQuery] Re: append() and the browser back button

2009-05-19 Thread kmikc
See http://www.mikage.to/jquery/jquery_history.html On 8 mayo, 15:26, Dragon-Fly999 dragon-fly...@hotmail.com wrote: Hi, I use append() to add html fragments to a page dynamically.  This works fine until the user navigates to another page and then clicks on thebrowserbackbutton.  The

[jQuery] cluetip problem on iPhone/Mobile Safari

2009-05-19 Thread Matt Riley
First off, a quick THANK YOU for making cluetip! :-) I'm using it and loving it but I have an issue with it under iPhone/ Mobile Safari. Basically, when I view a page with a desktop browser, cluetip activates on hover and does what I want. However, on the iPhone, cluetip displays whenever a

[jQuery] .click function won't work continuously? addClass and hasClass little problem

2009-05-19 Thread Edwinistrator
I want to change the color on every click on the div, by changing the class and checking if hasClass. First removeClass, then addClass. But this won't work? Live demo: http://www.edwinistrator.com/stuff/jquery/ !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://

[jQuery] Re: No event on node after add node.

2009-05-19 Thread #micah
Is the extra '-' in span id=item-2-1 the issue? Should it be span id=item 2-1? How do you say maybe in french? :) On May 19, 9:00 am, mrkeyser mathieu.develo...@gmail.com wrote: Hello, I'm french, sorry for my English, thank you google translation! ;) I'd like to make ajax calls to load

[jQuery] .click function won't work twice? addClass and hasClass little problem

2009-05-19 Thread Edwinistrator
I want to change the color on every click of the div, by changing the class and checking if hasClass. First removeClass, then addClass. But this won't work? Live demo: http://www.edwinistrator.com/stuff/jquery/ !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://

[jQuery] JQuery Slide Panel

2009-05-19 Thread phaedo5
I want to use a sliding panel at the top of my page. I can do that, but I also want to include inside that panel an interactive Google Map. I can do the code to get it there, but it doesn't work quite right. The map loads but there are pieces of it that are flaky or not there. The map seems

[jQuery] Problem with AJAX parsing

2009-05-19 Thread Michael Barcaro
Hello, I'm stuck with a big problem: when I make an AJAX call I receive a response object which I parse with jQuery: $.ajax({ url: 'myUrl.html', complete: function(m){ var txt = $(m.responseText);

[jQuery] trouble with page loading, looking for priority override

2009-05-19 Thread webvideoto...@gmail.com
on this page http://nl.pokerunlimited.eu/home-test-99/ The banner images are first loaded and only assembled into the sliding banner when the whole page is done loading. This has obvious drawbacks; being ugly and all :) Anyone know of a good solution for this? its jquery 171 and i can post the

[jQuery] Re: help using parent()

2009-05-19 Thread elubin
parents() worked, thank you. also the new closest() worked. what's the exact difference between those two? why classes instead of ids? div class=A is better than div id=A? why? performance of jquery selectors? On May 19, 1:53 pm, aquaone aqua...@gmail.com wrote: A div will never be a

[jQuery] Re: .click function won't work twice? addClass and hasClass little problem

2009-05-19 Thread James
I think you want this: if($(#content).hasClass(blue)) { $(#content).removeClass(blue); $(#content).addClass(red); } if($(#content).hasClass(red)) {

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-19 Thread Ethan Mateja
I was able to acheive multiple columns by giving the ul a width that is n times bigger than the li, where n is the number of columns desired. -THANX Cy Morris! I now face an issue where items close to the right hand side of the screen bleed off with multiple columns. I wonder how I can force the

[jQuery] Re: Move element to parent div

2009-05-19 Thread aly
doesnt work. I get: Error: [Exception... Node cannot be inserted at the specified point in the hierarchy code: 3 . On 19 Mai, 20:43, Richard D. Worth rdwo...@gmail.com wrote: How about (untested): $(this).parent().prepend(this) ? - Richard On Tue, May 19, 2009 at 1:29 PM, aly

[jQuery] Re: generic jquery tip

2009-05-19 Thread ocptime
hi all, it's a shame that u guys don't have an answer. ocptime On May 19, 5:39 pm, ocptime mail.samgeo...@gmail.com wrote: Hi,   In my application I have many tips ( which are divs ) for eg: a tip explaining what are recurring invoices, items etc. Each of these tips has a close button,

[jQuery] Re: problems with ajaxSubmit and files when file(s) not selected

2009-05-19 Thread Mike Alsup
This works fine as long as the user selects a file. The file plus the text form elements are send to the server. Some intercepted traffic: -7d92e142190a Content-Disposition: form-data; name=UserId 9bdfa5be-0608-4c14-92cd-defc92d64850

[jQuery] Re: No event on node after add node.

2009-05-19 Thread mrkeyser
maybe = peut-être en français. ;) No, the problem is that no event is raised. $(span[id]).click(function() { alert(Toto); }); If I add an alert ( toto ), it appears when I click on item 2 but not when I click on Item 2-1 . On 19 mai, 16:15, #micah micah.a.sm...@gmail.com wrote: Is the

[jQuery] Re: Cycle plugin - frame number / IE behaviour

2009-05-19 Thread Mike Alsup
Use CSS style rules to position and stack the images. Do you mean forcing the images to be all at the same position ? Yes. That's what the plugin does once it is run, but you can do it in CSS to avoid flicker on page load.

[jQuery] Problem with jQuery Cluetip plugin and jboss Richfaces

2009-05-19 Thread Julien Martin
Hello, I am trying to re-render through ajax a richfaces element contained in a cluetip tooltip div and it is not working. Can anyone help please? Here is the code for the div: a id=aa rel=#tttoto/a div id=tt style=display: none a4j:outputPanel id=sculptureSuggereeTT

[jQuery] Re: help using parent()

2009-05-19 Thread Ricardo
IDs have better performance, but classes applied to multiple elements allow you to simplify logic and code. div class=section id=sectionA tabletrtd id=row_1eric 1/td/tr/table /div div class=section id=sectionB tabletrtd id=row_2eric 2/td/tr/table /div var x =

[jQuery] slide toggle image hides

2009-05-19 Thread adw999
Hi guys, I've created the slide toggle on one of our websites http://www.pukkaup.com/team/ But if you look at the page in IE, the images disappear. Does anyone know why? It doesn't happen for me in FF. Thanks

[jQuery] Re: XSLT problem in JQuery

2009-05-19 Thread Ricardo
There are different versions of XSLT plugins out there, I assume you're using this one: http://johannburkard.de/blog/programming/javascript/xslt-js-version-3-0-released-xml-xslt-jquery-plugin.html As per that post, there is no callback available, you should modify the code yourself or contact

[jQuery] Re: generic jquery tip

2009-05-19 Thread adw999
assign each .tip div with an id. then when you set the cookie, use the id to make it individual. something like: $jQ(document).ready(function() { //Probably will want to put this in a foreach loop of IDs var tip = $jQ.cookie('tip_ID'); if(tip == 'yes') {

[jQuery] [validator] trouble using rules(remove)

2009-05-19 Thread Sasha
Hello world, From everything I can understand from the doc, this code -- form id=myForm input type=text class=age required id=age/ input type=checkbox id=checker/ click me. input type=submit/ /form script $(document).ready(function(){ $(#myForm).validate();

[jQuery] window.document.body reference not working in IE7

2009-05-19 Thread GravyFace
Hello, Any ideas why this doesn't work in IE7? The window opens, but the page source is html/html. Works fine in FireFox. $(#print-preview).click( function() { var printPreviewWin = window.open(, printpreview, location=0,status=0,scrollbars=1);

[jQuery] Re: cluetip and ajax page load

2009-05-19 Thread Karl Swedberg
I'm not absolutely sure, but I think that jQuery appends a timestamp to the query string when you have ajaxCache set to false. This ensures that you're requesting a different resource each time. On a hunch, I typed new Date(1242727097678) into Firebug, and it returned Tue May 19 2009

[jQuery] question about getJSON, objects and/or scope - confused

2009-05-19 Thread illovich
Hi, I'm working on a page where graphics/content get loaded via server side stuff and decided to try to use JSON to send the data. But I'm having trouble with converting the JSON to a javascript object when I use an external file. This works: http://dev.illovich.com/storigraphi5.html ==

[jQuery] Re: [Autocomplete] - Doesn't always work

2009-05-19 Thread Shawn
I don't see anything tooo odd here. Here's what I would suggest though: 1. Call the autocomplete function a few times manually. Put the URL to it in the browser's address bar and load the page a few times (you'll need to switch your code to use $_GET though). Try to mix up the speed of

[jQuery] Re: [validator] trouble using rules(remove)

2009-05-19 Thread Jörn Zaefferer
Use $(#age).removeClass(required); The rules method doesn't affect inline metadata (eg. classes, attributes). And required is a class here, not an attribute. Jörn On Tue, May 19, 2009 at 10:26 PM, Sasha sasha.akh...@gmail.com wrote: Hello world, From everything I can understand from the

[jQuery] Re: [Autocomplete] - Doesn't always work

2009-05-19 Thread MeanStudios
Thank you very much for your reply! Lots of great ideas :). I will let you know how it all turns out. As for using the database to do the filtering, that is a great idea! Yes, I have full control over the client class so it shouldn't be a problem. Best Regards! On May 20, 7:45 am, Shawn

[jQuery] Re: How to print json data, key and value

2009-05-19 Thread Charlie
$.each(data,function(i) { name = "name - " + data[i].name; surname = "surname -" +data[i].surname; age = "age -" + data[i].age; console.log(name) etc... }); I'm not good at explaining the exact terms _javascript_ definitions for "value and key" but they are

[jQuery] Re: - Doesn't always work

2009-05-19 Thread MeanStudios
Shawn, I have fixed my problem! It now works 100% of the time. 1) Tested it and it worked every time so no problems there 2) Removed it and there was no change, still had the problem 3) Check 4) Made those changes and also used the empty() function and no change, still had the problem

[jQuery] Re: question about getJSON, objects and/or scope - confused

2009-05-19 Thread Josh Powell
Well, one thing that will cause IE to error is the extra comma in the object declaration: var obj = { 'foo': 'bar', 'baz': 'boo', --- this comma creates an error in IE } The other problem is that you are doing the json call when the document is finished loading, at that point the

[jQuery] Re: JQuery Slide Panel

2009-05-19 Thread donb
A Google map will not render itself property if the dimensions of the map container are not defined at the time the map initializes. And a 'display:none' container will have zero height and width. Perhaps you can load the map off the side of the screen where it can't be seen, but where it can

[jQuery] [autocomplete] change ?q= to predefined param name or get field value for extraParams call

2009-05-19 Thread jakemonO
Is there a way to change the ?q= parameter name to something that was predefined by the JSON emmitter? For example, Lotus Domino expects the querystring to be of the form ?Startkey=... . Alternately, I can put that query in the extraParams call, but how do I populate the value portion of

[jQuery] jQuery with Ajax

2009-05-19 Thread LB
Hi, I am having a particular issue with the focus/blur events. When I use the .focus function it will work fine with element that are within the html scope on load. My problem is with elements that get loaded in through ajax's request.responseText. Here is my main HTML: html head script

  1   2   >