[jQuery] Re: I want to reduce the header calls

2008-09-30 Thread jeremyBass
I new that was to good to be true... well moving on to a new view There has to be a way to capture the HTTP requests ... I think I've seen URL rewrites with javascript... so may-be I could have it so that it's more like this... if HTPP request is in array die else execute and push URL to

[jQuery] Re: Tolerance question

2008-09-30 Thread miki
thanks, sry for mistake

[jQuery] Re: Set height of element depending on only on its own position and window height?

2008-09-30 Thread Kabelkultur Gotland
Well, thanks, but it turns out that it does exactly the same as my own function. If I have a div above it with a SET TOP position, e.g. css: top:0; - or whatever - it works. But if I don't have nothing but a bunch of br/ tags above the div, or if I set the div above to psition:relative and remove

[jQuery] Re: Find all li tags without an a tag inside

2008-09-30 Thread Dave Methvin
Just guessing, but you're using animations in a ready handler before the page is visible. Can you try it in a .load() handler and see if it works in IE6? Also, I thought IE6 needed cursor:hand instead of cursor:pointer. What part of this works and what part doesn't in IE6? Do you have a demo

[jQuery] ajax upload file deletes input's paths...

2008-09-30 Thread ^AndreA^
Hello everyone, I'm uploading some images with AJAX (using ajaxfileupload), with a for loop I upload more than one image... It works very well but I've got an issue under IE7... After that the images have been uploaded the paths in the input fields are deleted!!! This does not happen on FF2/3,

[jQuery] Re: Show image gradually

2008-09-30 Thread yo2lux
Hi, Thanks for your help! The code is amazing, but I have some issue: 1. Please visit this page: http://progra.ro/zoliky/slide2.html and put the mouse on link, don't move the mouse until slide is finished! 2. The mouse pointer change to finger and normal pointer like a loop. Is possible to

[jQuery] Re: Set height of element depending on only on its own position and window height?

2008-09-30 Thread Kabelkultur Gotland
Well, I managed to solve it. Using option relativeTo for the offset and setting the relativeTo to use my header div that is always present, and always absolutely positioned at top:0; Now I have a div that takes up whatever space is left down to bottom of viewport, just like I wanted. Thanks for

[jQuery] Show/Hide items in unordered list

2008-09-30 Thread Wayne Dyck
I have a unordered list of, say, ten items. I want to initially show five items and provide the user with a plus and minus key to either increase or decrease the number of viewable items. This is commonly done in expandable content boxes and can be seen on sites such as http://www.bbc.co.uk I am

[jQuery] jquery anchor

2008-09-30 Thread elvisparsley
I am wondering how can I do like this, http://davidwalsh.name/dw-content/smooth-scroll.php, with jquery. What I want to do is that a smooth move when I click an anchor within a page. Can anyone help me please?

[jQuery] Looking after dropdown menu like's Superfish with RTL support

2008-09-30 Thread Nitsan Bin-Nun
Hi, I'm coding an RTL'ed Hebrew website for a client, The menu in this website is designed to be a vertical dropdown menu. Just like in this plugin: http://users.tpg.com.au/j_birch/plugins/superfish/#examples (the vertical example) The problem is that I couldn't turn Superfish into RTL view (so

[jQuery] jQuery Leaderboard?

2008-09-30 Thread bmzero
I'm trying to find a javascript leaderboard script. I've seen this done many times in Flash, but I would prefer to do it in Javascript/jQuery if possible. Here is an example of what I'm talking about: http://www.nabble.com/file/p19739832/leaderboard.gif Do you guys have any suggestions?

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread pedramphp
If I do this with CLone then all my prossesing is with the clone but I need to have a selector in the Original one not in the Clone so changing and modifying the clone is not necessary ,the only way is get a Clone of THe Span Then Remove the Span and then get the content of the P do some changes

[jQuery] R: [jQuery] R: [jQuery] Re: Show image gradually

2008-09-30 Thread diego valobra
i had to change the css, actually does'nt work with ie now works and is: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head   script src=http://code.jquery.com/jquery-latest.js;/script  

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-30 Thread MorningZ
why not show some sample html? it *sounds* like you have form input id=form1:field1 / input id=form1:field2 / /form form input id=form2:field1 / input id=form2:field2 / /form form input id=form3:field1 / input id=form3:field2 / /form and you want all field1-s? On

