[jQuery] Re: superfish navbar issue in Afterburner or JA-Purity Templates

2009-12-04 Thread xantof
Thanks Charlie, You describe the situation perfectly! I am still a tenderfoot at this game but I am getting my hands dirty. Priorities is not the easiest notion to grasp. I am using Firebug but I am not yet fully proficient with all its functionalities and haven't (yet) got the method to move up

[jQuery] Widgets giving problem in master page

2009-12-04 Thread udaycse542
Hi everyone, I am using Jquery for moving widgets in a page.By using (http://nettuts.s3.amazonaws.com/127_iNETTUTS/demo/index.html ) site i done it.it is working fine in normal page.I am using in master page(asp.net). when widgets placing one bye one the page height is increasing .I

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
Well, after a few tests, this works fine : $(#cat_list div).live(click, function() { alert($(this).attr(id)); }); thanx

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
That's easy, .next() finds the nearer next *sibling* of current element matching the selector. In your case, your element is not current element's sibling, it's under another node altogether. div span class=mehey, it's me !!/span spanand I'm his sibling/span aand I am too/a p spanthough I am not

Re: [jQuery] Automagically link http(s)://, mailto: etc in String

2009-12-04 Thread Michel Belleville
Indeed, you could try something like this : string.replace(/((?:(?:http:\/\/)|(?:mailto:))([^\s]+))/, 'a href=$1 title=$2$2/a'); And bam! the returned value will have your http://s and mailto:s wrapped in nice links. Michel Belleville 2009/12/4 Dhruva Sagar dhruva.sa...@gmail.com Of course

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T T NV)
Karl Swedberg wrote: On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote: I refrained from replying because the OP seemed trollish, but he has a point, IMHO. It would be great if someone who knew both frameworks could set up a page that demonstrated a side-by-side case where Mootools has

[jQuery] [Draggable] How to cancel drag while dragging

2009-12-04 Thread jmunning
Hi All, I have a scenario where I have a results box and a drop zone where results can be dropped. When the results are dropped, the results box is updated with new results. My problem occurs when dragging a result while the results box is being re-loaded from the previous drop. The results box

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Michel Belleville
Just used your benchmark and I didn't see any significant differences. Both had slight jumps from time to time, none felt like there was a pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard. Michel Belleville 2009/12/4 Jonathan Vanherpe (T T NV)

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T T NV)
That's why I said you needed to find a slow computer to test it on ;-). We need to cater to a diverse audience, and part of that audience is using IE6 on a crappy Intel Celeron chip or Firefox on a G4. Jonathan Michel Belleville wrote: Just used your benchmark and I didn't see any significant

[jQuery] Re: Help with Datepicker

