[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-03 Thread Alex Ezell
Josh, The code at remysharp.com that you link to is definitely the one I posted above. Good job digging it up. Thanks! /alex On 6/3/07, Scott Sauyet <[EMAIL PROTECTED]> wrote: mrcarxpert wrote: > It's been a long time since I've posted anything. I've been busy, but > I did manage to squeeze

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-03 Thread Scott Sauyet
mrcarxpert wrote: It's been a long time since I've posted anything. I've been busy, but I did manage to squeeze out another plugin before my vacation. I'm proud to announce the first Beta of my Watermark Input Plugin for jQuery. This is the first public release for this plugin which has been u

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Glen Lipka
@Sean: I agree, plug n play is awesome. The http one is the weakest example. Its more relevant for "$" and "%". But this is the sort of thing that flexibility is useful. There are many edge cases where you want to prefix or suffix something. Glen On 6/1/07, Sean Catchpole <[EMAIL PROTECTED]>

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Sean Catchpole
Josh, It's your baby now, have fun with it. If you implement the title idea, I recommend automatically running Watermark on all inputs with a title attribute (if your script is included). ie: $("[EMAIL PROTECTED]").Watermark(); Making scripts plug-and-play is one of the best ways to reach a wi

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Josh Bush
After some searching, it looks like I re-implemented the following: http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/ Mine does have the global functions to hide and remove the watermarks. I think I like the idea of making the text be driven from the title attribute. I'm also curio

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Sean Catchpole
Slightly off topic, but why would you not want them to enter the "http://"; does that really complicate things? Great plugin btw, although I really like using the title attribute as much as possible, so I like Alex's suggested script too. Keep up the good work everyone. ~Sean

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Glen Lipka
I think on top is better. Usually these are things you dont want the user to type in because you want clean data (without the prefix). If you put it in a span with a class, then the user could change the color through CSS. One interesting case is the user has an option of http or https. But in

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Alex Ezell
I use a "plugin" called hint.js to do this. Not sure where I got it and the original source is on another machine so I can't look it up. It works by catching all the inputs with a particular CSS class and setting their values to the HTML title attribute's value. It's a similar idea but slightly

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Josh Bush
That's a cool idea. Would you want the watermark in this instance to be on top of the input as you described (and possibly a different color), or actually inside of the input box and included in the text when you get the value? Josh On 6/1/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > I love it.

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Glen Lipka
I love it. I think I will switch to this one rather than the one I was using. Previously, I had heard this technique being called "OverLabel". However, I think Watermark is a much better name. One feature request: Often I have an input that the user should type in their URL or sometimes its a d

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Josh Bush
I haven't had a chance to test any of my plugins with v1.1.3. I'll be looking into it soon. Thanks for the response! On Jun 1, 9:28 am, Rey Bango <[EMAIL PROTECTED]> wrote: > Looks great in IE7 and FF 2.0.0.4 Josh. Great work. This is a very > useful plugin. > > Have you tested it with jQuery v

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Rey Bango
Looks great in IE7 and FF 2.0.0.4 Josh. Great work. This is a very useful plugin. Have you tested it with jQuery v1.1.3 as well? Rey... Josh Bush wrote: Stupid last minute changes. I fixed my goof. Please see if that corrects the problem. On Jun 1, 8:45 am, "Dan G. Switzer, II" <[EMAIL P

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Josh Bush
Stupid last minute changes. I fixed my goof. Please see if that corrects the problem. On Jun 1, 8:45 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Josh, > > >It's been a long time since I've posted anything. I've been busy, but > >I did manage to squeeze out another plugin before my va

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Josh Bush
Sorry that I messed up the URL, the project is located at: http://digitalbush.com/projects/watermark-input-plugin

[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Dan G. Switzer, II
Josh, >It's been a long time since I've posted anything. I've been busy, but >I did manage to squeeze out another plugin before my vacation. > >I'm proud to announce the first Beta of my Watermark Input >Plugin for jQuery. This is the first public release for this >plugin which has been used in