[jQuery] Re: Bind event to tab selection in 1.1

2008-10-02 Thread Klaus Hartl
It's called onClick in the old tabs... here's an example: http://stilbuero.de/jquery/tabs/ --Klaus On 1 Okt., 22:50, Dan Baughman [EMAIL PROTECTED] wrote: Ok so I had something really cool setup in 1.3, then I saw Klaus' history object doesnt' integrate with tabs 3! Does anyone know how to

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

2008-10-02 Thread Amardeep
sorry for my mistake .. yes its JSON i was using this : $('#div_id').show('animate', {opacity:1.9}, 1200); i am not at all sure about the real cause .. i did some search and found that it could be a possible reason On Thu, Oct 2, 2008 at 8:50 AM, Karl Rudd [EMAIL PROTECTED] wrote: Will need a

[jQuery] Re: Valdiation plugin request

2008-10-02 Thread Wokkel
Yes i have been deciphering your stated example and im fairly new with jquery and i really never could understand the $.validator.addMethod(pageRequired, function(value, element)) function. Awesome you are looking into subforms cant wait for the next release :) .Thank you. On Oct 1, 3:23 pm,

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

2008-10-02 Thread Amardeep
thanx it works for me .. i am such a stupid On Thu, Oct 2, 2008 at 12:27 PM, BB [EMAIL PROTECTED] wrote: The syntax of this function is wrong! $(#div_id).animate({ opacity:1.9 }, 1200); http://docs.jquery.com/Effects/animate#paramsdurationeasingcallback On 2 Okt., 08:51, Amardeep [EMAIL

[jQuery] Choose the best Selector

2008-10-02 Thread Pedram
Dear folk consider the Below HTML Code div id=a p id=b input type=text id=c / /p /div I would like to have Input selecter there are some ways which one has more speed and it is efficient 1- $(div#a p#b :text#c).val(); 2- $(#a #b #c).val(); 3.$(#c).val(); 4-$(:text#c).val();

[jQuery] Re: Choose the best Selector

2008-10-02 Thread BB
$(#c).val(); would be the best and fastest! On 2 Okt., 10:38, Pedram [EMAIL PROTECTED] wrote: Dear folk consider the Below HTML Code div id=a   p id=b     input type=text id=c /   /p /div I would like to have Input selecter there are some ways which one has more speed and it is

[jQuery] Re: Choose the best Selector

2008-10-02 Thread Pedram
how could we say this cause the Engine must search all the Document to Find the #C On Oct 2, 12:24 pm, BB [EMAIL PROTECTED] wrote: $(#c).val(); would be the best and fastest! On 2 Okt., 10:38, Pedram [EMAIL PROTECTED] wrote: Dear folk consider the Below HTML Code div id=a   p

[jQuery] Re: Choose the best Selector

2008-10-02 Thread BB
If you search after ids it is allways document.getElementById() because the id must be uniq! So it is the fastest!!! way to find an element! jQuery code: // HANDLE: $(#id) else { var elem = document.getElementById( match[3] ); // Make sure an element was located if ( elem ){ // Handle

[jQuery] sequential animation

2008-10-02 Thread [EMAIL PROTECTED]
Hi, I have the following : $(div, this.parent).animate({ height: 400 }); $(.rightColumn, this.parent).children().fadeOut(); $(.rightColumn, this.parent).append($(#dd-EditCutting)); Now I would like the last line to be executed only after the two animations have completed. Is there

[jQuery] testing

2008-10-02 Thread andrewsquidge
tstin123 -- View this message in context: http://www.nabble.com/testing-tp19776226s27240p19776226.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Alert message in jquery

2008-10-02 Thread surya
Hi everyone, Can any one help please? I am new to jquery. I am unable to debug my jquery as I am unable to fix my issue. So I want to know the flow using alert messages but alert is not working in jquery. How to display an alert in jquery? Thanks, Surya.

[jQuery] Re: Jeditable plugin

2008-10-02 Thread Mika Tuupola
On Oct 2, 2008, at 1:33 AM, Dr3adl0ck wrote: I'd like to activate/deactivate making an edit in place field editable depending on if a user selects something. Is there a way in jQuery remove events associated with a class or something to that effect? $.unbind() It is probably a good idea

[jQuery] java class clashes with jquery

2008-10-02 Thread Rene Veerman
I this jquery-related error when i run a java applet (that uploads files through FTP) I'm wondering how this error occurs, firebug doesn't show a call-stack trace... :( Java class com.javauploader.hermes.U has no public field or method named jQuery1222913664275 var id = elem[ expando ];

[jQuery] Re: looking for a slider

2008-10-02 Thread BB
Look at this: http://ui.jquery.com/repository/latest/demos/functional/#ui.slider this demo is really simple. here are the docs: http://docs.jquery.com/UI/Slider On 2 Okt., 11:48, hcvitto [EMAIL PROTECTED] wrote: hi i've searched around fot a while but couldn't find any slider that suits my

[jQuery] Re: Alert message in jquery

2008-10-02 Thread BB
I'm sure that: alert(); should work! Maybe the error is before the alert() and so it maybe won't be executed. Another way to debug is to use Firefox, download firebug-extension (https://addons.mozilla.org/de/firefox/addon/1843) an then wirte some console.log() functions in your code. Now you

[jQuery] Re: selecting all element with a given class but not another one.

2008-10-02 Thread BB
$(.RepeatedItem:not(.RepeatedItemSelected)) On 2 Okt., 11:57, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I can't figure out what the syntax is to select all the elements which have a given class but not another given class. Example : I want all the elements with class .RepeatedItem but

[jQuery] Blur effect with jQuery ?

2008-10-02 Thread [EMAIL PROTECTED]
Hi, I can't find this effect in the API or in the plugins repository. Does anyone know if it's possible at all to blur a DIV using jQuery, or would I have to code this myself ? Thanks

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-02 Thread Jeroen Coumans
Aah! *Slaps forehead* I found the problem! I was creating the validation rules and messages by referring to the id's of the form fields, while I should just reference their names! Everything's working now, thanks for your time. Jeroen On 2 okt, 03:24, Jörn Zaefferer [EMAIL PROTECTED] wrote:

[jQuery] Re: Blur effect with jQuery ?

2008-10-02 Thread Rene Veerman
you can $(element).fadeOut, but is that what you are looking for? blur means many things. do you mean 'disable' with it? or just a visual blur? IE can do a visual, guassian blur on a div, but it's not supported in other browsers. [EMAIL PROTECTED] wrote: Hi, I can't find this effect in

[jQuery] Re: Blur effect with jQuery ?

2008-10-02 Thread Martin Möller
graphicsxp wrote: I can't find this effect in the API or in the plugins repository. Does anyone know if it's possible at all to blur a DIV using jQuery, or would I have to code this myself ? Nothing i know of. Only IE supports a BLUR Filter, but i advise against it. Except this Blur CSS

[jQuery] Menu Problem with IE6

2008-10-02 Thread tom2008
Hi All, Can anyone help me to find the problem with menu on IE6, it works perfect with any other browse except IE6, i don't know whether its css or javascript problem. Link to site is http://chaos.com/home/4002.html if you rollover on menu drop down box should appear which with IE 6 dosn't

[jQuery] Unhandled exception in jquery-1.2.6.min.js

2008-10-02 Thread itatai
Hi I'm attempting to use the jQuery library within VS 2008 with no luck. Here is what I did: 1. Created a new MVC app having a View linked to an MVC Master Page 2. Copied the jQuery lib to the content folder 3. Dragged jquery-1.2.6.min.js to the HEAD section of the Master Pager

[jQuery] how do I fix the position of an element?

2008-10-02 Thread Flavio333
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the

[jQuery] [autocomplete] Using Autocomplete plugin in position:fixed popups

2008-10-02 Thread Taimar
Hi! Jörn Zaefferer's Autocomplete plugin: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I'm using the plugin in modern modal-popups, they have position:fixed property attached. Scrolling the window does not affect my popups (due to position:fixed), but the already opened

[jQuery] jquery hoverMenue and Click

2008-10-02 Thread maro
Hi, i am testing jquery. I am use the Hover Menue from http://docs.jquery.com/Cookbook/Navigation. I change the hover with hoverIntent an it works fine. Now i would like build a click-event. if the User move the mouse over, the Submenue slide out after 300 miliseconds, if the User klick then the

[jQuery] could someone Please Help...

2008-10-02 Thread steph33333
Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or right I would like this element(the loaded php page in the small block) to be fixed to the

[jQuery] Re: performance questions

2008-10-02 Thread Diego
What browser did this happen with? (IE I'd guess). The star rating plugin only uses 2 separate (and very small) images which should load almost instantaneously. Once the image is loaded for one control, it should be immediately displayed for all other controls using the same image - not

[jQuery] image highlighter?

2008-10-02 Thread christianslater
hi there, I`m really new to Javascript and looking for a solution to highlight images. So there are small thumbs on the page with an black overlay with maybe 60% opacity. If You rollover the image the opacity fades to 0... Can anyone help me? thanks in advance!

[jQuery] Re: Passing a variable to a function

2008-10-02 Thread [EMAIL PROTECTED]
HI, Thanks for your response, it's a good answer and works in the case you describe. Unfortunately I've got 2 more li's in between the clicked li and the toggled li. The full code looks like this: ul li class=evdatedate/li ll class=evnamea href=#name/a/li li class=evregionRegion/li

[jQuery] Re: jQuery method's don't work when adding HTML to page

2008-10-02 Thread blugrasmaniac
Thanks, Mike. Turns out you were correct. I am new at this and have been using both MooTools and Scripaculous prior to this, trying to get a feel for which I like the best. I'm currently putting some effort into jQuery, and I believe it will have to be the winner, once I get it figured out -

[jQuery] Re: Passing a variable to a function

2008-10-02 Thread andrewsquidge
Hi guys, this is the answer to how to pass a variable to a jquery function and perform an action on a dynamic list. http://www.learningjquery.com/2006/09/slicker-show-and-hide#comment-60792 http://www.learningjquery.com/2006/09/slicker-show-and-hide#comment-60792 [EMAIL PROTECTED] wrote:

[jQuery] Re: jquery image highlighter?

2008-10-02 Thread BB
Try this: $(.overlay-div).hover(function() { $(this).fadeTo(fast, 0); }, function() { $(this).fadeTo(fast, 0.6); }); On 2 Okt., 09:13, christianslater [EMAIL PROTECTED] wrote: hi there, I`m really new to Javascript and looking for a solution to highlight images. So there are small thumbs

[jQuery] Re: image highlighter?

2008-10-02 Thread BB
Dublicate: http://groups.google.com/group/jquery-en/browse_thread/thread/59f9004ca99cab3b On 2 Okt., 11:33, christianslater [EMAIL PROTECTED] wrote: hi there, I`m really new to Javascript and looking for a solution to highlight images. So there are small thumbs on the page with an black

[jQuery] Re: how do I fix the position of an element?

2008-10-02 Thread BB
Why not use CSS? position:absolute; On 2 Okt., 10:16, Flavio333 [EMAIL PROTECTED] wrote: Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page that I loaded into a small block on my html page... now when I scroll up, down, left or

[jQuery] Bug with JQuery is?

2008-10-02 Thread ProggerPete
If it's not a bug it is at least violates the principle of least surprise. The .is function returns true for things I don't think it should. See the example below. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html

[jQuery] append mailto link to orphan plain text email address

2008-10-02 Thread skankster
Hi, I have a div that contains simple text data with line breaks. I want to append a mailto link to the email address but so far I have not been able to select the email. The container looks something like this: div id=myId Username: Johnnybr / Email: [EMAIL PROTECTED] /div

[jQuery] jQuery Form Plugin

2008-10-02 Thread André Cassal
Hey Folks, Can I cancel a connection during an upload? I'm using this form plugin http://www.malsup.com/jquery/form/ and a dialog showing the process, but the dialog needs to have a cancel button to trigger a client-side cancel. As this plugin uses an iframe to target a form, I need just

[jQuery] Re: could someone Please Help...

2008-10-02 Thread Alexandre Plennevaux
hi, 1/ set up your html: div id=myFixedContainer...this content will be replaced by the php script/div 2/ fix the css properties that will make it stay at the same screen position: div id=myFixedContainer style=position:fixed;top:20px;left:20px;width:200px;height:200px;border:1px solid

[jQuery] Re: Alert message in jquery

2008-10-02 Thread Simon Elliott
I like using the console in the firebug plugin under firefox. To write to the console from your javascript code: var value = bar; console.log(foo,value); https://addons.mozilla.org/en-US/firefox/addon/1843 2008/10/2 surya [EMAIL PROTECTED] Hi everyone, Can any one help please?

[jQuery] Re: how do I fix the position of an element?

2008-10-02 Thread Klaus Hartl
On 2 Okt., 15:06, BB [EMAIL PROTECTED] wrote: Why not use CSS? position:absolute; position: fixed; would be even better ;-) Not supported in IE 6 though (workarounds available). --Klaus

[jQuery] Re: selecting all element with a given class but not another one.

2008-10-02 Thread Klaus Hartl
Try: $('[class=RepeatedItem]') --Klaus On 2 Okt., 11:57, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I can't figure out what the syntax is to select all the elements which have a given class but not another given class. Example : I want all the elements with class .RepeatedItem but

[jQuery] Re: invalid object initializer

2008-10-02 Thread Dave Methvin
                \$(#query).load(/mysite/thepage.pl, {thequery}, function(){ In this case the error is right. {thequery} is not a valid initializer for an object. Maybe you meant {data: thequery} or something like that? What is the name of the parameter that your Perl page expects to get from

[jQuery] Re: Menu Problem with IE6

2008-10-02 Thread David Meiser
Looking briefly at the code I don't see the necessary suckerfish javascript. The superfish js file only contains the code to extend the suckerfish script - you'll still need to include the original suckerfish javascript. On Thu, Oct 2, 2008 at 1:18 AM, tom2008 [EMAIL PROTECTED] wrote: Hi All,

[jQuery] Re: jQuery Form Plugin

2008-10-02 Thread Mike Alsup
Hmm, haven't tried it but I suppose you could do this: $('iframe[id^=jqFormIO']).attr('src','about:blank'); Mike On Oct 2, 8:56 am, André Cassal [EMAIL PROTECTED] wrote: Hey Folks, Can I cancel a connection during an upload? I'm using this form pluginhttp://www.malsup.com/jquery/form/and

[jQuery] Re: could someone Please Help...

2008-10-02 Thread steph33333
thank you your HELP!!! On Oct 2, 9:17 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi, 1/ set up your html: div id=myFixedContainer...this content will be replaced by the php script/div 2/ fix the css properties that will make it stay at the same screen position: div

[jQuery] Best Practices: Separating HTML from JavaScript

2008-10-02 Thread 703designs
I'm always looking for as loosely coupled a system as practical, and I have a question about separating HTML from JavaScript (using jQuery). What's the best way to apply a template, so to speak, to some JS method? I'm trying to create a button bar for a plugin, and it has to be loaded in

[jQuery] [Validate][simpleModal]Validation not working in simpleModal

2008-10-02 Thread Azam
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] TUTORIAL: How to create a stunning popup from scratch step by step

2008-10-02 Thread AdrianMG
Hi mates, i finished a new tutorial called How to create a stunning and smooth popup in jQuery from scratch on http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/ I hope you can use it for your personal projects and comment in the blog entry requesting new

[jQuery] Slide left

2008-10-02 Thread Hal Diggs
help... company wants to find a replacement for Infragistics WebSplitter component. I'm kinda new to jQuery and I see many demos if divs sliding up and down but nothing sliding left or roght. Is there a place in this huge project that I can find this functionality? Sorry, running short on time.

[jQuery] animate problem when using ems and ie

2008-10-02 Thread ThatSteveGuy
Has anyone had a problem animating the left position of an element when using em units in IE? It works fine in Firefox, but in IE it seems to reset my container to either it's original position or zero, not sure which, before running the animation. I would like to leave the units in ems if at all

[jQuery] Inserting new row in a table

2008-10-02 Thread TrailBlazer
Hi All I've very simple structure of page like div Word: input type=text id=txtWord value=/ Replacement: input type=text id=txtReplacement value= / input type=button text=Add id=btnAdd/ /div table id=#tblWords tr id=tr_1tdabcd/tdtdxyz/tdtda href=#Edit/a/ td/tr tr

[jQuery] Re: jQuery Leaderboard?

2008-10-02 Thread Brit Mansell
Anyone? On Sep 30, 6:01 am, bmzero [EMAIL PROTECTED] wrote: I'm trying to find a javascriptleaderboardscript. 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

[jQuery] div um zwei img erstellen

2008-10-02 Thread [EMAIL PROTECTED]
Hallo, ich habe ein array aus Bilder, das lese ich aus und zeige immer 2 davon aus. Jetzt möchte ich, dass immer um zwei img tags ein div tag steht, also divimg.../img...//div Dazu habe ich folgendes gemacht Schleife des arrays durchgehen: wenn i%2 $('#container').append('div style=height:

[jQuery] Re: looking for a slider

2008-10-02 Thread hcvitto
That's good but i need a couple features more. I looked at the options and i didn't find 1 - a step by step increment of the slider 2 - a way to move the slider with +/- buttons. I hope i'm not picky but i'm no javascript developer.. Any idea? Vitto On 2 Ott, 12:48, BB [EMAIL PROTECTED] wrote:

[jQuery] Re: jQuery Leaderboard?

2008-10-02 Thread David Meiser
I'm not quite sure what it is you're looking for, here. Are you looking for a rotating image like the one found here: *http://crosier.org/*? On Thu, Oct 2, 2008 at 10:46 AM, Brit Mansell [EMAIL PROTECTED] wrote: Anyone? On Sep 30, 6:01 am, bmzero [EMAIL PROTECTED] wrote: I'm trying to

[jQuery] Re: jQuery Leaderboard?

2008-10-02 Thread Joe
yeah what are you trying to accomplish? Not clear from the static image you posted. Cheers. Joe www.subprint.com On Oct 2, 9:53 am, David Meiser [EMAIL PROTECTED] wrote: I'm not quite sure what it is you're looking for, here.  Are you looking for a rotating image like the one found here:  

[jQuery] 'next' button to open next accordion panel

2008-10-02 Thread Slushbunny
I'm trying to include a next button in my accordion panels, but I'm not sure how to make it function. I have the panels sliding up and adding an active class fine when you click the panel headers, but I want to replicate this functionality on a next button also. Here's my page:

[jQuery] Need div collapser

2008-10-02 Thread Hal Diggs
help... company wants to find a replacement for Infragistics component. I'm kinda new to jQuery and I see many demos of divs collapsing up and down but nothing collapsing left or right. Is there a place in this huge project that I can find this functionality?

[jQuery] Browser interaction research

2008-10-02 Thread David D.
Hi everyone, I'm conducting research on behalf of the University of Toronto. We're trying to determine how developers and more advanced users interact with their browsers. Note that this is not paid research so I'm not gaining from it (other than a mark :-p). If you can spare 7-10 minutes of

[jQuery] Re: animate problem when using ems and ie

2008-10-02 Thread 703designs
Could you please post this page in full, or better, upload it and post the URL? Then we can test what's going on easily. I will say that animate seems a little buggy to me, so I wouldn't be surprised if you're right. On Oct 2, 10:42 am, ThatSteveGuy [EMAIL PROTECTED] wrote: Has anyone had a

[jQuery] Re: search and replace TD innards

2008-10-02 Thread matchoo
Thanks! Yes, I get confused sometimes on what $(this) really is sometimes. Here's the final code. Works great... PS this is for the TableSorter plugin, which hates commas: $(document).ready(function() { $(table).tablesorter({headers: { 3: { sorter: digit },4: { sorter: digit },5: {

[jQuery] Re: performance questions

2008-10-02 Thread chadmichael
The problem is that other images on the page are slowing the page. Is there some way to get the stars to precede the other images in rendering? On Oct 2, 5:56 am, Diego [EMAIL PROTECTED] wrote: What browser did this happen with? (IE I'd guess). The star rating plugin only uses 2 separate (and

[jQuery] Re: looking for a slider

2008-10-02 Thread ricardobeat
You could actually read the docs and try to implement what you need, those are simple modifications. cheers - ricardo On Oct 2, 11:50 am, hcvitto [EMAIL PROTECTED] wrote: That's good but i need a couple features more. I looked at the options and i didn't find 1 - a step by step increment of

[jQuery] [validate] Missing more accurate e-mail validation

2008-10-02 Thread alexanmtz
Hello, We develop a system with the validate plugin for all client side validation and I see that the email validation in the core of the plugin accept special characters like ç and /. I make a alternative validation for e-mail using the specification RFC 2822 strict -

[jQuery] Re: Bug with JQuery is?

2008-10-02 Thread Dave Methvin
http://docs.jquery.com/Traversing/is#expr If no element fits, or the expression is not valid, then the response will be 'false'. Note: Only simple expressions are supported. Complex expressions, such as those containing hierarchy selectors (such as +, ~, and ) will always return 'true'. filter

[jQuery] escape character problem

2008-10-02 Thread chadmichael
I use the following code to set a css background image style. Note, the last slash before the file name is a different kind of slash. This url works fine like this, but the problem is that this slash is dropped by the time it get's to the $('.clientBrowserThumb').slice(6,7).click(

[jQuery] Re: chained select - IE mobile/iphone/Opera Mobile

2008-10-02 Thread ricardobeat
Opera Mini, as it's name says, is not as complete as desktop browsers, it lacks support for a lot of javascript. Read this: http://dev.opera.com/articles/view/javascript-support-in-opera-mini-4/ - ricardo On Oct 1, 10:48 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I've been using

[jQuery] Re: escape character problem

2008-10-02 Thread Dave Methvin
A single backslash in a Javascript string will be processed by the Javascript interpreter before jQuery ever sees it. Try doubling up the backslash.

[jQuery] Re: sequential animation

2008-10-02 Thread ricardobeat
Use a callback function (executes after the animation is complete). Something like this ('this.parent' might not work inside the function): $(div, this.parent).animate({ height: 400 },function(){ $(.rightColumn, this.parent).children().fadeOut(); $(.rightColumn,

[jQuery] Re: can someone help?

2008-10-02 Thread ricardobeat
Firefox, IE7 and other nice browsers support this in CSS: #el { position:fixed; top: 100px; left: 100px; } - ricardo On Oct 2, 5:53 am, Flavio333 [EMAIL PROTECTED] wrote: Hello, I am a first time JQuery user, and was wondering how would I go about getting an element, say a php page

[jQuery] Re: jQuery Form Plugin

2008-10-02 Thread André Cassal
Hey Mike, thanks, it works. Don't you think we can have this feature built-in ? Something like $('form').ajaxForm('cancel') I don't know exactly where I can post this request Best, André On Oct 2, 10:20 am, Mike Alsup [EMAIL PROTECTED] wrote: Hmm, haven't tried it but I suppose you could do

[jQuery] random image load problem with cycle

2008-10-02 Thread erica g
I'm loving Cycle, but am experiencing some little blips that I'm not sure how to fix. I have 15-20 images in my slideshow, which I want to both load and cycle randomly. The slideshow is random, but the initial load is not. The same image always shows up first, then either a) almost immediately

[jQuery] Re: There must be a better way to write this

2008-10-02 Thread Pappa Bear
You could try something like this without the timers. It's a script I wrote for a sidebar, but it handles the fade no matter which direction you travel (was meant for an automated fade-to-next sidebar). I will have to check the nth-child to see if it would fit my own scenario if you feel it

[jQuery] Ajax Form submit.

2008-10-02 Thread null
Hi all, I´m using jquery to post some Form with Ajax, but it doesn´t send the name of the 'submit' button that was clicked. WIth normal form submission without AJAX, the browser always send the name and value of the submit button. My web framework, needs this parameters, to find out if the

[jQuery] Ajax form submit.

2008-10-02 Thread null
Hi all, I´m using jquery to post some Form with Ajax, but it doesn´t send the name of the 'submit' button that was clicked. WIth normal form submission without AJAX, the browser always send the name and value of the submit button. My web framework, needs this parameters, to find out if the

[jQuery] Re: Inserting new row in a table

2008-10-02 Thread Dave Methvin
$(#tblWrods tr:last).insertAfter(_html); 1) You spelled tblWords wrong. 2) The order is backwards. Try $(_html).insertAfter(#tblWords tr:last); or $(#tblWords tr:last).after(_html); instead.

[jQuery] if ($(event.target).is('a.edit')) with img

2008-10-02 Thread light-blue
Hopefully simple problem. I click an img link, html like this a class=edit-building href=/edit-building/145 img src=icons/edit.png/ /a jquery like this if ($(event.target).is('a.edit-building')) { var building = function (data) { ..do stuff } $.get(event.target, null, building);

[jQuery] hover question

2008-10-02 Thread Brad
This isn't so much about hover, but about the selectors I've had to use within its 'over' and 'out' functions. Consider the following. I'm working on a project where I'll have to repeat this pattern often. I'll hover over a table's tbody, but will need to affect rows or even specific row cells

[jQuery] Re: Ajax Form submit.

2008-10-02 Thread Mike Alsup
WIth normal form submission without AJAX, the browser always send the name and value of the submit button. My web framework, needs this parameters, to find out if the button was clicked, in order to call its listener method... It seens that the ${form}.serialize() doesn´t append the submit

[jQuery] Re: hover question

2008-10-02 Thread Leonardo K
$('tbody tr').hover(function () { $(this).addClass('hovered'); }, function () { $(this).removeClass('hovered'); }); On Thu, Oct 2, 2008 at 14:46, Brad [EMAIL PROTECTED] wrote: This isn't so much about hover, but about the selectors I've had to use within its 'over' and 'out'

[jQuery] Re: if ($(event.target).is('a.edit')) with img

2008-10-02 Thread Leonardo K
Why don't use the simple click function? $('a.edit-building').click(function(){ //do stuff return false; }); On Thu, Oct 2, 2008 at 14:43, light-blue [EMAIL PROTECTED] wrote: Hopefully simple problem. I click an img link, html like this a class=edit-building href=/edit-building/145

[jQuery] Trigger Dom Event

2008-10-02 Thread greenteam003
I'm having problems with jQuery events and event delegation. I've got a table with multiple rows and a click event registered on the tbody of that table. I'm trying to programmatically click a cell so that the event will bubble up to the tbody click event with the correct target. I've tried

[jQuery] Re: if ($(event.target).is('a.edit')) with img

2008-10-02 Thread light-blue
Hi Leonardo, I was thinking about that too, but I need to rebind that event handler after an Ajax call. The following works, but seems ugly. Any pointers? $(document).ready(function() { function bindBuilding() { $('a.edit-building').click(function(){ var building = function

[jQuery] jquery plugins demos?

2008-10-02 Thread JCQ
on the old jquery site, when one browsed plugins there was often a link to a page with a demo/example/docs. Now on the new jquery site, it seems like the plugins are just listed and when you click on them, you can pretty much only download the plugin. Whatever happened to all the demos and the

[jQuery] Slider within Tabs not working

2008-10-02 Thread Sara
I am trying to get a jquery slider (such as example #2 here http://dev.jquery.com/view/tags/ui/1.5b2/demos/ui.slider.html) to work within jquery tabs that I have created. I have 3 tabs, and the slider goes within the third tab. However, I cannot get the slider to work within the tab, since the

[jQuery] How can I to traverse a html doc starting at a form element to get an input element inside a div?

2008-10-02 Thread VictorM
Hello, I am new to JQuery and I am having problems to traverse a HTML document. What I want to accomplish is to get an input element with id = h that is inside a div. This input element is part of a FORM element. So far I have tried the following jqueries without success: 1. -

[jQuery] Re: div um zwei img erstellen

2008-10-02 Thread Neto Marin
Hey, what's the name of this list? jQuery English??? ... thanks Neto -- Antonio Marin Neto Sun Certified Programmer for Java 2 Platform 1.4 Blog: http://netomarin.blogspot.com Blog: http://weblogs.java.net/blog/netomarin/ GTalk: [EMAIL PROTECTED] Skype: netomarin On Fri, Oct 3, 2008 at 2:37

[jQuery] Re: jQuery Cycle Lite Plugin

2008-10-02 Thread Mike Alsup
Thanks for helping me out. I've added: script type=text/javascript src=jquery-1.2.6.min.js/script Still not working, can you please check? Regards, Sultan Arefin Hi Sultan, You need to change this line: $('#slideshow1').cycle(); to this: $(document).ready(function() {

[jQuery] Re: hover question

2008-10-02 Thread Brad
Leonardo, I should have shown some more code. In my original example, tbody is a reference to an jQuery object. I'm working with a page that has many tables. Each table can have many tbody elements. The number of rows in each tbody can vary, but in all case there is more than 1. Unfortunately

[jQuery] ANNOUNCE: jQuery listnav plugin

2008-10-02 Thread Jack Killpatrick
Hi All, Today we released our first jQuery plugin, which provides an easy way to add alphabet-based navigation to any UL or OL list. Here's a link to our announcement blog entry: http://blogs.ihwy.com/dev/post/jQuery-listnav-plugin-version-10-released.aspx And below is the info from the

[jQuery] Advanced JS/jQuery Question: RTEs

2008-10-02 Thread 703designs
Fundamentally, how do the editors like TinyMCE work? Every RTE implementation I've seen uses an iframe, and I have no idea what goes on after that. Anyone here know the answer to this?

[jQuery] List overload

2008-10-02 Thread Trans
I just want to point out that this list is so active that I simply can't keep up. I wonder if splitting the list into two or more lists based on some criteria would be advisable. Just a thought, trans.

[jQuery] Re: hover question

2008-10-02 Thread Leonardo K
Try this: $(tbody).find('tr').hover(function () { $(this).addClass('hovered'); }, function () { $(this).removeClass('hovered'); }); On Thu, Oct 2, 2008 at 16:39, Brad [EMAIL PROTECTED] wrote: Leonardo, I should have shown some more code. In my original example, tbody is a

[jQuery] Re: Advanced JS/jQuery Question: RTEs

2008-10-02 Thread Sam Sherlock
tiny mce makes an iframe (and other interface bits) to display content (sometimes from textareas) and makes it editable. in the dom there is contentEditable, which has all mannor of different quirks between browser due to implementation http://www.quirksmode.org/dom/execCommand/ tiny mce (other

[jQuery] Re: Bug with JQuery is?

2008-10-02 Thread Matt Kruse
On Oct 2, 11:42 am, Dave Methvin [EMAIL PROTECTED] wrote: http://docs.jquery.com/Traversing/is#expr If no element fits, or the expression is not valid, then the response will be 'false'. Note: Only simple expressions are supported. Complex expressions, such as those containing hierarchy

[jQuery] hover demo, with puppy

2008-10-02 Thread Jack Killpatrick
Hi All, I just tossed this up on our site. I created this for someone on this list a month or so ago (and for my own edification, to see how I'd do it): http://www.ihwy.com/labs/demos/Current/image-hover-menu.aspx We're building out the demo area of our site... will be tossing more things

[jQuery] strange resize error with $(body).height()

2008-10-02 Thread Robert Koberg
Hi, I have the following: var winH = $(body).height(); console.log(winH: , winH); console.log(css height: , $(body).css(height)); If I resize the browser, the values for both remain the same as the time the page was hit by the browser. No matter what resizing I do, the height

[jQuery] Re: hover question

2008-10-02 Thread Brad
Leonardo, I looked at my actual code again and wondered what would happen if I bound the hover at the end of the loop. Your recommendations partially work if I do that. Since each tbody can have a variable number of rows, my intent is to highlight all rows when hovered. Your examples only

[jQuery] Link elements in IE

2008-10-02 Thread shortStormTrooper
Creating new link elements and appending them to existing elements on the page does not seem to work in IE6 or 7. Suspect it may be any inline elements but haven't tested. Anyone see this behaviour?

[jQuery] jQuery Docs update - CSS methods

2008-10-02 Thread Karl Swedberg
Hi folks, Just wanted to let you all know that the docs have been updated to show methods added to core from the Dimensions plugin, including innerWidth, outerWidth (and height), position, scrollTop, and scrollLeft. You can find them listed at: http://docs.jquery.com/CSS Cheers, --Karl

  1   2   >