[jQuery] Re: TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...

2008-11-17 Thread Geoff Millikan

How about a $20 USD donation  to Jquery for an answer?


[jQuery] TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...

2008-11-12 Thread Geoff Millikan

The native TableSorter 'usLongDate' fails if the timezone is added
like this:

Nov 12, 2008 1:25 PM (PST)
Nov 11, 2008 2:25 PM (EST)

So I chopped the timezone off with my own custom parser like in the
below.  But once I add my custom parser, the native parser
'usLongDate' doesn't run!

Can I run two parsers over the same data?

$.tablesorter.addParser({
// set a unique id
id: 'strip_tz',
is: function(s) {
// return false so this parser is not auto detected
return false;
},
format: function(s) {
// format your data for normalization
return s.substring(0,(s.length-5));
},
// set type, either numeric or text
type: 'numeric'
});

Of course I could just use ISO datatime format like
"2008-11-12T21:21:42+00:00" but humans have a hard time reading
that.  ;-)

Thanks!

http://www.t1shopper.com/


[jQuery] [validate] adding custom variables

2008-11-03 Thread Geoff

Hi,

I'm using Jörn Zaefferer's jQuery Validation Plugin, and I'm wanting
to add my own variable for phone numbers. What I could do is edit the
variable that already exists for digits and just make it so it accepts
hyphens, dashes and minus signs. Can anyone give me any help on doing
this as I am really new to jQuery. I would really appreciate it.

Thanks,

Geoffrey Woitt


[jQuery] Re: Date Picker in IE6 has "false" box

2008-07-17 Thread Geoff Ford

A simple

iframe.ui-datepicker-cover { display:none; }

solved it for me.

Jay wrote:
> Hi,
>
> Running a standard off-the-shelf date picker using Jquery UI using the
> following code:
>
> $('#live_from').datepicker({
> dateFormat: 'yy-mm-dd',
> showOn: 'both',
> buttonImage: 'includes/images/app/calendar.png',
> buttonImageOnly: true
> });
>
> $('#live_to').datepicker({
> dateFormat: 'yy-mm-dd',
> showOn: 'both',
> buttonImage: 'includes/images/app/calendar.png',
> buttonImageOnly: true
> });
>
> The problem we have is that in IE6 (testing in IE7 it looks fine),
> there is a box below the calendar with the word false in it.  When the
> first date picker is clicked, the box is the same size as the
> calendar.  When another date picker is clicked on the same page the
> false box is twice as big.  The box continues to grow in size every
> time a date picker is clicked.
>
> Has anyone has this problem before and know how to fix it?
>
> With thanks
>
> J


[jQuery] Re: Superfish IE Trobule

2008-06-10 Thread Geoff Hankerson

OK - figured it out.  I had the menu and its grandparent set to
position relative which I removed (to restore static positioning) and
then wholia - back in business. This link helped:
http://verens.com/archives/2005/07/15/ie-z-index-bug/

On Jun 10, 8:04 pm, Geoff Hankerson <[EMAIL PROTECTED]> wrote:
> Have a look at this page:http://72.167.210.71/stage/
>
> The horizontal nav menu uses Superfish and its working great except on
> the home page with IE 6 & 7.   This almost certainly has to do with IE
> absolute positioning bugs which have tried to solve but so far eludes
> me. The home page uses jquery innerfade to display a list of images
> one at a time and fade then in and out at specified intervals. Any
> suggestions a much appreciated. Thank you


[jQuery] Superfish IE Trobule

2008-06-10 Thread Geoff Hankerson

Have a look at this page: http://72.167.210.71/stage/

The horizontal nav menu uses Superfish and its working great except on
the home page with IE 6 & 7.   This almost certainly has to do with IE
absolute positioning bugs which have tried to solve but so far eludes
me. The home page uses jquery innerfade to display a list of images
one at a time and fade then in and out at specified intervals. Any
suggestions a much appreciated. Thank you


[jQuery] Re: JQuery Size > YUI Compressor & mod_deflate/GZIP

2008-02-04 Thread Geoff Millikan

Joel,

Wow, I had no idea that packed JavaScript had to be unpacked on each
page load!  Ouch!

So if I'm reading the data right on the JavaScript Library Performance
Test Roundup it seems as though the way to go is defiantly the Yahoo
minified script with GZIP at 131ms cached (731ms uncached).  (Note to
self: trust the Jquery folks because the Jquery homepage says to use
the minified script if you have GZIP.  Stop double testing everything
and just do what *they* say.)

Our site has only 250K visitors a month but 7.5 million hits.  It's
like 20 hits per page.  I've got to start using CSS sprites.
Ar.


[jQuery] Re: JQuery Size > YUI Compressor & mod_deflate/GZIP

2008-01-29 Thread Geoff Millikan

Good point!