[jQuery] Re: Show/Hide items in unordered list

2008-09-30 Thread MorningZ
This help to get the idea of what could be done? http://paste.pocoo.org/show/86584/ On Sep 30, 1:19 am, Wayne Dyck [EMAIL PROTECTED] wrote: I have a unordered list of, say, ten items. I want to initially show five items and provide the user with a plus and minus key to either increase or

[jQuery] MultiFile Plugin Updated (v1.3)

2008-09-30 Thread Diego
* Announcement to anyone using the Multiple File Upload plugin * A new version is available which fixes a major bug in IE6/7. Download it here: http://www.fyneworks.com/jquery/multiple-file-upload/ Official project page: (for download/support) http://code.google.com/p/jquery-multifile-plugin/

[jQuery] Re: R: [jQuery] R: [jQuery] Re: Show image gradually

2008-09-30 Thread yo2lux
Great! Thanks for your help! Is possible to change the direction ? Something like this menu : www.antena1.ro ? i need to start at bottom and show gradually until top. Now the script start at bottom but remove the color until top.. I need to start at bottom and add the color :) On Sep 30, 3:19 

[jQuery] R: [jQuery] Re: Show image gradually

2008-09-30 Thread diego valobra
Hi there, I made some changes to the script, and now is: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head   script src=http://code.jquery.com/jquery-latest.js;/script   script

[jQuery] Re: Show/Hide items in unordered list

2008-09-30 Thread Wayne Dyck
MorningZ, thank you very much! That is perfect and will do nicely to get me started in the right direction. I wasn't sure if I needed to assign unique ids to the individual li items or not and your example shows me I can do it without them. Very cool. Thanks, again. Wayne On Sep 30, 6:03 am,

[jQuery] Re: text() as a wrapped set?

2008-09-30 Thread Balazs Endresz
The argument was missing at the end: $.fn._text = $.fn.text; $.fn.text = function( toTextNode ) { if( toTextNode === true ) return this.pushStack( [ document.createTextNode( this._text() ) ] ); return this._text( toTextNode ); } On Sep 30, 3:46 pm, Balazs Endresz [EMAIL PROTECTED]

[jQuery] Re: jquery anchor

2008-09-30 Thread BB
Here is a nice plugin: http://demos.flesler.com/jquery/scrollTo/ On 30 Sep., 09:05, elvisparsley [EMAIL PROTECTED] wrote: I am wondering how can I do like this,   http://davidwalsh.name/dw-content/smooth-scroll.php, with jquery. What I want to do is that a smooth move when I click an anchor

[jQuery] Re: jquery anchor

2008-09-30 Thread Alexandre Plennevaux
hello, you should check out Ariel's scrollTo plugin: http://demos.flesler.com/jquery/scrollTo/ Alexandre Plennevaux LAb[au] http://www.lab-au.com On Tue, Sep 30, 2008 at 9:05 AM, elvisparsley [EMAIL PROTECTED] wrote: I am wondering how can I do like this,

[jQuery] Ajax Tabs and jqModal

