[jQuery] Re: My First Plugin

2009-03-07 Thread Michael Geary
What is the exact name of your plugin function as defined in line 13 of your pastebin code? Is it "psHover" or is it something else? -Mike _ From: Sergio Michels Hi all, i'm trying to build a plugin that create ":hover" and ":active" rules in my form (to work with ie sucks). But when

[jQuery] Re: my first plugin

2008-11-02 Thread Rick Faircloth
Nice work, diego! Rick diego wrote: I've updated my plugin, i added: caption as option, thumbs_nav when image is zoomed, auto resize of images if bigger then window dimension. http://www.pirolab.it/pirobox/ Regards Diego On 29 Ott, 00:18, diego <[EMAIL PROTECTED]> wrote: Hi Microbe,

[jQuery] Re: my first plugin

2008-11-02 Thread diego
I've updated my plugin, i added: caption as option, thumbs_nav when image is zoomed, auto resize of images if bigger then window dimension. http://www.pirolab.it/pirobox/ Regards Diego On 29 Ott, 00:18, diego <[EMAIL PROTECTED]> wrote: > Hi Microbe, i'm glad that you like my work, > today i

[jQuery] Re: my first plugin

2008-10-28 Thread diego
Hi Microbe, i'm glad that you like my work, today i just finished to develop the basic options about my script,and it works fine with all browsers tested,FF2/3, opera 9,ie6/7,safari(for pc), google chrome, and this is a great result for me. I want to add the next and prev btns, and a space for img

[jQuery] Re: my first plugin

2008-10-28 Thread Microbe
I should add, this is a great solution to another issue. I use highslide on a website but just loading when the combination is Win2K and IE6 causes a computer to reboot

[jQuery] Re: my first plugin

2008-10-28 Thread Microbe
Nice work, I would like to see the behaviour as follows: When one image is zoomed and you click on another there are 3 options: just close the first one (as it does now) OR close the first one and open the second one (better) OR open the second one as well.

[jQuery] Re: my first plugin

2008-10-28 Thread diego
Hi Andy, tnx for your reply, the animation hover the thumbs it's very simple: $('.img_in li').hover(function() { var img = $(this).attr('title') $('#'+img).stop().animate({ padding:'10px', height : '124px',

[jQuery] Re: my first plugin

2008-10-28 Thread diego
Hi Validatorian,tnx for your reply, the loader it's just there, but maybe it's too dark to see it, i'm going to change it. :) Regards Diego On 28 Ott, 20:43, Validatorian <[EMAIL PROTECTED]> wrote: > Hi Diego, > > I think it's a nice plugin (just tested it, didn't look at code) > > I think it

[jQuery] Re: my first plugin

2008-10-28 Thread Validatorian
Hi Diego, I think it's a nice plugin (just tested it, didn't look at code) I think it might be better if you showed some "loading" indicator somehow, while it's waiting to load the large images. Other than than, good job on your first plugin! On Oct 28, 12:04 pm, diego <[EMAIL PROTECTED]> wrot

[jQuery] Re: my first plugin

2008-10-28 Thread Andy Matthews
That's very well done. Good job Diego. I really like the animation when you hover over the thumbnail. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of diego Sent: Tuesday, October 28, 2008 2:04 PM To: jQuery (English) Subject: [jQuery] my first

[jQuery] Re: My first plugin ... need some help.

