[jQuery] Re: Toggle Not Working
Hi, When u use toggle like that, it already binds a click event on the matched elements. So, what will happen in your code is: 1. when the document is ready, it will bind a click event on 'a.toggle'; 2. when u click in 'a.toggle' it will bind a click event on '.portlet_content'; 3. when u click again, it will rebind a click event on '.portlet_content'; 4. and so on... You need to remove the click part of your code. Something like: $('a.toggle').toggle( function(){ $(this).parents('.portlet_topper').addClass('active'); }, function() { $(this).parents('.portlet_topper').removeClass('active'); } ); On Jun 22, 4:48 pm, Gercek Karakus wrote: > Hi everyone, > > I am having problems withToggle. You can see the jQuery and XHTML > code below. Please let me know if you can see what's going wrong here. > > Thanks, > > $(document).ready( > function() > { > $('a.toggle').click(function() > { > > $(this).parents('div.portlet').children('.portlet_content').toggle > (function(){ > > $(this).parents('div.portlet').children('.portlet_topper').addClass > ('active'); > },function() { > $(this).parents('div.portlet').children > ('.portlet_topper').removeClass('active'); > }); > }); > > }); > > > > 1. Most Recent Comments > > > > Lorem ipsum dolor si ipiscing laoreet nibh. In hac > habitasse platea dictumst. Aliquam erat volutpat. Cum sociis natoque > penatibus et magnis dis parturient montes, nascetur ridiculus mus. In > ut justo. Nulla libero. > >
[jQuery] Re: Question about the mailinglist
The mailing list itself does not provide this feature, but I think u can acquire this creating a filter in ur mail client. On Dec 22, 2007 2:48 PM, psy* <[EMAIL PROTECTED]> wrote: > > Hello, > is it possible to receive only responds to questions that I asked in the > mailinglist directly? > thanks :) >
[jQuery] Re: Kwick type horizontal accordion with jquery ?
Hi, here are two examples using jquery: 1. http://www.gmarwaha.com/jquery/jkwick/test/test.html 2. http://dev.jquery.com/~john/jquery/test/moo-menu.html Also, u can find a lot of discussion about it here: http://www.nabble.com/forum/Search.jtp?forum=15494&local=y&query=kwick Hope it helps. On Dec 25, 2007 8:52 PM, Mark <[EMAIL PROTECTED]> wrote: > > Hey everyone! Happy holidays. > > Ive been on a 3 day hunt for a horizontal accordion that functions > almost identically to the one offered by mootools. An example of this > type of accordion can be see on the mootools homepage (http:// > www.mootools.net) . > > I want to use jquery or any other structure other then mootools, but > idealy jquery. Now i've come across the common solutions on the > internet, but they all seem to use a handle bar to control the > function, I was interested in one very similar to the one by > mootools. What I mean is that simply hovering over a unit will force > it to expand the div, rather then having to click on a handle bar. > The use of hoverintent in the script is a big bonus as well.. > > Well, if anyone knows of the existence of any such script it would be > a big bonus :) > > thanks! > >
[jQuery] Re: Ann: Flot 0.1 released
Wow, looks nice. Great work. On Dec 4, 2007 11:48 AM, Richard D. Worth <[EMAIL PROTECTED]> wrote: > Beautiful stuff. Nice work! I'll be using this for sure. > > - Richard > > > On Dec 4, 2007 7:04 AM, Ole Laursen <[EMAIL PROTECTED]> wrote: > > > > > Hi! > > > > I've just released Flot 0.1, a brand-new plot plugin for jQuery which > > focuses on simple usage, attractive looks and interactive features > > like zooming. It's like plotr and Plotkit, but hopefully a bit more > > intelligent when it comes to auto-adjusting axes. > > > > The project page is here: > > > > http://code.google.com/p/flot/ > > > > And examples are here: > > > > http://people.iola.dk/olau/flot/examples/ > > > > I also posted about the news on my blog: > > > > http://ole-laursen.blogspot.com/2007/12/flot-01-released.html > > > > I'm in the midst of writing the API documentation, but the examples > > should hopefully get you started and the available settings are > > documented in the source code at the top of the file. > > > > -- > > Ole Laursen > > http://people.iola.dk/olau/ > > > >
[jQuery] Re: How this can be done with jQuery
Take a look here: http://commadelimited.com/ Its not mine (its from Andy Matthews), but he is doing what u want to do. PS: he is an active user of this list too. On Nov 12, 2007 7:17 PM, sarn <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm a newbe and need to get a simple thing done with jQuery ... > which doesn't seem to be that simple to me. > > Want a sort of accordian effect with just one div attached to the bottom of > the page which slides in/up on hover and slides out when cursor is out ... > there's one more thing in between which is when the div is sliding out and > you hove back it starts sliding in from that point !!! Have done a sample in > flash which can be seen at http://asifrnaqvi.com/stuff/sample/del.swf > > Would be really great if any guru can help sort this out. > > Thanks > -- > View this message in context: > http://www.nabble.com/How-this-can-be-done-with-jQuery-tf4785449s27240.html#a13690152 > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >
[jQuery] Re: number formatting plug-in
I dont know if this is what ur looking for, but... take a look: http://digitalbush.com/projects/masked-input-plugin On 10/18/07, james_027 <[EMAIL PROTECTED]> wrote: > > > hi, > > is there a number formatting plugin for jQuery? > > Thanks > >
[jQuery] [NEWS] Humanized Messages
Found a new jquery plugin: http://binarybonsai.com/archives/2007/10/15/humanized-messages-for-jquery/ >From the authors blog: "(...) It's simply a large and translucent message that's displayed over the contents of your screen. (...)"
[jQuery] Re: [NEWS] Coda-Slider Plugin
Yep, its very nice and its already in the plugins page ( http://jquery.com/plugins/project/Coda-Slider). Im waiting to when its become compatible with jquery 1.2 (as the author says in the limitations tab). On 10/15/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > That's really nice. Works well in IE7/PC. Looks really nice too, > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Rey Bango > Sent: Sunday, October 14, 2007 11:39 PM > To: jQuery Discussion > Subject: [jQuery] [NEWS] Coda-Slider Plugin > > > Found a jQuery version of the Coda Slider: > > http://www.ndoherty.com/demos/coda-slider/ > > I got it from the following blog: > > http://www.toolsoup.com/slider-or-glider-using-javascript/ > > Rey... > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~--~~~~--~~--~--~---
[jQuery] Re: Masked Input Plugin 1.1
Hi, do u know the iMask plugin for Mootools? Its a very nice input mask tool and i think some features could be incorporated in ur plugin. Take a look: http://zend.lojcomm.com.br/imask/ On 10/4/07, Josh Bush <[EMAIL PROTECTED]> wrote: > > > For those that care, the problem ended up being a result of my using > $.each() over a string. Apparently IE won't let you use [] to access > an individual character from a string. The solution for me was to > call .split on the string as I passed it into $.each() so that it > looks like this "$.each(myString.split(''),function(i,c){/*code > here*/});" > > Josh > > On Oct 4, 12:01 am, Flesler <[EMAIL PROTECTED]> wrote: > > Congratz, the example works fine now, in IE. > > > > On Oct 3, 3:02 pm, Josh Bush <[EMAIL PROTECTED]> wrote: > > > > > I managed to get this fixed last night and put a new version up. I'll > > > be updating the jquery plugins page tonight. > > > > > Josh > > > > > On Oct 2, 6:40 pm, Josh Bush <[EMAIL PROTECTED]> wrote: > > > > > > It appears something I've done had totally borked this plugin for > IE. > > > > I'll figure it out real quick and get a new version out. > > > > > > On Oct 2, 2:26 pm, Flesler <[EMAIL PROTECTED]> wrote: > > > > > > > Your plugin is great, I checked it out some time ago... you know, > the > > > > > example fails in IE (6, windows). When I focus an input or type in > it, > > > > > an error pops saying "'res' is not defined". > > > > > > > On 2 oct, 15:06, Josh Bush <[EMAIL PROTECTED]> wrote: > > > > > > > > I just released version 1.1 of my Masked Input Plugin for > jQuery. I > > > > > > have more features in the pipeline to add to 1.2, but I wanted > to get > > > > > > a few fixes out the door before doing so. The only thing new > this time > > > > > > is an unmask method. > > > > > > > > In addition to code changes, I've made a few more enhancements. > I've > > > > > > added a packed version for those who want the smallest possible > > > > > > footprint. I've also given the project page a face lift to make > things > > > > > > easier to find. > > > > > > > > Below is a list of changes this time: > > > > > > > > * NEW FEATURE: unmask() method to remove masking for a > previously > > > > > > masked input. > > > > > > * Safari cursor position fix. > > > > > > * Cursor position behavior change: Cursor goes to the end of > the > > > > > > input on a completed input. Cursor goes to the first placeholder > > > > > > position on a blank input. > > > > > > * Fixed improper escaping of certain mask characters. > > > > > > * Code refactoring to reduce size and complexity. > > > > > > > > Please check it out at: > http://digitalbush.com/projects/masked-input-plugin > > > > > > > > Thank You > > > > > > Josh > > > > > > digitalbush.com- Hide quoted text - > > > > > - Show quoted text - > >
[jQuery] New plugin found - FastFind Menu
Just found it today: http://labs.activespotlight.net/jQuery/menu_demo.html Click toggle menu to see it in action. This menu looks like the one from deviantART (http://www.deviantart.com/).
[jQuery] Re: Are there any particular ways to debug jQuery code?
There is a video presentation in Yahoo, where Joe Hewitt (Firebug author) talks about Firebug 1.0 and some features. Here: http://video.yahoo.com/video/play?vid=111597 On 7/26/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > > Mitchell, I don't know of any Firebug tutorials offhand, I would just > Google > it and see what turns up. > > -- Josh > > > - Original Message - > From: "Mitchell Waite" <[EMAIL PROTECTED]> > To: > Sent: Thursday, July 26, 2007 2:11 PM > Subject: [jQuery] Re: Are there any particular ways to debug jQuery code? > > > > > > THANK YOU that is super amazing. That simple icon I never even noticed. > I > > love the way it shows you exactly where you messed up. > > I know the answer to this but I got to ask - are there any firebug > > tutorials > > around? > > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Josh Nathanson > > Sent: Thursday, July 26, 2007 1:30 PM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Are there any particular ways to debug jQuery > code? > > > > > > Mitchell - if an error occurs in a script, you will see a red "x" in the > > lower right corner of the web browser. Click that to open the Firebug > > console. In the console tab you'll see the error. Instead of throwing > an > > alert like IE6 does, it logs errors into the console. > > > > If your script is clean (no errors), you'll see a green "check" in the > > lower > > > > right corner. > > > > Firebug is an amazing program - once you get used to it, it will be > > indispensable for you. Showing errors is just one of the many helpful > > things it can do. It can also show you every script and image that > makes > > up > > > > the currently viewed page, and how long they took to download (the "Net" > > tab). > > > > -- Josh > > > > > > > > - Original Message - > > From: "Mitchell Waite" <[EMAIL PROTECTED]> > > To: > > Sent: Thursday, July 26, 2007 1:13 PM > > Subject: [jQuery] Re: Are there any particular ways to debug jQuery > code? > > > > > >> > >> I do have it and I have run it but I don't see where it can tell me > what > >> I > >> am doing wrong. > >> > >> -Original Message- > >> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > >> Behalf Of Priest, James (NIH/NIEHS) [C] > >> Sent: Thursday, July 26, 2007 10:49 AM > >> To: jquery-en@googlegroups.com > >> Subject: [jQuery] Re: Are there any particular ways to debug jQuery > code? > >> > >> > >>> -Original Message- > >>> From: Mitchell Waite [mailto:[EMAIL PROTECTED] > >>> > >>> $("#nest").click(function() { > >>> alert("got it"); > >>> $("#nest").fade("slow"); > >> > >> I still haven't picked up my jQuery book again - this weekend! > >> > >> But couldn't your write this like: > >> > >> alert("got it").fade("slow"); > >> > >> Does the fade work if you remove the alert? > >> > >>> I just don't know how to systematically track this down. > >> > >> Do you have the Firebug plugin for Firefox? > >> http://www.getfirebug.com/ > >> > >> Jim > >> > >> > > > > > > > >