2008-09-30 Thread Steffan A. Cline
I have a scenario where I am using the jQuery UI tabs via ajax. The problem I am running into is that with this code: $().ready(function() { $('#tabs ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } }); $('#dialog').jqm({ajax: '@href', trigger: 'a.details'}); }); I am binding

[jQuery] Re: Can jQuery do it again and again?

2008-09-30 Thread thelemondropkid
Thanks for the help guys! I have been looking at some of these ready-made scripts but my rounded corners have a particular design (if you can believe that). Anyway... I have now become obsessed with knowing how to do this. Its like spending the whole day washing your car and then you decide to

[jQuery] Select multiple iterating over selections from database

2008-09-30 Thread Allen Schmidt
Greetings, If I have a select multiple set up with say 10 items, and I am making a pass over them from a call to a database that returns some of those values (more than one), how can I check to see if an option in the select is one of the items returned from the database and select it also?

[jQuery] querying an array

2008-09-30 Thread [EMAIL PROTECTED]
Hi, I've build the following array using all the element in this.parent which have a class '.RepeatedItemElement' : this.elements = $(.RepeatedItemElement, this.parent); Now I want to query this array and get the innerHTML of the element which has id='headline'. I've tried the following:

[jQuery] jquery game

2008-09-30 Thread Tadas J
Hello, I want to share my game, that I made when I was bored. This is web browser game similar to cubic rubic. I did not find such a game, so I named it Coloxy (color, x-axis, y-axis). Well, this is a logical game Cube-like game (or The Magic of cubic RUBIC). In 5 boxes you have to make one kind

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread equallyunequal
Ok, how about something to the effect of: $(p).each(function() { $ (this).children(:not(span)).css({color:red}); }); On Sep 30, 8:12 am, [EMAIL PROTECTED] wrote: If I do this with CLone then all my prossesing is with the clone but I need to have a selector in the Original one not in the Clone

[jQuery] Re: querying an array

2008-09-30 Thread BB
An ID has to be uniq so you can just do that: $(#headline).html(); On 30 Sep., 15:40, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I've build the following array using all the element in this.parent which have a class '.RepeatedItemElement' : this.elements = $(.RepeatedItemElement,

[jQuery] Re: text() as a wrapped set?

2008-09-30 Thread Balazs Endresz
You made me think about confusing the maintainers :) This would certainly do that but wouldn't break any code: $.fn._text = $.fn.text; $.fn.text = function( toTextNode ) { if( toTextNode === true ) return this.pushStack( [ document.createTextNode( this._text() ) ] ); return this._text();

[jQuery] Show image gradually

2008-09-30 Thread diego valobra
Take a look at this..  http://www.pirolab.it/piro_09/slide.html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head   script src=http://code.jquery.com/jquery-latest.js;/script   script

[jQuery] Re: querying an array

2008-09-30 Thread [EMAIL PROTECTED]
I was expecting this kind of answer ! :) Could you ignore the fact that it has to be unique, let's say I want to query on another attribute. And I want the query to limit the search to the elements in my Array. How do I do that ? On 30 sep, 15:37, BB [EMAIL PROTECTED] wrote: An ID has to be

[jQuery] R: [jQuery] Show image gradually

2008-09-30 Thread diego valobra
Always IE(fu#g browser) you have to add at the css rule #headernav ul li: position:relative; and it works with ie too diego --- Mar 30/9/08, diego valobra [EMAIL PROTECTED] ha scritto: Da: diego valobra [EMAIL PROTECTED] Oggetto: [jQuery] Show image gradually A: jquery-en@googlegroups.com

[jQuery] Re: R: [jQuery] Show image gradually

2008-09-30 Thread Giovanni Battista Lenoci
Maybe you can take a look at this plugin, it seems that is what are you looking for: http://snook.ca/technical/jquery-bg/ bye -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) - italy +39 347 7196482

[jQuery] Re: dealing with multiple forms having same id

2008-09-30 Thread Alex Weber
for example if you bind something to that ID only the first one will work. so yeah i suggest either using classes or even prefixing the id so you can access them all with 1 selector $(div[id^=prefix_]) this is also similar to the valid CSS to style it (using selectors- but unfortunately it wont

[jQuery] R: [jQuery] Re: R: [jQuery] Show image gradually

2008-09-30 Thread diego valobra
Ciao Giovanni, some times it's good to understand the basic function of jQuery without using plugins..that's what i was trying to do :) if u never study u never lern!! regards Diego --- Mar 30/9/08, Giovanni Battista Lenoci [EMAIL PROTECTED] ha scritto: Da: Giovanni Battista Lenoci [EMAIL

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Klaus Hartl
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F If you choose to use rebinding, you would use the tabs load callback for that. $('#tabs ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' }, load: function(e, ui) { //

[jQuery] Re: jQuery Form Plugin - success callback problem with FF/Chrome

2008-09-30 Thread Clemens
Hi Prajwala, thanks for your feedback! displayData(); ist not the problem as far as I've figured out, since it's not even executed. The problem is that displayData() is not called, even though the Ajax Request was executed successfully. Thanks to you debugger hint I was able to pinpoint the

[jQuery] Re: R: [jQuery] Re: R: [jQuery] Show image gradually

2008-09-30 Thread Giovanni Battista Lenoci
diego valobra ha scritto: Ciao Giovanni, some times it's good to understand the basic function of jQuery without using plugins..that's what i was trying to do :) if u never study u never lern!! Ciao Diego, first of all I agree with you. :-) but... if it is only an exercise. in the

[jQuery] Re: superfish and lightbox dont work together

2008-09-30 Thread ric
Thanks .. I'll check it out. Sorry for late replay. Too much work :-(

[jQuery] R: [jQuery] Re: R: [jQuery] Re: R: [jQuery] Show image gradually

2008-09-30 Thread diego valobra
Ciao Giovanni, happy that u think the same of me.. have you seen this http://www.pirolab.it/piro_09/slide.html no plugins, just jquery 1.2.6 that's it.. I've seen the plugin you linked and it's really compact, Alexander Farkas has done a nice work :) Diego --- Mar 30/9/08, Giovanni Battista

[jQuery] Re: querying an array

2008-09-30 Thread equallyunequal
jQuery( expression, [context] ) Note the optional context parameter. So, you can do this: $([attrib='value'], this.elements).each( function() { console.log(this); } ); On Sep 30, 10:51 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was expecting this kind of answer ! :) Could you ignore

[jQuery] Re: querying an array

2008-09-30 Thread equallyunequal
Excuse my rather... verbose response. This should work for you, and is simpler: $([attrib='value'], this.elements).html(); Although, now that I re-read your first post, it seems that you already know about the optional context parameter. I don't understand how this was a problem for you. On

[jQuery] Fire bug error : too much recursion

2008-09-30 Thread ♫ cheskonov
hi , I am getting this error in Firefox 3.0.2 fire bug console : too much recursion /misc/jquery.js Line 2 after some searching i found that it may be because of the jason library used .. can any one tell me how do i fix it .. In IE i got an alert saying that Stack Overflow at line [line 1]

[jQuery] Intercept Back button click on browser

2008-09-30 Thread Leanan
So here's the situation: I have a page that could potentially contain a massive amount of data. To try to decrease initial load time, I've broken it all out into nice chunks that get loaded via ajax. This works great. Some of the chunks need to appear as if they are their own page. To save

[jQuery] jquery code works with firefox but not ie.

2008-09-30 Thread silk.odyssey
I have the following code that works in firefox and google chrome using jquery 1.2.6. function setUpClient() { $.post(http://localhost/gestivov2/include/ajax/getclients.php;, {}, function(data){ $('#left_items').empty(); //alert(data);

[jQuery] Re: jQuery validation plugin in Drupal

2008-09-30 Thread Jeroen Coumans
Could it have something to do with the fact that each id starts with edit-? When I try it with manually created markup, changing or removing the dashes doesn't help, but removing the edit- part does. Is there a workaround possible? Thanks, Jeroen On 29 sep, 00:06, Jeroen Coumans [EMAIL

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread Pedram
It didn't work Cause the Text isn't concern as a Children and it is in No Tag area so when we call $(this).children it returns only the Span and if we do $(this).children(:not(span)) it returns NULL ... so Equally. what should we do On Sep 30, 5:34 pm, equallyunequal [EMAIL PROTECTED]

[jQuery] Re: querying an array

2008-09-30 Thread Paul Mills
I'm not sure why you are creating the array. If you don't need it for anything else then you can get at the html in one line: var test = $('.RepeatedItemElement[id = headline]', this.parent).html(); On Sep 30, 3:51 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was expecting this kind of

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Steffan A. Cline
on 9/30/08 8:17 AM, Klaus Hartl at [EMAIL PROTECTED] wrote: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_workin g_after_an_AJAX_request.3F If you choose to use rebinding, you would use the tabs load callback for that. $('#tabs ul').tabs({ fx: { height:

[jQuery] Re: I want to reduce the header calls

2008-09-30 Thread jeremyBass
So I think this is the ticket... but I really am not to sure on the how yet... http://code.google.com/p/urlrewritefilter/ anyone have a sec to help me out with this? thank you jeremyBass On Sep 29, 7:37 pm, jeremyBass [EMAIL PROTECTED] wrote: I new that was to good to be true... well moving

[jQuery] Re: jquery code works with firefox but not ie.

2008-09-30 Thread Eric
I'm a little concerned by this line: client = $(client,data).get(id); I'd recommend putting a var in front so that you have a local, not a global, variable. It also seems to me like $(client,data).get(id) is equivalent to 'this' inside the each. so instead of: client = $(client,data).get(id);

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread Eric
I apologize, I haven't tested this code: $('p').each( function () { alert( $(this).contents().not('span').text() ); }); On Sep 30, 12:20 pm, Pedram [EMAIL PROTECTED] wrote: It didn't work Cause the Text isn't concern as a Children and it is in No Tag area  so when we call

[jQuery] [validate] Validation max number of checkboxes

2008-09-30 Thread [EMAIL PROTECTED]
Hi, I'm trying to create a validation that would ensure that users select between 1-5 options out of a list of checkboxes with the same name. For example: Pick your favorite color (required, maximum of 5 selections). Is there any way to do this with the validate plugin? Thanks!

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread Pedram
Dear Eric , It didn't work $(this).contents() filters the span so when you configure the code to $ (this).contents().not('span') it returns Null I wonder how come jQuery doesn't have a something lilke --ignore-- built in forexample .. so we could have ignored all the SPANs !!! On Sep 30, 8:02 

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread equallyunequal
I'm not sure how to do it in a jQuery way. But here's what I came up with: $( function(){ $(p).each( function() { var allButSpan = this.allButSpan = new Array(); $.each(this.childNodes, function(i, node) { if

[jQuery] coda-slider: adding internal [prev] and [next] links

2008-09-30 Thread w1ntermut3
I'm using Nial Doherty's coda-slider plugin (http://plugins.jquery.com/ project/Coda-Slider), and trying to tweak it. I'm creating several instances of the slider on a page. I'd like to replicate the function of the 'previous' and 'next' buttons, but inside the content panels themselves. The

[jQuery] Re: jquery code works with firefox but not ie.

2008-09-30 Thread kelvin pompey
I tried the code without ajax. It works in firefox but not in ie. I modelled my code on this example from the sitepoint jquery ajax tutorial. html head titleAJAX with jQuery Example/title script type=text/javascript src=jquery-1.2.6.pack.js/script script type=text/javascript

[jQuery] Re: [validate] Validation max number of checkboxes

2008-09-30 Thread Mauricio (Maujor) Samy Silva
jQuery: script type=text/javascript $(document).ready(function(){ $('#go').click(function(){ var i = $('#my-form input[name=test]:checked').size(); if (i == 0 || i 5) { alert('Choose from 1 to 5 options'); } }); }); /script HTML:

[jQuery] Hidden spam on jquery blog

2008-09-30 Thread zaadjis
Right after the script tag with urchin.js. Can the powers that be fix this, please?

[jQuery] Re: prevent tab changing + user message

2008-09-30 Thread oscarml
Hi. Nobody can help me with this issue? I don´t know if is crearly enough: On the select propertie of the tab I call a function. This works great with validation plugin, due to it returns true or false without user action. the problem is when I present a dialog to the user in order to determine

[jQuery] Re: Hidden spam on jquery blog

2008-09-30 Thread equallyunequal
Woops looks like jQuery blog got hit by a sql-injection attack! On Sep 30, 2:04 pm, zaadjis [EMAIL PROTECTED] wrote: Right after the script tag with urchin.js. Can the powers that be fix this, please?

[jQuery] Getting the id of the next form

2008-09-30 Thread Bruce MacKay
Hello folks, I have a page containing a number of forms e.g. div id=alerts pa href=# class=ctrl_s[an image]/a/p form id=f_alert [various form elements] /form /div div id=whodidit pa href=# class=ctrl_s[an image]/a/p form id=f_whodidit

[jQuery] Insert content in row

2008-09-30 Thread Web Specialist
Hi all. I have this very simple content: tr td class=rowContent id=902_1200_2008United States/td /tr tr td class=rowContent id=104_500_2008Canada/td /tr When user clicks in any row i'll want to display the details about that row. I'm using this but without success:

[jQuery] Re: Intercept Back button click on browser

2008-09-30 Thread Bil Corry
Leanan wrote on 9/30/2008 10:10 AM: How can I make it so that when the user clicks the back button in their browser, this same thing happens, as I'll likely have people trying to click the back button instead of the back link on the page and then tell me it's broken. Is it even possible?

[jQuery] Re: I want to reduce the header calls

2008-09-30 Thread jeremyBass
found this... may-be this may help ??? script type=text/javascript if (navigator.browserLanguage){language=navigator.browserLanguage} if (navigator.userLanguage){language=navigator.userLanguage} if (navigator.systemLanguage){language=navigator.systemLanguage} if

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread Pedram
Wow amazing... it worked let me ask you question I think I can do it with jQuery .. do you know what does node.nodeType mean in javascript nodeType=1 what does that mean for each value ? thanks Pedram On Sep 30, 8:29 pm, equallyunequal [EMAIL PROTECTED] wrote: I'm not sure how to do it in a

[jQuery] Re: Insert content in row

2008-09-30 Thread BB
Try this: $('.rowContent').click(function(){ var row = this; $.get(getCountryContent.cfm, { u: row.id }, function(data){ // this == the options for this ajax request var $conteudo = trim12( data ); alert(Data Loaded: + $conteudo); $( '#' + row.id ).append( $conteudo ); });

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread equallyunequal
NodeTypeNamed Constant 1 ELEMENT_NODE 2 ATTRIBUTE_NODE 3 TEXT_NODE 4 CDATA_SECTION_NODE 5 ENTITY_REFERENCE_NODE 6 ENTITY_NODE 7 PROCESSING_INSTRUCTION_NODE 8 COMMENT_NODE 9 DOCUMENT_NODE 10 DOCUMENT_TYPE_NODE 11

[jQuery] Re: Set height of element depending on only on its own position and window height?

2008-09-30 Thread rolfsf
I might add that you may be able to accomplish the same thing in 'modern' browsers (e.g. not IE6) with just css, using absolute positioning. Just set your right, left and bottom to, for example, 10px. (IE6 can't handle positioning on 3 sides). On Sep 30, 11:58 am, rolfsf [EMAIL PROTECTED] wrote:

[jQuery] Re: Select multiple iterating over selections from database

2008-09-30 Thread MorningZ
hmmm, would be more straight up js than jQuery if you had: select id=Users selection=multiple option value=1Bob/option option value=2Doug/option option value=3Jake/option option value=4Steve/option option value=5Mike/option option value=6John/option select //values from database

[jQuery] Re: Insert content in row

2008-09-30 Thread Web Specialist
Wonderful!!! Thanx p.s.: to avoid several appended content I used: $( '#' + this.id + '_injected' ).html(''); On Tue, Sep 30, 2008 at 3:39 PM, BB [EMAIL PROTECTED] wrote: Try this: $('.rowContent').click(function(){ var row = this; $.get(getCountryContent.cfm, { u:

[jQuery] Re: Set height of element depending on only on its own position and window height?

2008-09-30 Thread Kabelkultur Gotland
Thanks for your input, your demo is actually working better than what I came up with, I'm gonna look into it and see if I can use it. Absolute positioning would normally work but not in my case. This function is to be a part in a web based user interface for a very large business application,

[jQuery] Re: cite jquery

2008-09-30 Thread forgetta
Thanks. I also plan to publish in an article in a scientific journal. Is there an official publication for JQuery I can cite? Or do I just site it by URL? Vince On Sep 29, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote: Footer link would probably be nice, or a credits page in the footer,

[jQuery] Re: cite jquery

2008-09-30 Thread forgetta
Thanks. I also plan to publish in an article in a scientific journal. Is there an official publication for JQuery I can cite? Or do I just site it by URL? Vince On Sep 29, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote: Footer link would probably be nice, or a credits page in the footer,

[jQuery] Re: stripping style from ajax html

2008-09-30 Thread crrrum
Hi Prajwala, Well that kind of worked. I ended up doing this: data = $(data); var replace = $('div/div'); data.each( function() { if ( this.tagName != 'STYLE' this.tagName != 'SCRIPT'

[jQuery] Tablesorter pager refresh pager

2008-09-30 Thread bjorn_i
I am trying to update the tablesorter pager whenever I dynamically add or delete a row from the table. So far I'm using tips from this post, http://www.nabble.com/Add-row-and-refresh-tablesorter-with-pager.-td13236775s27240.html#a13236775 I am able to update the table and re-sort when a new row

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread ricardobeat
If you are 100% sure that the span will always come AFTER the text data, like your example format, you could simply do: $('#paragraph')[0].childNodes[0]; or $('p').each(function(){ var data = this.childNodes[0]; }); - ricardo On Sep 30, 5:34 pm, equallyunequal [EMAIL PROTECTED] wrote:

[jQuery] UI Autocomplete documentation

2008-09-30 Thread mario
Hi, Im using the latest UI rc2 and I am going to use the autocomplete that comes with Jquery UI 1.6, but I can't find any documentation, I read it was based on a plugin and i think i should use that documentation, but don't know which autocomplete plugin it is based on. Thanks, Mario

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Klaus Hartl
On 30 Sep., 18:25, Steffan A. Cline [EMAIL PROTECTED] wrote: Thanks for the quick answer! I did realize that the issue was that the items did not exist at the time of binding. I am new to jQuery and am trying to understand all the nice amenities we have now in comparison to hand coding all of

[jQuery] Adding class to a parent element- traversion help?

2008-09-30 Thread Vinoj
I've got the following as my jquery code: script type=text/javascript $(document).ready(function() { $(.bc-wrapper:empty).(this).parent().addClass(none); }); /script And the html is: div class=bottom-content div class=bc-wrapper /div /div The css is as

[jQuery] Re: I want to reduce the header calls

2008-09-30 Thread Michael Geary
I am really lost now. I thought you were looking for a way to download your .swf once instead of starting a bunch of simultaneous downloads for it. I don't think a clone of mod_rewrite for Java servers would help you at all. (Is your server code in Java? Even if it is, it wouldn't help - you're

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Steffan A. Cline
on 9/30/08 2:03 PM, Klaus Hartl at [EMAIL PROTECTED] wrote: On 30 Sep., 18:25, Steffan A. Cline [EMAIL PROTECTED] wrote: Thanks for the quick answer! I did realize that the issue was that the items did not exist at the time of binding. I am new to jQuery and am trying to understand all the

[jQuery] add/remove and recalculate index

2008-09-30 Thread claudes
i have an interface that allows user to add chapters and remove any chapter from within the group. i'm having issues re-calculating the sort order. currently if user adds four chapters (1,2,3,4), removes 2 and adds two more the order becomes (1, 3,4,2,3). i know i need to so something with index

[jQuery] Re: Adding class to a parent element- traversion help?

2008-09-30 Thread Michael Geary
Your div.bc-wrapper isn't empty. It has a text node in it because of the whitespace. Open Firebug on any page that uses jQuery and switch it to the multiline console (orange up arrow at the bottom right). Then paste this code in, hit Ctrl+Enter, and observe the results: $a = $('divdiv

[jQuery] Trouble serializing a form

2008-09-30 Thread [EMAIL PROTECTED]
Hi, I have a form on my page with id=bindingForm and name=bindingForm. I am using the latest version of JQuery 1.2.6. I am trying to serialize a form like so var paramStr = $('#' + formId).serialize(); where formId contains the value bindingForm. Unfortunately, paramStr contains the value

[jQuery] Re: select data in a p ignoring the span

2008-09-30 Thread Pedram
Dear folks , finally this is what I got $(p).each(function(){ if(this.childNodes[0].nodeName.toLowerCase() !=span) var newNode=$(this.childNodes[0]).wrap(b/); newNode.css('color','red'); }); this is the shortest code , basically you can not treat as a SELECTOR

[jQuery] Re: Adding class to a parent element- traversion help?

2008-09-30 Thread FrenchiINLA
your problem is coming from (this). just try : $(.bc-wrapper:empty).parent().addClass(none); On Sep 30, 2:09 pm, Vinoj [EMAIL PROTECTED] wrote: I've got the following as my jquery code: script type=text/javascript         $(document).ready(function() {        

[jQuery] Re: Setting the selected item in a combo box

2008-09-30 Thread Pete
Ricardo, I am a bit new at using jQuery so this could be an inane question: Is the 'select' applied at the selector? If my control's id is emplist would the correct syntax be: $('#emplist select').val(empSelected); empSelected, in this case, is a variable containing the value I want to set the

[jQuery] Re: I want to reduce the header calls

2008-09-30 Thread jeremyBass
lol... sorry After I read through again... I totally missed the java server part... but on the other... I posted in the wrong spot... sorry about that... I thought you were looking for a way to download your .swf once instead of starting a bunch of simultaneous downloads for it. that is what I

[jQuery] Re: Adding class to a parent element- traversion help?

2008-09-30 Thread Vinoj
@Michael Geary -- Thanks, now I get it. But the code is being output by a CMS, which has some whitespace that is output. So then truncate the whitespace? @FrenchilNLA -- It seemed to make sense, but this didn't work as long as I had that extra space. Once I took out the whitespace that Michael

[jQuery] Superfish + Mouseout Delay + IE6/7/8

2008-09-30 Thread dmeiser
I've got the superfish menus and animation working on the following site: http://beta.adriandominicans.org/ However, the MouseOut delay isn't working on IE6/7/8. It seems that all animations except the MouseOut delay work. Any theories? Thanks, Dave

[jQuery] Exhausted..Need HELP Please! - Jquery / Simplemodal / Jquery.validate.js

2008-09-30 Thread HolyInsomniac
Hello, First of all, thank you for reading my post. I have been trying to resolve this issue for the past 2 weeks trying different things. Let me get right into my problem, but before explaining the problem, let me share my objective and then go on from there. Test Link:

[jQuery] superfish always using click

2008-09-30 Thread coyr
I have change this in the code the hover to click $('li:has(ul)',this)[($.fn.hoverIntent !o.disableHI) ? 'hoverIntent' : 'click'](over,out).each(function() { if (o.autoArrows) addArrow( $('a:first-child',this) ); }) I want to always use

[jQuery] Re: Selecting nodes using node value within a range

2008-09-30 Thread Michael Geary
filter() is your friend. You can make a nice little plugin to do this: jQuery.fn.inRange = function( min, max ) { return this.filter( function() { var value = +this.innerHTML; return value = minvalue = max; }); }; And then you can write code

[jQuery] Re: add/remove and recalculate index

2008-09-30 Thread MorningZ
its tough to diagnose without knowing what your variable html returned by the $.ajax call is but working up an example trying to simulate it, this works as expected items stay in order of adding plus the ol items adjust their indexes automatically http://paste.pocoo.org/show/86671/ On

[jQuery] Re: Fire bug error : too much recursion

2008-09-30 Thread Karl Rudd
Are you using the JSON library from json.org? If so, make sure it's the json2.js one, rather than the earlier, and slightly broken, one. http://www.json.org/js.html Karl Rudd On Wed, Oct 1, 2008 at 1:46 AM, ♫ cheskonov [EMAIL PROTECTED] wrote: hi , I am getting this error in Firefox 3.0.2

[jQuery] Re: add/remove and recalculate index

2008-09-30 Thread claudes
variable html is this php file: ?php $x=$_GET['chapter-number']; echo EOS li id=chapter-$x-containerh4Chapter $x Remove Chapter/h4 ol li label for=chap-$x-titleChapter Title:/label input type=text name=chap-$x-title id=chap-title / /li li label for=chap-$x-web-descripChapter Web

[jQuery] Mechanics of jQuery

2008-09-30 Thread Olreich
How does jQuery select classes, psuedo-classes, and IDs? What are the actual components of the source behind this? Please, do not respond with how I would use the jQuery class selection functionality.

[jQuery] Re: Mechanics of jQuery

2008-09-30 Thread Scott Sauyet
Olreich wrote: How does jQuery select classes, psuedo-classes, and IDs? What are the actual components of the source behind this? Please, do not respond with how I would use the jQuery class selection functionality. The source code is readily available, and quite informative. If you're

  1   2   >