2009-12-04 Thread Keith
You also need to tell it to use a button to trigger the popup using the showOn setting. Set it to 'button' to only popup on the button click and not on focus, or 'both' to show on either. ('#MembershipWizard1_Wizard1_ctl05_ClubConfirmation1_txtStartDate').datepicker ({ dateFormat:

[jQuery] Spellchecker plugin

2009-12-04 Thread Richard W
Hi jQuery users I have pretty much finished my simple spellchecker plugin (barring additional functionality) and am wanting some testing/feedback/ criticism/bug reports etc from the jQuery community. My initial inspiration for the plugin came from a work responsibility: to build a spellchecker

[jQuery] jQuery Load, use in Django(help to do load two times)

2009-12-04 Thread NMarcu
Hello all, I have a strange problem with jquery load. I have this two loads on a click event: action='first'; $( '#operators_list_div' ).html( 'nbsp;' ).load( '{% url add_save_view %}',{'action':action, }); action='second'; $( '#address_list' ).html( 'nbsp;' ).load( '{% url add_save_view

Re: [jQuery] Spellchecker plugin

2009-12-04 Thread Dhruva Sagar
Cool, appreciate the effort, I will check it out soon and give you my feedback. Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 3:37 PM, Richard W willis...@gmail.com wrote: Hi jQuery users I have pretty much finished my simple spellchecker plugin (barring additional functionality)

[jQuery] Is possible to update two div with the same load?

2009-12-04 Thread NMarcu
Hi, I need to update a div that contain a table, and another one that contain a drop down list, that is build depending on what is in one table from db(the first div depend on this also). It's possible to update the 2 divs with the same load, or need to use two load. I try this but not worked

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
.load() also has a success triggered callback. Michel Belleville 2009/12/4 NMarcu marcu.nico...@gmail.com Hi, I need to update a div that contain a table, and another one that contain a drop down list, that is build depending on what is in one table from db(the first div depend on this

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Nicu Marcu
Can you give me please some example or where to find a documentation about what you said. 2009/12/4 Michel Belleville michel.bellevi...@gmail.com .load() also has a success triggered callback. Michel Belleville 2009/12/4 NMarcu marcu.nico...@gmail.com Hi, I need to update a div that

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
For some reason I have a feeling you've overlooked the official jQuery documentation on .load(), especially the example section. http://docs.jquery.com/Ajax/load#urldatacallback Michel Belleville 2009/12/4 Nicu Marcu marcu.nico...@gmail.com Can you give me please some example or where to find

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread wshawn
Celeron? BAH! They need to kill that beast. In openSuse, on a not so slow machine ;) running KDE, Firefox 3.5.5 with only the cookie monster plugin activated, I noticed a slight lag in the mootools sample. Some of this perceived speed difference may be a direct result of plugins, or proxy

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Richard D. Worth
I think you're better of with $.get and then doing the finding and loading into both divs yourself. - Richard On Fri, Dec 4, 2009 at 5:21 AM, NMarcu marcu.nico...@gmail.com wrote: Hi, I need to update a div that contain a table, and another one that contain a drop down list, that is build

[jQuery] Re: BlockUI strange behaviour in IE7

2009-12-04 Thread Filipa Andrade
Hi, I am not able to post an example at the moment. Does anybody have an idea for solving this problem? Thank you. On Dec 3, 9:54 am, Filipa Andrade filipa.andr...@gmail.com wrote: Hi Mike, sorry but I cant post a link. I will try to make one example of this problem and post it here. As

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread donb
I have a 'slow computer' that is 6 years old hardware, has been upgraded from windows 3.1 and upward, to the current XP without ever a wipe and reinstall. I figure I'm a worst-case scenario if there ever was one. ;-) I routinely find pages loading extremely slow from javascript-intense sites.

[jQuery] jScrollPane - help is needed

2009-12-04 Thread xirurg
Hi All I'm having a problem with jScrollPane. Take a look on http://www.cmt.ca/unstable/ - photo gallery on the right. It loads the whole list first and then limits it to certain width. So my question is - is is possible to eliminate that effect when user sees whole list for a while. Any help

[jQuery] Save javascript variable via jquery

2009-12-04 Thread m.ugues
Hallo all. I would like to save the response of an AJAX call in a variable declared in the document ready in parent page. Imagine this piece of code http://pastie.org/727450 The document ready lives in an iframe so I would like to save in the parent page the var myVariable, not to load it every

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
Well it depends ; most of the times you end up loading a big bit of data that should replace a specific portion of the screen (let the standard .load() behaviour do the heavy lifting for this one) plus a few tidbits like notifications and so on that are secondary (can be dealt with in the

[jQuery] [validate] Error using rules('remove')

2009-12-04 Thread Eva
Hi all, I get an error when using rules('remove') from Jörn Zaefferer's Validate plugin. The error is: elem is undefined [Break on this error] var id = elem[ expando ];\r\n The code is: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[jQuery] Autcomplete extraParams usage

2009-12-04 Thread ..........
I want to pass some value (other than that i type in text box) when i am using autcomplete . for that i am using extraParams and passing it in the below manner extraParams: { id: 1234, }, so how can i get the value in php which i passed as extraParams.

[jQuery] validate

2009-12-04 Thread sucheta
Hello all, I am using the JQuery validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ . And I am using the calandar component from YUI. The problem is similar to what bobbykjack has . I have an input field ,when user clicks into it the calendar pops up. When user

[jQuery] Can't get the js of superfish to work

2009-12-04 Thread webstudiolund
I get these faults: jQuery is not defined hoverIntent.js()hoverIntent.js (rad 84) [Break on this error] })(jQuery);hoverIntent.js (rad 84) jQuery is not defined superfish.js()superfish.js (rad 121) [Break on this error] })(jQuery);\nsuperfish.js (rad 121) $(ul.sf-menu).superfish is not a function

