[jQuery] thickbox + prototype = (Error: e[prop[p]] is not a function)

2007-02-14 Thread justin kelly
Hi All,

Im trying to use jquery, prototype and jquery.thickbox.js on the same
page.  In jquery.thickbox.js ive changed all reference to $ to jQuery
and all work well except when closing the thickbox window. I get a
javascript error (refer below) and the screen stays greyed out

javascript console error:
##
Error: e[prop[p]] is not a function
Source File: http://localhost/simpleinvoices/include/jquery.js
Line: 1582
##

for a live example refer:
http://simpleinvoices.org/svn/index.php?module=invoices&view=manage
-- and click the " What's all these different columns?" link at the
bottom of the page

Has anyone seen this type of error before? If so is there a way to fix this?

note: im using the latest jquery and thickbox and tested in firefox

Thanks, any help would be greatly appreciated

Cheers

Justin
email: [EMAIL PROTECTED]

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tablesorter: numbers with commas

2007-02-05 Thread justin kelly

Hi All,

if anyone else is interested in a similar tablesorter extension - heres the
code

#code##
$.tableSorter.parsers.englishNumber = {
   id: 'englishNumber',
   is: function(s) {
   return s.match(/^\d{1,3}(\,\d{1,3})+(\.\d{2})?\s*$/);
   },
   format: function(s) {
   return parseFloat(s.replace(/[^0-9.]/g,''));
   },
   sorter: $.tableSorter.sorters.numeric
};

$.tableSorter.analyzer.add($.tableSorter.parsers.englishNumber);
#

note: if this could be added by default to newer releases of tablesorter it
wold be great
note: matches 45,233.00 not $45,456.09 (this one left for the default
currency type)
note: the currency type can be extended to match similar patterns
   return s.match
(/^\s*[£$]?\s*\d{1,3}(\,\d{1,3})+(\.\d{2})?\s*$/);

cheers

justin


On 2/4/07, Chris Domigan <[EMAIL PROTECTED]> wrote:


I think the tablesorter plugin is fairly easy to extend with custom
regexes, if you're up for it! Or you could just use the existing regex and
get it to strip all commas before the comparison.

Chris

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] tablesorter: numbers with commas

2007-02-03 Thread justin kelly

Hi All,

Just wondering has anyone got the tablesorter plugin working with numbers
with commas (ie. 5,000.00, or 34,123,224.12 etc..) ?

If so please post how

It seems to sort all other number types OK but not these

also does anyone know if theres a jquery live grid that has sorting and
filtering?
(similar to the enhanced open rico live grig:
http://dowdybrown.com/dbprod/rico-test7/php/demo-autosize2.php)

Cheers

Justin
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] tablesorter 1.1

2006-12-15 Thread justin kelly

Hi All,

anyone know how the progress of tablersorter1.1 is going, seems to be some
slight movement in the svn

cant wait for 1.1, jquery will have a proper datagrid (tablesorter + pager +
filters = tablesorter1.1 :) )

Cheers

Justin
[EMAIL PROTECTED]
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] MyDayLite (to-do list) release. All files included.

2006-11-29 Thread Justin Kelly
Hi Brian

great little app, im finding it very usefull, thanks,

just a couple of suggestions
1 - rounded corners like gmail would be nice
2 - the ability to add a few more fields ie. due-date,show date
created etc.. would be handy
3 - keyboard shortcut to go to the input field would be good (so you
dont have to use your mouse to click the field first ( or tab 4
times))

Cheers

Justin
-- 
email: [EMAIL PROTECTED]

