[jQuery] Re: .net generated JSON failing in mozilla, works in ie7

2008-10-15 Thread noob
In case anyone uses a standard .aspx page for this and has the same issue, I changed the content type in either of these ways for the page providing the text and it worked: Response.ContentType = "text/plain"; Response.ContentType = "application/x-javascript"; // what flickr uses On Oct 15, 7:

[jQuery] Re: jQuery singleton, across iframes

2008-10-15 Thread ricardobeat
function bindFrames(){ jQuery.each(document.frames,function(){ if (!this.$) this.$ = window.parent.$; }); }; You can't watch for DOM changes, so you need to call it somewhere whenever you add a new frame. - ricardo On Oct 15, 11:58 pm, ken <[EMAIL PROTECTED]> wrote: > Say I have an a

[jQuery] Re: My first plugin ... need some help.

2008-10-15 Thread ricardobeat
If the ids are supplied in '#id,#otherid,#otherid' format, you could do: var str = new String; $(options.formids).each(function(){ str += $(this).val(); str += ','; }); $('').appendTo(options.listid).text(str); - ricardo On Oct 15, 9:49 pm, shapper <[EMAIL PROTECTED]> wrote: > Hello, >

[jQuery] Place empty value in a field when an error message is encountered

2008-10-15 Thread surya
Hi, Can anyone help me please?? I had a form with file type input fields. I placed validations for them like if file type is .jpg/.png/.gif ,accept otherwise don't accept. The messages are displaying. I want the text to be emptied when an error occurs. Following is the code i wrote:

[jQuery] Tooltip Plugin Looking Horrendous in IE6 - How to fix?

