[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread mkmanning
That should read "..first-child of its parent,.." in the first sentence On Feb 12, 11:33 pm, mkmanning wrote: > Actually, Mark's use of 'first-child' is correct. ':first-child' is > used to indicate the the element is the first-child its parent, not > the parent element's first-child. The tr has

[jQuery] Re: Feature Detection Best Practice?

2009-02-12 Thread Klaus Hartl
That will not avoid IE's ClearType issue, since IE is supporting opacity and you still end up in the else branch. I think it's one of he rare cases where you need to do browser sniffing. I don't think there's a way to find out, if the ClearType issue is happening or not. --Klaus On 13 Feb., 0

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread mkmanning
Actually, Mark's use of 'first-child' is correct. ':first-child' is used to indicate the the element is the first-child its parent, not the parent element's first-child. The tr has a class of .ajax, and since it's prepended to the tbody, it is the first-child of the tbody, so the correct selector

[jQuery] Re: Feature Detection Best Practice?

2009-02-12 Thread RobG
On Feb 13, 1:30 pm, John Resig wrote: > That seems like a good use to me! I notice that when defining jQuery.support (around line 3012) a script element is added as a child of the HTML element. While modern browsers seem to tolerate that, it is invalid HTML. Is there any reason why it isn'

[jQuery] Re: Duplicating the last row of a table

2009-02-12 Thread Bruce MacKay
Thanks RobG - sorry about the layout - I didn't send it like it appeared. I didn't notice the missing tr tags and wouldn't have thought of the tbody + id solution. Cheers, Bruce At 06:48 p.m. 13/02/2009, you wrote: On Feb 13, 1:36 pm, Bruce MacKay wrote: > Hello folks, > > The code a

[jQuery] Re: Duplicating the last row of a table

2009-02-12 Thread RobG
On Feb 13, 1:36 pm, Bruce MacKay wrote: > Hello folks, > > The code and HTML below are from a quiz editor - I have an onClick > function that fires duplicateRow to add another question box onto the > end of the table. Posted code should be formatted to be as easily read and understood as possi

[jQuery] Re: JavaScript not executing from external html files from Ajax call into Div

2009-02-12 Thread socratesone
Can you post the code? On Feb 12, 4:55 pm, Alex wrote: > Hello, > > This is my first message and I am extremely new to jQuery. > > I am using Ajax to call external html pages into a div in my site.  I > have three external html forms which uses JavaScript and one .pl > file.  When I call these p

[jQuery] issues across different platforms

2009-02-12 Thread derekp...@gmail.com
I have some jquery code that works great in the windows version of firefox, but the mac version is wacky. to be more specific, here is my code: $(document).ready(function() { $('#dim').click(function() { $('#videoembed').css("z-index", ); $.blockUI({ message: null, overlayCSS:

[jQuery] Re: JavaScript not executing from external html files from Ajax call into Div

2009-02-12 Thread socratesone
Can you post the code? On Feb 12, 4:55 pm, Alex wrote: > Hello, > > This is my first message and I am extremely new to jQuery. > > I am using Ajax to call external html pages into a div in my site.  I > have three external html forms which uses JavaScript and one .pl > file.  When I call these p

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Ricardo Tomasi
Hi Rick, no problem, just checking :] I posted a mock-up of what could be done. Unfortunately it is not reliable, as word-wrapping ruins the column/character count. The 'expandable' plugin seems to have found a nice way to get around that. http://jsbin.com/ozocu/edit cheers, - ricardo , too. >

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread Shane
Thank you, James!! That did the trick. I guess the browser was just having a tough time with all those bindings. Here is what I ended up using: var link; $('table#target').click(function(e){ var targ = $(e.target); if(targ.is("table")){ return; }else if(targ.is("tr")){ link = ta

[jQuery] Duplicating the last row of a table

2009-02-12 Thread Bruce MacKay
Hello folks, The code and HTML below are from a quiz editor - I have an onClick function that fires duplicateRow to add another question box onto the end of the table. Firefox does what I expect to happen - it selects the last row. IE7 and Safari, on the other hand, appear to treat the a

[jQuery] Re: Feature Detection Best Practice?

2009-02-12 Thread John Resig
That seems like a good use to me! --John On Thu, Feb 12, 2009 at 10:21 PM, Chris wrote: > > I ventured into feature detection, and I want to make sure I'm doing > this the "right" way. Basically the fx on the jQuery UI tabs causes > aliasing in IE 6/7 (but not 8). Instead of checking for thos

[jQuery] Feature Detection Best Practice?

2009-02-12 Thread Chris
I ventured into feature detection, and I want to make sure I'm doing this the "right" way. Basically the fx on the jQuery UI tabs causes aliasing in IE 6/7 (but not 8). Instead of checking for those browsers the old way I thought this is the right way. if (!$.support.opacity) {

[jQuery] Re: Is A Child Of?

2009-02-12 Thread Ami
Thank you. It's was help me a lot. I am writing a small tooltip plugin, and I use it to now when the user click on an element inside the tooltip Thank you again. On 12 פברואר, 00:05, mkmanning wrote: > I just wrote this in response to this thread and haven't checked it > thoroughly (other tha

[jQuery] Re: Working with identical objects

2009-02-12 Thread ShurikAg
I don't believe that nobody have any suggestion...

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread James
That's probably because you're using the "first-child" of the , which is just the first . Maybe you intended to do: $(".ajax").slideDown('slow') ? I'm not sure of its effects for a tr though compared to a div. On Feb 12, 4:43 pm, Mark Steudel wrote: > I have a table that is setup with a tbody t

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread James
That's probably because you're using the "first-child" of the , which is just the first . Maybe you intended to do: $(".ajax").slideDown('slow') ? I'm not sure of its effects for a tr though compared to a div. On Feb 12, 4:43 pm, Mark Steudel wrote: > I have a table that is setup with a tbody t

[jQuery] Prepended row, slide-in, showing only first cell

2009-02-12 Thread Mark Steudel
I have a table that is setup with a tbody tag. If I run the following: $("#recent_activity tbody").prepend( 'Testing this func' ); I get a new row spanning 7 columns If I prepend this: $("#recent_activity tbody").prepend( 'Testing this func' ); Then try to show it, with something like: $(".aj

[jQuery] Re: Creating a reusable Cycle plugin powered slideshow

2009-02-12 Thread Mike Alsup
> I don't like adding classes and IDs unless it's absolutely necessary, > if you couldn't tell from my initial post. Thanks for the help and the > immediate response! Looks good!

[jQuery] Re: Creating a reusable Cycle plugin powered slideshow

2009-02-12 Thread Shane Riley
Actually, I had figured out a solution almost like what you've got here after your Twitter replies. Here's what I used to make it work: $(".slideshow ul").each(function() { e = $(this); p = $("p.controls", $(this).parent()); e.cycle(

[jQuery] Re: Looking for a certain JQuery Plug-in

2009-02-12 Thread expresso
Also the recommended plugin I have actually used before, but didn't know it could do that out of the box. It also has a nice rules engine to set rules up easily out of the box in that plugin. expresso wrote: > > I'm not only showing images. I'm also highlighting the textbox and also > wiring

[jQuery] Re: Looking for a certain JQuery Plug-in

2009-02-12 Thread expresso
I'm not only showing images. I'm also highlighting the textbox and also wiring this up to yet another hover. so I don't have a desire to code all that from scratch. roberthki...@tx.rr.com wrote: > > > You don't really need a plugin for this. Place the images next to each > form field and se

[jQuery] Re: Creating a reusable Cycle plugin powered slideshow

2009-02-12 Thread Mike Alsup
> $('.slideshow ul').each(function() { >     var $this = $(this); >     $this.cycle({ >         // ... >         prev: $(this).prev('p').find('a.prev'); >         next: $(this).prev('p').find('a.next'); >     }); > > }); Bah, too many parens. $('.slideshow ul').each(function() { var $this =

[jQuery] Re: Creating a reusable Cycle plugin powered slideshow

2009-02-12 Thread Mike Alsup
On Feb 12, 8:55 pm, Shane Riley wrote: > I've got a project where I've got two slideshows on one page, and > they're identical markup. Instead of adding IDs to each and making two > separate cycle references, I wanted to attach the next and previous > slide events on two specific links grouped w

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread James
Having so many table rows explains it. Try using event delegation. Rather than binding a click event to every single row, bind it once to the table, and delegate the actions to it's child rows. Here are some references to get you started: http://lab.distilldesign.com/event-delegation/ http://www.

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread Shane
More: Without filtering the results (pulling every entry from the DB), there are 4550+- entries. I'm wondering if it would just be better to write onClick events for individual row and bypass jQuery altogether here.

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread Shane
One more thing: It begins the timeout/loop condition whenever I try to leave the page. So, whenever I click a row (utilizing jQuery) OR whenever I just click a menu link (or even just refreshing the page), it locks up. I also looked at the resulting html for the page and it's MASSIVE. Exactly 18,

[jQuery] Creating a reusable Cycle plugin powered slideshow

2009-02-12 Thread Shane Riley
I've got a project where I've got two slideshows on one page, and they're identical markup. Instead of adding IDs to each and making two separate cycle references, I wanted to attach the next and previous slide events on two specific links grouped with the slideshow container. I'm wondering either

[jQuery] Re: Using JQuery instead of the Java applet for a web cam. Ideas? Suggestions?

2009-02-12 Thread Danny
Changing the image source is the simplest "Ajax"y thing to do, just $ ('#webcamimage').attr('src', 'http://example.com/cam.jpg'). If the filename is always the same, the browser will use the version of the image from cache, which is not what you want. Add a query string to change the filename: $(

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Charlie Griefer
$(function() { $('#myTextarea').expandable(); }); On Thu, Feb 12, 2009 at 4:03 PM, Rick Faircloth wrote: > Hey, Karl! > > > > Would you happen to have a syntax example of Brandon's plugin? > > There are no example uses that I saw on the jQuery plugin site > > or Brandon's github location.

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Rick Faircloth
Hey, Karl! Would you happen to have a syntax example of Brandon's plugin? There are no example uses that I saw on the jQuery plugin site or Brandon's github location. Or anyone else? Brandon? Thanks, Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Charlie Griefer
just worked fine for me in chrome. also, it's not brandon's link. the site that's hosting the code is github. in either case... it works fine. feel free to grab it from http://charlie.griefer.com/brandonaaron-jquery-expandable.zip On Thu, Feb 12, 2009 at 3:42 PM, Rick Faircloth wrote: > Brand

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Rick Faircloth
Brandon's download link doesn't work. I just copied the text of the file, but now I've got to take the single line and format it. Hey, Brandon! Check your download link! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Karl Swedberg Sent: Thu

[jQuery] Re: JavaScript not executing from external html files from Ajax call into Div

2009-02-12 Thread mumbojumbo
I'm having a similar problem, I have div that gets data from external pages of my site, and I want to use jquery to do a smooth scroll (http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html) but It won't apply.. any ideas? On Feb 12, 4:55 pm, Alex wrote: > Hello, > > This is my first me

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-12 Thread tres
I've created a lightbox plugin called Darkbox. If it's more for content, I also have a Window plugin for dialog windows that might fit the bill. There are many plugins in the jQuery plugin repository in this area. Perhaps you could elaborate on your situation. -Trey On Feb 12, 8:39 pm, WC wro

[jQuery] Re: cant get jquery to work

2009-02-12 Thread Rick Faircloth
I didn't see the other replies before I made mine. I actually scrolled down through my unread email trying to find responses so I wouldn't be responding as others have! (Just another reason why I *hate* the way this mailing list always separates the OP from the responses...the *only* one I've eve

[jQuery] Re: Finding the last sibling.

2009-02-12 Thread tres
I don't think the cat has any skin left. Or does it? -Trey On Feb 13, 3:14 am, mkmanning wrote: > If the input doesn't exist, then wouldn't nothing be returned with $ > ('input').parent().children(':last')  either? It seems to presume the > existence of the input :) > > Maybe you meant if the

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-12 Thread tres
After installing IE6, I didn't have any problems. It works just like it should. I have noticed differences in the multiple IEs and the actual IE, but those differences we're only when viewing the About Internet Explorer in the Help menu and when printing. Are you using ie6 in a VM, in it's origin

[jQuery] Re: cant get jquery to work

2009-02-12 Thread James
Do we really need 3 people to tell pretty much the same thing? :p On Feb 12, 1:06 pm, "Rick Faircloth" wrote: > Hi, D... > > What tutorial are you working on? > > Do you have your code on a server where it can be viewed? > Or at least post your code here so we can view it? > > Rick > > > -Or

[jQuery] Re: cant get jquery to work

2009-02-12 Thread Rick Faircloth
Hi, D... What tutorial are you working on? Do you have your code on a server where it can be viewed? Or at least post your code here so we can view it? Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of DHall > Sent: Thursda

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread James
Yes, please post more on it. The only thing I can think of relating to that code is if you have tons of 's and it's binding a click element on every one of them. On Feb 12, 12:44 pm, Ricardo Tomasi wrote: > Any other scripts on the page? What does the HTML looks like? > > Try putting a complete

[jQuery] Re: processing all links on page with jquery

2009-02-12 Thread James
Add a "return false;" at the end. $(document).ready(function() { $("a.rate").click(function () { // do your stuff return false; }); }); On Feb 12, 12:56 pm, introvert wrote: > This works great. > One more thing: when I click a link with onclick event it will first > preform javascrip

[jQuery] Re: Simultaneous or serial execution of commands within a function?

2009-02-12 Thread James
The second line will not wait for the first line to finish fading. To have the second line execute after the fade, you put it in the callback of fadeTo(). $(this).parent().parent().siblings().stop().fadeTo('slow',0.3, function () { $('.popdir').hide('fast'); }); On Feb 12, 11:10 am, "Rodri

[jQuery] Re: processing all links on page with jquery

2009-02-12 Thread introvert
This works great. One more thing: when I click a link with onclick event it will first preform javascript action and then go to the url. How do I prevent the second step - disable the link so that it wouldn't go to that url after the click? (in current situation using ajax has no benefit). Thanks

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-12 Thread tres
I'll install multiple IE's and get back to you. -Trey On Feb 12, 7:05 pm, mofle wrote: > Thanks, you're a genius. > > But it didn't work in IE6, where I need it. > > Any solution? > > On Feb 12, 12:32 am, tres wrote: > > > Oh and also Safari 3.1.2 Windows. > > > -Trey

[jQuery] Re: Browser locking up -- please help!

2009-02-12 Thread Ricardo Tomasi
Any other scripts on the page? What does the HTML looks like? Try putting a complete version at jsbin.com exhibiting the lock-up, nothing looks wrong in the code you posted. cheers, - ricardo On Feb 12, 3:25 pm, Shane wrote: > Thanks for Viewing, > > I have one page that locks up all browsers

[jQuery] Using JCarousel Lite, problem with rendering page...

2009-02-12 Thread MikeTheVike
I'm using JCarousel Lite for a rotating news box. It's working fine and is great. I've noticed that in Firefox when I refresh the page or go to it the first time, the footer below displays fine. But if I browse to another page, and then click the back button, the page will load, but the content be

[jQuery] Slide on Mouseover

2009-02-12 Thread FredJones
I have a which is very wide and it's inside of a which is somewhat thin and has overflow:hidden--I use this as a like a viewport to just show part of the wide div. I have a left and a right arrow and what I want is that when the user puts the mouse on the arrow, then the inner div will slide in

[jQuery] JavaScript not executing from external html files from Ajax call into Div

2009-02-12 Thread Alex
Hello, This is my first message and I am extremely new to jQuery. I am using Ajax to call external html pages into a div in my site. I have three external html forms which uses JavaScript and one .pl file. When I call these pages, the html pages are being rendered correctly but the JavaScript

[jQuery] Re: Book-like UI for jQuery?

2009-02-12 Thread option8
i'm working on something like that myself. i initially tried to get a more complex one working using canvas, but the IE support for canvas is too limited to do all the fun masking and rotating i have working in safari and ff. anyhoo, what i came up with is still very much in progress, but you can

[jQuery] [validate] at least one of four fields

2009-02-12 Thread Mark King
I have a form with four text fields where one must be completed - then each has their own validation rules (so if a field is not blank it must validate, but it can be blank as long as at least one other is completed). How can I code this using the validate plugin?

[jQuery] Simultaneous or serial execution of commands within a function?

2009-02-12 Thread Rodrigo C.
A pretty basic question, if I have this construct: $('#img').hover( function() { $(this).parent().parent().siblings().stop().fadeTo('slow',0.3); $('.popdir').hide('fast'); $('.popdir', $(this).parent().parent()).show(500); } ) will

[jQuery] Can’t Submit Form With Simple Validation

2009-02-12 Thread ski081
I am trying to do some simple validation (make sure fields are filled out) before submitting. I am not trying to run any AJAX validation prior to submission. Before I added beforeSubmit to the options of the ajaxform() method, the form would submit and my controller code would run fine. Once I add

[jQuery] Re: Using JQuery instead of the Java applet for a web cam. Ideas? Suggestions?

2009-02-12 Thread James
You can use Javascript's setInterval function to constantly do a check to update an image source. How does the filename look like? Is it predictable? On Feb 12, 12:15 pm, lampshade wrote: > Hello, > > I was given a web cam to use, but unfortunately it pulls the image > into a page via an applet.

[jQuery] Re: 1.3.1 Bogs down on table parsing

2009-02-12 Thread zenbaida
Thanks for the reply. I will try it and let you know how it goes. On Feb 12, 2:02 pm, James wrote: > Try looking into using Event Delegation for managing your events. This > means, instead of attaching events to a specific elements (thus, many > attachments and more processing time), you're atta

[jQuery] Re: How to customize messages [validate]

2009-02-12 Thread Jörn Zaefferer
Try this: $("#clientstreet").rules("add", { required: true, minlength: 2, messages: { required: "To pole jest wymagane.", minlength: "blablabla" } }); etc. Jörn On Thu, Feb 12, 2009 at 10:22 PM, koszu wrote: > > I use the following expression to add validation rules: > > $("#clien

[jQuery] Re: processing all links on page with jquery

2009-02-12 Thread James
$(this) will refer to the one that was clicked on. $(document).ready(function() { $("a.rate").click(function () { alert($(this).attr('href')); }); }); On Feb 12, 12:20 pm, introvert wrote: > But in this case how can I read url (a href) from the a tag for each? > > On Feb 12, 11:17 pm, Ja

[jQuery] Re: processing all links on page with jquery

2009-02-12 Thread introvert
But in this case how can I read url (a href) from the a tag for each? On Feb 12, 11:17 pm, James wrote: > Personally, it's easier to use just a class. It will account for all > with class "rate". > > > $(document).ready(function() { >  $("a.rate").click(function () { //ajax call });}); > > >

[jQuery] Re: sort two fields

2009-02-12 Thread Gellpak
Ok, so I solved my first problem- searching two strings at the same time, using the following code: $(function(){ var data = [ {symbol:'APP', name:'Merrill Lynch & Co Inc', url:'snapshot.php'}, {symbol:'AAPL', name:'Apple Inc', url: 'snapshot.php'}

[jQuery] Re: processing all links on page with jquery

2009-02-12 Thread James
Personally, it's easier to use just a class. It will account for all with class "rate". $(document).ready(function() { $("a.rate").click(function () { //ajax call }); }); rate up rate up On Feb 12, 12:08 pm, introvert wrote: > Hello. > > I'm working on a simple thumbs up/down functionality

[jQuery] Using JQuery instead of the Java applet for a web cam. Ideas? Suggestions?

2009-02-12 Thread lampshade
Hello, I was given a web cam to use, but unfortunately it pulls the image into a page via an applet. The applet kills the page load time turning it into a 5-6 second wait. In addition to the Java applet, the camera will FTP an image to a single filename every X seconds. I'm wondering if I can

[jQuery] Re: Status Codes => docs

2009-02-12 Thread Tim Johnson
On Thursday 12 February 2009, Mike Alsup wrote: > > Textual status is fine. > > Where is documentation on status strings? > > Thanks > > Tim > > When the 'success' handler is invoked the textual status is always > "success" (unless you're using the ifModified option). > > When the 'error' handler

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-12 Thread Rick Faircloth
I didn't get your message, Ricardo.sorry! Could you resend? And I'll check out Brandon's solution, too. Thanks, Karl Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Karl Swedberg Sent: Thursday, February 12, 2009 1:05 PM To: jquery-en@goog

[jQuery] processing all links on page with jquery

2009-02-12 Thread introvert
Hello. I'm working on a simple thumbs up/down functionality with javascript (jquery). I have list of entries which can be rated up or down and this has to be done with ajax. I came to a design consideration problem as I dont have many experience with javascript programming: How should I process

[jQuery] Re: Getting data from the corresponding column. (HTML Table with thead and tbody section.)

2009-02-12 Thread mkmanning
Here's one way: $(document).ready(function() { $("tbody td").click(function(e) { var index = $(this).parent().children().index(this); alert( $(this).parents('tbody').prev().find('tr').children(':eq ('+index+')').text() ); }); $("tbody tr:odd"

[jQuery] Re: cluetip ajax issue/question

2009-02-12 Thread Karl Swedberg
Glad you like the plugin. Not sure why you're getting the blank page, etc., but you can easily override the ajaxProcess option. To do it globally for all your calls to .cluetip(), do this: $.fn.cluetip.defaults.ajaxProcess = function(data) { //do something else with the data if you want. r

[jQuery] Re: Getting data from the corresponding column. (HTML Table with thead and tbody section.)

2009-02-12 Thread mkmanning
Hmm, the group went offline seconds after I posted; I swear it wasn't my fault :P, so sorry if this appears twice; Try this: $(document).ready(function() { $("tbody td").click(function(e) { var index = $(this).parent().children().index(this); alert( $(this

[jQuery] Re: incomplete data receive with POST method

2009-02-12 Thread James
Please post to the group instead of emailing directly to me. You'll probably have a better response. Thanks. You're right about that. I didn't realize it was POST. Try using: data: {book:list}, instead and see if it works. rocky wrote: thanks james for reply i know

[jQuery] How to customize messages [validate]

2009-02-12 Thread koszu
I use the following expression to add validation rules: $("#clientstreet").rules("add", { required: true, minlength: 2 }); $("#clientnumberl").rules("add", { required: true }); $("#clientpostcode").rules("add", { required: true, rangelength: [5,5] }); And following expression to cu

[jQuery] Re: how to fade in image after the site loads?

2009-02-12 Thread Ricardo Tomasi
The 'load' event doesn't fire in Internet Explorer if the image is cached, maybe that's why. $('#photo img').bind('load readystatechange', function(e) { if (this.complete || this.readyState == 'complete' && e.type = 'readystatechange') { $('.pic').fadeIn(); $('div.position').fadeOut();

[jQuery] Form fields dependencies with jquery

2009-02-12 Thread koszu
In my form I have two input fields: First of them is to input 11-digits personal identification number (pesel), for example: 79041702339 Interested form me are first 6 digits, it's the day birth (in this example 17th april 1979). The idea of the script is to exclude the age of the person fro

[jQuery] Re: Status Codes => docs

2009-02-12 Thread Mike Alsup
> Textual status is fine. > Where is documentation on status strings? > Thanks > Tim When the 'success' handler is invoked the textual status is always "success" (unless you're using the ifModified option). When the 'error' handler is invoked the textual status may be "error", "parsererror", or

[jQuery] Re: cant get jquery to work

2009-02-12 Thread Michael Lawson
What are you trying to do exactly, then maybe I can help? cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make se

[jQuery] Re: toggle question

2009-02-12 Thread Frederik Ring
How do you select the items to toggle and how are the Maxi & Mini - images arranged in the HTML. If you have 2 things toggling at the same time it looks like you are doing somehting wrong with the selection. On Feb 12, 10:00 pm, Alain Roger wrote: > Hi, > > I would like to simulate the maximize/

[jQuery] Re: 1.3.1 Bogs down on table parsing

2009-02-12 Thread James
Try looking into using Event Delegation for managing your events. This means, instead of attaching events to a specific elements (thus, many attachments and more processing time), you're attaching just a single event to the parent element and take actions for the children's events. Here are some l

[jQuery] toggle question

2009-02-12 Thread Alain Roger
Hi, I would like to simulate the maximize/minimize window effect. So i created an image Maxi and an image Mini. maxi is displayed by default. When user click on this image, a div should be displayed (no problem for that point) and the Mini image should be displayed instead of Maxi. for sure, if us

[jQuery] Re: cant get jquery to work

2009-02-12 Thread James
Yes, somebody can help. But you're going to have to post your code for us to help. On Feb 12, 9:51 am, DHall wrote: > i cant even get the example tutorialson the jquery website to work > when i try to use it can somebody help?

[jQuery] cant get jquery to work

2009-02-12 Thread DHall
i cant even get the example tutorialson the jquery website to work when i try to use it can somebody help?

[jQuery] Superfish - Super Subs

2009-02-12 Thread Merrick Christensen
I am struggling with the width on my Superfish menu. I reduced the min width and it seems that it still is much longer then needed. My primary struggle is that if someone rolls over the far right link "events/press" the drop down causes the bottom scrollbar to show up in a 1024 layout. If anyone k

[jQuery] 1.3.1 Bogs down on table parsing

2009-02-12 Thread zenbaida
I have a table that I am parsing with jQuery. The table is used to show data related to various objects. It alternates between a row with applicable data, and a hidden row that contains other details. The main body of the table is built with multiple html blocks like so:

[jQuery] New Plugin--Requesting Testers and Feedback

2009-02-12 Thread Dave
http://www.ravenflight.net/projects/page-transistion/ This is my first plugin and my first time posting here so I don't know what information people typically provide with this stuff but this is pretty simple. You just pass it the page name and a duration and it loads it via AJAX. Let me know w

[jQuery] Re: jquery doesn't work, when loaded with ajax

2009-02-12 Thread s4crifi...@gmail.com
if i load it on site load, and then dynamically add a form, javascript functions don't work on that form. basicaly, i need to reload it after form load, so the form inherits JS functions

[jQuery] Re: cluetip ajax issue/question

2009-02-12 Thread James
I don't think it would help much, but try removing the comma (,) after: mouseOutClose : true, Maybe that might fix some things. On Feb 12, 7:26 am, "brian.tully" wrote: > First off I really love the cluetip plugin. It works great when using > it for inline content. However, I'm currently having

[jQuery] Re: Jquery Validaiton plugin

2009-02-12 Thread James
- Is the debug option set to true? - Does the form submit without validation set? On Feb 12, 8:05 am, deem wrote: > Hello, > thanks for this great plugin. I try i use it however the valiation is > working fine but the form is not submited > can you please help me on that > thanks

[jQuery] Re: New to JQuery, silly question.

2009-02-12 Thread Ricardo Tomasi
li:last and li.last are not the same element. li.last is the element, while li:last is giving you the *last* LI in the collection of *all* the LI's descending from ".leftNav ul" - that is the HAX element. Enforcing the child relationship should give you the expected results: $(".leftNav .menu

[jQuery] Newbie & Frames

2009-02-12 Thread Roger Varley
Hi I am new to Jquery and I've got a problem. I'm working on a very old site that uses deeply nested . I want to dynamically change the size of, and animate, some of the frames based on (a) setup time and (b) user interaction. I've googled and most of the responses that I've seen are about

[jQuery] Re: jQuery not loading?

2009-02-12 Thread Wendy
Thanks a million - that did the trick, in that the images are not in a column now, apparently, and just one displays - but the fade/zoom aspect is not functioning (for this person) so that photos are not sequencing. She says JS is active. Not sure where to go with this now - is there something pre

[jQuery] Re: onClick event on content loaded by ajax

2009-02-12 Thread Frederik Ring
If I get you right you have to put your function into the callback part of your $(this).load(that); via $(this).load(url, {},myCallbackFunction()); The callback-function will be executed when the ajax-call has been completed and should do what you are asking for. On Feb 12, 7:28 pm, oli wrote: >

[jQuery] Re: Status Codes => docs

2009-02-12 Thread Tim Johnson
On Thursday 12 February 2009, Mike Alsup wrote: > >  Sorry. > >  To clarify, I wanted ed to know if numerical statuses via the w3 > > protocol or text strings were being returned. I just did my first > > successful ajax call using jquery and the status returned in the callback > > was "success", n

[jQuery] Re: Status Codes => docs

2009-02-12 Thread Mike Alsup
>  Sorry. >  To clarify, I wanted ed to know if numerical statuses via the w3 protocol >  or text strings were being returned. I just did my first successful ajax >  call using jquery and the status returned in the callback was "success", not > 200. > >  I hope the question is clearer now. >  than

[jQuery] Re: jquery doesn't work, when loaded with ajax

2009-02-12 Thread Matt Brown
Shouldn't you put the tags in the header of the page? Why do you only want to load the jQuery library when the form is loaded? On Feb 11, 11:16 pm, "s4crifi...@gmail.com" wrote: > Hello. > > I'm building a wab page with ajax. Well, everything was fine, before i > needed t

[jQuery] Jquery Validaiton plugin

2009-02-12 Thread deem
Hello, thanks for this great plugin. I try i use it however the valiation is working fine but the form is not submited can you please help me on that thanks

[jQuery] Re: Looking for a certain JQuery Plug-in

2009-02-12 Thread roberthki...@tx.rr.com
You don't really need a plugin for this. Place the images next to each form field and set them to invisble via css. Then, in your validation logic, change them to visible if a field fails. On Feb 11, 9:36 pm, expresso wrote: > I'm looking for a JQuery Validation control that will allow us to sho

[jQuery] cluetip ajax issue/question

2009-02-12 Thread brian.tully
First off I really love the cluetip plugin. It works great when using it for inline content. However, I'm currently having an issue when using its ajax loading of external page content. Basically, I have some legacy content that opens up a page in a popup window. The page has its own css, javascri

[jQuery] Browser locking up -- please help!

2009-02-12 Thread Shane
Thanks for Viewing, I have one page that locks up all browsers except Mac/Safari. It was more complex, but I whittled the jQuery code down to the bare essentials. Even though it's super-simple now, it still hangs for 15 seconds (FireFox is completely non-responsive during this) and ends with a sc

[jQuery] onClick event on content loaded by ajax

2009-02-12 Thread oli
Hi there, I couldn't find any solutions for my problem, so I'm asking here. I have a form that was previously loaded by ajax and which I want to submit also with ajax. unfortunately, the jQuery(document).ready function has been executet before the form was loaded, and so the event handler onClic

[jQuery] Re: Get contents of first child tr, td with class

2009-02-12 Thread Mark Steudel
Thanks, though that didn't work for me, though it could be more my page doesn't match my example totally. Though I did just come up with this, and this seems to work: $('.activity_date:first').html() ; On Feb 12, 11:21 am, James wrote: > $("#recent_activity tbody tr td.date:first").text(); >

[jQuery] Re: Get contents of first child tr, td with class

2009-02-12 Thread James
$("#recent_activity tbody tr td.date:first").text(); On Feb 12, 9:13 am, Mark Steudel wrote: > I have a table like so: > > > > > t1 > t2 > > > > > value > 2008-09-01 <--- want this content > > > value > 2008-09-01 > > > > > And I want to try and get the first td with class date, I've

[jQuery] Get contents of first child tr, td with class

2009-02-12 Thread Mark Steudel
I have a table like so: t1 t2 value 2008-09-01 <--- want this content value 2008-09-01 And I want to try and get the first td with class date, I've tried the following and I get close, but I think I'm just missing something easy: $('#recent_activity tbody:first-child .activity_date'

  1   2   >