[jQuery] Border around every character?

2009-05-19 Thread Micky Hulse
Hi, I would like to put a border around every character in sentence... Is there an optimal way to do this with jQuery? I have an ideas as to how to do it (involves generating spans), but I would love to hear tips from the pros!!! Thanks! :) M

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

2009-05-19 Thread quard
And I can use in my rules this : "Name[]" : { required : true} ?? On May 19, 6:51 pm, Jörn Zaefferer wrote: > 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 ex

[jQuery] Re: adding $("

2009-05-19 Thread Paul Tarjan
I actually wanted to append the text to the document. Here is how I'm working around it, but I thought building up the tags using jquery functions was the preferred method. var embed = $("").append( $("") .text(data) .attr("i

[jQuery] Re: should I use .txt or a database to retrieve data from it every second

2009-05-19 Thread Ricardo
A database is usually faster than flat files, and the gap grows larger as the data size increases. From what I know using caching (memcache, APC) and/or prepared statements it shouldn't be hard to achieve over 10.000 queries/second on a decent system (someone please correct me if I'm wrong). You

[jQuery] Re: Portlets / Sortables (highlight get text within portlet using mouse)

2009-05-19 Thread Karl Swedberg
On May 19, 2009, at 6:01 PM, slenzi wrote: So I've been experimenting with JQuery's portlets and in the example found on their site (http://jqueryui.com/demos/sortable/#portlets) you can't select the text in the portets with the mouse. Say you want to highlight some of the text and then right c

[jQuery] Re: Best book to learn jQuery?

2009-05-19 Thread Karl Swedberg
For "a basic understanding," DOM Scripting by Jeremy Keith and PPK on JavaScript by Peter-Paul Koch are also good. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 19, 2009, at 10:13 PM, Josh Powell wrote: The Definitive Guide is a great reference boo

[jQuery] Jquery slideshow help

2009-05-19 Thread ongdesign
Hi, I'm hoping someone can help with this (seemingly simple) project! My test page is up at http://tinne.pair.com/ong/jqtest/index4.html http://tinne.pair.com/ong/jqtest/index4.html The desired behavior: there are six "rotating" images, that are just supposed to cross-fade over one another (a

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

2009-05-19 Thread MorningZ
I've gotten it to work before when a member on the list previous asked for it. go into the js file and search for "function request" in there, you'll see $.ajax defined, change q: lastWord(term) to YourKey: lastWord(term) and it *should* work... it's surely easy enough to just give it a shot

[jQuery] Re: JQuery Slide Panel

2009-05-19 Thread Charlie
google maps  function resizeMap(); donb wrote: 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

[jQuery] Re: Best book to learn jQuery?

2009-05-19 Thread Josh Powell
The Definitive Guide is a great reference book, and a terrible book to learn javascript from. Javascript: The Good Parts is a must read to understand the prototypical nature of javascript, learn about jslint, and understand == vs === I can't speak to Learning Javascript On May 19, 6:15 pm, d3a1

[jQuery] can't set body in open.window("some-page.php") in FireFox

2009-05-19 Thread GravyFace
Trying to set the body of a document opened with window.open as follows: print-preview.php: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> @import url("/css/reports.css"); @import url("/css/print.css"); jquery:

[jQuery] 2 Dynamically Ajax Loading jCarousel on the Same Page?

2009-05-19 Thread Sparky12
Hi Guys, I was wondering whether anyone could provide an example or some code how to get 2 dynamically ajax loading jcarousel on the same page? There is a static example - http://sorgalla.com/jcarousel/ - but this is straight forward. Wondering if anyone can assist with how it would be done for

[jQuery] Re: hoverIntent mouseover on page load

2009-05-19 Thread Charlie
grab the index of menu click, pass it in the URI , grab it on opening page and pass it to the new page  menu. Works great for opening jQuery UI tabs and accordions however they have "selected" or "activate" functions built in. Might be a little more difficult depending on how menu script desig

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-19 Thread Charlie
I read that wrong, what I proposed shifts the 1st level subs to the left, to get second level subs to show on left side instead of right, assign some class like "show_left" to second tier of subs if ($(this ).hasClass("show_left")) {                         $(this).css("left", "-10em");// if

[jQuery] Re: jQuery cool down timer to simulate a World of Warcraft style action button icon.

2009-05-19 Thread d3a1i0
After more research and thinking this is probably better accomplished with an animated gif. I am still open to suggestions should anyone have some. On May 18, 12:34 pm, d3a1i0 wrote: > Does anyone know of a plugin to simulate a World of Warcraft style > action button icon's cool down timer?  If

[jQuery] Re: Best book to learn jQuery?

2009-05-19 Thread d3a1i0
What is a good book for learning JavaScript then? I have heard: JavaScript: The Definitive Guide by David Flanagan JavaScript: The Good Parts by Douglas Crockford Learning JavaScript by Shelley Powers I just want a basic understanding, for now, to help with the more advanced jQuery stuff like

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

2009-05-19 Thread Steven Yang
well I think you have to decide a working model by between you and your java guys.As you know and probably what your trying to do, you make almost make the browser work like client-server model (not that they are not, just not so clearly i guess). If you want do all the display and UI logic by java

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-19 Thread Charlie
assign a class to UL you want to shift  example "left_offset" ($'ul.sf-menu').superfish({                 onBeforeShow: function(){                         if ($(this).hasClass("left_offset")) {                         $(this).css("left", "-30px");                             }               

[jQuery] Re: Move element to parent div

2009-05-19 Thread aly
found it: jQuery(this).prependTo(this.parentNode) works! thanks On 19 Mai, 20:43, "Richard D. Worth" wrote: > How about (untested): > > $(this).parent().prepend(this) > > ? > > - Richard > > > > On Tue, May 19, 2009 at 1:29 PM, aly wrote: > > > it seems that parent('...') is the problem...

[jQuery] Re: XSLT problem in JQuery

2009-05-19 Thread chris thatcher
of course it is based on johann burkards plugin, but just optimized for what i needed it for. On Tue, May 19, 2009 at 7:53 PM, chris thatcher < thatcher.christop...@gmail.com> wrote: > i have an active jquery-xslt project that is used in production settings. > its setup to have the xslt precompil

[jQuery] Re: XSLT problem in JQuery

2009-05-19 Thread chris thatcher
i have an active jquery-xslt project that is used in production settings. its setup to have the xslt precompiled once for heavy reuse, and created a jquery-plugin as the result. i use it to transform xml to json. it also provides a callback for post transform, and does not autmatically append the

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

2009-05-19 Thread Sasha
Wow, that makes... a lot of sense. ={)> All hail... Thanks! SA On May 19, 5:48 pm, Jörn Zaefferer wrote: > 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,

[jQuery] Retrive stock quotes using jquery

2009-05-19 Thread Nitin Sawant
Hi, anyone know how to retrieve stock quotes from Google Finance/Yahoo Finance using jquery?? and also last 30 day price of particular stock

[jQuery] hoverIntent mouseover on page load

2009-05-19 Thread pauln
I'm using hoverIntent to trigger flyout submenus. Works well, but I'd like to trigger the submenu from the mouse position when a new page is loaded. So, for example, your mouse hovers over a link in the main menu, and the display of the corresponding submenu has been triggered. If you then cl

[jQuery] should I use .txt or a database to retrieve data from it every second

2009-05-19 Thread Null
Hi all, To learn some jquery, I am writing some sort of chatbox. My questions is: what can I use best to store and retrieve the chat text?? Is it good to store the chat text in the database, or is it better to save it into a txt file? Ofcourse only new added chat lines will be taken and displayed

[jQuery] Portlets / Sortables (highlight get text within portlet using mouse)

2009-05-19 Thread slenzi
So I've been experimenting with JQuery's portlets and in the example found on their site (http://jqueryui.com/demos/sortable/#portlets) you can't select the text in the portets with the mouse. Say you want to highlight some of the text and then right click and copy, you can't. Anytime you click wi

[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 extraPa

[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: function te

[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 ha

[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 document.w

[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 Extra

[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 te

[jQuery] Re: JQuery Slide Panel

2009-05-19 Thread Jack Killpatrick
I had a problem (not sliding panel specific) once where a google map would not display if it's wrapper had display:none on it. Maybe try visibility:hidden. I think in my case I had to load the map offscreen (using absolute a div with negative positioning) and then using .append to move it's c

[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 wrote

[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 wrote: > > Hello world, > > From everything I can understand from the doc, this code >

[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 rel

[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: 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 05:5

[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 . Works fine in FireFox. $("#print-preview").click( function() { var printPreviewWin = window.open("", "printpreview", "location=0,status=0,scrollbars=1"); $('[name="print-this-listing"]:checked').

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

2009-05-19 Thread Sasha
Hello world, >From everything I can understand from the doc, this code -- click me. $(document).ready(function(){ $("#myForm").validate(); $("#checker").bind("click keypress", function(){ $("#age").rules("remove");

[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') { $jQ("#ID"

[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 the

[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: 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. eric 1 eric 2 var x = $('#row_3'), y = x.parents('.section:first'); The same applies to the TR ids, but I don't know the whole context to propose anythi

[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: toto

[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] 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" wrote: > Is the extra '-'

[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: 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 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, when closed will set a c

[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" wrote: > How about (untested): > > $(this).parent().prepend(this) > > ? > > - Richard > > > > On Tue, May 19, 2009 at 1:29 PM, aly wr

[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 l

[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: 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? is better than ? why? performance of jquery selectors? On May 19, 1:53 pm, aquaone wrote: > A will never be a parent of a . It will be an ancestor but n

[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 s

[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 t

[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); alert($(m.responseTe

[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/ http://www.w3.org/1999/xhtml"; lang="en"> Test div { cursor: poin

[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 wrote: > 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 treev

[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/ http://www.w3.org/1999/xhtml"; lang="en"> Test div { cursor: pointe

[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 link

[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 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 dynamically added html frag

[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 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 dynamically added html frag

[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'); 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 tha

[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] 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 s

[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.surn

[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 wrote: > Hi, > I parse XML with JQuery and my XML looks like this: > > >     >         >    

[jQuery] Re: help using parent()

2009-05-19 Thread aquaone
A will never be a parent of a . It will be an ancestor but not a direct parent. .parents() will look for ancestors. In other news, please use classes on your s instead of pattern matching the id. It's better for a variety of reasons. aquaone On Tu

[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 (Engli

[jQuery] Re: Exclude single from whole

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 a

[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 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 happened? Thanks, TS

[jQuery] help using parent()

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

[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 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(".mydivcontainer"

[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
On Tue, May 19, 2009 at 10:48 AM, aly wrote: > > > thanks for your reply. > html is something like: > > > ... > > ... > > > > 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

[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 jQ

[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 on

[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. Fax: Here is some code javascript (tried to fiddle with sent data -> beforeSubmit - no success): $('#frm_submit_btn

[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: toto

[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 s

[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" wrote: > Hi Guys, > > just started to upgrade my site jquery version to the latest, now I'm > facing some strange behaviour. > In 1.2.

[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 : Item 1 Item 2 Item 3 Method JS : $("span[id]").click(function() { var toto = $(this).parent(); if (toto.f

[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:

[jQuery] Re: Move element to parent div

2009-05-19 Thread aly
thanks for your reply. html is something like: ... ... 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 to do is move .mydiv and its contents at the beg

[jQuery] Exclude single from whole

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

[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: $('#data-info-div').jqmAddTrigger('a.data-info-trigger'

[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: 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 wrote: > Hi all, > Please refer few jquery pagination plugins , > > Also need in the able hea

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

2009-05-19 Thread clement.val.cee...@gmail.com
On 19 mai, 15:48, Mike Alsup 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 ? Thanks again,

[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: m

[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 wrote: > > could get NodeType_1 then get it's .siblings()? > > > On May 19, 8:49 am, Ari wrote: > > Hi, > > I parse XML with JQuery and my XML looks like this

[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. $("a.tags2te

[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 existed.

[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 t

[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 di

[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] 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 numbe

[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 Tu

[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: 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

  1   2   >