jabber: [EMAIL PROTECTED]
gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo im: justinjameskelly
icq: 202893989
On 11/30/06, Brian Litzinger <[EMAIL PROTECTED]> wrote:
>
> I originally showed this 3-4 months ago in its very early stages. I've been
> working on it periodically and using it everyday since then and I think its
> finally to a stage where I can release it. I'm not a rockstar PHP or JS
> programmer... I'm sure there are areas that can be optimized so be nice :)
> jQuery has a great community and new plug-ins are coming out everyday and I
> want to contribute back. So below you'll find a zip file containing
> everything needed to install this app on your own server. Eventually I'll
> have a hosted solution. I hope one or more people can look at the code and
> see the plug-ins in use in an actual application and learn something from
> it. I know I learned a lot making this.
>
> Idea
> I wanted to create a better to-do list that I can use in my Google homepage,
> and wanted it to feel like a Google application. The design is highly based
> off Gmail. I also wanted it to feel natural and easy to use...  mainly in
> the mark off feature as well as the quick priority and label assignment (see
> the help page or video for example).
>
> Features
> sort and prioritize to-dos
> to-dos and labels can be edited in line
> to-dos can be marked off much like you'd mark off something on a piece of
> paper.
> to-dos can be archived, and retrieved from the archive or deleted
> permanently.
> the same files can be used in a standalone page, or in your Google homepage
> (use the xml file included)
> quickly assign a priority or label via typing only
> create a new label and to-do at the same time (ex: new label name> this is
> my to-do)
>
> tested in FF 2, Safari, and IE 7
>
> Email me with any bugs, or code improvements you might have: litzinger at
> gmail dot com
>
> Online Demo: http://brianlitzinger.com/mydaylite/demo/
> Video Demo: http://brianlitzinger.com/mydaylite/demo/video.mov
> Files: http://brianlitzinger.com/mydaylite/demo/MyDayLite.0.3.zip
> Google preview: http://brianlitzinger.com/mydaylite/demo/google_preview.gif
>
> Big thanks to Yehuda/wycats for helping me with random JS questions via AIM,
> and for taking my idea for the quick priority and label assignment (first
> few lines in the global.js file) and greatly improving/recreating the crappy
> code I originally had.
> --
> View this message in context: 
> http://www.nabble.com/MyDayLite-%28to-do-list%29-release.-All-files-included.-tf2725759.html#a7601164
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] total noob question

2006-11-09 Thread Justin Kelly
Thanks again Erik

changing this to class, toggle() worked great!!!

when i added interface and tried using BlindDown.etc.. it only seems
to work when the data is in  and not when
there just in 

example:
http://simpleinvoices.org/demo/jq-test.php?submit=365&action=view&invoice_style=Itemised#

### code ###
   ...

$b_stateField, $b_zip_codeField$LANG_fax:
$b_faxField


$b_countryField$LANG_email: $b_emailField






This is a class test for slickbox2a - 1


Fancy jquery/interface effects:
Blind down
Blind up
slideDown
hide
show
Blind toggle horizontally
Toggle



Has onyone got any suggections to make BlindToggleVertically work in the s

Thansk again, any help would be greatly appreciated

Cheers

Justin

On 11/9/06, Justin Kelly <[EMAIL PROTECTED]> wrote:
> Thanks Erik, i changed it to class and it works great!!
>
> Thanks
>
> Justin
>
> On 11/9/06, Erik Beeson <[EMAIL PROTECTED]> wrote:
> > You're confusing IDs and classes. It's pretty basic CSS, so you shouldn't
> > have any trouble finding info on google. Every id=... has to be unique, but
> > more than one thing can have the same class=...
> > For your code, that means use td class="slickbox2" instead of id, and then
> > select it with $('.slickbox2').toggle().
> >
> > --Erik
> >
> >
> > On 11/8/06, Justin Kelly <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi All,
> > >
> > > Im very new to javascript and jquery so please be gentle :)
> > >
> > > What im trying to do is have a button that toggles(or fade etc..) a
> > > number of rows in a table.
> > > ie. click button, 10 rows show/hide
> > >
> > > Currently it works great for the first row but i cant get it to do the
> > > toggle for the rest of the rows, ive tried using each and find but i
> > > cant get it happening
> > >
> > > Could someine please take a look at the below code and let me know how to
> > do
> > >
> > > ### jquery ##
> > >$('a#slick-toggle2').click(function() {
> > > $('#slickbox2').toggle();
> > > return false;
> > > });
> > > ##
> > >
> > >
> > > ### html code ##
> > > Toggle2
> > > 
> > > $c_nameField
> > > 
> > > 
> > >  > align=left>$c_attentionField,
> > > 
> > > ...
> > > 
> > >
> > > Any help would be greatly appreciated
> > >
> > > Cheers
> > >
> > > Justin
> > > --
> > > email: [EMAIL PROTECTED]
> > >
> > > jabber: [EMAIL PROTECTED]
> > > gtalk: [EMAIL PROTECTED]
> > > msn: [EMAIL PROTECTED]
> > > yahoo im: justinjameskelly
> > > icq: 202893989
> > >
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> >
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
> >
> >
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] total noob question

