Re: [jQuery] problem with mootools like top navigation
Hello Stefan, This menu is great and I will actually use it in my new web project. It needs a little improvement however, but I am not capable of doing it. Try to move with the mouse fast left-right over the menu items and then stop. The menu goes mad as it remembers every 'action' to do in the stack. That doesn't happen on mootols implmentation. Friday, February 2, 2007, 3:10:26 PM, you wrote: Try like this http://interface.eyecon.ro//demos/menu.html 2007/2/2, Sharandeep Brar [EMAIL PROTECTED]: Hello Everybody, It's my first post here. I've been using jquery for some time now but new to interface and don't have much deep knowledge of javascript. So just playing with interface, what i was trying to do is to make a menu like http://mootools.net. I'm talking about the top menu (Download, Docs, Forum, Trac). I'm trying making the same effect using jquery and interface. Check it at http://sharanbrar.com/moo/ I've been partially successful. But as you can see the enlarging of the moused over menu item and collapsing of other menu items do not happen at the same time. They happen one after the other. Is there a way in which they can happen at the same time ? or there is some other method to make this effect. ? I'm using following code for this $(.kwicks li a).animateStyle(width:105px, 500); $(this).animateStyle(width:185px, 500); Thanks in advance for any advice. Regards, Sharandeep Brar ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Best regards, Stoyanmailto:[EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
Hello Stefan, Thanks for the great news. The interface plugin makes jQuery valuable. I've noticed this bugs however: 'Resizables' from the demo doesn't work for me in IE7. 'Slider' - the lower slider doesn't work (IE7 again). Monday, January 15, 2007, 1:25:03 PM, you wrote: Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Best regards, Stoyan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jqminmax trouble
Hi all, I have a troble with jqminmax plugin, which I am trying to solve since 2 days, but with no suucess. The problem is: it simply doesn't work and I cannot figure why. Here is the test page: http://72.232.217.42/~titanga/arena_new/source/htmls/phonebasic.php?id=1349 There are tooltips everywhere (on Papeeal for example) and they are broken under IE6 due to the max-width property. Can anyone help me to trace the problem ? -- Best regards, Stoyan mailto:[EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Check element visibility
Hello all, How can I check if a given element is visible or not (i.e. has display:block). I have the folowing situatioin - I need to hide all li class=label elements that have ALL their li class=clearfix descendant hidden. (if one or more of the li class=clearfix descendants is visible, then the label must stay visible). I intend to do sometning like that: $(div.specifications li.label).each(function() { to_hide = 1; $( li.clearfix, this).each(function() { if($(this).IS_VISIBLE to_hide = 0; }) if($.trim(this.innerHTML) == 'nbsp;') $(this).parent().parent().toggle(); if(to_hide) { $(this).hide(); } }) What might IS_VISIBLE be ? Any hints ? -- Best regards, Stoyan mailto:[EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Function: $(...).ancestorsTo(match)
Hello Jonathan, Wednesday, December 13, 2006, 11:47:37 PM, you wrote: I wrote a method that will provide a list of ancestors for any number of generations until an ancestor matches the expression. Example: BODY DIV UL.myClass LI UL LI #myId $('#myId').ancestors() returns [UL, LI, UL.myClass, DIV, BODY] $('#myId').ancestors(UL.myClass) returns [UL.myClass] Returns all elements up to and including the match expression $('#myId').ancestorsTo(UL.myClass) returns [UL, LI, UL.myClass] Code: jQuery.fn.ancestorsTo = function(match) { var j = $(); var b = false; $(this[0]).ancestors().each(function() { if (b == false) { j.add(this); if ($(this).is(match)) { b = true; } } }); return j; }; Cheers, -js Very userfull indeed. -- Best regards, Stoyan mailto:[EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/