Re: [jQuery] jQuery Validation 1.0 Alpha

2007-02-09 Thread Brian Litzinger

Kevin, the 3-4 scripts are heavily commented, and it would be very easy to
combine them all into one js file and compress it ;)





Kevin Fricovsky wrote:
 
 
 You're library though seems to be very robust, I'm just concerned with the
 3 (or is it 4) js scripts required for it to work.
 
 I too am a fan of Particle Tree's unobtrusive style of form validation:
 http://particletree.com/features/a-guide-to-unobtrusive-javascript-validation/
 
 I'm working on a project right now that may allow for me to work on a
 solution similar to the ones below using Jquery. 
 
 Yup, know this is the Jquery mailing list but I really like the examples
 I've seen using prototype or mootools.
 
 Here's a good example of the moo and proto examples:
 
 http://clientside.cnet.com/code-snippets/really-easy-field-validation-with-mootools/
 
 Here's the js -
 http://clientside.cnet.com/scripts/validator/mooValidation.js
 
 http://clientside.cnet.com/3rd-party-libraries/really-easy-field-validation-with-prototype/
 
 You're right, there's no reason why jquery can't have a similar tool set.
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Jörn Zaefferer
 Sent: Thursday, February 08, 2007 4:59 PM
 To: jQuery Discussion.
 Subject: [jQuery] jQuery Validation 1.0 Alpha
 
 Hi folks,
 
 there were some questions about my very first version of the validation 
 plugin (it's still on the plugin page). If you are interested in form 
 validation, you may want to take a look at the current state of the 
 plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
 
 It's 1.0 version is now in alpha status: That means that I can't 
 guarantee to not change the API until the beta release. But apart from 
 that, the plugin is already pretty stable, and should provide nearly 
 everything you need for client-side form validation.
 
 It uses the metadata plugin, therefore you can choose between 
 specifiying your validition in the markup via extra class infos or 
 custom attributes. Or, in case you don't want to use inline markup, you 
 can just pass the rules as a JavaScript object to the plugin (see the 
 examples).
 
 The plugin is aimed at both fast prototyping and highly customized 
 validation: There are default messages for all provided methods 
 (required, email etc.) that can be overriden by using the title 
 attribute on input elements, specifying custom error messages in the 
 markup (the old method with labels) or via a JavaScript object passed to 
 the plugin.
 
 The plugin page contains some more information about known issues, 
 migration from the old plugin and, in the extreme contrast to the old 
 version, a nearly complete documentation. I'm sure there is room for 
 imrovement, but at least it covers everything.
 
 Demos ( http://jquery.bassistance.de/validation/validateTest.html ) 
 cover also integration with the form plugin: 
 http://jquery.bassistance.de/validation/formPluginIntegration.html
 
 Your feedback is highly appreciated! We should be able to create the 
 definite solution for jQuery form validation...
 
 Regards
 
 -- 
 Jörn Zaefferer
 
 http://bassistance.de
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-Validation-1.0-Alpha-tf3196319.html#a112
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Plug-in: Check Availability

2007-02-02 Thread Brian Litzinger

I made this little plug-in for an application I'm working on. It's really
simple, but maybe others will find it useful and perhaps save some time..
All it does is attach a link to the desired input field and queries a
database (or xml file, or whatever you want to query) for an existence of
the input text.

http://www.brianlitzinger.com/code/checkavailability View the demo I put
together in 5 minutes 
-- 
View this message in context: 
http://www.nabble.com/Plug-in%3A-Check-Availability-tf3164062.html#a8777258
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] tabs plugin - how to start with all content blocks hidden?

2007-01-05 Thread Brian Litzinger

I'm trying to use the tabs plugin, but I want all the content areas hidden
until one of the tabs is clicked. I tried it with CSS, but the content areas
remain hidden even when the tab is clicked. Is there support for this?
-- 
View this message in context: 
http://www.nabble.com/tabs-plugin---how-to-start-with-all-content-blocks-hidden--tf2925872.html#a8179196
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] slideUp/Down flicker with 1.0.4

2007-01-04 Thread Brian Litzinger

I noticed it Firefox, but surprisingly it doesn't happen for me in Safari.
I'm injecting html into a div then sliding it down, and I assumed I might
not have written the code correctly, but I also noticed it on normal
elements as well. 

