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')
2009/11/30 breadwild :
> I have seen several examples on jQuery plugin sites that have the
>
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
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
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
.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
I'm interested in this and found this: http://drupalbin.com/8159
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
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
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(";;")
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
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
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
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
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
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
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
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
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.
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
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
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
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
23 matches
Mail list logo