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

2009-05-18 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 the

[jQuery] Re: adding $("

2009-05-18 Thread Ricardo
Script elements are not really appended. To ensure execution you have to append them to the head of the document or eval them. jQuery does the latter, so the element ends up not being in the DOM at all. What are you trying to achieve? There's no point in creating a script tag when you can just dec

[jQuery] Re: Need "QuickLinks" jQuery functionality as seen on NorthPoint.org at top of page

2009-05-18 Thread Mohd.Tareq
Hi, This is made by flash.Try it with Flash hope flash can give you same solution. Or If you wana do with jquery then you have to use carousel plugin of jquery. see this example : http://www.5bosses.com/examples/agile_carousel/jqueryui_examp

[jQuery] Superfish broken by Community Builder

2009-05-18 Thread Albs
Hi, Superfish works fine all all parts of my site, but in pages which involve Community Builder, the menu no longer works (the menu becomes transparent and disappears as soon as you move your mouse pointer to it). Has anyone else come across this issue, and does anybody (including the author) kn

[jQuery] Events : click & blur

2009-05-18 Thread Mohd.Tareq
Hi All, I am trying to add two event on one button Events are 'click' & 'blur' But when ever I am trying to click on button which is having two event, then first its executing 'blur' event, logically it should execute 'click' event first. Is it bug of javascript? Or am I doing something wrong :(

[jQuery] Re: [Validation] Internationalization support

2009-05-18 Thread MaxMax
But all the range, min, max don't work because they use the "standard" javascript string to number conversions that are USA only. I "patched" the validation plugin to work in italy (but now it works only in italy) On 18 Mag, 22:22, Jörn Zaefferer wrote: > You can write custom methods to extend t

[jQuery] Re: replace existing div with fadeIn

2009-05-18 Thread jan
does anyone know solution for this? thank you

[jQuery] Re: Event is not triggered when the removed from one table to another table

2009-05-18 Thread Karl Swedberg
On May 18, 2009, at 2:30 PM, Josh Nathanson wrote: Events are not automatically bound to new elements added to the dom. However if you are using jquery 1.3+ you can do this to achieve dynamic binding: $("tr").live("dblclick",function(event) { // etc. True, but the OP was referring to row

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Karl Swedberg
On May 18, 2009, at 9:58 AM, Brandon Aaron wrote: On Mon, May 18, 2009 at 8:35 AM, Karl Swedberg wrote: I've heard Learning jQuery 1.3 is a great read, too. ;-) HAHAHA... I think you forgot your disclaimer. :p Karl is a co-author of Learning jQuery. Nonetheless, Learning jQuery 1.3 wou

[jQuery] Re: index() problem

2009-05-18 Thread Sasha
I bow, MorningZ. Many thanks and much respect - SA On May 18, 10:47 pm, MorningZ wrote: > The index of the object you are looking for needs to be in the > collection of objects you select. which isn't the case of your > selector, as you are looking for an tag in a collection > (that's just

[jQuery] Re: index() problem

2009-05-18 Thread MorningZ
The index of the object you are looking for needs to be in the collection of objects you select. which isn't the case of your selector, as you are looking for an tag in a collection (that's just one item) of tags Right from the docs (http://docs.jquery.com/Core/index) "Searches every match

[jQuery] index() problem

2009-05-18 Thread Sasha
Seems like this should be straightforward based on the documentation: ... whatever other whatever ... $(document).ready(function(){ alert($("#mySelect").index($("option[value=1]"))); }); ought to alert "1" - right? Instead I get "-1". If I change "#mySelect" in the

[jQuery] adding $("

2009-05-18 Thread Paul Tarjan
If I have a node that isn't in the DOM, and then I add a script to it, then it is actually executed. Example Expected behavior : s variable contains the string "alert('hi') ". Observed behavior : alert box pop up and s contains ""

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

2009-05-18 Thread Steven Yang
Well the 2 major ways to communicate between server and client are XML and JSON I guess, besides HTML of course.I believe any "hardcore" java developer is familiar with XML. So if you are willing to deal with XML you can ask them to format their "input"(for you, or output for them) in decided XML f

[jQuery] Re: :contains selector error/bug in IE

2009-05-18 Thread Spiderhawk
I found a bug listed on the jQuery site that contained a patch and I applied the patch to my copy of jQuery 1.3.2 Bug is listed here: http://dev.jquery.com/ticket/1612 Patch was listed here: http://dev.jquery.com/changeset/3300 And here is what I did to the minimized version I downloaded. Chan

[jQuery] Re: Calling ASMX from JQuery

2009-05-18 Thread Jeffrey Kretz
Correct. Try visiting your asmx page in a browser. http: //localhost/BoATransformation/Survey.asmx?op=GetSurvey You will be shown the exact format needed to make your request. JK From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Joseph Le Brech

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread bittermonkey
Best book for me were jQuery In Action and Learning jQuery. On May 18, 3:37 pm, alex wrote: > Ah. I'm sure this sounds dunce-y because 'jQuery does it for me', but > is a solid grounding in Javascript necessary to a solid grounding in > jQuery (or at least, being able to use jQuery), or just goo

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Josh Powell
You can learn javascript as you learn jQuery. In fact, I would say it is much, much easier to learn jQuery then do a deep dive into learning javascript. And learning javascript extremely well isn't actually a requirement for getting started in web application development any longer because of lib

[jQuery] Re: Calling ASMX from JQuery

2009-05-18 Thread Joseph Le Brech
doesn't asmx wrap the json in a soap object? > Date: Mon, 18 May 2009 12:51:05 -0700 > Subject: [jQuery] Re: Calling ASMX from JQuery > From: brakes...@gmail.com > To: jquery-en@googlegroups.com > > > Check in Firebug if the service returns data or a 501 error. Its > under CONSOLE. You should

[jQuery] Re: [Validation] Internationalization support

2009-05-18 Thread Jörn Zaefferer
You can write custom methods to extend the plugin with whatever methods you need: http://docs.jquery.com/Plugins/Validation/Validator/addMethod You should be able to use numberDE for that number format. Look at dateDE or any of the other date methods to see how they are implemented. Jörn On Mon

[jQuery] Re: Calling ASMX from JQuery

2009-05-18 Thread bittermonkey
Check in Firebug if the service returns data or a 501 error. Its under CONSOLE. You should allow it to "Show XMLHTTPRequests" Also, 1. The URL part seems to have an extra space after HTTP.. or maybe its just a typo: url: "http: //localhost/BoATransformation/Survey.asmx/ GetSurvey" 2. Or try

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread alex
Ah. I'm sure this sounds dunce-y because 'jQuery does it for me', but is a solid grounding in Javascript necessary to a solid grounding in jQuery (or at least, being able to use jQuery), or just good practice? I would guess, as a complete novice, that just using what is already available may not

[jQuery] Re: [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
Hi Jörn - One example is this: I've got a form on a page, and when the contents are valid they can be added to a dynamically-generated table via a button at the bottom of the page, which also blanks out the form. Then the user can click through to the next page with a "Next" button below that.

[jQuery] [Validation] Internationalization support

2009-05-18 Thread MaxMax
Does the JQuery Validation plugin supports internationalization? Here in Italy for example we write 1,5 instead of 1.5 and 1.500,5 instead of 1,500.5 and the dates are in another format (dd/MM/)... Thanks Massimiliano

[jQuery] Calling ASMX from JQuery

2009-05-18 Thread ebeworld
Hi, I am trying to call ASMX method from JQuery without success. Following is my code and don't understand what i am missing. Thanks, Ebe ///Something.js function setQuestion() { $.ajax({ type: "POST", data: "{}", dataType: "json", url: "http: //localhost/B

[jQuery] Slide to Unlock - doesn't work with latest jQuery and UI

2009-05-18 Thread Build Interactive
Why would this script not work with jQuery 1.3.2 and UI 1.7.1? Is it because the slide-to-unlock script is not compatible or because of new limitations of the UI? http://www.marcofolio.net/webdesign/the_iphone_unlock_screen_in_xhtml_css_and_jquery.html

[jQuery] Re: [validate] blur

2009-05-18 Thread Jörn Zaefferer
Try this: $("...").validate({ onfocusout: function(element) { this.element(element); } }); Not really intended to be used that way, but may solve your problem. Jörn On Mon, May 18, 2009 at 7:28 PM, Ravi wrote: > > Hello, > > I really liked the JQuery validate plugin. I am trying to us

[jQuery] Re: [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Jörn Zaefferer
Could you give a more specific example how you would use that? Jörn On Mon, May 18, 2009 at 7:25 PM, Sasha wrote: > > Hi everyone - I've used and loved the form validation plugin developed > by Jörn Zaefferer, and I've run into several cases in which I would > like to be able to essentially say

[jQuery] Re: scrollTop on jQuery object

2009-05-18 Thread Brandon Aaron
There are two ways to get the DOM element out of the jQuery object. Assuming $msgs from your code example, you could get the first message as a DOM element like this: var msg = $msgs.get(0); // or var msg = $msgs[0]; // then get scrollHeight msg.scrollHeight -- Brandon Aaron On Mon, May 18, 200

[jQuery] Re: Validate

2009-05-18 Thread James
How about: $("#myform").validate({ rules: { end_value: { required: true, min: function() { return $("#start_value").val(); } } } On May 18, 8:37 am, Oscar wrote: > Hi > I like the validate plugin, but it only works with values defined on > load, not dyna

[jQuery] Validate

2009-05-18 Thread Oscar
Hi I like the validate plugin, but it only works with values defined on load, not dynamic values. I'd like to be able to compare field values. For example, if I got 2 fields: #start_value and #end_value and I want to check the end_value is bigger than start_value, should be something like this: $

[jQuery] Re: Event is not triggered when the removed from one table to another table

2009-05-18 Thread Josh Nathanson
Events are not automatically bound to new elements added to the dom. However if you are using jquery 1.3+ you can do this to achieve dynamic binding: $("tr").live("dblclick",function(event) { // etc. -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegro

[jQuery] Re: Event is not triggered when the removed from one table to another table

2009-05-18 Thread Karl Swedberg
On May 18, 2009, at 2:04 PM, naresh wrote: Hi I have a query(JQuery) here. can you plz help me in fixing the issue with this code. That is when I click on of first table that should get removed from first table and added to second table. It is happening fine and good. But when I double clic

[jQuery] Re: Event is not triggered when the removed from one table to another table

2009-05-18 Thread James
Any future elements added to the DOM will not automatically inherit events that are set on the page. Try using the live() function to set your dblclick: $("tr").live("dblclick", function(event) {...}); More info on it here: http://docs.jquery.com/Events/live#typefn On May 18, 8:04 am, naresh w

[jQuery] jqModal - Deactivate a register trigger

2009-05-18 Thread Leandro Tuttini
hi, It is possible to deactivates trigger registered ? I am using : $('#data-info-div').jqm({ trigger: false, modal: true, overlay: 50 }); $("#data-info-div").jqmAddTrigger("a.data-info-trigger"); but I cann´t find the opposed func

[jQuery] [validate] blur

2009-05-18 Thread Ravi
Hello, I really liked the JQuery validate plugin. I am trying to use the plugin for one of my projects. I want the validate to work on blur as soon I move our from required field without entering any data. I know this something which should be very simple, I've been searching for this and I did f

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

2009-05-18 Thread d3a1i0
Does anyone know of a plugin to simulate a World of Warcraft style action button icon's cool down timer? If no plugin can someone point me in the right direction on to accomplish this? I am very new to jQuery and JavaScript, but I am familiar with general programming. For those who are not fami

[jQuery] Event is not triggered when the removed from one table to another table

2009-05-18 Thread naresh
Hi I have a query(JQuery) here. can you plz help me in fixing the issue with this code. That is when I click on of first table that should get removed from first table and added to second table. It is happening fine and good. But when I double click on the that is added to second table no event

[jQuery] BlockUI "dialog" unblocking from iFrame

2009-05-18 Thread Khimaira
Hi. I downloaded the BlockUI plugin today. I'm having this problem with unblocking from iFrame. I'm making a register page using jquery and ajax, and inform the user if the data given is valid without reloading the page. ok so everything's right, except that after i've blocked the screen after th

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Nick Jones
Unsubscribe

[jQuery] finer positioning of the jquery overlay 1.0.1

2009-05-18 Thread estrand
I've been trying to figure out how to get the overlay shown here... http://flowplayer.org/tools/demos/overlay/index.html (demo 1 is fine) ...to be positioned relative to the button (0,0) buttons upper left corner and not centered to the browser window. The concept is that there will be a table

[jQuery] EasySlider 1.5: Tabbing through forms

2009-05-18 Thread Francis "Pat" Patterson
I'm developing a form using the jQuery plugin EasySlider 1.5: http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding I want to add the ability to initiate the slider action when a user tabs to a field located off-screen, as in this example: http://www.fordpas.org/reg

[jQuery] Need "QuickLinks" jQuery functionality as seen on NorthPoint.org at top of page

2009-05-18 Thread JonDod
Does anyone know where I can grab jQuery code that will give me the "QuickLinks" functionality as seen on NorthPoint.org at the top of their web pages? When clicked it slides the pages content down to display a links menu. When mousing over the link the boxes resize to display a brief explanatio

[jQuery] Ajax history/back button - with a twist

2009-05-18 Thread Sven Dahlstrand
Hi folks, I have the classic ajax history/back button problem - with a twist. :-) I'm developing a simple order form using Rails and jQuery. On the top of the page there's a cart and right below it a search form for products. When the user start to type in the search box results are presented on

[jQuery] scrollTop on jQuery object

2009-05-18 Thread Arrviasto
Hi! I have to use scrollTop and scrollHeight properties, but on jQuery object it returns `undefined`. Is there any method to get this property from jq object? It doesn't matter, but my object looks like this: var $win = $(this) // div on my page var $msgs = $win.find('.msgs'); $msgs.scrollHeig

[jQuery] BlockUI "dialog" unblocking from iFrame

2009-05-18 Thread Khimaira
Hi. I downloaded the BlockUI plugin today. I'm having this problem with unblocking from iFrame. I'm making a register page using jquery and ajax, and inform the user if the data given is valid without reloading the page. ok so everything's right, except that after i've blocked the screen after th

[jQuery] [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
Hi everyone - I've used and loved the form validation plugin developed by Jörn Zaefferer, and I've run into several cases in which I would like to be able to essentially say, "if these conditions are met, the form's valid, period," without actually checking through valid(), element() or any other

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread Liam Byrne
$("#content").load("newfile.php") ? rayche...@gmail.com wrote: Back again, I mean most method consist of hidding inside a inside the same page. Then the popup will display the what's inside the Is there a way to display from an external html or php file. Tks Raymond

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread KrushRadio - Doc
I'll have to check that out... seeing i can eventually craft the data however i want to when it comes out.. But note to self and completly off conversation... Based on that example, I could use jquery to parse LUA that comes from World Of Warcraft The dataformat is very very similar. On Ma

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread geronimo3
Use an iframe for that instead of use: On May 18, 6:04 pm, "rayche...@gmail.com" wrote: > Back again, > I mean most method consist of hidding inside a > inside the same page. > Then the popup will display the what's inside the > Is there a way to display from an external html or

[jQuery] jQuery Workshop - We Want Your Input!

2009-05-18 Thread Justin Kozuch
Hi Everyone Apologies for the intrusion, but I'm looking for your input on something. We're looking for input on a jQuery Workshop - let us know what's on your mind! Please fill out our poll at http://spreadsheets.google.com/viewform?formkey=cnN3VWxKcjNOYkZzX1lCNjgwZ29kNVE6MA when you have a mom

[jQuery] Re: cycle plugin not working

2009-05-18 Thread surreal5335
Thanks a lot for pointing that out, I made the change which changed nothing sadly. I even cleared my cache and refreashed everything to get the changes to take effect, but still nothing. I am sure that was one of the problems but there seems to other problems still Could you tell me if it is wo

[jQuery] Re: Internet Explorer OMG

2009-05-18 Thread Ricardo
When you call activate() inside the click handler, you add one more event listener for the click, which calls activate() again and so on. You should either not call the function from within itself or move the bind() outside. On May 18, 9:29 am, Dmitri wrote: > I have a function > > caps = []; /*

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread chris thatcher
fascinating, i didn't even know you could do that... On Mon, May 18, 2009 at 11:56 AM, Brandon Aaron wrote: > > Only Live Query supports calling a function when an element is matched > (or unmatched). If you need this functionality, then you'll need to > stick with Live Query. > > -- > Brandon Aa

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread rayche...@gmail.com
Back again, I mean most method consist of hidding inside a inside the same page. Then the popup will display the what's inside the Is there a way to display from an external html or php file. Tks Raymond

[jQuery] JQUERY Pagination

2009-05-18 Thread bharani kumar
Hi all, Please refer few jquery pagination plugins , Also need in the able heading with sort type , for example Assume if i click the date , then i want sort by date , if i click subject , need to sort by subject , *Date* *Subject* *09-08-1984* Subject 1 *10-09-1986* Subject 2 *10-08-1

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Brandon Aaron
Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query. -- Brandon Aaron On Mon, May 18, 2009 at 9:58 AM, Meander365 wrote: > > Hi all, > > I normally do this with livequery: > >          

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread ryan.j
i'm pretty sure you can only bind event handlers with .live, so you'd need to link it to a click or something. On May 18, 3:58 pm, Meander365 wrote: > Hi all, > > I normally do this with livequery: > >                 $('.mylink').livequery(function(event) { >                         $(this).myc

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
i'd actually be tempted to try... try { pDialog.remove(); } catch(e) { /* console.log("remove method failed"); */ pDialog.parentNode.removeChild(pDialog); } ...which isn't very pretty but it should start working properly as soon as somebody gets around to fixing remove() without needing th

[jQuery] Re: Onwidow resize element width

2009-05-18 Thread weidc
might not help but i did those window resize once for one of my objects. was always at the right place after resize. $(window).resize(function() { //footer var leftabstand = $(".footer_08").offset(); var width = $(".footer_08").width(); var left= leftabstand.left +

[jQuery] Re: Cross Port Jquery Library Call

2009-05-18 Thread Shadraq
In case anyone stumbles in here with the same issue, I was able to solve this pretty easily... As long as your library includes aren't port specific, and your $.post () url is pointing to the port you need (http(s)) then, there won't be any problems. Your library call should be something like th

[jQuery] Events - Live -v- Livequery

2009-05-18 Thread Meander365
Hi all, I normally do this with livequery: $('.mylink').livequery(function(event) { $(this).mycustomFunction(); }); So any new .mylink's on a page would also be bound with my custom function. How can I do this with the new LIVE event? or

[jQuery] Re: How to display additional text along with link

2009-05-18 Thread vmrao
Thanks. This helped reduce the code but still not perfect. Here is my present code which works but still I cannot eliminate some redundant code. $("a[href$='.doc']:not(a[href^='http']),a[href$='.xls']:not(a [href^='http']),a[href$='.ppt']:not(a[href^='http']),a[href $='.pdf']:not(a[href^='http']

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread snakebit
I know the feeling :) my temporary solution is almost the same as yours: var pDialog = data_responce.getElementsByTagName("PDialog"); data_responce.documentElement.removeChild(pDialog[0]) On 18 Май, 17:13, "ryan.j" wrote: > monday morning mate, i completely misread what you wrote :| > > it's a

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 07:33, Jörn Zaefferer wrote: > Try this (untested): > > required: "#viaFornitura[selectedIndex=1]" > > Jörn > > On Mon, May 18, 2009 at 12:13 PM, ciupaz wrote: > > > How can I make this Jorn? > > > Luigi > > > On May 18, 10:42 am, Jörn Zaefferer

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

2009-05-18 Thread Steve J
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 this possible? Any help

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 07:33, Jörn Zaefferer wrote: > Try this (untested): > > required: "#viaFornitura[selectedIndex=1]" > > Jörn > > On Mon, May 18, 2009 at 12:13 PM, ciupaz wrote: > > > How can I make this Jorn? > > > Luigi > > > On May 18, 10:42 am, Jörn Zaefferer

[jQuery] jquery: display external page inside popups (mail goggles)

2009-05-18 Thread rayche...@gmail.com
Hi, I've been through various jQuery windows popups (modal, fancybox,boxy, à la facebook ...) but none of them convinced me. I want to display inside the popup php/html file not images. I really like the modal style but it displays only javascript files. My goal is to have kind of mail goggles p

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

2009-05-18 Thread elpatator
Hi all, my problem is quite, I have to admit it, confusing. My client has a couple of JAVA hardcore coders, but obviously none of them understands the concept of ajax (not so hardcore now, huh ? ...). As myself am not confident with the JAVA/J2EE/STRUTS concepts, I'm trying to find out a way to e

[jQuery] Internet Explorer OMG

2009-05-18 Thread Dmitri
I have a function caps = []; /* some array */ function activate() { var index = parseInt(Math.random() * caps.length); if( caps.length > 0) { caps[index].addClass("active"); $("#tip").html(caps[index].html()); } else { win(); } $("a.act

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread mdk
Yes, but because he has no JS he will like have a tough time. I would read a basic JS book first, then go for Learning jQuery 1.3. Mike On May 18, 8:35 am, Karl Swedberg wrote: > I've heard Learning jQuery 1.3 is a great read, too. ;-) > > --Karl > > > Karl Swedbergwww.englishrule

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 05:33, ciupaz wrote: > Hi all, > I have this validate code to validate a textbox if the user select a > combo value: > > > >     $(document).ready(function() { >                 $("form#2form").validate({ >                 rules: { >            

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread ryan.j
they have a blog on the official site, which details changes to jquery and any updates to popular/interesting plugins http://blog.jquery.com/ On May 18, 3:44 pm, alex wrote: > Are there any problems when jQuery is updated, or is it solely no > information about new effects and stuff? I've only

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Richard D. Worth
A look through http://docs.jquery.com/History_of_jQuery may help answer both questions. Dot releases (1.1, 1.2, 1.3) can contain new features and API changes that can require code updates, but it's always well documented, as you can see by clicking on a few links on that page, that take you to re

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
i may be completely misunderstanding you, but have you tried to combine a fadeOut() on the first image then a fadeIn() on the next image? you can change the background-color of a div with $('#yourDiv').css("background-color", newColour) but that will just change it, it won't fade it gradually o

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread alex
Are there any problems when jQuery is updated, or is it solely no information about new effects and stuff? I've only been using jQuery for a couple of weeks, are new releases frequent? On May 18, 2:35 pm, Karl Swedberg wrote: > I've heard Learning jQuery 1.3 is a great read, too. ;-) > > --Karl

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread MorningZ
Damn, I missed the memo that there was a 1.3 version out and about ! On May 18, 9:35 am, Karl Swedberg wrote: > I've heard Learning jQuery 1.3 is a great read, too. ;-) > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On May 18, 2009, at 9:07 AM, Morning

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread CarComplaints.com
I'll second the JSON suggestion. Assuming from your XML code example that you're only ever going to have day/show nodes, here's the JSON: { 'Monday' : [ { time : "0800-1000", dj : "mc funk", name : "nonstop music" }, { time : "1000-1200", dj : "mc rap", name : "nonstop music" } ],

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
i may be completely misunderstanding you, but have you tried to combine a fadeOut() on the first image then a fadeIn() on the next image? you can change the background-color of a div with $('#yourDiv').css ("background-color", newColour) or if you're feeling fruity you can layer the 2 images up a

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
you mean like like fadeIn() and fadeOut() ? On May 14, 5:27 pm, g10tto wrote: > I'm putting together a portfolio site and I'd like to use high-res > images that take up most of the screen to show different works. There > would be a menu bar with links to each work, where a click on that > work's

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread g10tto
bump

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
monday morning mate, i completely misread what you wrote :| it's a bug i guess, have you tried to bypass the remove() method? eg. pDialog.parentNode.removeChild(pDialog); On May 18, 12:17 pm, snakebit wrote: > I'm little confused. Why you think I want to remove a string? What I'm > doing

[jQuery] $.load() doesn't fires script tags?

2009-05-18 Thread asrij...@googlemail.com
Hi Guys, just facing an issue: I'm creating a worklflow for my "app" and found $.load() very usefull. It works except that tags aren't loaded. I got some jQuery Objects (like Flexbox etc) in my remote pages and would like to have access to this objects after the load() but after load() there are

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Brandon Aaron
On Mon, May 18, 2009 at 8:35 AM, Karl Swedberg wrote: > I've heard Learning jQuery 1.3 is a great read, too. ;-) HAHAHA... I think you forgot your disclaimer. :p Karl is a co-author of Learning jQuery. Nonetheless, Learning jQuery 1.3 would be a great choice. :) -- Brandon Aaron

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Karl Swedberg
I've heard Learning jQuery 1.3 is a great read, too. ;-) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 18, 2009, at 9:07 AM, MorningZ wrote: I always recommend "jQuery in Action" it's a great read On May 18, 3:19 am, alex wrote: Just wonderi

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread CarComplaints.com
jQuery selectors take an optional 2nd parameter to provide a search context (object to search through). Pretty minor but it reduces the code nicely... you can get rid of the 3 find()'s. var time = $('time',this).text(); var dj = $('dj',this).text(); var showname = $('showname',this).text();

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread MorningZ
I always recommend "jQuery in Action" it's a great read On May 18, 3:19 am, alex wrote: > Just wondering what your opinions are on the best book out there, for > a beginner, to learn jQuery? I know HTML and CSS well enough, but have > no javascript knowledge. > > Thanks

[jQuery] Re: [autocomplete] Can I validate and update the entered value before doing the search?

2009-05-18 Thread Tom Worster
On 5/18/09 2:57 AM, "ulf.ren...@gmail.com" wrote: > My best though right now is to patch the plugin to include another > option - substituteValue - which could be a function that validates > and rewrites the data in any desired way before the match is done. i've thought in the past that a usefu

[jQuery] Re: Hiding a menu in Superfish

2009-05-18 Thread joems
Did it, instead of using display none I instead used jquery remove function instead. On May 17, 6:38 pm, joems wrote: > Hi, I want to make a dynamic menu where the items being shown depends > on the access of the user. I tried having a code in codebehind of my > aspx page that will set a certain

[jQuery] Re: .onclick - Executing a function before another - Help Solve

2009-05-18 Thread weidc
what about adding a class to the open div's. like this: $(".button1").click(function() { if($("div").hasClass("open")) { $(".open").removeClass("open").slideUp('slow', function() { $(".div1").addClass("open").slideDown('slow'); }); } else { $

[jQuery] accesing array/variables with a function

2009-05-18 Thread introvert
Hello I'm having problems with the following code: for (var i = 0; i < images.length; i++) { var img = new Image(); img.src = images[i][0]; $(img).bind('load', function() { stack.push( $('').attr('href', images[i][1]).append(this)[0] )

[jQuery] Re: cycle plugin not working

2009-05-18 Thread Mike Alsup
This is backwards. You need to include jquery before you include the cycle plugin. On May 18, 1:31 am, surreal5335 wrote: > I am trying to use the cycle plugin but all I get is a static list. I > have checked to make sure all my code is matching with the demos > online and still I dont g

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread George
That's what I was after - knew jQuery wouldn't disappoint! Many thanks George On May 18, 1:08 pm, "Michael Price" wrote: > You can use either: > > $("selector").text("New text"); > Or > $("selector").html("New text"); > > Both also work as getters if you don't provide an argument: > theText =

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread Michael Price
You can use either: $("selector").text("New text"); Or $("selector").html("New text"); Both also work as getters if you don't provide an argument: theText = $("selector").text(); theHTML = $("selector").html(); Is this what you were after? Regards, Michael Price -Original Message- Fro

[jQuery] Hiding a menu in Superfish

2009-05-18 Thread joems
Hi, I want to make a dynamic menu where the items being shown depends on the access of the user. I tried having a code in codebehind of my aspx page that will set a certain li to style display none, but when viewed in IE6 I get a white space within the menu.

[jQuery] Best book to learn jQuery?

2009-05-18 Thread alex
Just wondering what your opinions are on the best book out there, for a beginner, to learn jQuery? I know HTML and CSS well enough, but have no javascript knowledge. Thanks

[jQuery] Problem how to set left value for top navigation menu

2009-05-18 Thread borgy manotoy
Hi All, I would like to ask how will I set the left value of my currently selected list. such that: var a = getViewportWidth(); var b = getMouseXPosition(e); var list_width = 150; var c = b + list_width; if(c > a) { //HOW TO: CODE FOR ADJUSTING LEFT VALUE OF SELECTED LIST }else{ //NO C

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2009-05-18 Thread abelafonte
This is exactly what I needed. Had no idea what was going on when the slide mysteriously had a background color that matches a div three levels up in the hierarchy. I guess there's no fix for the lack of transparency with this attribute set? On May 11, 1:37 pm, Maksym Melnyk wrote: > Here's th

[jQuery] replace existing div with fadeIn

2009-05-18 Thread jan
Hi, I am trying to create a simple menu. Here is what I am trying to accomplish. When you click a link from a list a div fades in on top of the list. When you click another link from the list I want previously faded in div to be replaced by new div. What I have now is all the links fades in rando

[jQuery] Onwidow resize element width

2009-05-18 Thread dPO
Hey i am trying to create a plugin that changes the css of a div according to size of window. I cant use a % based layout because it causes a gap in the layout that i dont like. a small description of the script would be something like this: windowwidth = 1000px calculation = 1000(windowwidth)

  1   2   >