Brian




Mika Tuupola wrote:
 
 
 Upon upgrading to jQuery 1.0.4 some of my slideUp/Down elements  
 started to flicker. With 1.0.3 this problem did not exist.
 
 http://www.appelsiini.net/~tuupola/jquery/slideupdown/slideupdown5.html
 http://www.appelsiini.net/~tuupola/jquery/slideupdown/slideupdown6.html
 
 (Click the blue box in the corner).
 
 Am I missing something obvious or is this just css problem?
 
 -- 
 Mika Tuupola
 http://www.appelsiini.net/~tuupola/
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/slideUp-Down-flicker-with-1.0.4-tf2919581.html#a8160201
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Interface: Sortables ghosted item doesn't take the css correctly

2007-01-04 Thread Brian Litzinger

I have a sortable list which contains quite a bit of html which includes a
child ul, and I noticed when I drag the element not all the css styles are
retained in the ghosted item. For example the child ul has the list-type:
none, but when its drug the bullets appear. A couple elements with negative
margins are disappearing on drag, but re-appearing onStop. One of these
items is my drag handle... so it looks kind of weird.

Anyone had similar issues?
-- 
View this message in context: 
http://www.nabble.com/Interface%3A-Sortables-ghosted-item-doesn%27t-take-the-css-correctly-tf2919869.html#a8160367
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Interface: Resizeable question

2006-12-12 Thread Brian Litzinger

Does anyone know how to alter the iresizeable.js file to allow multiple
resizeable elements on the page? Right now it seems very dependant on IDs,
but I need it to be class based.

For example I need the handles in each one of these divs to resize the
parent div. Right now it just resizes the last element with the resizeable
class on the page.

div style= class=phaseWrapper   
   div style=width: 100px class=phase draggable resizeable id=a1
  div class=resizeE/div
  div class=resizeW/div
   /div
/div
div style= class=phaseWrapper   
   div style=width: 200px class=phase draggable resizeable id=a2
  div class=resizeE/div
  div class=resizeW/div
   /div
/div

Any ideas? I've been staring at the code and I'm clueless on what to change
:/
-- 
View this message in context: 
http://www.nabble.com/Interface%3A-Resizeable-question-tf2810150.html#a7841608
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Jquery+TinyMCE problem

2006-12-04 Thread Brian Litzinger

You could try wrapping the div with the TinyMCE editor with another div, and
applying the event to the wrapper div instead?






MiB wrote:
 
 http://www.c2design.hu/liliomdomb/test.html
 
 look at first.
 
 I would like to attach any event to Tinymce but i cant. There is a div in
 inframe( id=scroll, u can view this CTRL+SHIFT+I in Firefox) and i would
 like to attach a event to this div. I tryed to search any elem in iframe
 but i didnt  get effect.
 
 It is very important for me, and it would be great if somebody could help
 me.
 

-- 
View this message in context: 
http://www.nabble.com/Jquery%2BTinyMCE-problem-tf2750523.html#a7683866
Sent from the JQuery mailing list archive at Nabble.com.


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


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

2006-11-29 Thread Brian Litzinger

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/


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

2006-11-29 Thread Brian Litzinger

I just re-uploaded the zip file and made sure it contained the same files as
the demo.

Thanks for the feedback everyone. I'll keep posting updates to the same
page, and will eventually take care of the character encoding and string
cleaning (as well as a hosted version with username/password signin).

As for the desktop usage, I guess it could work with Windows Active Desktop,
or when OS 10.5 comes out it should work as a dashboard widget (though I
think someone released a widget to display a webpage but it doesn't work so
well).



-- 
View this message in context: 
http://www.nabble.com/MyDayLite-%28to-do-list%29-release.-All-files-included.-tf2725759.html#a7604261
Sent from the JQuery mailing list archive at Nabble.com.


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


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

2006-11-29 Thread Brian Litzinger

David, the priority uses the ! character, and the labels use the  character.
I originally had it as :, but I found that I actually used : in some of my
to-do text for time of day and it borked the input. You can also change them
to whatever you want (look in the global.js and label.class.php files).