So what's the benchmark on Jquery script execution time using a YUI
Compressed script versus packed jquery-1.2.2.pack.js?

If the time is significant, then you're right - it probably makes
sense to use the larger YUI-Compressed file instead of the smaller
packed file.

I feel like I'm on some super duper web optimization team  ;-)

Now if only I was good looking and cool...


[jQuery] JQuery Size > YUI Compressor & mod_deflate/GZIP

2008-01-23 Thread Geoff Millikan

An update to the analysis at the link here: 
http://www.julienlecomte.net/blog/2007/08/13/

=== Expected best compression rate ===---
Uncompressed jquery-1.2.2.js = 93.1 KB
Compacted with latest release (2.2.5) of YUI Compressor = 52 KB
After Apache/2.2.3 (Red Hat 5) mod_deflate GZIP compression with
highest compression settings = 15447 bytes

=== Unexpected best compression rate ===---
Packed jquery-1.2.2.pack.js   28.6 KB
After Apache/2.2.3 (Red Hat 5) mod_deflate GZIP compression with
highest compression settings = 14655 bytes

=== Bottomline ===---
If you have a fast server with Apache's mod_deflate maxed out then use
the packed version of JQuery and save your users the effort of
downloading an extra 1000 bytes.

Running now at http://www.t1shopper.com/voip/


[jQuery] Re: jQuery 1.2.2 Rev: 4454 and jquery-nightly.pack throwing errors?

2008-01-20 Thread Geoff Millikan

Sorry about raising the alarm, I should have checked all the plugin's
before posting.  Thank you.


[jQuery] jQuery 1.2.2 Rev: 4454 and jquery-nightly.pack throwing errors?

2008-01-19 Thread Geoff Millikan

This has got to be some error on my side but in case it isn't, I'm
seeing the below errors in FF2.0.0.11 with Firebug 1.05 at
http://www.t1shopper.com/voip/ so I'm switching back to jQuery 1.2.1
Rev: 3353

this.setArray is not a function
http://www.t1shopper.com/ssi/jquery/jquery.pack.js
Line 6

$(document).ready is not a function
http://www.t1shopper.com/voip/
Line 25

E(document).triggerHandler is not a function
http://www.t1shopper.com/ssi/jquery/jquery.pack.js
Line 6

http://code.jquery.com/nightlies/jquery-nightly.pack.js


[jQuery] Re: onClick submit using jQuery Form Plugin

2008-01-18 Thread Geoff Millikan

The answer is here:
http://groups.google.com/group/jquery-en/browse_thread/thread/e66ec974ed2c57e3/dae2b489f7aa986d