2008-10-15 Thread [EMAIL PROTECTED]
Any ideas why the tooltips made by this plugin(http://docs.jquery.com/ Plugins/Tooltip) look so bad on my site (http://www.gigbayes.com) in IE6? I'm following it's advice of including the bgiframe plugin but it doesn't seem to help. Is this tooltip plugin just not good with IE6? I notice its dem

[jQuery] Re: Make 'this' child 'ul' appear

2008-10-15 Thread Karl Swedberg
Hi Alex, Instead of $('this > ul') try $('> ul', this) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 15, 2008, at 6:49 PM, Alex wrote: Hey guys, I have a menu like this: Test Another Another Another Test Anothe

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

2008-10-15 Thread Arif
It was because of EditPlus :) By default, it saves HTML encoding in ANSI format that was the reason not translating French characters properly. It should be UTF-8 instead of ANSI encode. And here we go with the shorter version of previous posted jQuery code: $.getJSON("json/data_ca_fr.

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread Karl Swedberg
On Oct 15, 2008, at 7:10 PM, Alexandre Plennevaux wrote: $('#myTable tr'); HTH Alex That's right. And in case jl wonders why, it's because some browsers treat the table as if it has a element as a child of , even if it isn't explicitly put in there. --Karl

[jQuery] .net generated JSON failing in mozilla, works in ie7

2008-10-15 Thread noob
I feel like an idiot but I can't get getJSON to work in firefox - can anyone give me a pointer? here is the code - top function is the jquery documentation demo code which works in IE and firefox. bottom version never hits the alert: $(document).ready(function(){ $.get

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread RobG
On Oct 16, 7:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am creating a series of tables and would like to be able to grab all > the rows inside of a particular table. > > I tried" $( table#myTable > tr ) with no avail. I am still new to > JQuery so please forgive me if I am missing

[jQuery] dynamic image preload

2008-10-15 Thread 700lbGorilla
I'm trying to click on thumbnails in a and have the larger image load in with a fade effect, clicking another will fade the old one out and the new one it. With the code I have the initial load od the image pops in, once it has been stored in the browser cache, the effect works. Wondering if ther

[jQuery] jQuery singleton, across iframes

2008-10-15 Thread ken
Say I have an application that utilizes heavy AJAX, but also uses iframes (same domain). In these iframes, I need access to jQuery. I want to avoid loading another instance of jQuery for each one. Ideally, there would be an event to that I could bind to that would auto-alias the top window's jQuery

[jQuery] Re: XML Parsing Question...

2008-10-15 Thread KenLG
True that. Also, I misread Michael's post...I totally blanked on the fact that I could pass the dom object into jquery and go to town on it with that. That's what was making me reluctant to go that route as well (I really wasn't looking forward to walking the DOM). Doing that worked like a charm.

[jQuery] Issue loading content with jquery in IE

2008-10-15 Thread maginot-lpi2
Hi ! I realy have not found why this issue is happening with my jquery app. After reading the tutorial at http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=62 , I tried to use it with my own needs, but im having a very annoying issue with Internet Explorer (6,7), yes this issue is

[jQuery] Re: Question to parent() versa DOM parentNode

2008-10-15 Thread Mike Alsup
> Does the jquery parent() traversing the same as the DOM 'parentNode' ? Yes. > I ask because i get different results while traversing some Nodes with   > DOM Style and jquery approach. How are the results different?

[jQuery] Re: Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread Mike Alsup
> Second, I´ve found a solution using the DOM while it works is far from > being jQuery pure code: > >         //Iterate among all retrieved items. >         $('item', xml).each(function(i){ >                 //Retrieve the Node of the item. >                 Item = $('item',xml).get(i); >        

[jQuery] Re: .show() the child of 'this'

2008-10-15 Thread Mike Alsup
> $(document).ready(function(){ >   $("ul#primary-navigation li").hover(function(event){ >     $("this > ul").show(); >   }); > }); Try this instead: $('ul', this).show();

[jQuery] Re: Loading Mask

2008-10-15 Thread Mike Alsup
Can you clarify? What do you mean by "loading mask"? On Oct 15, 2:50 pm, "Donald J. Organ IV" <[EMAIL PROTECTED]> wrote: > Is it possible to add a loading mask to a specific element??

[jQuery] Make 'this' child 'ul' appear

2008-10-15 Thread Alex
Hey guys, I have a menu like this: Test Another Another Another Test Another Another Another I want to be able to hover over a and have its corresponding child 'ul' show. I have tried this jQuery but it won't work, any ideas why? $(document).ready(functi

[jQuery] .show() the child of 'this'

2008-10-15 Thread Alex
Hey all, I have a menu structured like this: Testing Again Again Again Again Again Testing Again Again Again Again Again And I have some script to show the 'ul' within the corresponding 'li' when it's hov

[jQuery] My first plugin ... need some help.

2008-10-15 Thread shapper
Hello, I am trying to create my first JQuery plugin that does the following: On a form, when a button is pressed, a few form elements values are used to create a string (CSV format). This string is added to an ordered list and with a remove button to remove it from the list. Could someone, plea

[jQuery] Question to parent() versa DOM parentNode

2008-10-15 Thread Olaf Gleba
Hi. Does the jquery parent() traversing the same as the DOM 'parentNode' ? I ask because i get different results while traversing some Nodes with DOM Style and jquery approach. jquery Style: $(elem).parent().parent().attr('for'); (Prototype) Helper function with plain DOM Javascript: funct

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread Alexandre Plennevaux
$('#myTable tr'); HTH Alex On Thu, Oct 16, 2008 at 12:59 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Here you go. I am looking for a general solution. > > -jl > > > > > > > > > > > On Oct 15, 3:32 pm, MorningZ <[EMAIL PROTECTED]> wrote: > > Show a snip of HTML for the table w

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread [EMAIL PROTECTED]
Here you go. I am looking for a general solution. -jl On Oct 15, 3:32 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Show a snip of HTML for the table would be of great help for others to > help you > > On Oct 15, 5:53 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > I am creating

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread Mauricio (Maujor) Samy Silva
Check to see if you forgot the quotations wrapping the selector: $("table#myTable > tr") instead of $( table#myTable > tr ) -Mensagem Original- De: "MorningZ" <[EMAIL PROTECTED]> Para: "jQuery (English)" Enviada em: quarta-feira, 15 de outubro de 2008 20:32 Assunto: [jQuery] Re: JQ

[jQuery] Re: draggable performance issues

2008-10-15 Thread Louis
The fixed size made a difference in the project I worked on. Get the test case up and running and I'll have a look ASAP :) On Oct 15, 11:05 am, chadmichael <[EMAIL PROTECTED]> wrote: > Actually, I've done some tests where I just make a small div with > nothing in it, set it to a fixed width an

[jQuery] Re: Help combining two small jquery scripts

2008-10-15 Thread ricardobeat
You're getting one random element for every child. You need to operate on the current jQuery object, not on each element. jQuery.fn.randomChild = function(settings) { var random = Math.floor(Math.random() * this.children().length); return this.children(':not(:nth-child('+random+')

[jQuery] Re: .next() -- huh?

2008-10-15 Thread bnlps
sorry -- it's children() ... On 15 Okt., 23:17, bnlps <[EMAIL PROTECTED]> wrote: > hi, > > should be simple to say what's wrong ... well - > > alert() works, but alerts nothing / empty ... something like 'MOO!' or > 'BETA!' would > be great -- what's wrong with code? > > -- > > $("#na

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread MorningZ
Show a snip of HTML for the table would be of great help for others to help you On Oct 15, 5:53 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am creating a series of tables and would like to be able to grab all > the rows inside of a particular table. > > I tried" $( table#myTable > tr

[jQuery] JQuery to select rows inside a particular table

2008-10-15 Thread [EMAIL PROTECTED]
I am creating a series of tables and would like to be able to grab all the rows inside of a particular table. I tried" $( table#myTable > tr ) with no avail. I am still new to JQuery so please forgive me if I am missing something obvious. -jl

[jQuery] Re: Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread JFQueralt
Hi again. First of all, sorry for the double posting; just a mistake. Second, I´ve found a solution using the DOM while it works is far from being jQuery pure code: //Iterate among all retrieved items. $('item', xml).each(function(i){ //Retrieve the Node of the i

[jQuery] Re: .next() -- huh?

2008-10-15 Thread Josh Nathanson
$("#nav div").hover(function(){alert($ (this).next('span').text());},function(){}); try this: alert($("span:first", this).text()); The span you want is actually a child of the div, while next('span') looks for a sibling span. -- Josh - Original Message - From: "bnlps" <[EMAIL P

[jQuery] Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread JFQueralt
Hi, everyone. Sorry for such simple question but not being familiar with jQuery I just can´t find how to do this: The objective is to change the content several elements of a page loading an XML file via the "get" function. The XML file: Some text in english

[jQuery] jquery.validate & cascade/chained selects

2008-10-15 Thread Migue
Hi, im trying to use jquery.validate plugin in a form with cascade/ chained ajax selects. That cascade loading was bind to select's Change event. But now i have conflicts with jquery.validate, i think it overwrites them... Any idea?

[jQuery] Newbie question: how to reference an element via XML attribute.

2008-10-15 Thread JFQueralt
Hi, everyone. Sorry for such simple question but not being familiar with jQuery I just can´t find how to do this: The objective is to change the content several elements of a page loading an XML file via the "get" function. The XML file: Some text in english

[jQuery] [validate] Validation plugin: class="cancel" requires double click to post.

2008-10-15 Thread ovalsquare
I have a form with multiple fields that I'm validating (some with methods added for custom validation) with Jörn Zaeffere's excellent jQuery Validation plugin. How do you circumvent validation with specified submit controls (in other words, fire validation with some submit inputs, but do not fire

[jQuery] Re: SUPERFISH Supersubs problem in mozilla firefox

2008-10-15 Thread pacemaker
Hi all, as a workaround till Joel finds a solution change the following line in the supersubs.js From: .end().end()[0].clientWidth / fontsize; To: .end().end()[0].clientWidth / fontsize - 3; pacemaker

[jQuery] .next() -- huh?

2008-10-15 Thread bnlps
hi, should be simple to say what's wrong ... well - alert() works, but alerts nothing / empty ... something like 'MOO!' or 'BETA!' would be great -- what's wrong with code? -- $("#nav div").hover(function(){alert($ (this).next('span').text());},function(){}); --

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

2008-10-15 Thread Karl Rudd
If the link is to an anchor on the same page then (unless AJAX or some other JavaScript is involved) the page will not reload, and so the .ready functions will not fire. What do you want to happen when someone clicks a "#top" link? You can bind a click handler to the link(s) like so: $(function

[jQuery] Re: Jquery tab

2008-10-15 Thread Klaus Hartl
The jQuery UI Tabs plugin can do this. Use it with event set to mouseover and Ajax links. http://docs.jquery.com/UI/Tabs --Klaus On 15 Okt., 16:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I am looking for a jQuery ajax script that can do the following: > > http://www.dou

[jQuery] Re: IE bug in the Tab plugin

2008-10-15 Thread Klaus Hartl
On 15 Okt., 16:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > 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

[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

[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")

[jQuery] get onclick value

2008-10-15 Thread cc96ai
http://test.com/";>link 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: 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 tes

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

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

[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 () { $("").css({ opacity:0, position:"absolute", // use as needed

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

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

[jQuery] Loading Mask

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

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

[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 . When this happens the table headings still have the user selections for which columns they want sorted, but the

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

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

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

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

[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: 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(','); $(selection).add

[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: 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, t.length).toLowerCase());

[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) . either you include your javascript inside the ajaxed html (baad), or (wiser soluti

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

[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] [/code] etc. you could get the divs by using [code] $('div.profile').attr('id'); [/code]

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

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

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

[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] 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(); $('#topbar').hov

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

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

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

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

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

[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: > > //define array that will hold an entry for each javascript file >

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

[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: 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: On Oct 15, 10:12 am, "Chris Jordan" <[EMAIL PROTECTED]> wrote: > 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

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

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

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

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

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

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

[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] 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): http://httpd.apache.or

[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

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

[jQuery] IE bug in the Tab plugin

2008-10-15 Thread [EMAIL PROTECTED]
Hi, There seems to be an issue with the Tab plugin in IE 6.0 ... Try it at jQuery doc page : http://docs.jquery.com/UI/Tabs When the mouse hover the tabs or when tabs are clicked, they disappear and there's a lot of blinking. It does not happen in Firefox. Is there a fix for that ? Thanks

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

[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 > > http://www

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

  1   2   >