David Arango wrote:
 
 I tried to write med: to change priotity, doesn´t work for me (FF2 Windws
 XP)
 
 Spanish characters (ñ, á, é...) working nice :-)
 
 Very nice interface!
 
 -- 
 David Arango, el único desarrollador con una orden de alejamiento de
 Jeffrey Zeldman
 Simplelogica.net, ahora con un 33,3% más de intromisión en listas de
 correo
 
 Cuando no hago otra cosa escribo en mildiez.net
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/MyDayLite-%28to-do-list%29-release.-All-files-included.-tf2725759.html#a7604333
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] How to bind a function only once

2006-10-18 Thread Brian Litzinger

I have a group of checkboxes, and as long as any one of the boxes is checked
I need a function bound to a select list, but anytime none of the boxes are
checked I need the function unbound. What I have below binds and unbinds,
but if I select lets say 4 checkboxes the function is bound and called 4
times when I change my select list. How do I just bind it once?

$('[EMAIL PROTECTED]').click(function(){
if($([EMAIL PROTECTED]'label_checkbox']).is(:checked)) {
$('#label').bind('change', function(){
alert('test');  

});
} else {
$('#label').unbind('change');
}
});
-- 
View this message in context: 
http://www.nabble.com/How-to-bind-a-function-only-once-tf2466835.html#a6876978
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Not sure how to do this...

2006-10-11 Thread Brian Litzinger

but how do I take the value of an text field, and check it against the text
in a select list? For example, if I type foo in a text field, and I have a
select list that looks like the one below it'll automatically make the
second option selected.

select
option value=1bar/option
option value=2foo/option
option value=3bar/option
/select

Basically as I type I want to check the value on every key up to see if it
exists in the select list(not as the value, but the text) then take a
certain action.

Any ideas?


-- 
View this message in context: 
http://www.nabble.com/Not-sure-how-to-do-this...-tf2426822.html#a6766779
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] input and textarea field resizing

2006-10-03 Thread Brian Litzinger

I ran across a plugin that would automatically expand an input or text area
field while typing... but I can't seem to find it  now. Anyone know what I'm
talking about or where its at? Thanks.
-- 
View this message in context: 
http://www.nabble.com/input-and-textarea-field-resizing-tf2376275.html#a6620356
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] input and textarea field resizing

2006-10-03 Thread Brian Litzinger

Ugh, and I just went to the Interface site and didn't see it. Thanks.
-- 
View this message in context: 
http://www.nabble.com/input-and-textarea-field-resizing-tf2376275.html#a6620900
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] mouse gestures?

2006-10-02 Thread Brian Litzinger

I don't know many people who would be able to write anything much with the
mouse, but it'd be a proof of concept all the same.

That's what Wacom tablets are for ;)

-- 
View this message in context: 
http://www.nabble.com/mouse-gestures--tf2359444.html#a6601083
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] mouse gestures?

2006-09-30 Thread Brian Litzinger

This is really good, and written better than what I could have done. In my
case I'm needing it to affect numerous elements on the page such as
li.sortableitem's. It doesn't seem to be allowing me to get the id of which
element is clicked on.
-- 
View this message in context: 
http://www.nabble.com/mouse-gestures--tf2359444.html#a6584504
Sent from the JQuery mailing list archive at Nabble.com.


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



[jQuery] mouse gestures?

2006-09-29 Thread Brian Litzinger

Has anyone done any work with mouse gestures? For example detecting if the
user drug the mouse on a specific element at least 50 pixels left/right,
right/left, up/down, down/up?
-- 
View this message in context: 
http://www.nabble.com/mouse-gestures--tf2359444.html#a6573213
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Hiding multiple elements, then showing one

2006-09-22 Thread Brian Litzinger

I have a little bit of code that I want to hide x amount of divs, then when
they're all hidden to show a specific one. Right now I have this...

// hide all found divs
$(settings.slide).hide();
// get the slide that i want shown
div = $(settings.slide).get(i);
// show the slide when everything is hidden
$(div).fadeIn();

How do I chain a hide all, then show one function?
-- 
View this message in context: 
http://www.nabble.com/Hiding-multiple-elements%2C-then-showing-one-tf2318376.html#a6449115
Sent from the JQuery mailing list archive at Nabble.com.


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