Re: [jQuery] Selector Help

2009-11-29 Thread Michel Belleville
Even better : $('a.filter').click(function() { $(this).closest('ul').children().removeClass('active').end().end().closest('li').addClass('active'); }); Michel Belleville 2009/11/29 Mauricio (Maujor) Samy Silva > Try this: > > $('a.filter').click(function(){ > $(this).parent().siblings('li')

Re: [jQuery] Best Practices or unobtrusive Javascript

2009-11-29 Thread Rafał Pocztarski
2009/11/30 breadwild : > I have seen several examples on jQuery plugin sites that have the >

Re: [jQuery] jquery autosuggest with spinner

2009-11-29 Thread Jörn Zaefferer
Try specifying a style for the loading class, which gets added to the input whenever a request is pending: input.loading { background: "indicator.gif" } Jörn On Sun, Nov 29, 2009 at 11:09 PM, Christine Al-Thifairy wrote: > Hi, > > I am using the jQuery autocomplete plug-in 1.1 but it doesn't ap

Re: [jQuery] Best Practices or unobtrusive Javascript

2009-11-29 Thread Shawn
When doing dynamic sites, you sometimes have no choice but to put the JS in the body area. My rule of thumb is to use libraries wherever possible and include those libraries in the section. But with the understanding that *sometimes* (though rarely these days) I will need to put JS into the

[jQuery] Best Practices or unobtrusive Javascript

2009-11-29 Thread breadwild
I have seen several examples on jQuery plugin sites that have the tag and Javascript within the and not the where I thought it was supposed to go. It would be better for my content manager and the templating system if the Javascript *were* in the but I don't want to be guilty

[jQuery] get form input value!

2009-11-29 Thread snarkie
.js[code] var Comment = { onCommentSubmit:function( el, url, targetEl ) { var data = $(el).serialize(); var type = "POST"; Star.ajax( type, el, url, data, targetEl ); return false; } } var Star = { aja

[jQuery] Re: image refresh problem due to browser cache

2009-11-29 Thread Kris
I'm interested in this and found this: http://drupalbin.com/8159

[jQuery] Superfish rollover images menu

2009-11-29 Thread crippletoe
Hello all, i am trying to setup the superfish menu and using rollover images (actually changing background images throught the css file). for some reason after tweaking the original css file to display the menu the way i like it, IE refuses to show the menu images. if shows only the ":hover" state

[jQuery] Positions on divs to affect css on menu links

2009-11-29 Thread Squirrel
I have a one-page website with a menu that is linked internally to divs on the page. I want to make the menu links to get the css :active state whenever the div with the corresponding id reaches a certain position set from the top of the page (preferably with some margin like between 30-60px from t

[jQuery] Jquery clone, doesn't clone

2009-11-29 Thread Thomas V
I'm using a plugin contextmenu and I want to be able to copy elements that are dynamically created, but somehow it doesn't clone, it uses the same element when I paste. $.post("actions.php", { action: 'getCal', from: dFrom, to: dTo }, function(data){ cals = data.split(";;")

[jQuery] jquery autosuggest with spinner

2009-11-29 Thread Christine Al-Thifairy
Hi, I am using the jQuery autocomplete plug-in 1.1 but it doesn't appear to support the display of spinner. I would like to know if there is any way to achieve the showing and hiding of a spinner, or of any other jQuery autocomplete plugin that comes with a spinner option. I have a few seconds del

Re: [jQuery] Re: Superfish jQuery menu plugin RTL support

2009-11-29 Thread Charlie
I've done RTL versions of the vertical and the horizontal version, but not navbar version. Both of the other are minor adjustments of float and sub ul position. Navbar shouldn't be a lot more complicated. Suggest putting a link up of what you have so far Vlad Shapiro wrote: Seriously no on

Re: [jQuery] Re: Hide chat content

2009-11-29 Thread Jerry Johnson
ok, that worked, but now I need to make an ajax call... On Sat, Nov 28, 2009 at 11:54 PM, Charlie wrote: > Now instead of multiple Id's all the same you have numeric ID's. > ID's can't start with numbers. Adding onclick to your markup is moving > backwards with jQuery. > Currently your hide fun

Re: [jQuery] JQ mouseover keeps firing AJAX GET -- how to make it fire once?

2009-11-29 Thread Jerry Johnson
try on hover. On Sun, Nov 29, 2009 at 1:39 PM, TrixJo wrote: > I put my mouse over the element and my JQ .mouseover keeps firing > loading my AJAX script over and over again like a crack addict on > LSD. How do you make it fire once? > >$("#swapImage").mouseover(function

[jQuery] JQ mouseover keeps firing AJAX GET -- how to make it fire once?

2009-11-29 Thread TrixJo
I put my mouse over the element and my JQ .mouseover keeps firing loading my AJAX script over and over again like a crack addict on LSD. How do you make it fire once? $("#swapImage").mouseover(function(){ // get input string from the input f

[jQuery] JQuery and Maybe IFrame Problem?

2009-11-29 Thread shapper
Hello, I am defuscating my email on the client as follows: $("span,a[href^=mailto:]";).defuscate(); Is is working! So: mailto:info(AT)domain.com" class="Email">info(AT)domain.com Becomes: mailto:i...@domain.com"; class="Email">i...@domain.com However, this is not working when the email is insid

[jQuery] Re: Superfish jQuery menu plugin RTL support

2009-11-29 Thread Vlad Shapiro
Seriously no one can help??? On Nov 28, 12:42 pm, Vlad Shapiro wrote: > Thank you Charlie, > I'm terribly sorry for the confusion, > I'm working on the nav-bar menu not the vertical style, > the link for the vertical example was to maybe give a direction for > the solution, > the nav-bar is still

[jQuery] how does pixmac.com do their neat drawer effect that shortens scrollbar when their "favorites" tab is activated?

2009-11-29 Thread Phong Long
I've come across a neat bit of, what seems to me, site/jquery/css trickery by the site pixmac.com where their favorites tab (on the bottom right of the page) will pop up when clicked, and the scroll bar is shortened, and the width of the tab when it pops up is 100% the width of the window. the scr

[jQuery] Webkit Not Load External Files?

2009-11-29 Thread MarkNadal
You know something is wrong when Internet Explorer 6 and 7 work just as perfectly as FireFox... But Chrome and Safari mess up. Easy explanation: Load http://www.aquivae.com/accelsor in FF and then Chrome. Written explanation: What (IE6+,FF) should happen: index.php -> jquery $load authenticate.

Re: [jQuery] Set link(s) to unvisited...

2009-11-29 Thread Rafał Pocztarski
2009/11/28 emurray100 : > I need to mark a link as "unvisited".  Any idea how I can do that in > jQuery? Visited links are part of the internal state of browsers, like cache and history. You can see how it's done in the Link Visitor extension for Firefox: http://linkvisitor.mozdev.org/ but you won

[jQuery] fadeout doesn't work first time

2009-11-29 Thread ghostrunner
Hey. I switch betweem three div by clicking on three different link. See code below. I use fadein and fadeout to switch between the divs. The first time i click on one of the links after the pages is loadet the current div just disappears. It doesn't fadeout. The second time and everytime after tha

Re: [jQuery] Re: slideToggle stops working after refreshing content with Ajax

2009-11-29 Thread Mauricio (Maujor) Samy Silva
jQuery 1.3 version introduces an event method called live() that resolves this issue. Sice that version you don't need the *livequery plugin* never more. See: http://docs.jquery.com/Events/live Regards Maurício -Mensagem Original- De: Sala Para: jQuery (English) Enviada em: s

Re: [jQuery] Selector Help

2009-11-29 Thread Mauricio (Maujor) Samy Silva
Try this: $('a.filter').click(function(){ $(this).parent().siblings('li').removeClass('active'); $(this).parent('li').addClass('active'); }); Maurício -Mensagem Original- De: Charlie Para: jquery-en@googlegroups.com Enviada em: domingo, 29 de novembro de 2009 03:56 Assunt