[jQuery] Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread coolf
Hello i'm new here, Is it posible?

Re: [jQuery] Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread Andreas Möller
Hello i'm new here, Is it posible? Yes, it is. Best regards, Andreas

[jQuery] Re: Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread coolf
ok, thanks for the response. But what is the best, is it good to have more than a documen.ready ? it doesn't bring problems? On 4 dic, 11:33, Andreas Möller localhe...@l8m.de wrote: Hello i'm new here, Is it posible? Yes, it is. Best regards, Andreas

Re: [jQuery] Autcomplete extraParams usage

2009-12-04 Thread Dhruva Sagar
You can get it in PHP as $_REQUEST['id'] Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 8:06 PM, .. cognizantst...@gmail.com wrote: I want to pass some value (other than that i type in text box) when i am using autcomplete . for that i am using extraParams and passing it

[jQuery] Re: jScrollPane - help is needed

2009-12-04 Thread Scott Sauyet
On Dec 4, 10:07 am, xirurg vshala...@hotmail.com wrote: I'm having a problem with jScrollPane. Take a look onhttp://www.cmt.ca/unstable/- photo gallery on the right. It loads the whole list first and then limits it to certain width. So my question is - is is possible to eliminate that effect

[jQuery] Re: Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread MorningZ
there's no problems with it... as for best, that completely applies to the situation, there is no one, all-encompassing answer for that On Dec 4, 10:35 am, coolf jm.neut...@gmail.com wrote: ok, thanks for the response. But what is the best, is it good to have more than a documen.ready ? it

Re: [jQuery] Re: Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread Michel Belleville
Basically, my advice would be : 1. first, load jQuery 2. then load jQuery extensions (UI, plugins) 3. then load your own domain-specific extensions (method declarations, etc.) 4. then load your page hooks (in a $(function() { ... }) block so it starts when the page is complete),

[jQuery] Re: Selector issue

2009-12-04 Thread MorningZ
I wouldn't suggest going the .live route if you plan on having a lot of children of cat_list using event delegation, there is one single event wired up that handles 1 child or 1200 children using .live, you would have N number of events sitting there wired up where N is the number of

[jQuery] Re: Jcarrousel smooth autoscrolling

2009-12-04 Thread teemak
up On 2 déc, 12:21, teemak yacine.mourc...@gmail.com wrote: Hi there, I use Jcaroussel with circular autoscrolling setting. It's works but at each picture it stops (just a second but it stop) and restart. I have to do a smooth (or soft) autscrolling. Thanks. Teemak PS: Sorry for

[jQuery] Re: Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread coolf
thanks to all On 4 dic, 12:08, Michel Belleville michel.bellevi...@gmail.com wrote: Basically, my advice would be :    1. first, load jQuery    2. then load jQuery extensions (UI, plugins)    3. then load your own domain-specific extensions (method declarations,    etc.)    4. then load

[jQuery] Re: Save javascript variable via jquery

2009-12-04 Thread m.ugues
I tried this way: http://pastie.org/727632 The div is appendend but the javascript declaration not: Any idea? Kind regards Massimo On 4 Dic, 16:13, m.ugues m.ug...@gmail.com wrote: Hallo all. I would like to save the response of an AJAX call in a variable declared in the document ready in

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Karl Swedberg
Just out of curiosity, which browser are you using? Did you try it in more than one? --Karl On Dec 4, 2009, at 9:43 AM, donb wrote: I have a 'slow computer' that is 6 years old hardware, has been upgraded from windows 3.1 and upward, to the current XP without ever a wipe and reinstall. I

[jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
Hi All: I've read over the docs, but don't quite understand what the bind() event provides versus just assigning a particular event handler to a selected element (or set of elements). For example, consider the code below. What's the difference between the interaction with the p elements of

[jQuery] Re: Need help in jquery script for copying values

2009-12-04 Thread rose
Sorry to ask a silly question like this. I solved this . Here goes the modified script : $('#addEmployee').click(function(){ $.ajax({ url: 'searchEmployee.do?method=searchEmployee', type: 'GET', data:

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
Hey Charlie, methods such as .click() and .mouseover() are just convenience methods. They all use .bind() internally. One nice thing about .bind() is that you can use multiple event types with it. For example, instead of doing this: $('a') .mouseover(function() { var $link =

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
Hi Karl: Awesome! Got it :) Thanks for the explanation and examples. Charlie On Fri, Dec 4, 2009 at 9:01 AM, Karl Swedberg k...@englishrules.com wrote: Hey Charlie, methods such as .click() and .mouseover() are just convenience methods. They all use .bind() internally. One nice thing

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
On Dec 4, 2009, at 11:09 AM, MorningZ wrote: I wouldn't suggest going the .live route if you plan on having a lot of children of cat_list using event delegation, there is one single event wired up that handles 1 child or 1200 children using .live, you would have N number of events

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
Well I dont think I'll have more than about 15 childs here. Thx for help On 4 déc, 17:09, MorningZ morni...@gmail.com wrote: I wouldn't suggest going the .live route if you plan on having a lot of children of cat_list using event delegation, there is one single event wired up that

Re: [jQuery] Re: Save javascript variable via jquery

2009-12-04 Thread Michael Geary
Your first example doesn't work because getJSON doesn't return the JSON data as its return value; it *calls a function* and passes the data as an argument to that function. Remember that getJSON is asynchronous. The call to getJSON returns before the data is even downloaded. Any time you have

Re: [jQuery] Re: Can I use $(document).ready(function(){ in the same page more than a once time in the same page

2009-12-04 Thread Michael Geary
It really makes little difference at all. jQuery makes an array of all your ready callbacks, and when the document is ready it loops through that array and calls each function. So other than that tiny bit of overhead, the net effect is exactly the same whether you put all the code in one ready

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Rey Bango
Yep Karl's explanation was great. Also, you can leverage bind() to work with your own custom events in the case where you want to define something that needs to be triggered based on another action. Using the code from the docs, you can see what I'm talking about: $(p).bind(myCustomEvent,

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
Oh yeah, that too! :-D --Karl On Dec 4, 2009, at 1:41 PM, Rey Bango wrote: Yep Karl's explanation was great. Also, you can leverage bind() to work with your own custom events in the case where you want to define something that needs to be triggered based on another action. Using the code

[jQuery] Suckerfish dropdowns not working in IE -- JQuery is undefined

2009-12-04 Thread Yvan
My suckerfish dropdown menu isn't working in IE. http://www.alliedcash.com/comparison/ (I've attached a dropdown menu to the Resources button / link) It works fine in Firefox, .. but in IE it gives me the following error messages. Please advise. Message: 'jQuery' is undefined Line: 1 Char: 1

[jQuery] Re: Basic Bind Question

2009-12-04 Thread seasoup
Got two more uses for ya. Namespacing of events: // set two click events with different namespaces $('.button').bind('click.namespace1', function () { }).bind('click.namespace2', function () { }); //remove just one of them $('.button').unbind('click.namespace1', function () { }); and

[jQuery] plugin namespace

2009-12-04 Thread ben2233
The website I'm working with has jQuery and the jQuery Form plugin (jquery.form.js) included on every page (it can be used with the syntax $j). However, they are using a newer version of jQuery with an older version of the Form plugin... and this causes some errors. So, I would like to include my

[jQuery] FadeIn / FadeOut IE8

2009-12-04 Thread Darrelm
I have a site, http://www.faith-photography.com, using the fadeIn/Out with standard jpgs.The process works flawlessly in every browser except IE8 when set to IE8 view. If set to IE7 it works, but not as smoothly as you can see in Firefox or any web-kit type browser. Anyone know of a

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread tpneumat
How the plugin is written is a huge part. I have jealously noticed in the past that mootools animations typically seem to be smoother, especially on slower machines and cruddy browsers, but I stick with jQuery because I really like the syntax community. However, I agree that no one has really

[jQuery] Re: Suckerfish dropdowns not working in IE -- JQuery is undefined

2009-12-04 Thread Yvan
Nevermind .. I got it working. On Dec 4, 2:20 pm, Yvan yvana...@gmail.com wrote: My suckerfish dropdown menu isn't working in IE. http://www.alliedcash.com/comparison/ (I've attached a dropdown menu to the Resources button / link) It works fine in Firefox, .. but in IE it gives me the

Re: [jQuery] plugin namespace

2009-12-04 Thread waseem sabjee
including it on every page seems troublesome and hard to maintain. if you using PHP or ASP you can create your own Master Page and include there once. and load your other pages in as they are needed. my suggestion to you in converting to a CMS then you can include your script in only one file and

[jQuery] Re: next()

2009-12-04 Thread TMNT
Michel, thanks for your response. So, do I need to get the parent of my country element (which would be the div ) get all it's siblings and then look for elements with class 'state' or is there a simpler way? On Dec 4, 12:47 am, Michel Belleville michel.bellevi...@gmail.com wrote: That's easy,

[jQuery] Need help finalizing superfish dropdown menu

2009-12-04 Thread Yvan
I'm having some difficulty finalizing my suckerfish dropdown menu on this page (ie: Resources button / link): http://www.alliedcash.com/comparison/ Here are the 3 problems that I'm trying to correct: 1) I want to eliminate the right border for each of my sublinks -- I can't seem to access /

[jQuery] Re: plugin namespace

2009-12-04 Thread ben2233
I think I over-simplified the situation. I'm writing a widget (which dynamically generates contents of a div element on the page, in this case) that gets plugged into various parts of the website. And the entire website is reliant on jQuery, so the jQuery code and plugins are already included in

[jQuery] Re: Selector issue

2009-12-04 Thread MorningZ
Nah. Using .live() wires up one event handler to document. --Karl Doh, shame on me for my lack of facts on that .live()... i'll read up on it some, as i usually, well always, take the delegation route..

Re: [jQuery] Multipart forms, file uploads and the accept header

2009-12-04 Thread codeo008
Similar issue: ajax working fine until I tried to upload. I found out that (a) most browser clients don't know what to do with header application/json (b) the solution text/javascript is mixed up for some reason extra tags get added on which confuses the parsing (c) try setting your header as

Re: [jQuery] Re: Basic Bind Question

2009-12-04 Thread Charlie Griefer
Thanks all. I appreciate all the responses and examples. Really helps out a lot. Charlie On Fri, Dec 4, 2009 at 11:34 AM, seasoup seas...@gmail.com wrote: Got two more uses for ya. Namespacing of events: // set two click events with different namespaces

[jQuery] Re: binding ala ActionScript??

2009-12-04 Thread hsfrey
Thanks Karl! I'll give it a try. Harvey

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
The .live() method uses event delegation under the hood. doing this: $('a').live('click', function() { // do something }); is like doing this: $(document).bind('click', function(event) { if ($(event.target).closest('a').length) { // do something } }); except that with .live() the

[jQuery] New question

2009-12-04 Thread bruce
Hi. Not sure if this is a good place for my question, but I'll give it a shot.. I'm looking for a couple of sies that I can rip apart to see how they work. I'm looking for test sites that allow a user to match items from different columns together. Basicaly, if I give the user a list of items,

[jQuery] javascript variable scope

2009-12-04 Thread cmonahan
This surprised me. I made the scenario as simple as possible. http://jsbin.com/eyopo3/edit You can see in function g() I change the value of the variable i after having used it. That may seem like a useless thing to do, but in the production code I was working on, i was a loop iterator. --

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
Well it would work if a bit complicated and probably a pain to maintain. If there wouldn't be any other select named like your second select, I'd rather select it by its name if I were you. Or perhaps give these specific select a common ancestor and select it using this common ancestor as

Re: [jQuery] SuperFish Menu

2009-12-04 Thread Charlie
I looked and I don't see any superfish css or script. Alvin wrote: I used Superfish on other website (www.dapuri.com) and it works well. When I try to integrate it to this website, it doesn't work. Please click the link below and take a look (this is a testing page, ignore the standard

Re: [jQuery] Superfish: width of top level links - great with js off - too wide with js on

2009-12-04 Thread Charlie
autoarrows: true this appends the link with a span with an arrow image to show links with subs and is adding addiitonal width, set to false Dasher wrote: Hello, I am setting up my first superfish menu and having an issue with the width of the top level link tabs. When _javascript_ is

Re: [jQuery] Can't get the js of superfish to work

2009-12-04 Thread Charlie
jQuery undefined is typically caused by a path problem to jQuery.js, or you may be making calls to jquery before it is loaded ( jquery needs to load before any plugin files) also check that you only hae one copy of jquery loading webstudiolund wrote: I get these faults: jQuery is not

[jQuery] Possibly off topic: changing radiobuttons color

2009-12-04 Thread Andre Polykanine
Hello everyone, Sorry for that but couldn't find anywhere else. We need to change the color of the radiobuttons. I mean, the circles that represent the buttons. Is it possible either via jQuery or CSS? And another question: we need also to change the color of the frame surrounding a combobox and

[jQuery] Orkan star rating widget

2009-12-04 Thread led
Can get it, why this works: $(#stars-wrapper1).stars({ callback: function(ui, type, value) { $(#stars-wrapper1).stars(select, value); and this dont: $(#stars-wrapper1).stars(select, 3); Please my friends help with this. http://orkans-tmp.22web.net/star_rating/

[jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread pab
is there a way to add a class to the body when window is resized below a certain width

Re: [jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread ripple
Of course you can!   I'm actually working on something similar to that now.   $(window).resize(function(){ reSize(); });   function reSize() {   if ($('#page').width()  1000) { //do something }   http://2whoa.com   --- On Fri, 12/4/09, pab fliawebdes...@gmail.com wrote: From: pab

[jQuery] jQuery 1.4 Alpha 1 Released

2009-12-04 Thread John Resig
More details here: http://blog.jquery.com/2009/12/04/jquery-14-alpha-1-released/ --John

[jQuery] Change opacity for all divs except one

2009-12-04 Thread Jared
Hello all, I have a bunch of thumb nails that will be at full opacity when a user gets to the page. Users will be able to select their favorite. What I want to have happen is when a user selects their first favorite all of the there thumbnails will be lowered in opacity then when they select

[jQuery] Can you limit selector to only search within current element?

2009-12-04 Thread TehNrd
I am pretty new to jQuery and I've dug through the documentation for a few hours and I haven't found the answer. I'm curious if you can limit a selector to only search within a defined div or other html tag. Below is the code with some notes so it should be pretty easy to understand but if not let

[jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Igor Benko
Hi all, I have this weird problem I just can't find a way to solve. I'm using simpleModal plugin as login window and I want to set focus to username input upon window showing, but can't manage to do that. This is my code: $(#prijava_popup).modal( {opacity: 30, onOpen: function

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Dave Methvin
ok, I've used some code I had lying around and put dummy content in there:http://www.tnt.be/bugs/jquery/moovsjquery/ I actually don't really see a difference on my Ubuntu box (using FF 3.6b4), but there's a huge difference on a colleague's G4 (OS X 10.4, Firefox 3.5.5), so try to find a

Re: [jQuery] Can you limit selector to only search within current element?

2009-12-04 Thread Dhruva Sagar
Hi, I think the following modification to your code will solve your purpose. $(document).ready(function(){ $(a).click(function(event){ //Loop through each productGroup div

Re: [jQuery] Change opacity for all divs except one

2009-12-04 Thread Dhruva Sagar
Have all the divs have a class name eg.) thumbs When the user selects his favorite remove this class name from the particular div and apply your opacity logic to $('div.thumbs'), so that way the favorite one would not be changed. Thanks Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 3:12 AM,

Re: [jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Dhruva Sagar
Perhaps you need to call focus() in the callback of fadeIn(150) ? Thanks Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 5:53 AM, Igor Benko igor.be...@gmail.com wrote: Hi all, I have this weird problem I just can't find a way to solve. I'm using simpleModal plugin as login window and I

Re: [jQuery] javascript variable scope

2009-12-04 Thread Richard D. Worth
Cool, huh? This is one of the beauties and real powers of the JavaScript language. It's called a closure: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Working_with_Closures - Richard On Fri, Dec 4, 2009 at 6:46 PM, cmonahan cmona...@yahoo.com wrote: This surprised me. I made

Re: [jQuery] listnav - how to implement paging

2009-12-04 Thread Jack Killpatrick
How do you picture paging working, from a UI perspective? -Jack prasad wrote: Hi, I like the 'jQuery ListNav Plugin' very much and i need to implement it in my application. I need to implement the paging functionality along with this plugin. If i have more than 100 rows for a character, its

Re: [jQuery] Share plugin

2009-12-04 Thread Jack Killpatrick
I recommend that you post a page about it, with a demo, add it to the jquery plugins directory and make an announcement on this list. I'd like to see what you've done, if you have it up somewhere. I find myself needing that often and have used various solutions with varying degrees of

Re: [jQuery] drop down error

2009-12-04 Thread Charlie
sounds like you aren't including superfish.css, modified it or this is a Joomla or other type of template that has preexisting menu css. The superfish css for all sub UL's is positioned offscreen not much anyone can do to help without a link test11 wrote: I am using superfish for

[jQuery] Re: Problem combining validation plugin and datepicker from ui (validate)

2009-12-04 Thread sucheta
Hello all, I am using the JQuery validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ . And I am using the calendar component from YUI. The problem is similar to what bobbykjack has except I use YUI calendar. I have an input field ,when user clicks into it the

Re: [jQuery] drop down error

2009-12-04 Thread test11
Hi i have already added the superfish.css.Untill the image is getting loaded all the dropdown list r getting visible.Once the image has been loaded the superfish is working fine.can u suggest me to hide the drop drop menu before the image has been loaded. Charlie Tomlinson wrote:

[jQuery] Re: is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread pab
yeah figured it out few minutes after posting, thanks On Dec 4, 9:44 pm, ripple ripple...@yahoo.com wrote: Of course you can!   I'm actually working on something similar to that now.   $(window).resize(function(){ reSize();});   function reSize() {   if ($('#page').width()  1000) {

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Nicu Marcu
I resolved my problem using callback. I put the second load in the callback function of first one. Thanks for your answer. 2009/12/4 Michel Belleville michel.bellevi...@gmail.com Well it depends ; most of the times you end up loading a big bit of data that should replace a specific portion of

[jQuery] Content loaded via Ajax and global JS

2009-12-04 Thread mysterious79
This probably isn't a jquery question precisely, but jquery is being used as my method for making ajax requests. I'm running into a recurring problem where functions declared on the initial page load aren't manipulating content loaded later via ajax. For example, when the page loads I may have