2006-11-08 Thread Justin Kelly
Thanks Erik, i changed it to class and it works great!!

Thanks

Justin

On 11/9/06, Erik Beeson <[EMAIL PROTECTED]> wrote:
> You're confusing IDs and classes. It's pretty basic CSS, so you shouldn't
> have any trouble finding info on google. Every id=... has to be unique, but
> more than one thing can have the same class=...
> For your code, that means use td class="slickbox2" instead of id, and then
> select it with $('.slickbox2').toggle().
>
> --Erik
>
>
> On 11/8/06, Justin Kelly <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >
> > Im very new to javascript and jquery so please be gentle :)
> >
> > What im trying to do is have a button that toggles(or fade etc..) a
> > number of rows in a table.
> > ie. click button, 10 rows show/hide
> >
> > Currently it works great for the first row but i cant get it to do the
> > toggle for the rest of the rows, ive tried using each and find but i
> > cant get it happening
> >
> > Could someine please take a look at the below code and let me know how to
> do
> >
> > ### jquery ##
> >$('a#slick-toggle2').click(function() {
> > $('#slickbox2').toggle();
> > return false;
> > });
> > ##
> >
> >
> > ### html code ##
> > Toggle2
> > 
> > $c_nameField
> > 
> > 
> >  align=left>$c_attentionField,
> > 
> > ...
> > 
> >
> > Any help would be greatly appreciated
> >
> > Cheers
> >
> > Justin
> > --
> > email: [EMAIL PROTECTED]
> >
> > jabber: [EMAIL PROTECTED]
> > gtalk: [EMAIL PROTECTED]
> > msn: [EMAIL PROTECTED]
> > yahoo im: justinjameskelly
> > icq: 202893989
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] total noob question

2006-11-08 Thread Justin Kelly
Hi All,

Im very new to javascript and jquery so please be gentle :)

What im trying to do is have a button that toggles(or fade etc..) a
number of rows in a table.
ie. click button, 10 rows show/hide

Currently it works great for the first row but i cant get it to do the
toggle for the rest of the rows, ive tried using each and find but i
cant get it happening

Could someine please take a look at the below code and let me know how to do

### jquery ##
   $('a#slick-toggle2').click(function() {
$('#slickbox2').toggle();
return false;
});
##


### html code ##
 Toggle2

$c_nameField


$c_attentionField,

...


Any help would be greatly appreciated

Cheers

Justin
-- 
email: [EMAIL PROTECTED]

jabber: [EMAIL PROTECTED]
gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo im: justinjameskelly
icq: 202893989

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter feedback requested!

