[jQuery] Re: firefox error NS_ERROR_XPC_JS_THREW_STRING with ajax form submission

2008-07-04 Thread Josh Nathanson
Error: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" Usually you get this error when you are trying to do an ajax call to a different domain than the calling template is on. That's a no-no. There are ways arou

[jQuery] Re: Navigate away after ajax call?

2008-07-03 Thread Josh Nathanson
It works because it's asynchronous. The $.get call is fired, and then the script continues along its merry way, without waiting for the return of the $.get call. -- Josh - Original Message - From: "wsw" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, July 03, 2008 11:1

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-06-30 Thread Josh Nathanson
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it would be the way to go for now. Maybe in the next jQuery version they could add a key "internalTrigger" or something like that to the event object when the trigger method is run. -- Josh - Original Message -

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Josh Nathanson
Would this work as well? $("tr:not(:first):not(:last)").hover(function() { //etc. Not as performant as the other ones, but expresses the intent clearly. -- Josh - Original Message - From: "Karl Swedberg" <[EMAIL PROTECTED]> To: Sent: Thursday, June 26, 2008 11:15 AM Subject: [jQue

[jQuery] Re: [validate] Validation Plugin issue when using TinyMCE

2008-06-24 Thread Josh Nathanson
I think maybe you want element.is("textarea") (no colon) Otherwise that part of the conditional will never fire. -- Josh - Original Message - From: "shapper" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, June 24, 2008 4:23 PM Subject: [jQuery] Re: [validate] Validation

[jQuery] Re: Why do i keep getting: test is not defined!

2008-06-19 Thread Josh Nathanson
Thanx for the fast reply! I just now found why it was not working.. With this it works: click with this not (will give the freaking error): click Now why is this not working with a href? I have just no clue. On Fri, Jun 20, 2008 at 1:08 AM, Josh Nathanson <[EMAIL PROTECTED]> wrote: Y

[jQuery] Re: Why do i keep getting: test is not defined!

2008-06-19 Thread Josh Nathanson
Your function is fine, however when you *call* the function removeItem, you'll need to pass in two arguments -- otherwise obj will be undefined: removeItem('myitem'); // obj is undefined removeItem('myitem', myobject); // obj is defined -- Josh - Original Message - From: "Mark" <[E

[jQuery] Re: .load() post issues

2008-06-19 Thread Josh Nathanson
Ferric - I believe (though I'm not totally sure) that .load uses a "get" rather than a "post". Try doing "url.albumID" rather than "form.albumID" in your ColdFusion code and see how that works. -- Josh - Original Message - From: "ferric84" <[EMAIL PROTECTED]> To: "jQuery (English)

[jQuery] Re: Quick question about dimensions

2008-06-18 Thread Josh Nathanson
The offset() method is only gettable, not settable. You might need to do something like this: $("#insertLink").click(function(){ var offset = $(this).offset(); $("#insertDiv").css({ top: offset.top, left: offset.left }).toggle(); }); -- Josh - Original Message - From: "eric" <[

[jQuery] Re: Basic newbie question - ''Object doesn't support this property or method"

2008-06-18 Thread Josh Nathanson
$('span').addclass('red'); "addClass" has to be camel case - javascript is case-sensitive. -- Josh - Original Message - From: "weegekid" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, June 18, 2008 7:48 AM Subject: [jQuery] Basic newbie question - ''Object doesn't sup

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-18 Thread Josh Nathanson
Very nice! One small issue...if I click in the main part of the dropdown, rather than on the down arrow, I can't select any options with the mouse. This is a little different than a native select control, where you can click anywhere on it. -- Josh - Original Message - From: "

[jQuery] Re: SproutCore vs jQuery? Are there any comparisons out there?

2008-06-17 Thread Josh Nathanson
On the SproutCore site, it talks about it being a complete MVC type framework. This is a different approach than jQuery. It reminded me a bit of Spry. The SproutCore guy did a presentation at the SF Javascript Meetup a couple of months ago, and it sounded pretty interesting. -- Josh ---

[jQuery] Re: Memory Leak?

2008-06-12 Thread Josh Nathanson
Yup, sounds like you have a memory leak all right. Here's the quintessential article: http://www.crockford.com/javascript/memory/leak.html That'll get you started diagnosing the problem. -- Josh - Original Message - From: "Howie" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Th

[jQuery] Re: jQuery.each() or element event triggers?

2008-06-11 Thread Josh Nathanson
You are sacrificing a small bit of performance for a world of easier code development and maintenance. In nearly all cases it's a worthwhile trade. If you had 1000 or more divs you'd probably not want to use each() to bind the handlers, but for any reasonably small number of elements, the perfo

[jQuery] Re: How do I... select box onclick enable other form elements?

2008-06-09 Thread Josh Nathanson
That makes sense, though the code is needed a second time elsewhere and I think will require an 'if'. The fields are filled from the database so the other options can be selected. PHP checks whether they should be disabled or not at first but I need this disabled/enabled behaviour. Am I correct

[jQuery] Re: How do I... select box onclick enable other form elements?

2008-06-09 Thread Josh Nathanson
Oh... I need to add an 'if' statement to it (at least that's how my mind works after years with PHP!), something like this? I don't think you'll need that, if I'm understanding your use case correctly. When this.value is evaluated, it automatically uses the selected option to determine th

[jQuery] Re: [OT] Re: [jQuery] Re: anti IE6

2008-06-09 Thread Josh Nathanson
Any kind of public facing site has to support IE6, especially if it's ecommerce. It's not acceptable to tell potential customers to go download another web browser. Most people will just go shop somewhere else, and probably never come back. Nothing leaves a bad taste in people's mouths like

[jQuery] Re: How do I... select box onclick enable other form elements?

2008-06-09 Thread Josh Nathanson
You want the "change" event...give this a go. $("#question").change(function() { $("#box2, #autocomplete").attr("disabled", this.value == 'no'); }); -- Josh - Original Message - From: "Hinch" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Monday, June 09, 2008 12:10 PM Subject

[jQuery] Re: Trying to write a MacFF2 Transparency Fix - Need help with .version

2008-06-05 Thread Josh Nathanson
You need that dollar sign, a la if ($.browser.mozilla && $.browser.version < 3.0) -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, June 05, 2008 2:38 PM Subject: [jQuery] Trying to write a MacFF2 Transparency Fix - Need help with .versio

[jQuery] Re: jqModal question

2008-06-04 Thread Josh Nathanson
Adam - you have to bind the "jqmClose" class in the onLoad callback. Otherwise, the links are not there to be bound yet. So you might have something like this: $("#modaldiv").jqm({ trigger: 'a.modal_link', ajax: '@href', onLoad: function() { $(this).jqmAddClose(".jqmCl

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Josh Nathanson
Great job on this release guys. I also noticed when developing a plugin that it seems the memory management in IE6 is greatly improved. I accidentally was using 1.2.1 while trying to cut memory leaks in IE6, and when I switched to 1.2.6 the memory leaks on IE6 were gone. I'm not sure if it

[jQuery] Re: New Plugin: Magnify

2008-05-31 Thread Josh Nathanson
LIke it too :) Did you see it under safari mac ? it works but the magnified div position is not as i firefox The Safari/Mac issue is fixed now, please grab the latest version 1.0.1 for this fix. -- Josh

[jQuery] Re: jquery.magnify by Josh

2008-05-31 Thread Josh Nathanson
n and it works like it should work YOUR a Genius. THX i've sended you a lot of eMails maybe you can reply me here or by email On 30 Mai, 23:29, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: Trend-King, 2.http://www.drum-factory.de/Drums/Schlagzeugwagen/Anbauteile/Tom-Tom-W..

[jQuery] Re: jquery.magnify by Josh

2008-05-30 Thread Josh Nathanson
Trend-King, 2. http://www.drum-factory.de/Drums/Schlagzeugwagen/Anbauteile/Tom-Tom-Winkel::34.html here we have 2 magnify the first work, the second won’t work, I think because of the #bild2 display:none; property if I chance the display property to block by css both work, but if I chance the

[jQuery] Re: jquery.magnify by Josh

2008-05-30 Thread Josh Nathanson
Trend-King, I've noted your comments here and off-list. I just released the first version a couple of hours ago, so I don't know if it's production-ready yet, and I'm at my day job so I can't get much else done on it today. Keep hacking away at it and let me know how it goes. -- Josh ---

[jQuery] [ANNOUNCE] New Plugin: Magnify

2008-05-30 Thread Josh Nathanson
Hey all, Got a new plugin for folks to check out - it allows you to create an image "magnifier" like those you see on a lot of e-commerce sites. Here's the link: http://tinyurl.com/6kwzf9 Features include: - Set show event to mouseover or click - Allows preloading of larger image, or not i

[jQuery] Re: Similar plugin on jQuery

2008-05-29 Thread Josh Nathanson
Hang tight, I am coming out with a magnifier plugin in the next couple of days. It won't have the dragging stuff, but you'll be able to magnify a portion of an image. And it will have the ability to dynamically load the large image if desired. -- Josh - Original Message - From:

[jQuery] Re: Help learning...

2008-05-27 Thread Josh Nathanson
g any erros but indicates the script is running but the lower left hand corner saying done. I do get asked if I want to run a active x object and I clicked yes. I don't know what's really wrong I spent over 4 weeks on just trying to get this to work. On May 27, 7:05 pm, "Josh Nat

[jQuery] Re: Help learning...

2008-05-27 Thread Josh Nathanson
m On May 27, 2008, at 4:05 PM, Aaron wrote: Here is the exact code exactly copied and pasted from my file to here: $("document").ready(function() { $("#image").hover( function () { $("li:hidden:first").fadeIn("slow")); }, function

[jQuery] Re: Display loading image while alternate image loads.

2008-05-27 Thread Josh Nathanson
Hi Andy, In regards to whether the file exists...I know you're using ColdFusion, is it possible to use the CF function FileExists in your CF code to determine if the jpg exists, and then maybe disable that option, or not show it at all? That way it would degrade gracefully. -- Josh - Or

[jQuery] Re: how to change the value of a hidden inputtype?

2008-05-27 Thread Josh Nathanson
You can do this: $('#test1').val( 'hello world' ); OR $('#test1')[0].value = 'hello world'; // adding the array index returns the node instead of the jQuery object -- Josh - Original Message - From: "Natrium" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, May 27, 2008

[jQuery] Re: Help learning...

2008-05-27 Thread Josh Nathanson
Your selectors need quotes around them: $("li:hidden:first").fadeIn("slow"); etc. -- Josh - Original Message - From: "Aaron" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, May 27, 2008 11:31 AM Subject: [jQuery] Re: Help learning... I been playing around with the

[jQuery] Re: Javascript of jQuery?

2008-05-18 Thread Josh Nathanson
Just to add a bit to this...I recently was forced to write in "pure javascript" rather than jQuery for the first time in a while, and it was a very good exercise in getting back to basics. So I would also recommend learning some of the basics of javascript at least in tandem with learning jQ

[jQuery] Is there a mouseover zoom plugin?

2008-05-14 Thread Josh Nathanson
Hey all, Just wondering if there's a plugin that does the following: When you mouseover an image, a sort of magnifier area appears over the image, and the section under the magnifier is shown enlarged in a second image next to the original image. As you move the magnifier around, the enlarg

[jQuery] Re: JQuery Validator OR Operater

2008-05-14 Thread Josh Nathanson
I have two fields (for sake of argument) and before the form is valid at least one field must be filled in. They are nameFirst and nameLast. I think one time I accomplished this by creating a "dummy" hidden input field that is only used for the validation. You can set up this dummy field so

[jQuery] Re: jQuery Cycle plugin : how to show three images in slider at the time

2008-05-13 Thread Josh Nathanson
It sounds like maybe you want a carousel effect rather than cycle. I think jCarousel is the most popular carousel plugin. -- Josh - Original Message - From: "danieluis" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, May 13, 2008 11:50 AM Subject: [jQuery] jQuery Cycle

[jQuery] Re: Selecting Checkboxes inside the table

2008-05-10 Thread Josh Nathanson
; Sent: Saturday, May 10, 2008 11:01 AM Subject: [jQuery] Re: Selecting Checkboxes inside the table That is very good way! What would be the best way to do check and uncheck based on the button click? On May 10, 12:48 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: Try this out:

[jQuery] Re: Selecting Checkboxes inside the table

2008-05-10 Thread Josh Nathanson
Try this out: $("#chkList input:checkbox").attr("checked",true); This says: "get all input fields of type checkbox, within table id 'chkList', and set attribute checked of those inputs to true." You don't need to use the method "each" because jQuery will automatically iterate over the retur

[jQuery] Re: Getting Parent Element using "this"

2008-05-08 Thread Josh Nathanson
opt 1 opt 2 I won't be able to alter the source, for it is nothing i have much control over. So, how would i get the ACTION from the FORM above on the SELECT menu's ONCHANGE event using jQuery? On May 8, 2:30 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: jQu

[jQuery] Re: Getting Parent Element using "this"

2008-05-08 Thread Josh Nathanson
jQuery is even easier than that. You can remove the need to put your onchange inline like so: var formAction = null; $("select[name=some_name]").change(function() { formAction = $(this).parent().attr("action"); }); This binds the anonymous function to set the variable formAction, to the

[jQuery] Re: jQuery TShirt

2008-05-08 Thread Josh Nathanson
It would be cool if said something like: $("code").less(); ...in Courier typeface...and then had the jQuery logo on it. -- Josh - Original Message - From: "Mike Branski" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, May 08, 2008 11:36 AM Subject: [jQuery] Re: jQuery T

[jQuery] Re: Syntax confusion

2008-05-07 Thread Josh Nathanson
It is valid -- you can declare multiple variables in javascript by comma-separating the declarations as it is done there. -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, May 07, 2008 12:03 PM Subject: [jQuery] Syntax confusion X-no

[jQuery] Re: newbie struggling with JSON

2008-05-06 Thread Josh Nathanson
N Josh, thanks for the tip. console.log(code) outputs "undefined." Any other suggestions? Thanks again, Stan On May 5, 7:42 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: Stan, I'd suggest using Firefox with the Firebug extension, and doing a console.log(c

[jQuery] Re: suggestions for a hover zoom on text...

2008-05-05 Thread Josh Nathanson
In your code, it looks like you use many calls to $(this) and $("#times_zoom"). You'll get much better performance if you set variables and use those instead, i.e in your mouseover function: var th = $(this), tz = $("#times_zoom"); Then you would use those references like so: // change the

[jQuery] Re: newbie struggling with JSON

2008-05-05 Thread Josh Nathanson
Stan, I'd suggest using Firefox with the Firebug extension, and doing a console.log(code) in your callback. This will give you better information than is provided by using the alert method. -- Josh - Original Message - From: "Stan McFarland" <[EMAIL PROTECTED]> To: "jQuery (Engli

[jQuery] Re: Photo Crop proposal

2008-05-05 Thread Josh Nathanson
> Not if it already exists for free. It depends...if the free product is a piece of crap, people might pay for something better. -- Josh

[jQuery] Re: Hide/Close div when clicked outside of it.

2008-05-02 Thread Josh Nathanson
Looks like you are missing a semicolon which will choke IE: $("#link").click(function(){ if ($("#divLoginBox1").is(':hidden')) $("#divLoginBox1").show(); else{ $("#divLoginBox1").hide(); } return false; }) <-- ADD SEMICO

[jQuery] Re: Ajax and events

2008-04-30 Thread Josh Nathanson
You can do that if you like, but I would second using the LiveQuery plugin. This is exactly what it was designed for, and it will reduce the amount of coding you have to do. Many people on this list including myself use it with excellent results. -- Josh - Original Message - From

[jQuery] Re: Need some advice on how to proceed...

2008-04-30 Thread Josh Nathanson
Hi Rick, It looks like you would need to intercept the pagination link clicks; use jQuery to get the checkbox values, and add them onto the end of the href as a query string; and then do a window.location.href with the new href you've made with the checkbox values. You can probably get away

[jQuery] Re: Adding function argument into jquery

2008-04-29 Thread Josh Nathanson
You'll need to either do this: onclick="deleteAsset('Do you really want to delete this?','delete','#a221','http://www.puc.edu');"> (Note the "#" before the id) Or this: $('#' + assetid).hide(); The reason is that otherwise, jQuery is looking for tagNames 'a221' which won't find anything. The

[jQuery] Re: checked attribute of radio buttons not handled nicely in 1.2.3

2008-04-28 Thread Josh Nathanson
Actually that's not the best example. There is some "standardisation" that goes on for the href attribute. Especially with respect to IE and how it deals with adding or leaving off the full path. Oops sorry, that's true. That was just the first example that popped into my head. If you were

[jQuery] Re: checked attribute of radio buttons not handled nicely in 1.2.3

2008-04-28 Thread Josh Nathanson
Well, jQuery does not always assist in cutting code. For example: $("a").each(function() { console.log( this.href, $(this).attr("href") ); // these produce equal values }); When dealing with element attributes, it is often faster and cleaner to just use plain 'ol javascript. Don't let t

[jQuery] Re: Can you improve my Bring-to-Front code?

2008-04-24 Thread Josh Nathanson
ly the first > half-dozen are real divs at present) > http://vanilla-spa.homeholistics.com/products.php > > Nice one :) > > > > On Apr 24, 1:20 am, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: >> Give this a try. It will set the clicked div to the highest c

[jQuery] Re: Which jQuery method to use in this scenario

2008-04-23 Thread Josh Nathanson
Yeah there's an easy way -- use the Form plugin by Mike Alsup: http://malsup.com/jquery/form/ -- Josh - Original Message - From: "neualex" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, April 23, 2008 2:17 PM Subject: [jQuery] Which jQuery method to use in this scenari

[jQuery] Re: Can you improve my Bring-to-Front code?

2008-04-23 Thread Josh Nathanson
Give this a try. It will set the clicked div to the highest current z-index plus 1, without disturbing the other divs (untested): var zmax = 0; $( '.draggable' ).click( function () { $( this ).siblings( '.draggable' ).each(function() { var cur = $( this ).css( 'zIndex');

[jQuery] Re: searching css id

2008-04-22 Thread Josh Nathanson
Try doing if ( $('#specialSection').length ) in your conditional. -- Josh - Original Message - From: "Sharique" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, April 22, 2008 12:22 PM Subject: [jQuery] searching css id Hi, What I'm trying to is that when there is c

[jQuery] Re: Quick AJAX question

2008-04-17 Thread Josh Nathanson
You may need to set cache = false in your ajax call. To do this, you'll have to use the base $.ajax function rather than $.get, like so: $.ajax({ cache: false, success: function() { // callback here }, // other options }); -- Josh - Original Message - From: "kwikgoal" <

[jQuery] Re: Problem with using hasClass() within .each()

2008-04-17 Thread Josh Nathanson
Carl -- Javascript is case-sensitive, so you have to use hasClass rather than hasclass each time you call it. -- Josh - Original Message - From: "Carl Von Stetten" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 16, 2008 5:38 PM Subject: [jQuery] Problem with using hasClass() withi

[jQuery] Re: Detecting Javascript error in IE and then displaying a more helpful message to the user

2008-04-11 Thread Josh Nathanson
You can use plain vanilla Javascript try/catch to catch the errors. That being said, you should probably track down exactly what the errors are, and try to eliminate them. Testing in IE6/7 is important, as there are some errors which do not show up in Firefox (trailing commas are a big one) t

[jQuery] Re: Jquery and SSL

2008-04-10 Thread Josh Nathanson
FWIW, I can confirm that getJSON() works fine in Safari 3.1 over HTTPS. I'm using it to call the AIM presence API w/no problems. Hmm...I have code that works flawlessly for me on all browsers, plus Safari non-SSL, and fails only on Safari over SSL. Something weird is going on - I think I w

[jQuery] Re: Popup window

2008-04-10 Thread Josh Nathanson
Hey Paul, There isn't really any jQuery code that helps with this, but I've got a little plugin "jqURL" that can make it a bit easier: http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html It has a function "loc" so if you want to popup a window you can do this: $.jqURL("myfile.html",

[jQuery] Re: Jquery and SSL

2008-04-10 Thread Josh Nathanson
I have found that Ajax/jQuery/SSL doesn't work in Safari 3 (didn't test 2). I spent a couple of days trying to track down the issue and then gave up, after finding very little information available. So you might need to do a little browser sniffing and make sure that if they're using Safari,

[jQuery] Re: How do I use ColdFusion and jQuery variables for pagination?

2008-04-10 Thread Josh Nathanson
sive way to get 20 records per page. If I have 10,000 records, I guess I would be getting and dumping all 10,000 records at once? I've considered taking the straight CF route with this, or perhaps using SQL to retrieve just the records I need. Would using CF or SQL be preferable for datas

[jQuery] Re: How do I use ColdFusion and jQuery variables for pagination?

2008-04-10 Thread Josh Nathanson
Rick - I don't know how the pagination plugin that you're using works, but there may be some sort of "before" event that you can use to ajax some variables to your CF page. Your CF template would take these variables and use them to set the startrow and maxrow values and then send back the r

[jQuery] Re: [validate] URL validation failing on a valid URL.

2008-04-07 Thread Josh Nathanson
Just a guess, but probably because there is no ".html" or ".jsp" or whatever before the query string. -- Josh - Original Message - From: "js" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Monday, April 07, 2008 2:28 PM Subject: [jQuery] [validate] URL validation failing on a val

[jQuery] Re: Is there an Event.stop for hrefs?

2008-04-06 Thread Josh Nathanson
Return false is the accepted method and best practice in jQuery. -- Josh - Original Message - From: "Michael Sharman" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Sunday, April 06, 2008 3:26 PM Subject: [jQuery] Is there an Event.stop for hrefs? Hi guys, I am "listening" fo

[jQuery] Re: Shadowbox no worky with jQuery 1.2.3

2008-04-02 Thread Josh Nathanson
. I was hoping it could help you out this time. Well, tuck it away for future reference, I guess. Hope you manage to solve the problem. cheers, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 2, 2008, at 3:04 PM, Josh Nathanson wrote: Thanks Ka

[jQuery] Re: Func outside of doc.ready cannot access function inside doc.ready? Why not?

2008-04-02 Thread Josh Nathanson
Andy - as you may have guessed, you have a scoping issue. Everything inside the doc.ready call is in an anyonymous function. Any functions inside doc.ready that you need to have access to from *outside* doc.ready, you'll need to scope accordingly. You might want to create a variable outside do

[jQuery] Re: Shadowbox no worky with jQuery 1.2.3

2008-04-02 Thread Josh Nathanson
le and click on the "Script" tab. Then click the "Options" drop-down and choose "Break on all errors." --Karl _____ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 2, 2008, at 2:04 PM, Josh Nathanson wrote: Hey all, I

[jQuery] Shadowbox no worky with jQuery 1.2.3

2008-04-02 Thread Josh Nathanson
Hey all, I'm using the Shadowbox script successfully with jQuery 1.2.1, however when changing to jQuery 1.2.3, it no longer functions properly. It looks like something in the preventDefault mechanism in the Shadowbox jQuery adapter is broken, because when clicking on the image, it does not p

[jQuery] Re: Ajax/Safari 3/SSL

2008-04-01 Thread Josh Nathanson
nch, it may have no effect. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Monday, March 31, 2008 6:36 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Ajax/Safari 3/SSL Nope, not cross-domain. I'm using a relati

[jQuery] Re: Ajax/Safari 3/SSL

2008-03-31 Thread Josh Nathanson
--- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Monday, March 31, 2008 5:03 PM To: jquery-en@googlegroups.com Subject: [jQuery] Ajax/Safari 3/SSL Hey all, Does anyone know anything about problems with Safari 3 when using AJAX over SSL? It doesn

[jQuery] Ajax/Safari 3/SSL

2008-03-31 Thread Josh Nathanson
Hey all, Does anyone know anything about problems with Safari 3 when using AJAX over SSL? It doesn't seem to work. My AJAX stuff that works in every other browser, and also works in Safari when not going over SSL, utterly fails. I'm just hoping someone might have run across this and have

[jQuery] Re: Modals - What's everyone using?

2008-03-31 Thread Josh Nathanson
I think you will have to put quotes around "background-color". -- Josh - Original Message - From: "Shelane" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Monday, March 31, 2008 3:09 PM Subject: [jQuery] Re: Modals - What's everyone using? If I try the first I get this error: m

[jQuery] Re: How can I test my javascript?

2008-03-31 Thread Josh Nathanson
There is a tool called Selenium that allows you to record a series of clicks around your website, and then play it back to simulate a user session. It only works on localhost and in Firefox (it's a FF extension), but it's quite useful in that environment. http://selenium-ide.openqa.org/ --

[jQuery] Re: jQuery in IE7

2008-03-31 Thread Josh Nathanson
It should work fine in IE7. Is your script tag closed after your ready call, you don't show that in your example. $(document).ready( function() { alert ( "test" ); }); <-- make sure this is here -- Josh - Original Message - From: "Tolik Piskov" <[EMAIL PROTECTED]>

[jQuery] Re: TOT: Anyone gotten any CF-Talk mail today?

2008-03-26 Thread Josh Nathanson
Nope, down all day for me. -- Josh - Original Message - From: "Rick Faircloth" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 26, 2008 3:50 PM Subject: [jQuery] TOT: Anyone gotten any CF-Talk mail today? Sorry for the TOT, but I'm trying to find out if the HouseofFusion.com maili

[jQuery] Re: MIssing cursor(caret) for and

2008-03-24 Thread Josh Nathanson
This is a known issue with Firefox and absolute positioned divs. There are some workarounds discussed here: https://bugzilla.mozilla.org/show_bug.cgi?id=167801 It's been a problem for years, and supposedly it will be fixed in version 3. -- Josh - Original Message - From: "bazzzm

[jQuery] Re: $().load( ) issue: "url has no properties"

2008-03-06 Thread Josh Nathanson
Alexandre, this happened to me a couple of days ago. Turns out I was trying to send an object to the load method, but you have to send separate arguments. In other words, you can't do this: $().load({ url: "myurl", data: { stuff: junk }, function() { alert(' hey! '); } }); You have to do

[jQuery] Re: :visible selector

2008-03-05 Thread Josh Nathanson
I think it's a feature. It would be a huge drop in performance if all parents had to be checked for visibility every time that selector was used. You could probably write a little function to check all the parents if you need that. -- Josh - Original Message - From: "krassonkel"

[jQuery] Re: IE7 Flicker On DIV slideUp()

2008-03-03 Thread Josh Nathanson
I wonder if this could be logged as a bug. I glanced at the jQuery source for animate, but it's difficult to figure out exactly where the problem is through all the abstraction. Several people have noticed this behavior in IE, but so far nobody has been able to come up with a definitive sol

[jQuery] Re: AjaxCFC and jQuery 1.2.2 and above

2008-02-25 Thread Josh Nathanson
s. If you have the error, I can take a peak. Rey Josh Nathanson wrote: Hey all, I was working with the new jQuery 1.2.3 over the weekend and noticed that it broke my ajaxCFC installation. I had to roll back to jQuery 1.2.1 before ajaxCFC would work again. Has anyone else noticed this? I

[jQuery] Re: AjaxCFC and jQuery 1.2.2 and above

2008-02-25 Thread Josh Nathanson
osh, Yeah neither Rob nor myself have had time to focus on AjaxCFC due to time constraints. If you have the error, I can take a peak. Rey Josh Nathanson wrote: Hey all, I was working with the new jQuery 1.2.3 over the weekend and noticed that it broke my ajaxCFC installation. I had to roll ba

[jQuery] AjaxCFC and jQuery 1.2.2 and above

2008-02-25 Thread Josh Nathanson
Hey all, I was working with the new jQuery 1.2.3 over the weekend and noticed that it broke my ajaxCFC installation. I had to roll back to jQuery 1.2.1 before ajaxCFC would work again. Has anyone else noticed this? If so has anyone done a port of ajaxCFC to jQ 1.2.2 and above? It looks l

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-16 Thread Josh Nathanson
Hey Pete, It looks like you're still not using the latest release - I can tell because in the settings object in the source, there is no "bgiFrame" property. This was added in the latest release. Here's the link to that: http://www.oakcitygraphics.com/jquery/clockpick/trunk/jquery.clockpick

[jQuery] Re: if (! someThing.fired ) {

2008-02-15 Thread Josh Nathanson
It looks like he is using 'fired' as a property, it's not native to javascript. It's just a way of indicating that an event has occurred. -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Friday, February 15, 2008 12:35 PM Subject: [jQuery] Re: i

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Josh Nathanson
Thanks for the clarification. -- Josh - Original Message - From: Mike Alsup To: jquery-en@googlegroups.com Sent: Friday, February 15, 2008 11:45 AM Subject: [jQuery] Re: ajax form plugin question Shelane, Since it is not possible to upload files via ajax the form plugin

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Josh Nathanson
is coming back from the server and if there's a problem. If there is no problem from the server, why isn't my success function firing. The reason I know the submit is working is that when I reload the page I see the item listed (as it should be). On 2/15/08 11:22 AM, "Josh Nath

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Josh Nathanson
I think you need to use the ajaxSubmit method rather than (or in addition to) the ajaxForm method. ajaxForm just "preps" the form AFAIK. -- Josh - Original Message - From: "Shelane" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Friday, February 15, 2008 11:17 AM Subject: [jQuer

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-14 Thread Josh Nathanson
Pete - it may have something to do with the absolute positioning of the returned ajax content. Try using relative positioning and see if that helps. -- Josh - Original Message - From: "pedalpete" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, February 13, 2008 5:15 P

[jQuery] Re: kill the cpu

2008-02-13 Thread Josh Nathanson
Rather than call the function recursively, you might want to use setInterval rather than setTimeout, which is what I think you are trying to achieve...that is, run the function once per second. I think if you run the function recursively without an "exit strategy" you get a circular behavior

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-13 Thread Josh Nathanson
Hey Pete, It looks like you're not using the latest release. I can tell because the bgiFrame option does not appear in the clockpick.js source code in Firebug when I view your page. This option was added in the latest release. That said, it should still work...not sure what is going on the

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread Josh Nathanson
p a bunch of similar code and it is showing the same behavior. Here's a link. http://zifimusic.com/testing/clockpick-ie.php I find it incredibly strange that the alert i put into the "templateShifts" function triggers in FF but not in IE. It makes me kinda think that the issue isn't w

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread Josh Nathanson
Do you have the latest release? You will want to get 1.2.1. I think there was an IE issue in earlier releases. If you could post a link as well that would be helpful. -- Josh - Original Message - From: "pedalpete" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, Februa

[jQuery] Re: jquery newbie test

2008-02-04 Thread Josh Nathanson
Access...confirmed. =] - Original Message - From: CFMike To: jquery-en@googlegroups.com Sent: Monday, February 04, 2008 4:00 PM Subject: [jQuery] jquery newbie test Please ignore. I am new to the jquery list. I am just testing my access. Thank you for your patience.

[jQuery] Re: Help populating an array via JSON

2008-02-04 Thread Josh Nathanson
This is because of the "asynchronicity"...you will only have the correct data length within the callback function from the getJSON call. Any code along the same block as the getJSON call will be executed without regard to the returned data. What you can do is abstract the code where you are

[jQuery] Re: stopping a link to redirecting

2008-02-01 Thread Josh Nathanson
Did you try this? $('a.some_link').click(function(event) //custom code return false; }); - Original Message - From: "Eridius" <[EMAIL PROTECTED]> To: Sent: Friday, February 01, 2008 1:17 PM Subject: [jQuery] stopping a link to redirecting I thought this would stop the lin

[jQuery] Re: Fighting a closure

2008-01-31 Thread Josh Nathanson
for ( i=0;i<5;i++ ) { (function(num) { $("#port"+num).click(function() { bigchart(num) }); })(i); } That's the one I was trying to figure out. Nicely done. -- Josh

[jQuery] Re: Fighting a closure

2008-01-30 Thread Josh Nathanson
uery without using a closure? --T On Jan 30, 4:36 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: Instead of binding five times, you can do it dynamically: $("[id^=port]").click(function() { bigchart( this.id.charAt(this.id.length-1) ); }); Something close

[jQuery] Re: Fighting a closure

2008-01-30 Thread Josh Nathanson
Instead of binding five times, you can do it dynamically: $("[id^=port]").click(function() { bigchart( this.id.charAt(this.id.length-1) ); }); Something close to that should do it. Although if you end up with 10 or more clickables you'll have to change your naming scheme a bit. -- Jo

<    1   2   3   4   5   >