2008-10-23 Thread shapper
Thank you for your help and patience. It is working fine ... just a last question: I need to add an input with hidden value to each list item: ... The name of the input should be the name of the list passed. The following is what I have now, but I get an error on Firebug: $('').appendTo(opt

[jQuery] Re: My first plugin ... need some help.

2008-10-22 Thread ricardobeat
Hi there, The '@' for attributes has been deprecated, and you can choose that by class also. Another try (hope google groups won't break it too much): $(document).ready(function() { $.fn.createList = function(opt){ var origin = this.eq(0).parents('form'); //get the parent element var

[jQuery] Re: My first plugin ... need some help.

2008-10-22 Thread shapper
Hi again, I changed the join to a dot and added [EMAIL PROTECTED] as a selector of my CheckBoxes group. I am trying that the values of the selected checkboxes to be added in a Comma Separated format. This is not working? Could someone, please, help me with this thing? It is the last thing to fi

[jQuery] Re: My first plugin ... need some help.

2008-10-22 Thread shapper
Hi, I solved problem 1 and updated my online example. I still have problems with the checkboxes and the display format ... any idea how to solve? Thanks, Miguel On Oct 23, 12:23 am, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > I uploaded the updated > version:http://www.27lamps.com/Beta/Li

[jQuery] Re: My first plugin ... need some help.

2008-10-22 Thread shapper
Hello, I uploaded the updated version: http://www.27lamps.com/Beta/List/List.html#remove There is only two problems: 1. The value of the select is not being added. 2. If i have multiple chekboxes on the same group I would like to add only the values of ones selected. The ideal would be to have

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread shapper
Hi, I will try it. Sorry, but I am no expert with JQuery and I am just trying to pull this off. I understand that a plugin should have many more options but my intention is to have this plugin so I can use across my projects and with time improve it. It would be easier to make this without being

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread ricardobeat
Install the Firebug extension for Firefox so you can debug your code easily: www.getfirebug.com I don't mean it's not good for a plug-in, I mean it's a very specific behaviour. To be useful to a large number of people it would need to be very flexible and customizable. On your test page, you for

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread shapper
Hi, I tried to follow your tips but I might be doing something wrong: http://www.27lamps.com/Beta/List/List.html A few questions: 1. Why isn't this good for a plugin? I fell this is really useful in forms for selecting multiple items, add them to the a list and then read that list from serve

[jQuery] Re: My first plugin ... need some help.

2008-10-16 Thread ricardobeat
This is quite specific to made into an actual plug-in, but here it goes: $.fn.createList = function(list){ var origin = this; $(':submit',origin).bind('click',function(){ str = []; console.log($('input,select,checkbox:checked',origin)); $

[jQuery] Re: My first plugin ... need some help.

2008-10-16 Thread shapper
Hi, I added a live example to: http://www.27lamps.com/Beta/List/List.html It is not working. Could someone, please, help me with this? I am trying to create something similar to what is used in wordpress to add tags to a post but getting the values from multiple form inputs. Thanks, Miguel On

[jQuery] Re: My first plugin ... need some help.

2008-10-15 Thread ricardobeat
If the ids are supplied in '#id,#otherid,#otherid' format, you could do: var str = new String; $(options.formids).each(function(){ str += $(this).val(); str += ','; }); $('').appendTo(options.listid).text(str); - ricardo On Oct 15, 9:49 pm, shapper <[EMAIL PROTECTED]> wrote: > Hello, >

[jQuery] Re: My first plugin, criticisms please

2007-11-01 Thread polyrhythmic
I've found that writing my code with a modular OOP plugin mentality, it's a lot easier to reuse my own code and trade snippets with others, since it's already abstracted into a plugin. I don't know if you've seen Mike Alsup's recent Learning jQuery post about Plugin Dev, but it's a good read abou

[jQuery] Re: My first plugin, criticisms please

2007-10-31 Thread Adrian Lynch
Thanks all. I did have a think about which way around I wanted it to work. Thinking about what will be returned is also handy. I can see me wrting more plugins now. Thanks again. Adrian On Oct 30, 2:51 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > > $(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WI

[jQuery] Re: My first plugin, criticisms please

2007-10-29 Thread Dave Methvin
> $(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WISH_TO_COPY).show(); > That way your focus is on the changing element. I tend to agree; if that's what you want then it's pretty short already. $(syncElements).val(formatter(elementToCopy.val())).show(); The other way around isn't a lot longer but it

[jQuery] Re: My first plugin, criticisms please

2007-10-29 Thread polyrhythmic
Adrian, Which elements would you likely work on next after copying values? The order matters because you're going to return a jQuery element or element set. I think it's better to be able to do something like this: $(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WISH_TO_COPY).show(); That way your fo

[jQuery] Re: My first plugin, criticisms please

2007-10-29 Thread Jonathan Sharp
It'd be best to post a link to the sample. Most people won't go through the time to copy and paste the above code to execute it. Cheers, -js On 10/29/07, Adrian Lynch <[EMAIL PROTECTED]> wrote: > > > I hope this is ok to do. I've just done my first plugin and I thought > I'd ask for anyone's opi

[jQuery] Re: My first plugin - expand/collapse

2007-05-17 Thread Sean O
Hi Tom, Here's a few links for inspiration from similar projects: http://labs.activespotlight.net/jQuery/Xpander.html http://www.learningjquery.com/2007/02/more-showing-more-hiding Might I suggest a demo on your plugin article? SEAN O http://www.sean-o.com Tom Holder wrote: > >

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Michael E. Carluen
L PROTECTED] On Behalf Of Karl Swedberg Sent: Sunday, April 01, 2007 6:16 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: My first plugin, overlabel Hi Michael, That looks like it would do what you're shooting for. I played around with it a bit just for kicks, seeing if I c

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Karl Swedberg
al == '') { </pre><tt>$(this).attr({ class: 'login_labels', type: 'text'}).val </tt><tt>('password'); </tt><pre style="margin: 0em;"> } }); > -Original Message--

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Michael E. Carluen
pe: 'text'}).val('password'); } }); > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Scott Sauyet > Sent: Sunday, April 01, 2007 11:54 AM > To: jquery-en@googlegroups.com > Su

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Karl Swedberg
On Apr 1, 2007, at 2:54 PM, Scott Sauyet wrote: Karl Swedberg suggested that this had to do with accessibility and graceful degradation. That is certainly correct, but the main point is simply to reduce the screen real estate taken by the form. Scott, when I looked at the HTML Michael provi

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Scott Sauyet
Michael E. Carluen wrote: I am curious as to what might be the advantage of using your overlabel plugin versus a much shorter script like the one below? I posted your suggested code at http://scott.sauyet.com/Javascript/Demo/Overlabel/test.html and a simple version of mine at http:/

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Karl Swedberg
Hi Michael, I'm guessing that the advantage has to do with semantic HTML and graceful degradation. Semantically, the label for an input belongs in a element. When JavaScript is not enabled, the user will have a label next to the input, and won't have to select "userid" or "password" insi

[jQuery] Re: My first plugin, overlabel

2007-04-01 Thread Michael E. Carluen
Hi Scott: I am curious as to what might be the advantage of using your overlabel plugin versus a much shorter script like the one below? -Michael .login_labels{color: #eee;} .login_fields{color: #000;} $(function(){ $('#userid_field').focus(function() { $(this).attr(

[jQuery] Re: My first plugin, overlabel

2007-03-31 Thread Erik Beeson
Reminds me of this: http://www.bash.org/?4278 On 3/31/07, John Resig <[EMAIL PROTECTED]> wrote: > (Am I the first one on the new list?! Do I win a prize?) You are! You win the internets!

[jQuery] Re: My first plugin, overlabel

2007-03-31 Thread John Resig
> (Am I the first one on the new list?! Do I win a prize?) You are! You win the internets!

[jQuery] Re: My first plugin, overlabel

2007-03-31 Thread Scott Sauyet
(Am I the first one on the new list?! Do I win a prize?) >> == Scott Sauyet > == Matt Stith >> I'm fairly new to JQuery. I recently needed a technique I had seen >> recently on A List Apart to combine labels and text input boxes into >> a single control in order to save space. The technique