[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-16 Thread Geoff Millikan

Thank you Mike!

Transaction ID: 8B774711LS930240P
Placed on Jan. 16, 2008
Payment For Quantity Price
jQuery Donation
Item #JQUERY-DONATE 1 $100.00 USD
Subtotal: $100.00 USD
Sales Tax: $0.00 USD



[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-16 Thread Geoff Millikan

I've tried many variations of the below and they don't work (and don't
return any errors).  Could you please, please post a very small html
snippet showing how to make a click event trigger the ajax form
submit.  I will donate $100.00 USD to jQuery.

$("input#internet_service_type_dialup").click(function() {$
('#wizard_form').submit(function() {$(this).ajaxSubmit(options);
return false; });});

http://www.t1shopper.com/voip/


[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Geoff Millikan

This might be the answer we're looking for:
http://groups.google.com/group/jquery-en/browse_thread/thread/961a893390a9f9b2


[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Geoff Millikan

So like this?





http://groups.google.com/group/jquery-en/browse_thread/thread/b15fa8db4db5deeb


[jQuery] onClick submit using jQuery Form Plugin

2008-01-14 Thread Geoff Millikan

May a onClick "document.form_name.submit()" be used with the jQuery
Form Plugin or must a submit button be used?

http://www.t1shopper.com/voip/


[jQuery] Re: jQuery Form Plugin > Doesn't execute on returned forms?

2007-12-17 Thread Geoff Millikan

How do I bind the new form after it is inserted into the DOM?  Anyone
have a link to an example?


[jQuery] Re: jQuery Form Plugin > Doesn't execute on returned forms?

2007-11-25 Thread Geoff Millikan

I think you guys are cool.  I really appreciate that you guys are
spending your time helping others like this.  I hope you get some
reward for this other than seeing people communicating more
effectively on the 'net.

Anyway, I read the " Why do my events stop working" FAQ 3 or 4 times,
read the "AJAX and Events Tutorial" twice and looked at the source
code and tried the Live Query plugin by Brandon Aaron.

I understand that somehow the new form has to added to the existing
DOM.  I understand the examples working with a click event.  However
in this case, there's no  clickable anchors such as $('a').click(fn);
- this is just a form.  I'm can't seem to get the new form into the
existing DOM.

The best I could do was trying to insert the the ajaxForm as a
function within the original call but that didn't seem to do it as in
the below or at the link below
http://mammoth.t1shopper.com/voip/ajaxform.html
var options = {target:'#output1'};
$('#wizard1').ajaxForm(options, function () {
   var options = {target:'#output1'};
   $('#wizard1').ajaxForm(options);
}
);

I think this is beyond my ability but again, I applicate everything
you guys are doing to make complicated things like this in reach for a
lot more people.


[jQuery] jQuery Form Plugin > Doesn't execute on returned forms?

2007-11-25 Thread Geoff Millikan

I have a form that is submitted via the jQuery Form Plugin to a PHP
page which then returns another form in its place.  The second form
looks identical to the first however this second form will not submit
via the jQuery Form Plugin.

It's as if the jQuery Form Plugin script at the top of the original
page doesn't exist.

Do I have to somehow reinitialize the jQuery Form Plugin to recognize
the returned form?

http://mammoth.t1shopper.com/voip/ajaxform.html


[jQuery] Re: jQuery Form Plugin > document.myform.submit()

2007-11-25 Thread Geoff Millikan

How interesting, the form submits, and the AJAX is returned (I can see
it in FireBug) but not in the DIV tags.  It appears that using a
function to submit the form breaks the  jQuery Form Plugin.

Example at the below link.  Click on the "dial up" button to submit
the form.

http://mammoth.t1shopper.com/voip/ajaxform.html


[jQuery] jQuery Form Plugin > document.myform.submit()

2007-11-24 Thread Geoff Millikan

I love the jQuery Form Plugin!

I want to submit the form using an onClick event instead of making the
User click a  button.  Is that possible?  I tried
the below but no luck:

function submitme(){$('#myform').submit(function() {
$(this).ajaxSubmit();
return false;
});}

Click here to submit
myform.


[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question

2007-11-24 Thread Geoff Millikan

Hold the phone, I figured it out.  Example below.  Thank you
everyone!!





 $(document).ready(function(){
   $(document.body).click(function () {$
('#feeds').load('insertme.html');});
  });






click here to load external source





[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question

2007-11-24 Thread Geoff Millikan

I want to load the AJAX content when the submit button is pushed, not
when the page is loaded.  How do I do this?  It seems like this would
be a simple thing but I just can't get it to work.  I feel really dumb
for even asking but it's got me stumped.

I see that there's great examples about how to do the AJAX post event,
but no examples on how to call the function from an onClick event.

Listing 5. Complex Ajax made simple with $.ajax()
$.ajax({
url: 'document.xml',
type: 'GET',
dataType: 'xml',
timeout: 1000,
error: function(){
alert('Error loading XML document');
},
success: function(xml){
// do something with xml
}
});


[jQuery] Re: Jquery 1.2.1 > AJAX > load.() > newbie question

2007-11-24 Thread Geoff Millikan

Hold the phone, I figured it out.  Example below.  Thank you
everyone!!





 $(document).ready(function(){
   $(document.body).click(function () {$
('#feeds').load('insertme.html');});
  });






click here to load external source





[jQuery] Jquery 1.2.1 > AJAX > load.() > newbie question

2007-11-24 Thread Geoff Millikan

When I click the "submit" button it should do AJAX and put the
contents of the insertme.html file in the id "feeds" but it's not
working.  I must be missing something really basic...




function loadme(){alert("Hi, I'm running!"); $
('#feeds').load('insertme.html');}












[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false

2007-11-17 Thread Geoff Millikan

Karl,

I wrote a long response that I guess never got posted.  Suffice it to
say I bumped the margin up to like margin: -24px -12px 0 0;   which
looked better in IE6.0.x and FF2.x to me.  Got everything else
working.  Thanks for the great tool and please keep up your work on
it.  Definitive guide to JavaScript from your Amazon list is on it's
way to your address.  :-)

Best,

http://www.t1shopper.com/

P.S. Your script is now on http://mammoth.t1shopper.com/voip/ which is
our dev server but it will soon be at http://www.t1shopper.com/voip/
Only 8 million hits per month on that site so you're now famous.  ;-)


[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false

2007-11-17 Thread Geoff Millikan

Karl,

I changed it to margin: -24px -12px 0 0; and in IE6.0.29 SP2 it looks
exactly centered top to bottom.   With the same settings in FF2.0.0.9
the text looks just a tad too low in the clueTip but it's only a pixel
or two too low.  So I'm going to use the -24px for the top margin.

I'll be sure to load the bgiframe plug in when I use clueTip on
forms.  Thanks for the hot suggestion!

And I got the arrows work, thanks for the tip!

http://mammoth.t1shopper.com/voip/internet_phone_service_details.php?p=1

It would be helpful (but not terribly urgent) if the JQuery team made
it so that a user (like me) could select their desired plug-ins and
then "compile" and minify all the plugins and the JQuery pack into one
script.  This would reduce my web server's load and decrease
consumer's page load times by reducing the number of HTTP calls to the
web server.  I'll be combining all the plugins manually and then
minifying which is laborsome but I'm used to labor.  :-)

JavaScript: The Definitive Guide [Illustrated] is on it's way to your
address.  Thank you for clueTip!

http://www.t1shopper.com/


[jQuery] Re: clueTip > 'rounded' theme issue with showTitle: false

2007-11-15 Thread Geoff Millikan

I like the arrows on the rounded corners!  Nice!

Example #1 on the "Rounded Corners Theme" doesn't really work because
the content in the clueTip is shifted down, out of vertical alignment
within the clueTip.  I'm guessing maybe it can be shifted up by
playing with the padding?  I'll give it a shot here soon.

Also noticed that using clueTip on forms is problematic because some
form elements, especially select boxes, show right though and overlay
on top of the clueTip.  Rats.

http://mammoth.t1shopper.com/voip/internet_phone_service_details.php?p=1


[jQuery] Wiki dev mailing list link broken

2007-09-06 Thread Geoff Buesing

The link to "dev mailing list" here: http://dev.jquery.com/wiki

...goes to here: http://jquery.com/mailman/listinfo/dev_jquery.com

...which gives a "Not Found" error.

Should this link instead be pointed here: 
http://groups.google.com/group/jquery-dev
?



[jQuery] Re: Checking for popup blocker when using click()

2007-08-14 Thread Geoff

I'm very interested in your second example with the $
("a.external").click... how would you do a similar thing when
submitting a form? I'm actually calling click() on a 

Thanks :)

Geoff

On Aug 14, 7:09 am, SeViR <[EMAIL PROTECTED]> wrote:
> Geoff escribió:> My aim is not to disable the pop up blocker, just to check 
> if it is
> > present and show an error or notification to the user. Its not a pop
> > up, its opening an external website in a new window / tab.
>
> > Thanks!
>
> Popup blockers treats any window.open as popup in some cases:
>
> If the popup is not open with a user interaction ($("a").click is a
> valid example).
> In this cases, if you open a new window in "load" or "ready" method, the
> popup
> blocker detects a popup and blocks.
>
> But we have a simple method for to detect a popup block and notice the user:
>
> var mywindow = window.open();
> if (!mywindow){
> alert("A popup blocker has been detected, please click the link for
> to open the new window.");}
>
> $("a.external").click(function(){
> window.open(this.href,...);
> return false;
>
> });
> > On Aug 13, 7:44 pm, "Tane Piper" <[EMAIL PROTECTED]>
> > wrote:
>
> --
> Best Regards,
>  José Francisco Rives Lirola 
>
>  SeViR CW · Computer Design
>  http://www.sevir.org
>
>  Murcia - Spain



[jQuery] Re: Checking for popup blocker when using click()

2007-08-13 Thread Geoff

My aim is not to disable the pop up blocker, just to check if it is
present and show an error or notification to the user. Its not a pop
up, its opening an external website in a new window / tab.

Thanks!

On Aug 13, 7:44 pm, "Tane Piper" <[EMAIL PROTECTED]>
wrote:
> Hi Geoff,
>
> I think the point of popup blockers is that they should be
> non-detectable, otherwise every spam site would just disable it and it
> would be useless.
>
> Instead of a popup, why not use something like a modal element, which
> allows you to have popup/alert like functionality by appending a div
> to the current window, and making that the focus object - the user
> then needs to click a button to close it.
>
> There are a few modal plugins out there, check the plugin repository
> athttp://jquery.com/plugins
>
> On 13/08/07, Geoff <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi!
>
> > I'm callling the $(this).click() when this is a input submit element.
> > This should open a popup because the form has its target attribute set
> > to another window, but if there is a popup blocker (for example
> > firefox's) nothing will happen. I'd like to detect this.
>
> > When you use window.open, you can check for it returning null, but I
> > can't find a way of checking if the click() method worked. No
> > exception and it returns the element.
>
> > Anyone know how I can check for a popup blocker?
>
> > Thanks!
>
> > Geoff
>
> --
> Tane Piperhttp://digitalspaghetti.me.uk
>
> This email is: [ ] blogable [ x ] ask first [ ] private



[jQuery] Checking for popup blocker when using click()

2007-08-13 Thread Geoff

Hi!

I'm callling the $(this).click() when this is a input submit element.
This should open a popup because the form has its target attribute set
to another window, but if there is a popup blocker (for example
firefox's) nothing will happen. I'd like to detect this.

When you use window.open, you can check for it returning null, but I
can't find a way of checking if the click() method worked. No
exception and it returns the element.

Anyone know how I can check for a popup blocker?

Thanks!

Geoff