[jQuery] Re: Add events and functions to ajax content

2008-07-16 Thread hubbs
Ok, so it sounds like I need to rebind when my new elements are added. Strangely the .bind() example is not even using bind. This is the example: $('a').click(fn); $('#mydiv').load('my.html',function(){ $('a').click(fn); }); Is this the best way to do what I need, or are some of the

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-16 Thread Jörn Zaefferer
The formatItem implementation is wrong. You are returning the JavaScript object for the row (item) instead of a String to display. Try return item.Name. Jörn On Wed, Jul 16, 2008 at 1:28 AM, shapper [EMAIL PROTECTED] wrote: Sorry for the delay ... I just changed the file. Check it now.

[jQuery] Sending a JSON object as data in an AJAX request

2008-07-16 Thread jlb
According to the jQuery docs, the data option (in $.ajax) is supposed to accept a string or an object (which it then converts to a query string). It appears as though its not converting my object: My Javascript is: var json = { Request : { action :

[jQuery] Re: $.post problem. need help badly

2008-07-16 Thread iTsadok
Pappa Bear, note that the original problem was that upon executing return true the submit action would take the browser to a new page. Kirov (if I understood him correctly) suggested to wait for a result code from the POST request before returning true. Now, in Java for example, I would take this

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
If that's the exact code you're using, then you should first convert the XML string into a jQuery object, like this... xml = $(' {xml goes here} '); Diego, John I changed my snippet as follows and it is still works only in FF, not in IE7 script src=jquery.js/script script var xml =

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

2008-07-16 Thread partner56290674
it's possible to possibly wait for the user to stop panning. Currently, when the pan ends, an onEnd event is fired, which then fires off the ajax. So what you're suggesting is that i queue the pan onEnd events? secondly, i still am confused to why u think jQuery should not offer this support

[jQuery] jqModal clear fields

2008-07-16 Thread johannesF
Hi all I use the jqModal, and I want to clear some fields in the modal window after opening. Cant get it to work so some advise would be perfect. Like this var open = function(hash){ $(#myFiled).val('').show(); }; $('#dialog').jqm({

[jQuery] Error callback executed after XHR.abort()

2008-07-16 Thread thomasjbradley
Basically my error callback on the ajax request is still being executed after I have called the abort() method on the Xhr. I am creating a live search function. On our development server, we don't have access to the live server, to retrieve the ajax response. So the error callback is executed

[jQuery] Fade To with nested items?

2008-07-16 Thread YWFTDG
Hey guys, I am having an issue with the fadeto function and with multiple items. I have: $(document).ready(function(){ $(#content div).fadeTo(slow, 0.5); $(#content div).hover(function(){ $(this).fadeTo(fast, 1.0); },function(){

[jQuery] problem server?

2008-07-16 Thread fengxia
Hi tony Do you think there is the problem of the server for the site www.trirand.com/jqgrid ou www.trirand.com/blog I can't connect it

[jQuery] jquery 1.2.6 animations and firefox 3

2008-07-16 Thread vipworld
Did anyone notice some jerkiness in animations with this combo? I have a fade in that's smooth in firefox 2, but when I run it in firefox 3, it doesn't really fade. Thanks!

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
xml = $(' {xml goes here} '); added xml = $(xml); (see below) still not working on IE7 script src=jquery.js/script script var xml = NewDataSet + Table1 + aHello/a + bjQuery/b + /Table1 + /NewDataSet; xml = $(xml); alert($(Table1, xml).text()); /script

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

2008-07-16 Thread Shawn
partner56290674 wrote: secondly, i still am confused to why u think jQuery should not offer this support because you believe this is bad. Remember, the idea of I think it is inappropriate because you are describing an application specific issue. Not all applications will have the same

[jQuery] Re: problem server?

2008-07-16 Thread Tony
All should work now. Regards Tony fengxia wrote: Hi tony Do you think there is the problem of the server for the site www.trirand.com/jqgrid ou www.trirand.com/blog I can't connect it

[jQuery] jQuery n00b needs a (seemingly) simple thing...

2008-07-16 Thread Miiitch
Sorry I'm such a n00b. I have only done a couple of things with jQuery, just real simple stuff. Anyways, here's what I need: I need a SIMPLE slideshow/carousel script. It should be able to automatically slide between images (actually slide, like the image moves all the way to the left) every x

[jQuery] Need help with div selection

2008-07-16 Thread zerowing
How can I select the #blc2? HTML div id=blc1 pSome text/p /div div class=openBloc div id=blc2 h1strongSome title/strong/h1 /div /div Script $(document).ready(function(){ $('div#blc1').ifixpng(); $('.openBloc #blc2').ifixpng();

[jQuery] jquery bug in IE6 - scroller

2008-07-16 Thread subwayslim
Hi, i have been working on a scroller, it's a bit messy design wise, but i'm still working on it http://www.subwayslims.co.uk/scroller_example.html the Jquery function seems to work on iE7 and FF but not in IE6, does anyone know why it doesn't work...??

[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-16 Thread Isaak Malik
Also, file management can be improved drastically by sorting everything in folders and using namespacing. I put the AJAX API's in a separate file and if it's getting to big I create a separate API file for each functionality, for example: API/API.feedback.php API/API.updater.php etc. On Tue, Jul

[jQuery] Re: jScrollPane - maintainPosition malfunction

2008-07-16 Thread ikspel
I think this is caused by the vertical offset of the jScrollPaneContainer DIV, by no means do I guarantee this fix but it seems to work...for me at least:-)... Line 64 of jScrollPane.js dated 2008-02-17 is: var currentScrollPosition = settings.maintainPosition ?

[jQuery] jquery bug in IE6 - scroller

2008-07-16 Thread subwayslim
Hi, i have been working on a scroller: http://www.subwayslims.co.uk/scroller_16_07.html the Jquery function seems to work on iE7 and FF but not in IE6, does anyone know why it doesn't work...?? -- View this message in context:

[jQuery] Re: bug .append adds unwanted start tags to end tags

2008-07-16 Thread spx2
Thanks, I've spotted the problem. It was due to other problems. On Jul 16, 3:59 am, Karl Rudd [EMAIL PROTECTED] wrote: The HTML code you pass in to the append/prepend/etc functions gets converted to actual DOM nodes first, then it gets added to the DOM tree. This effectively means you can

[jQuery] Insert new DOM element with new ID (index)?

2008-07-16 Thread Doover
Hello. I trying to do a function that add a li element with a new number (index) each time a link is clicked. The current jQuery code looks like this: $('.new').livequery('click', function() {

[jQuery] netvibes type sign in plugin

2008-07-16 Thread gaurav_ch
Hi all, I want to know whether we have anything like http://www.netvibes.com/#General sign in form thing. I mean to say that I want to create a form which comes into focus when the user clicks a button and the background fades. They are using mootools but I want to use jquery. Thanks, Gaurav

[jQuery] mixing validate, and ajaxSubmit

2008-07-16 Thread Andiih
The behaviour I have is that the form is correctly validated, but submits $('#editjobsform').submit(function() {dosavejob(); return false; }); //other stuff here $('#editjobsform').validate( { rules: {blah:blah },

[jQuery] Re: ClientSide Cookie or ServerSide Cookie

2008-07-16 Thread Isaak Malik
If the settings are manipulated via client-side code there is no need for cookies created by the server-side and this would actually be a bad thing to do unless really needed (e.g. you need the server to know the change immediately). Here is the cookie plugin:

[jQuery] Re: Why does IE not cache images?

2008-07-16 Thread Diego A.
Hi Christian, It seems this problem can only be fixed by changing your server's behaviour. IIS: http://www.milonic.com/mfa/2005-February/ie6-not-caching-images.html In IIS under properties for the folder /images/menu HTTP HEADERS was set to Enable Content Expiration. Turning this off now

[jQuery] Re: Need help with div selection

2008-07-16 Thread Giovanni Battista Lenoci
zerowing ha scritto: How can I select the #blc2? HTML div id=blc1 pSome text/p /div div class=openBloc div id=blc2 h1strongSome title/strong/h1 /div /div Script $(document).ready(function(){ $('div#blc1').ifixpng();

[jQuery] Fall back to IFRAMEs with jQuery

2008-07-16 Thread [EMAIL PROTECTED]
Hi All, I know this is a question which is really old news, but we have a site where some of our users have centralized security settings, and their ActiveX has been switched off and of course they can not use IE7. they are proud IE6 users. I have had a look at plenty of old libraries that

[jQuery] Re: Fall back to IFRAMEs with jQuery

2008-07-16 Thread Dan G. Switzer, II
Istvan: I know this is a question which is really old news, but we have a site where some of our users have centralized security settings, and their ActiveX has been switched off and of course they can not use IE7. they are proud IE6 users. I have had a look at plenty of old libraries that

[jQuery] Re: Cycle Plugin - multiple instances on same page?

2008-07-16 Thread Mike Alsup
On Jul 15, 4:22 pm, wdm [EMAIL PROTECTED] wrote: Any way to have several slideshows on the same page, each with their own independent navigation (prev/next), without giving them unique ids? Couldn't get this working: $('.gallery').each(function() {         var p = this.parentNode;    

[jQuery] Re: jQuery Validation Opera Issue

2008-07-16 Thread Nimrod
I tried the latest version but still have the said issue. On Jul 15, 11:36 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Please checkout the latest revision or wait for the next release (1.4), the issue is fixed there.http://dev.jquery.com/view/trunk/plugins/validate/ Jörn On Tue, Jul 15,

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Jörn Zaefferer
Put the ajaxSubmit stuff into the submitHandler-callback, here is an example: http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html Jörn On Wed, Jul 16, 2008 at 11:29 AM, Andiih [EMAIL PROTECTED] wrote: The behaviour I have is that the form is correctly validated, but

[jQuery] Re: Multiple Instances of the same effect without unique IDs

2008-07-16 Thread Joe S
Hi Karl, Thanks so much for the help - it definitely got me in the right direction. Here's what I ended up with inside the (document).ready function: $(.extraContent).hide(); // hide the extra stuff by default $('div.contentWrapper').click(function() { // contentWrapper DIV, contains

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

2008-07-16 Thread Scott Russell
On Tue, 2008-07-15 at 21:46 -0700, partner56290674 wrote: it's possible to possibly wait for the user to stop panning. Currently, when the pan ends, an onEnd event is fired, which then fires off the ajax. So what you're suggesting is that i queue the pan onEnd events? I recently needed some

[jQuery] Re: [validate] Dynamic forms and input naming

2008-07-16 Thread ldodds
Hi Jörn, OK, that sounds reasonable. I did some experimenting after I sent the original email and found that the unique naming issue was the real issue, not the form being dynamic: even a simple form such as: form input id=a1 type=text name=example value=/ input id=a2 type=text name=example

[jQuery] Re: NEW: XML to JSON Plugin

2008-07-16 Thread chris thatcher
Oh and now that I'm reading my response I forgot to mention these characters in xml names, '-' (minus) and '.' (dot). Obviously not legal tender in the js arena. The only thing I can think of here is to not map to a legal js name and force the associative array usage, eg via foo['bar-goop'] Ugh

[jQuery] Re: NEW: XML to JSON Plugin

2008-07-16 Thread chris thatcher
FORMAT: Yeah I agree the {}/[] issue complex and after going another round with xotree I have to say I really like the 'force_array' map it optionally allows. That said the asArray() solution works and I might like it even better once I'm using it becuase I'm totlly Lazy ;) ATTRIBUTES: if you

[jQuery] Re: Multiple Instances of the same effect without unique IDs

2008-07-16 Thread Joe S
OK, spoke too soon... on further testing, I'm getting an unintended (but really stupid, on my part) side effect... if i put another anchor in the hidden content (a link to a file or site, for example), the toggle is triggered on that click, too (since it's in the wrapper DIV, right?). so, in a

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-16 Thread shapper
Hi Jörn, Thank you for your help ... In fact I had that before but it was not working so I changed ... I realized it now that there were two problems: That one on my AutoComplete code and another one on the methods that returns the JSON when connecting to the SQL Server. I was able to spot it

[jQuery] Uncompressed, Minified and Gzipped and Packed

2008-07-16 Thread shapper
Hello, Most JQuery plugins, including JQuery itseld, offer three versions: Uncompressed, Minified and Gzipped and Packed. 1. Should I use Minified and Gzipped or Packed? 2. How can I create myself the Minified and Gzipped or Packed versions from the Uncompressed version? Is there any software

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

2008-07-16 Thread Andy Matthews
Uncompressed is the raw, human readable, source code for the plugin. Packed takes the source code and runs it through an algorithmn which compresses variable names, methods, code, etc into one big line of javascript. You can find more information about it, and pack your own code, here:

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

2008-07-16 Thread Mika Tuupola
On Jul 16, 2008, at 7:48 PM, Andy Matthews wrote: Packed takes the source code and runs it through an algorithmn which compresses variable names, methods, code, etc into one big line of javascript. You can find more information about it, and pack your own code, here:

[jQuery] Re: Sending a JSON object as data in an AJAX request

2008-07-16 Thread jlb
Just came to the same conclusion. My intent was to actually send a stringified version of the JSON object (so im using json2.js from http://www.json.org). None the less, thanks Eric! On Jul 16, 4:51 am, Erik Beeson [EMAIL PROTECTED] wrote: HTTP parameters are key/value pairs. If you have an

[jQuery] Re: [autocomplete]

2008-07-16 Thread fredriley
[apologies if this reply appears twice - my session had ended when I hit post the first time so I wasn't sure if I'd made it as it didn't appear on a page refresh.] On Jul 15, 9:36 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Check out the demo (http://jquery.bassistance.de/autocomplete/demo/),

[jQuery] Re: [autocomplete]

2008-07-16 Thread fredriley
On Jul 15, 9:36 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Check out the demo (http://jquery.bassistance.de/autocomplete/demo/), pick the example that comes closest to your requirement, and take a look at the code for that one. Firebug helps a lot there. Thanks for the reply, Jörn, and sorry

[jQuery] Re: Underlay to replace overlay

2008-07-16 Thread JohnieKarr
Gabriel, Since that's the case here is the method I would use. div with no background onload that contains the gallery of thumbs. next, when you click a thumb the loading gif becomes background while the selected image is loading. once loaded it becomes the background. I'm not sure how to do

[jQuery] Re: Cycle Plugin - multiple instances on same page?

2008-07-16 Thread wdm
On Jul 16, 2:29 pm, Mike Alsup [EMAIL PROTECTED] wrote: On Jul 15, 4:22 pm, wdm [EMAIL PROTECTED] wrote: Any way to have several slideshows on the same page, each with their own independent navigation (prev/next), without giving them unique ids? Couldn't get this working:

[jQuery] Need help with animations in IE

2008-07-16 Thread The Sixth Halcon
Hi, this is one of my firsts experiences with jQuery and I have a little problems already. The problem explanation is that I want to apply an effect to a css layer (and it is applied) that when you click on a special div, it moves some layers. It works perfectly with Firefox, but not in IE... I

[jQuery] Google analytics exception

2008-07-16 Thread [EMAIL PROTECTED]
I'm aware this is a common error, but has anybody found a solution yet? The error with ga.js is as follows: Error: uncaught exception: [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMScreen.width] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame ::

[jQuery] Jcaroussel with more than one li wide

2008-07-16 Thread Jo
Hello I want to use the http://sorgalla.com/jcarousel/, but with more than one column of thumbnails. For example, with the vertical carousel (http://sorgalla.com/projects/ jcarousel/examples/static_vertical.html), set : .jcarousel-skin-tango .jcarousel-clip-vertical { height:245px;

[jQuery] Re: [autocomplete]

2008-07-16 Thread fredriley
Thanks a lot, Jörn. I did try twice to post a detailed reply to your reply, but nothing's appeared here so it looks like it's fallen into a cyber black hole. No bother. Incorporating your very useful help I've managed to create a revised and working test at:

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Andiih
Fantastic - I'd guessed my way into getting it working (using submitHandler with no arguments) but hadn't realized that submitHandler can pass the form. I can make the handler much more generic. Thanks for that. What are the default classes that cause validation ? Andrew On Jul 16, 2:13 pm,

[jQuery] Re: show hidden div on click

2008-07-16 Thread neuron
Thanks for the help everyone- it works! :) Now, some tweaking... I have several divisions that I want to show in this manner, so how do I make the code a general rule as opposed to a specific order to show #overview? For example, how would I show #contact without writing a new script snippet? I

[jQuery] using scrollTo to keep dynamically added content scrolled into view?

2008-07-16 Thread rolfsf
If one has a textarea or editable div with overflow: auto, and one starts typing and filling the div, due to focus on the cursor the scroll will keep the newly added lines in view. But if one is adding the content dynamically, the newly added lines will appear out of view - there's no cursor to

[jQuery] Re: Multiple Instances of the same effect without unique IDs

2008-07-16 Thread Joe S
I've just tried this and it seems to work... just wondering what other unintended side effects I'm not seeing ;) $(.extraContent).hide(); // hide the extra stuff by default $('a.extraContentTrigger').click(function() { // added a class to the [TITLE] link

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

2008-07-16 Thread Andy Matthews
Thanks for clarifying Mika...please note Mika's comments. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Tuupola Sent: Wednesday, July 16, 2008 11:59 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Uncompressed, Minified and

[jQuery] Re: Cycle Plugin - multiple instances on same page?

2008-07-16 Thread Mike Alsup
Any way to have several slideshows on the same page, each with their own independent navigation (prev/next), without giving them unique ids? Couldn't get this working: $('.gallery').each(function() {         var p = this.parentNode;         $(this).cycle({              

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread spicyj
It always helps if you can upload a simple test case page that displays the error.

[jQuery] Re: Insert new DOM element with new ID (index)?

2008-07-16 Thread spicyj
I think your code has a couple extra lines. It should be: $('.new').livequery('click', function() { $('.new').before('li class=item' + (index+2) + 'Item ' + (index + 2) + '/li'); return false; }); Though I'm not sure you actually need livequery there; I think bind would suffice.

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread koko
Yeah it's a kind of bug in jQuery ... I dealt with this issue one month ago and the solution was to convert it into JSON

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Jörn Zaefferer
All available validation methods are listed here: http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods Jörn On Wed, Jul 16, 2008 at 6:47 PM, Andiih [EMAIL PROTECTED] wrote: Fantastic - I'd guessed my way into getting it working (using submitHandler with no arguments)

[jQuery] Re: [autocomplete]

2008-07-16 Thread Jörn Zaefferer
Or get a copy of Learning jQuery and read half an hour in the morning or evening. Jörn On Wed, Jul 16, 2008 at 5:38 PM, fredriley [EMAIL PROTECTED] wrote: Thanks a lot, Jörn. I did try twice to post a detailed reply to your reply, but nothing's appeared here so it looks like it's fallen into

[jQuery] Livequery add class to new DOM elements

2008-07-16 Thread hubbs
I am trying to get live query to work, so that it will add a new class to links that have just been added to the DOM through ajax. Something is not right though: $('a.calendarNavLink').livequery(function(){ $(this).addClass('ajax'); }); Have I done something wrong here?

[jQuery] animate problem

2008-07-16 Thread rayfidelity
Hi, I'm currently using: $(#msg).empty().prepend('div class=successIt works!/ div').show(slow).animate({opacity: 1.0}, 5000).fadeOut(slow); But the problem is, that it's still showing (for the specified 5000ms) after i invoke new action which should display something different than It works!

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread The Sixth Halcon
Here you can see a functional sample ;) http://blitrank.com/pspsdk_test/ Thanks a lot!

[jQuery] Help with XML parsing/looping

2008-07-16 Thread linesandwaves
Hi all, I realize this is a gigantic newbie question, but I am totally stuck and I want to do this the right way... figured I'd go to the experts. I'm trying to write a section of code in jquery that will read my XML sheet and then produce a set of unordered lists with individual list items in

[jQuery] Re: Livequery add class to new DOM elements

2008-07-16 Thread noon
livequery accepts two parameters, the first is the event to which a function (the 2nd parameter) is bound to. $('a.someLink').livequery('click', function() { // anchors with a class of 'someLink' // can now be dynamically inserted to the dom // yet still have an 'onclick' event associated

[jQuery] Re: Livequery add class to new DOM elements

2008-07-16 Thread noon
sorry, I am incorrect. I forgot there were multiple forms. That should work On Jul 16, 2:29 pm, noon [EMAIL PROTECTED] wrote: livequery accepts two parameters, the first is the event to which a function (the 2nd parameter) is bound to. $('a.someLink').livequery('click', function() {   //

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread spicyj
On line 27, 'left: 311px' should not have a comma after it. That solves the problem for me. On Jul 16, 11:54 am, The Sixth Halcon [EMAIL PROTECTED] wrote: Here you can see a functional sample ;)http://blitrank.com/pspsdk_test/ Thanks a lot!

[jQuery] Re: yet again XML+jQuery+IE7

2008-07-16 Thread Tzury
Yeah it's a kind of bug in jQuery ... I dealt with this issue one month ago and the solution was to convert it into JSON the way I am planning to approach is by building in-memory DOM element and injecting the XML into it. example: var el = document.createElement('div'); el.innerHTML = xml;

[jQuery] AutoComplete Multiple Elements, Same Function

2008-07-16 Thread shapper
Hello, I have 3 inputs that use the same AutoComplete function. Can I make this work only with one command? I have: $(#Tags).autocomplete(GetTags, { autoFill: true ... I tried $(#Tags, #MoreTags).autocomplete(GetTags, { autoFill: true ... But it does not work. How

[jQuery] Sortables Organize

2008-07-16 Thread armsteadj1
If i have 3 columns that hold 3 divs (div class=feed/div) each and i make those columns sortable by: $('.column').sortable(); Now if someone moved one of the divs to another column, then that column would recieve 4 divs.. is there anyway to make it so the sortables would be evened out? so if

[jQuery] Re: Help with XML parsing/looping

2008-07-16 Thread spicyj
Change $('entreelisting',xml) to $('entreelisting',this).

[jQuery] Re: AutoComplete Multiple Elements, Same Function

2008-07-16 Thread spicyj
Try: $(#Tags, #MoreTags).each(function(input) { input.autocomplete(GetTags, { autoFill: true }); });

[jQuery] jQuery.ajax / xml / callbacks

2008-07-16 Thread twocoasttb
Neither of the callbacks in the following code are ever invoked: jQuery.ajax({ type: GET, url: actionUrl, data: { productId: productId, quantity: quantity }, dataType: xml, error: function(e) { alert(Failure: + e); }, success: function(xml)

[jQuery] Re: AutoComplete Multiple Elements, Same Function

2008-07-16 Thread Jörn Zaefferer
Or rather: $(#Tags, #MoreTags).each(function() { $(this).autocomplete(GetTags, { autoFill: true }); }); On Wed, Jul 16, 2008 at 10:09 PM, spicyj [EMAIL PROTECTED] wrote: Try: $(#Tags, #MoreTags).each(function(input) { input.autocomplete(GetTags, { autoFill: true }); });

[jQuery] Re: Livequery add class to new DOM elements

2008-07-16 Thread hubbs
Ok, I realize it is working. But, for some reason it is not working with the ajaxload script. I have a feeling I have to somehow call the ajaxload from within livequery. $('a.ajax').ajaxContent({ target:'#adminToolsListing', event:'click', loaderType:'img',

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread The Sixth Halcon
Wow, thanks, I revised the code but I didn't see it... So... it works!! Thanks a lot for your time... and... see you!

[jQuery] Re: Sortables Organize

2008-07-16 Thread armsteadj1
Alright, I fixed that problem by taking out the columns and just changin some css.. now i just need to figure out how to make it so the large gaps don't get created when a div is bigger or smaller than the normal size.. On Jul 16, 2:32 pm, armsteadj1 [EMAIL PROTECTED] wrote: If i have 3 columns

[jQuery] addClass or toggleClass?

2008-07-16 Thread lukas
The CASE: I have 3 links which specify 3 different views (or various sized DIVs). If the user clicks a specific view the according link should become invisible. As a result only 2 links supposed to be active and visible at any time since the 3rd view is currently active. What is the most elegant

[jQuery] Display input field when option is selected

2008-07-16 Thread emeade
I have a form with a table that contains a list of names. For each name there are two drop downs - relationship1 and relationship2. When the user selects the option, Other Relative or Other household member, I need a text input to display allowing them to enter the actual relationship. I have

[jQuery] jcarousel explodes

2008-07-16 Thread mconnors
I can't seem to use jcarousel if it I use the start option to be more than 1,000. I am using it for a photo site where the slide image could anywhere from 1 to 300,000 e.g. jQuery('#photo_carousel').jcarousel( { scroll: 1,

[jQuery] [ANNOUNCE] Twitter Accounts for jQuery jQuery UI Projects

2008-07-16 Thread Rey Bango
One of the things that the team tries hard to do is provide as much information to jQuery developers as possible. We're actively using Twitter to make announcements about upcoming jQuery jQuery UI updates and releases, new plugins and tutorials. http://twitter.com/jquery and

[jQuery] Re: Livequery add class to new DOM elements

2008-07-16 Thread hubbs
Got it: $(#calScrollTitle a) .livequery(function(){ $(this).addClass('ajax').ajaxContent({ target:'#adminToolsListing', event:'click', loaderType:'img', loadingMsg:'/__data/assets/image/0018/24345/announce- loading.gif' });

[jQuery] Re: jqModal - How to access the iframe from the parent

2008-07-16 Thread isharerides.com
Hi there, Just in case this helps you still, here is how I got this to work: $(#button2).click(function() { parent.top.$.closeDOMWindow({ closeNow:1 }); }); If you include this snippet into the site displayed in the

[jQuery] Re: Need help with animations in IE

2008-07-16 Thread The Sixth Halcon
Wow, thanks, I revised the code but I didn't see it... So... it works!! Thanks a lot for your time... and... see you!

[jQuery] Re: Why does IE not cache images?

2008-07-16 Thread Chris
Hi Diego, thanks for your answer. Indeed my problem seems to be similar to that described in the articles you posted; however, there still seems to be a difference because the solutions didn't help. :( First I tried to add the execCommand to my code. The behavior changed to that effect that the

[jQuery] [autocomplete] trigger function on data retrieval?

2008-07-16 Thread Jonathan Vanasco
does anyone know if it is possible to trigger a function on an autocomplete retrieval ( using this autocomplete library http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ ) example: i'm currently using result() to store the id of a currently selected item in a hidden field when a

[jQuery] Re: jQuery n00b needs a (seemingly) simple thing...

2008-07-16 Thread Mike Alsup
Sorry I'm such a n00b. I have only done a couple of things with jQuery, just real simple stuff. Anyways, here's what I need: I need a SIMPLE slideshow/carousel script. It should be able to automatically slide between images (actually slide, like the image moves all the way to the left)

[jQuery] help with passing value to jquery

2008-07-16 Thread psdp
I have a value stored in an object, and now i want to pass it to a jquery function, please help: var obj = { width: 300, div: 'testdiv', func: function () { var newwidth = this.width; $('#'+this.div).animate({width:newwidth+'px'}, 1000); } }

[jQuery] Re: i wish there was a way to get the entire CSS for an element... or is there?

2008-07-16 Thread jquertil
ok fine so I use a class - still having the same lack of understanding: how do I get the contents of the CSS class into a variable?

[jQuery] Re: i wish there was a way to get the entire CSS for an element... or is there?

2008-07-16 Thread Jeffrey Kretz
Paul's site discusses how to access styles for individual elements, as well as stylesheets, stylesheet rules and their properties: http://www.quirksmode.org/dom/w3c_css.html JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jquertil Sent:

[jQuery] Re: document.write and DOm creation - performance optimization?

2008-07-16 Thread jquertil
huh. this is an interesting thought. why would the use of join() speed things up versus just appending a string variable? the reason I'm not concerned about the for() loop is that it seems to be quite fast when I output the strHTML in a document.write. I'm trying to figure out wasy to speed up

[jQuery] Re: $.getScript() - how to load into JSON formatted object?

2008-07-16 Thread jquertil
they thanks for the reply. I don't fully understand what the parameters in this line do exactly. why is variable in 'quotation' marks? fn = new Function( 'variable', code ); thanks! On Jul 8, 4:03 pm, Michael Geary [EMAIL PROTECTED] wrote: OK, try this. It's the same idea as the code I

[jQuery] .width() gives me NaN (or looking for alt methods)

2008-07-16 Thread MorningZ
All right, here's my situation I have a bunch of articles stored in my database, plain jane HTML ones submitted by a few hundred different people (read: people of all varying levels of HTML expertise, from none to expert) In some of these HTML snippets are div's and tables and other items that

[jQuery] Re: jQuery.ajax / xml / callbacks

2008-07-16 Thread codecomplete
Further debugging shows that my request does indeed get sent to the server, server logs show the valid request coming through and being processed just fine. Charles proxy shows the response coming back with a status code of 200 OK. So basically my AJAX call above goes out and gets processed

[jQuery] ajax queue/stack aka fifo/lifo

2008-07-16 Thread AstroIvan
Is jquery doing either of these by default? I haven't seen requests overwriting each other in my work, but I'm curious is this is manually handled or not even a problem these days with xhr.

[jQuery] parent help

2008-07-16 Thread dumkat
I am returning a form in an ajax call that is built with a table I want to find an input $('input[{$k}]') then i want the immediate parent tr of that input. I have tried $('input[{$k}]').parents(tr:last).addClass(error-field); and

[jQuery] hover not working in IE6

2008-07-16 Thread lerrow
Hi, I'm having some issues with a drop down menu in one of my sites (http://www.laseleccion.com.ar/argentina). While in Firefoz it works perfect, in IE 6 y does not display the menu at all. It works in IE 7. Any ideas what could be the problem? Thanks in advance Leroy

[jQuery] Re: jQuery.ajax / xml / callbacks

2008-07-16 Thread codecomplete
I too am having a very similar issue where my callback is not being called. My error function gets called instead, and the value of e is: [object XMLHttpRequest] Here is what my code looks like: $.ajax({ url: '/member/MemberNameCheck.htm', type: 'POST', data: {name: $mName,

  1   2   >