2006-08-30 Thread Justin Kelly
christian,that sounds pretty goodwould be nice if it could be: if you define a row as X type filter(the use that filter) and if its not defined use the tablesorter parser default### ie. if tr class set to 'filter_drop_down'
-- then use drop down filterelse no filter explicity set so use tablesorter parser default#thanks againjustinOn 8/30/06, 
Christian Bach <[EMAIL PROTECTED]> wrote:
I was thinking that the diffent parser would be in charge for choosingthe appropriate filter type.Ex.$.tableSorter.filters.date = {// add logic and markup for filter type date}$.tableSorter.parsers.shortDate = {
id: 'shortDate',// assign a filter classfilter: $.tableSorter.filters.date,is: function(s) {return s.match(/^\d{1,2}[/-]\d{1,2}[/-]\d{4}$/);},
format: function(s) {s = s.replace(/-/g,'/');var defaults = $.tableSorter.utils.getParams();if(defaults.dateFormat == "mm/dd/" || defaults.dateFormat
 =="mm-dd-") {/** reformat the string in ISO format */s = s.replace(/(\d{1,2})[/-](\d{1,2})[/-](\d{4})/, '$3/$1/$2');} else if(
defaults.dateFormat == "dd/mm/" || defaults.dateFormat== "dd-mm-") {/** reformat the string in ISO format */s = s.replace(/(\d{1,2})[/-](\d{1,2})[/-](\d{4})/, '$3/$2/$1');
}return parseFloat((new Date(s)).getTime());},sorter: $.tableSorter.sorters.numeric};/christianJustin Kelly wrote:> Hi Christain,
>> can't wait for 1.1!!>> re filters,>> i'd love to be able to define different types of filters, so some row> filters can be text boxes and some can be drop down lists etc..
>> Xlsheet has some good ideas on filters (unfortunately if IE only)> http://xlsheet.sourceforge.net/>> Adjustable column widths (
http://makoomba.altervista.org/grid/) would also> be a great enhancement>> keep up the great work>> Cheers>> Justin>> On 8/30/06, Christian Bach <
[EMAIL PROTECTED]> wrote: Hi All, I'm currently working on the 1.1 release of tableSorter. I would love to here your request for new features, improvements and
>> thoughts to make this little plugin even better!>> Here's my current list of features and improvements that will be in 1.1:>> * A real user manual, with more examples and all parameters documented.
>> * Make parameter names more logical.>> * Provide api documentation.>> * Commit the tableSorter in to the jQuery svn with manual and api.>> * Add function for highlighting current selected row.
>> * Provide a excel "theme" using css.>> * Add support for row numbering.>> * Add filter support.>> * Add John's pager plugin, and provide examples.>> * Add support for custom icons (adding images to headers).
>> * Add more parsers (UK long date).>> * Add support for HTML elements in td cells (Get values from any child>> element) Thanks to everyone for all the support, cheers and comments!
 /christian ___
>> jQuery mailing list>> discuss@jquery.com>> http://jquery.com/discuss/> 
>> ___> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/
___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- email: [EMAIL PROTECTED]Mob.: 0402 667 075jabber: [EMAIL PROTECTED]
gtalk: [EMAIL PROTECTED]msn: [EMAIL PROTECTED]yahoo im: justinjameskellyicq: 202893989
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] tableSorter feedback requested!

2006-08-30 Thread Justin Kelly
Hi Christain,can't wait for 1.1!!re filters,i'd love to be able to define different types of filters, so some row filters can be text boxes and some can be drop down lists etc..Xlsheet has some good ideas on filters (unfortunately if IE only)
http://xlsheet.sourceforge.net/Adjustable column widths (http://makoomba.altervista.org/grid/) would also be a great enhancement
keep up the great workCheersJustinOn 8/30/06, Christian Bach
 <[EMAIL PROTECTED]> wrote:
Hi All,I'm currently working on the 1.1 release of tableSorter.I would love to here your request for new features, improvements andthoughts to make this little plugin even better!Here's my current list of features and improvements that will be in 
1.1:* A real user manual, with more examples and all parameters documented.* Make parameter names more logical.* Provide api documentation.* Commit the tableSorter in to the jQuery svn with manual and api.
* Add function for highlighting current selected row.* Provide a excel "theme" using css.* Add support for row numbering.* Add filter support.* Add John's pager plugin, and provide examples.
* Add support for custom icons (adding images to headers).* Add more parsers (UK long date).* Add support for HTML elements in td cells (Get values from any childelement)Thanks to everyone for all the support, cheers and comments!
/christian___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/