[jQuery] Re: XML Parsing Question...

2008-10-15 Thread KenLG
Because I don't want to deal with the customer service calls generated by the ActiveX objects. Plenty of people working in corporate cubbyholes get their computers locked down so that ActiveX isn't allowed to execute. Not that I really want to worry about IE6 but I can't exclude them yet. :)

[jQuery] Re: Hover not work properly when moving mouse fast...

2008-10-15 Thread Mech7
Ok when I go over the example one fast stroke in Firefox 3 then I get 4 and 6 for the outer.. in the 1st example. Now try to do a circlular movement in the orange box in the 1st example... stay inside the orange, over keeps firing, do a movement from left to right and it doesn't On the 2nd

[jQuery] [EMAIL PROTECTED] has invited you to have a 3D avatar chat

2008-10-15 Thread yasantha
From: yasantha Avatar: Guest_FItSeka To: Jquery-en

[jQuery] Re: Replacing special characters from Ajax - xml data

2008-10-15 Thread neXib
Nobody have a clue? Tell me if I need to clarify. On Oct 14, 10:47 am, neXib [EMAIL PROTECTED] wrote: Hi, I've got a xml feed that I'm getting from an external url, it's in utf-8 format and loads fine (looks perfect if I just copy it into the local xml file). But the problem is that our way

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
On Wed, Oct 15, 2008 at 12:05 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: There are lot of reasons why the included file didn't work, and its hard to tell without looking at it. I recommend to use Firebug: Check the Net tab to see if the file was actually loaded. Yes, the file is just loaded

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Jörn Zaefferer
Whats wrong with that page? Works for me just fine. Jörn On Wed, Oct 15, 2008 at 9:18 AM, Weyert de Boer [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 12:05 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: There are lot of reasons why the included file didn't work, and its hard to tell

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
Heh. I must have been dreaming last night. Thanks anyways. Whats wrong with that page? Works for me just fine.

[jQuery] Re: Hover not work properly when moving mouse fast...

2008-10-15 Thread Karl Rudd
Right. That's what I'd expect. The mouseout (and mouseover) events bubble up through child DOM nodes, and often fire at odd times, which is why it you should use the mouseenter and mouseleave events. The enter and leave events are specially built to not bubble (at least not unexpectedly). I do

[jQuery] Re: UI/Sortables beginner understanding problem

2008-10-15 Thread tlob
I tried the change param: $(#staerke2).sortable({ opacity: 0.5, change: console.log(changed), connectWith: [#staerke1] }); but it shoots, when the list is inialized. so no Luck here... Can anybody help me out? Thx tom

[jQuery] Re: JSON data issue in IE | Language Translation

2008-10-15 Thread Gus
how'd you fix it? On Sep 25, 3:11 pm, Arif [EMAIL PROTECTED] wrote: I have resolved this :) Thanks Mohammed Arifhttp://www.mohammedarif.com On Sep 22, 2:24 pm, Arif [EMAIL PROTECTED] wrote: Even I got the issue, it's not been rendering because of French accented characters in IE.

[jQuery] Re: Using jQuery Multiple File Upload Plugin and jQuery Form Plugin together

2008-10-15 Thread Mike Alsup
Can you post a link? I'm trying to use jQuery Form Plugin(http://www.malsup.com/jquery/form/) and jQuery Multiple File Upload Plugin(http://www.fyneworks.com/jquery/multiple-file-upload/) together to build a possibility to Upload more then one file at a time.

[jQuery] Re: how can i query all fields with values in a form

2008-10-15 Thread Mike Alsup
var inputs = jQuery(the_form).find('input'); //a list of fields var field = jQuery(inputs).filter('[name='+fieldname+']'); my problem is, that inputs doesn't contain textarea and select fields. Use the pseudo selector :input. var inputs = $('#myForm :input');

[jQuery] Re: Using jQuery Multiple File Upload Plugin and jQuery Form Plugin together

2008-10-15 Thread Stefan Sturm
Hello, Can you post a link? Sorry, but I can't at this point. It is part of a large Intranet Project. But if it helps, I can build a little sample app... But to be clear: I should work, right? Greetings, Stefan Sturm

[jQuery] AJAX/JSON/PHP function works in Safari/FF but not in IE

2008-10-15 Thread oktorp
This code works flawless in Safari and FF but not in any IE. Can anyone see the problem? $(document).ready(function() { $(#jquery_spinner_2).hide(function() { first = true; teaser(function() { $(#jquery_spinner_2).hide(function() {

[jQuery] Re: SerialScroll navigation modification question

2008-10-15 Thread Ariel Flesler
Ok, nice to know :) There is one snippet to generate sort of a simple pagination, based on the items. -- Ariel Flesler http://flesler.blogspot.com On Oct 15, 6:54 am, Armand Datema [EMAIL PROTECTED] wrote: FYI this functionality also works great with the pagination plagin you only need to

[jQuery] Re: how can i query all fields with values in a form

2008-10-15 Thread alex bodnaru
hello mike, thanks a lot, i *should* have read on. additional wonderful features were around the corner :) . best regards, alex On Wed, Oct 15, 2008 at 15:02, Mike Alsup [EMAIL PROTECTED] wrote: var inputs = jQuery(the_form).find('input'); //a list of fields var field =

[jQuery] Re: JS Question: How does this jQuery idiom work?

2008-10-15 Thread chris thatcher
It's very important becuase the symbol $ is used by other javascript libraries and it can cause a conflict if you use it outside of the anonymous function. For example another sloppy library might have a global definition var $ = function(){ alert('Not Cool Man!'); }; then if you tried to

[jQuery] Re: IE bug in the Tab plugin

2008-10-15 Thread Snef
Maybe it is in your IE settings (Tools - Internet options - General - Temp. Internet settings - Settings - Check for news version of stored pages) When it is on 'On every page visit' it will blink a lot. Setting it to 'Automaticly' will reduce (or eliminate) blinking. Remember that things will

[jQuery] Re: JS Question: How does this jQuery idiom work?

2008-10-15 Thread 703designs
I still have no idea what's going on syntactically, but now I know what's happening. This reinforced the concept (writes Poop! to the screen): (function(poop) { document.write(poop); }) (Poop!) On Oct 15, 10:00 am, chris thatcher [EMAIL PROTECTED] wrote: It's very important becuase the

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Bil Corry
Alex Weber wrote on 10/15/2008 6:58 AM: or if i enable mod_deflate it takes care of the gzipping? Mod_deflate: http://httpd.apache.org/docs/2.0/mod/mod_deflate.html And mod_expires to cache the files on the browser for some duration (1 year is good):

[jQuery] Re: Replacing special characters from Ajax - xml data

2008-10-15 Thread Bil Corry
You're searching for 'å' but most likely the garbage character isn't 'å' but instead transformed to something else in the current character set. So you have to determine what each garbage character is (WireShark is good to see the actual byte values being transmitted), then replace it back to

[jQuery] Validation - stop validation

2008-10-15 Thread EbenRoux
Hello, Is it possible to stop the validation on a form after X number of errors? If I have a form with 100 textboxes and each fails it becomes a mess --- I would like to maybe list the first 5 errors and on the sixth say something like There are more errrors. Regards, Eben

[jQuery] Jquery tab

2008-10-15 Thread [EMAIL PROTECTED]
Hello, I am looking for a jQuery ajax script that can do the following: http://www.doublemedia.nl/nieuws.jpg When someone goes with his mouse over one of the tab's you see in the image he has to load the content that belongs to the chosen tab. Any one hoe knows a jquery plugin that can do

[jQuery] Re: Ajax load() problems

2008-10-15 Thread [EMAIL PROTECTED]
Miroku, are you including this in another page. Do you have a valid jquery object form the call $(#azioni)? I had a weird problem a couple days back where the load would work the first time I clicked it, but the next time I clicked it, the whole page would reload. This was the result of

[jQuery] Hover In/Out with quick mouse movements

2008-10-15 Thread davebowker
So I have this bug... I have an initial div set to hide on document init, and fadeIn when I hover over the parent div, then fadeOut when I hover back out of the parent div. When I move the mouse fast in and out of the parent div, the child div seems to queue up the movements so after I stop

[jQuery] Hover In/Out with quick mouse movements

2008-10-15 Thread davebowker
So I have this bug... I have an initial div set to hide on document init, and fadeIn when I hover over the parent div, then fadeOut when I hover back out of the parent div. When I move the mouse fast in and out of the parent div, the child div seems to queue up the movements so after I stop

[jQuery] Re: IE bug in the Tab plugin

2008-10-15 Thread [EMAIL PROTECTED]
Thanks Snef, that's fixed the issue. However I'm not 100% sure what's happening here... The blinking or flickering I was referring to, was happening when the mouse hovers the tabs. At this stage the page is already loaded so it doesn't matter whether it's cached or not I'm worried my users

[jQuery] Re: jcarousel reset

2008-10-15 Thread Bob
Damien - I just got this working myself in a dynamically loaded carousel: First, add an initCallback to get a handle on the jcarousel object and save it in a global: myCarousel = null; // This will be the carousel object myData = [...]; // This is the data for the carousel function

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread tlphipps
If you're using PHP on the backend, here is the solution we use: ?php //define array that will hold an entry for each javascript file $jsfiles = array(); //just add a new line for each javascript file needed $jsfiles[] = jquery.yuimin.js; $jsfiles[] = jquery.autocomplete.yuimin.js; $jsfiles[] =

[jQuery] superfish request- supersubs (left/right menu)

2008-10-15 Thread Mike Henke
Could the supersubs function also include an option to display the menu, left or right. It seems currently it depends on this line of code: // update offset position of descendant ul to reflect new width of parent .each(function(){

[jQuery] Re: BlockUI blacks-out whole screen (BlockUI2.0x, IE7). Opacity?

2008-10-15 Thread Brian Schilt
I've got my issue fixed but something tells me that its not the same for you. The caveat message that I'm using displays and blocks the UI when the DOM is ready. I'm using a tiled background image for my overlay so it has a slight stripped appearance. This image was a PNG. I'm also using the

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Alex Weber
Thanks tlphipps, Your script is an example of on-the-fly compression right? Think I got it now! :) On Oct 15, 12:18 pm, tlphipps [EMAIL PROTECTED] wrote: If you're using PHP on the backend, here is the solution we use: ?php //define array that will hold an entry for each javascript file

[jQuery] jquery validation using thickbox

2008-10-15 Thread bookme
Hi, Sorry to bother you but I am not able to solve this problem so posting in forum I am using two jquery plugin 1 Thickbox 2 Jquery validation Without thickbox validation is working fine but validation is not working in thickbox. There is two files ajaxLogin.htm and second is index.html

[jQuery] Re: XML Parsing Question...

2008-10-15 Thread ricardobeat
Ajax's XMLHTTPRequest depends on ActiveX to work in IE6, you are already using it. - ricardo On Oct 15, 4:00 am, KenLG [EMAIL PROTECTED] wrote: Because I don't want to deal with the customer service calls generated by the ActiveX objects. Plenty of people working in corporate cubbyholes get

[jQuery] Re: Problems with find()

2008-10-15 Thread ricardobeat
Hi, It does find only descendant elements. It's likely a fault in your plugin code, without seeing it one can just guess. Try using $('li',this), maybe you get lucky :) - ricardo On Oct 15, 9:46 am, less than zero [EMAIL PROTECTED] wrote: Hi, I'm having some problems with a plugin I'm

[jQuery] Re: Odd behavior in IE with select boxes

2008-10-15 Thread JohnieKarr
I don't do this with client side, I do it with server side and a database, but I think you should try one of the following: 1) label for=type class=dialog firstSelect Type/label select id=type class=dialog first option selected=selected value=--- Type ---/option script

[jQuery] Re: Using jQuery Multiple File Upload Plugin and jQuery Form Plugin together

2008-10-15 Thread Stefan Sturm
OK, I made a small example: http://tests.tripplanner.de Two Forms: 1.) With the Form PlugIn and Multi 2.) With the Form PlugIn ans no Multi The first one is not working , the second is. Check the Firebug console for the return of the upload script. It simply returns $_FILES... Greetings,

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread Manarius
i usually get around such problems by using a var stopper = false; which is set to true once the mouseover/out is called. you could just do something like: var stopper = false; $('#topbar').hover(function() { if(stopper == false){ stopper = true;

[jQuery] Re: JS Question: How does this jQuery idiom work?

2008-10-15 Thread Mike Alsup
Plugins are supposed to use this: (function($) {     // Plugin code }) (jQuery) I know what it does (allows the use of $ within the script), but how does it actually work? Is it somehow casting the function object as the jQuery object? It always seemed odd to me, and I haven't seen this

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread tlphipps
Correct. We use yuimin to manuall compress/minify the original .js file. Then this script handles the gzip compression on-the-fly. I really wish we could do the yuimin on the fly as well, but we haven't found a good way to handle that. On Oct 15, 10:35 am, Alex Weber [EMAIL PROTECTED] wrote:

[jQuery] Re: Using multiple selectors

2008-10-15 Thread wyo
Thanks, this helped my to discover the correct syntax, choosing the apostrophes right. $('#Test, input[name=Prefix]').val('Testing'); O. Wyss On Oct 14, 10:40 pm, TimW66 [EMAIL PROTECTED] wrote: The input needs to have an ID, jQuery can't reference by the name attribute using the style you

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Alex Weber
Hmmm thanks :) I use YUI too for manual compression... I found this article while I was researching and I think it might interest you: http://www.tummblr.com/wordpress/minify-and-gzip-javascript-and-css-with-minimal-cpu-overhead/ Alex On Oct 15, 12:50 pm, tlphipps [EMAIL PROTECTED] wrote:

[jQuery] BlockUI blacks-out whole screen (BlockUI2.0x, IE7). Opacity?

2008-10-15 Thread Anxiro
Hi there, I am using jQuery 1.2.6 and BlockUI 2.09 (09/16/2008) on a local server, because of a school project. The BlockUI works perfectly in FireFox (2x and 3x) but I'm having problems in IE7; it blacks-out the whole screen. Only the 'loading'-text is visible; the *website* is gone. My opacity

[jQuery] Re: Slide Show (S6) Autoplay Addon Beta (w/ Scroll-Up Effect) - jQuery Animate in Action

2008-10-15 Thread rolfsf
Chuck, I suspect it's only the svg object being used for the background, which really doesn't have anything to do with the 'code' - only the implementation. I'm looking at it in Safari, so I'm only guessing. Perhaps Gerald can add a simple workaround, or an example without the gradient On

[jQuery] Re: BlockUI blacks-out whole screen (BlockUI2.0x, IE7). Opacity?

2008-10-15 Thread Mike Alsup
How does the demo page look for you? http://malsup.com/jquery/block/#page Can you make a demo page that shows the problem you're seeing? Mike On Oct 15, 6:20 am, Anxiro [EMAIL PROTECTED] wrote: Hi there, I am using jQuery 1.2.6 and BlockUI 2.09 (09/16/2008) on a local server, because of

[jQuery] [ANN] S6 - Easier to Understand and Extend S5 Rewrite using jQuery

2008-10-15 Thread Gerald
Hello, For the Slide Show (S9) gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read I've created a rewrite of Eric Meyer's S5 JavaScript code using the jQuery JavaScript library. The idea is that the

[jQuery] treeview: options 'animated' and 'speed'

2008-10-15 Thread pjdevries
In an older version of my application, I applied option 'speed: fast' to my treeview. For a more recent version I wanted to find out exactly which settings are applicable for this option, but I could't find any documentation on it. The 'animated' option is documented though and because it can be

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread davebowker
Thanks for the reply. Looks a bit like overkill tbh, and I did quickly try it but couldn't make it work. What I have now is -- $(document).ready(function() { $('.ticker-prev, .ticker-next').hide();

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
Hmm, could you have a look at the page again? Do you know why it's adding the error message twice? Once after the div-element of the validating element and after the container div of the page itself? On Wed, Oct 15, 2008 at 9:45 AM, Weyert de Boer [EMAIL PROTECTED] wrote: Heh. I must have

[jQuery] Slide Show (S6) Autoplay Addon Beta (w/ Scroll-Up Effect) - jQuery Animate in Action

2008-10-15 Thread Gerald
Hello, At yesterday's Vancouver Ajax Hack Night inspired by Karl Swedberg's Scroll Up Headline Reader jQuery Tutorial [1] I put together an autoplay addon (Beta version) for the S6 slide show package. Using jQuery's animate[2] function lets you loop through slides in autoplay with a

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread Martin Möller
davebowker wrote: Which when I mouseout delays the fadeout effect by 2 seconds by fooling the already faded in element to fade in some more, ie. do nothing, before fading out. Maybe hoverIntent is what you are looking for: http://plugins.jquery.com/project/hoverIntent Cheers Mate

[jQuery] making style changes on keydown event

2008-10-15 Thread [EMAIL PROTECTED]
Hi All, I am new to jQuery and need some help. I am writing a custom suggest box in jQuery. One behavior I am trying to achieve is highlight suggestions on keydown on keyup events. I have written css classes for it and I am using toggleClass in event handler. But problem I am facing is that

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Chris Jordan
Yeah, nothing bugs me more than when I'm searching for the answer to something on google only to come up with fifteen mailing list posts on the subject where the only answer is some smart-ass telling me to search google for it. :o/ On Wed, Oct 15, 2008 at 9:06 AM, Alex Weber [EMAIL PROTECTED]

[jQuery] jqmodal overlay is flashing with internet explorer

2008-10-15 Thread Tim Schumacher
Hi folks, My problem is, that when I open a jqmodal window, for a short time, the overlay has full opacity. This problem only occours with Internet Explorer. I'm very thankfull that this problem also happen on the official jqmodal site, when you open example 6, the alert() override. I hope this

[jQuery] Beginner: Load Bind Event Problem

2008-10-15 Thread Jason
My page: I click a tab and it loads in the html file for the tab. I click a link on the newly loaded html file but it doesn't run the function I wrote for it. The link only runs the function when it's in the home file, rather than the loaded file. I know this has to do with binding, but it's

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread MorningZ
Answers to your questions, every single one of them http://www.google.com/search?q=gzip On Oct 15, 7:58 am, Alex Weber [EMAIL PROTECTED] wrote: the recomendation out there is serve your JS minified + gzipped ok, i downloaded the YUI minified and use it to minify all my files (~50%

[jQuery] Problems with find()

2008-10-15 Thread less than zero
Hi, I'm having some problems with a plugin I'm developing. I'm using '$(this).find('whatever')' to locate the relevant elements within the html code, which works fine if just one instance of the plugin is initialised. However, if multiple versions are called they start to conflict with each

[jQuery] Re: treeview: options 'animated' and 'speed'

2008-10-15 Thread Jörn Zaefferer
Documentation is here: http://docs.jquery.com/Plugins/Treeview/treeview#toptions Its likely that there was another issue causing trouble, please post a testpage. Jörn On Wed, Oct 15, 2008 at 11:39 AM, pjdevries [EMAIL PROTECTED] wrote: In an older version of my application, I applied option

[jQuery] Re: Ajax load() problems

2008-10-15 Thread Miroku
html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / title/title link href=css/main.css rel=stylesheet type=text/css media=screen / link href=css/chat.css rel=stylesheet type=text/css media=screen / script src=javascript/jquery-1.2.6.min.js

[jQuery] Proper jQuery object creation for chaining

2008-10-15 Thread sliver
Sorry in advance if this is confusing... I am new to jQuery (converting myself from Prototype), and as such I am finding situations where I need to create a new object, which I would have done with a class in Prototype (as such, doesn't make sense for it to appear anywhere except the start of a

[jQuery] Re: Slide Show (S6) Autoplay Addon Beta (w/ Scroll-Up Effect) - jQuery Animate in Action

2008-10-15 Thread C.Everson
On Tue, 14 Oct 2008 21:51:46 -0700 (PDT), Gerald wrote: See an example slide show in action @ http://slideshow.rubyforge.org/autoplay.html The URL presents this message: Microsoft's Internet Explorer browser has no built-in vector graphics machinery required for loss-free gradient

[jQuery] Re: XML Parsing Question...

2008-10-15 Thread Robert Koberg
On Oct 15, 2008, at 2:00 AM, KenLG wrote: Because I don't want to deal with the customer service calls generated by the ActiveX objects. Plenty of people working in corporate cubbyholes get their computers locked down so that ActiveX isn't allowed to execute. Not that I really want to worry

[jQuery] Re: what is the best way to do this

2008-10-15 Thread pedalpete
I don't think you can 'get' class attributes (though you could try $ ('div').attr('class');). I you can get the ids. I set the id and then use jquery search class so if you had [code] div class=profile id=p1/divdiv class=profile id=p2/div [/code] etc. you could get the divs by using [code]

[jQuery] startsWith / endsWith

2008-10-15 Thread debussy007
Hi, it would be nice to find these two functionalities in the jQuery Utilities/String operations, beside trim(). No ? -- View this message in context: http://www.nabble.com/startsWith---endsWith-tp19997960s27240p19997960.html Sent from the jQuery General Discussion mailing list archive at

[jQuery] Re: UI/Sortables beginner understanding problem

2008-10-15 Thread tlob
I solved the problem with the numbered li. But how can I catch the event when I drag a li around? the change, update, start, sort, stop, beforeStop, recieve, remove, over, out, activate, deactivate are firing when the page loads, not when I sort around. sigh! $(#staerke2).sortable({

[jQuery] Re: minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Alex Weber
lol tried that, had to wade through a lot of stuff but I guess I found my answers. if you knew it off the top of your head wouldn't hurt to just say it! =P thanks! -Alex On Oct 15, 9:23 am, MorningZ [EMAIL PROTECTED] wrote: Answers to your questions, every single one of them

[jQuery] Re: BlockUI blacks-out whole screen (BlockUI2.0x, IE7). Opacity?

2008-10-15 Thread Brian Schilt
I'm having a similar issue, but with IE6. I'm using blockUI a lot in my app and the opacity has always worked fine in IE6. I added a new feature to the app where I needed to block out the entire screen in order to display a caveat message to the user and for some reason the overlay is completely

[jQuery] minify + gzip??????? stupid question i know but please explain...

2008-10-15 Thread Alex Weber
the recomendation out there is serve your JS minified + gzipped ok, i downloaded the YUI minified and use it to minify all my files (~50% size reduction)... now whats all this talk about gzipping? do i have to manually download gzip and do the same thing? AFTER I minify the file? (or write

[jQuery] Re: Beginner: Load Bind Event Problem

2008-10-15 Thread Alexandre Plennevaux
Because the events are initialised on page load for the dom state available at that moment (more on this here: http://docs.jquery.com/Tutorials:AJAX_and_Events)http://docs.jquery.com/Tutorials:AJAX_and_Events . either you include your javascript inside the ajaxed html (baad), or (wiser

[jQuery] Using jQuery Multiple File Upload Plugin and jQuery Form Plugin together

2008-10-15 Thread Stefan Sturm
Hello, I'm trying to use jQuery Form Plugin( http://www.malsup.com/jquery/form/ ) and jQuery Multiple File Upload Plugin( http://www.fyneworks.com/jquery/multiple-file-upload/ ) together to build a possibility to Upload more then one file at a time. But when I try to do this, the Form Plugin

[jQuery] Re: startsWith / endsWith

2008-10-15 Thread MorningZ
sometimes jQuery isn't always the answer :-) You can just add a few fines to a common js file in your project String.prototype.beginsWith = function(t, i) { if (i==false) { return (t == this.substring(0, t.length)); } else { return (t.toLowerCase() == this.substring(0,

[jQuery] Re: SerialScroll navigation modification question

2008-10-15 Thread Armand Datema
FYI this functionality also works great with the pagination plagin you only need to modify it a bit the pagination plugin returns a span for the first item, this needs to be changed to a standard link var lnk = $(a class='active'+(appendopts.text)+/a) and because the click handler is handled

[jQuery] how can i query all fields with values in a form

2008-10-15 Thread alex bodnaru
hi friends, i wanted to reference a field by it's name, in the form it is found. my way was: var inputs = jQuery(the_form).find('input'); //a list of fields var field = jQuery(inputs).filter('[name='+fieldname+']'); my problem is, that inputs doesn't contain textarea and select fields. is

[jQuery] Lightbox Plugin wanted

2008-10-15 Thread Sandra Erb
I'm looking for a jquery lightbox plugin for a screenshot tour. I want to present an image in a lightbox with a text below the image and a link to the next image. When the user clicks the link, the next image and the next text should be displayed, again with a link to the next screenshot. - The

[jQuery] how to store xml in a variable

2008-10-15 Thread pixeline
Hello! I need to store in object variables xml data contained in different xml files. The code i came up with does not seem to function properly. Can you tell me what i'm doing wrong? $(document).ready(function() { // To preload more files, add them to the filesToLoad array.

[jQuery] Re: page refreshs on form submit

2008-10-15 Thread [EMAIL PROTECTED]
Hi, thanks for your response. Do you mean something like this? jQuery.ajax({type:'POST', dataType: 'json', data: this.serialize(), url:'/trainingHelper/user/signUp', success:function(data,textStatus) {

[jQuery] Re: Lightbox Plugin wanted

2008-10-15 Thread Alexandre Plennevaux
shadowbox? http://mjijackson.com/shadowbox/ On Wed, Oct 15, 2008 at 2:08 PM, Sandra Erb [EMAIL PROTECTED]wrote: I'm looking for a jquery lightbox plugin for a screenshot tour. I want to present an image in a lightbox with a text below the image and a link to the next image. When the user

[jQuery] what is the best way to do this

2008-10-15 Thread Armand Datema
Hi I use jquery to filter a dataset based on classes. Each item has a class of the profile that news item is in so lets say div class=profile1 div class=profile2 div class=profile3 nof in a forum i check checkbox for profile 1 and 3 and now i need to have have the classes with profile 1

[jQuery] Re: what is the best way to do this

2008-10-15 Thread ricardobeat
$('.profile1,.profile3').addClass('selected') just turn the names or numbers into vars: var selection = []; $('form checkbox:checked').each(function(){ selection.push('.'+this.whateverValue); }); // now selection == ['.profile1','.profile3']; selection = selection.join(',');

[jQuery] Re: page refreshs on form submit

2008-10-15 Thread MorningZ
Yeah, you're right... my example wasn't correct or working I will note, that if you have any sort of javascript error, then the code will never reach the return false and stop the action from happening. meaning it will continue to do a full post to the other page on top of that advice.

[jQuery] Re: Odd behavior in IE with select boxes

2008-10-15 Thread TimW66
The javascript has to be in an external file. Both of these are similar to what I had done in other attempts. The odd thing is, in IE I can see the first element of the data has the 'selected' attribute, even though the original HTML sent by the server doesn't have it. The only thing I can

[jQuery] Re: Using jQuery Multiple File Upload Plugin and jQuery Form Plugin together

2008-10-15 Thread Mike Alsup
Yes, it should work. And a sample app would be great! Can you post a link? Sorry, but I can't at this point. It is part of a large Intranet Project. But if it helps, I can build a little sample app... But to be clear: I should work, right? Greetings, Stefan Sturm

[jQuery] Timeout is triggered after calling .abort() on xhr request

2008-10-15 Thread Pigletto
Hi! I'v found that aborting ajax request that has timeout set, doesn't stop timeout event from occuring. My code is something like: -- $.ajaxSetup({ timeout:12 }); var req = $.ajax({url:AJAX_URLS.my_url, type:

[jQuery] Re: Problem with jCarousel in Safari.

2008-10-15 Thread Steve J
I'm getting very similar behaviour in Safari and WebKit nightly build with a slideshow widget i'm making with jcarousel. I'm not using google js, just local jquery, and also using the preload plugin to preload my images. (http://plugins.jquery.com/project/Preload) Seems that when the site is

[jQuery] Re: jqGrid 3.3 version

2008-10-15 Thread patrick davey
Hi Tony, Very nicely done - will definitely take a look at it. Is there a plan to add filtering too? For example, I do a search which returns 3000 records (say split over GroupA,GroupB,GroupC etc). Now, if I want to filter on just GroupA (say 500 records) and then return just that info in

[jQuery] superfish z-index issue

2008-10-15 Thread jess
Good Morning, Friends. In two days, I'm scheduled to release a very large project that I've been working on, and in the process of error checking I noticed one very large malfunction. In most all browsers, the drop down menus are working perfectly, but it seems in Internet Explorer 7, the drop

[jQuery] tablesorter AJAX resort

2008-10-15 Thread blasto333
I have an table that a user can sort by selecting one or more columns. A user can then do a search on the table which will clear out the tbody and then insert new table rows into the tbody. When this happens the table headings still have the user selections for which columns they want sorted,

[jQuery] document.ready() not firing when the URL has a target

2008-10-15 Thread chewie124
This seems like somebody should have come across this bug before, but my searches haven't turned up anything... So I'm working on a Drupal application, and when I hit a URL on it, for example at http://localhost/node/13, jquery loads up fine, document.ready() fires, and all the jQuery goodness

[jQuery] Loading Mask

2008-10-15 Thread Donald J. Organ IV
Is it possible to add a loading mask to a specific element??

[jQuery] Re: Impossible challenge: when bg image loads

2008-10-15 Thread gjhames
in www.gewton.com, when the background loads, fade in. Just that. The problem is: the background is defined in css. Is not an image tag. And souldn't be. On Oct 12, 3:40 pm, Eric [EMAIL PROTECTED] wrote: I'm gonna go out on a limb and say, no. But you might be able to work with the browser

[jQuery] Re: Timeout is triggered after calling .abort() on xhr request

2008-10-15 Thread Pigletto
I think I've managed to do that. While aborting request I do: if (req){ req.abort(); req.is_aborted=true; req=null; } and in error_handler: error_handler:function(xhr, textStatus, errorThrown){ if (textStatus=='timeout' (!xhr || xhr.is_aborted)){ return true;

[jQuery] Re: Help combining two small jquery scripts

2008-10-15 Thread illtron
I've made no progress on this. I only seem to be able to break it in different ways every time I make a change that seems right. Can anybody lend a hand? On Oct 9, 4:17 pm, illtron [EMAIL PROTECTED] wrote: Hi, I posted this a few weeks ago but I didn't get any traction. I've been fumbling with

[jQuery] Re: Impossible challenge: when bg image loads

2008-10-15 Thread Eric Martin
Well, I'm not sure you can do it from CSS, but the following should work: var i = new Image(); i.src = img/background.jpg; // define the image you want to load here $(i).load(function () { $(div/).css({ opacity:0, position:absolute, // use as needed

[jQuery] Re: Ajax load() problems

2008-10-15 Thread Miroku
Don't really know if I have a valid jquery object... how do I verify that? and... sorry but what do you mean by Miroku, are you including this in another page.? ^^;; On 15 Ott, 15:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:  Miroku, are you including this in another page. Do you have a valid

[jQuery] Re: Proper jQuery object creation for chaining

2008-10-15 Thread Josh Nathanson
Hey Sliver, It looks like you are expecting jQuery to work like Prototype does...I'm not too familiar with Prototype, but my understanding is that it has functions which assist with the inheritance issues in Javascript. jQuery is more about easily selecting DOM elements and doing stuff with

[jQuery] Re: Impossible challenge: when bg image loads

2008-10-15 Thread Mauricio (Maujor) Samy Silva
Well done Eric. Your script tested here and do the job. Nice solution. I'd like to suggest the following: 1-) Set a time for the animation in order to see the image growing on the screen: animate({opacity:1}, 2000); 2-) Leave in place the image defined via CSS and hide it via

[jQuery] Re: page refreshs on form submit

2008-10-15 Thread [EMAIL PROTECTED]
Thanks, it was indeed a js-error, but not in the script I called. The magic: data: this.serialize(), should be data: jQuery(this).serialize(), and that's it. Additional I can say that return false is only needed at the end of onsubmit (at least it works with opera nd ff, no ie here to test it,

[jQuery] get onclick value

2008-10-15 Thread cc96ai
a id=link1 onclick=target=_self href=http://test.com/;link/a alert( $(#link1).attr(onclick) ); expect will be target=_self but the result is function anonymous() { target=_self } any idea how could I only get target=_self back

[jQuery] Re: Ajax load() problems

2008-10-15 Thread MorningZ
how do I verify that? quick and dirty way... alert it: if you are using firebug (which you should be!), type this in the console after the page loads: alert($(some selector)) you should get [object Object] as the result if it's something you need to check in code $(some selector).size

[jQuery] Is there a way to use regex to remove text from a filename

2008-10-15 Thread jrutter
So if I have the following text that prints out on the page file.gif Is there a way in jquery to search for the .gif and remove it from showing up and/or replace it with an icon? please let me know

  1   2   >