You're a dude, thank you.
I agree that it would be better server-side, but it would involve
hacking the core and I'm against that kind of thing, particularly for
something that is purely to satisfy a designer's poncy preference.
Thanks for your help.
osu
On Sep 29, 11:54
place? Like this didn't work:
$("li a").ready(function(){
$(this).parents("ul").parents("li").addClass("nav-selected");
});
Thanks,
osu
On Sep 29, 11:35 am, Liam Potter wrote:
> It all works fine, except for this bit
> $("li ul&quo
});
$("li a").click(function(){
$(this).parents("ul").parents("li").addClass("nav-selected");
});
});
//]]>
But nothing is happening...no JS errors in Firebug either - any ideas
ick(function(){
$(this).parents("ul").parents("li").addClass("nav-selected");
});
Any ideas what's going wrong?
On Sep 29, 10:29 am, Liam Potter wrote:
> $("li a").click(function(){
> $(this).parents("ul").parents("li
*parent link* under which the active link is found.
Any ideas?
Thanks,
osu
On Sep 26, 7:48 pm, "ryan.j" wrote:
> $('.nav-selected:first')
>
> On Sep 26, 5:36 pm, osu wrote:
>
> > Can anyone help with this one please?
>
> > Thanks,
>
> >
s is appearing on
the last *nested* list item, not the last item I want (link P7). Does
anyone know how I can target this with my selector?
Thanks,
osu
P1
P2
P3
P3a
P3b
P3c
P3d
P4
P5
P6
P7
Ah, I feel stupid, sorry - just found the solution:
$(document).ready(function() {
// Hide first list item
$("#header li:first").addClass("first");
// Hide last list item
$("#header li:last").addClass("last");
});
On Sep 26, 6:47 pm, osu wrote:
&
Can anyone help with this one please?
Thanks,
osu
On Sep 25, 2:03 pm, osu wrote:
> Thanks Ryan for the alternative,
>
> However, I need to do the following now (see message above your last
> post):
>
> I need to highlight *only* the top-parentitem (the same one I just
&
Thanks Ryan for the alternative,
However, I need to do the following now (see message above your last
post):
I need to highlight *only* the top-parent item (the same one I just
ran 'return false;' on) with the class 'nav-selected'.
Any idea how I could do that?
Thanks,
o
Anyone?
Thanks
osu
On Sep 24, 9:26 pm, osu wrote:
> Ok, I have another question that's related to the first.
>
> I need to highlight *only* the top-parent item (the same one I just
> ran 'return false;' on) with the class 'nav-selected'.
>
> This is
to parent li with children
$(".nav-path-selected").addClass("nav-selected");
};
But it's not working for me. I'm *only* trying to affect the parent
of the list that has a child active in it.
Do you know how I can do that? Thanks for all your help so far, really
is
That's perfect, thanks for that - the second example works a treat.
osu
On Sep 24, 7:10 pm, Andi23 wrote:
> In that case, you can just remove the href attribute of the link(s):
> $("li ul").siblings("a").removeAttr("href");
>
> or, if you wan
Thanks Andi,
Yes, I meant an unordered list as you showed.
Rather than remove the tag, is it possible to just 'deactivate'
it? i.e. when you click it, nothing happens, but the tag stays in
place?
I ask, because I'd like to keep the CSS as simple as possible.
Thanks,
osu
- Link 3b
- Link 3c
- Link 4
Is that possible? I think it should be with selectors, but can anyone
show me how?
Thanks,
osu
items.
Is that possible?
Thanks,
osu
images in it and I can´t seem to keep them in the
background only (i.e. the z-index doesn't work).
Any ideas of how to keep the images only in the backgroun/stop them
obscuring other elements on the page?
Thanks
osu
keep track of all browsers.
Thanks,
osu
On Jun 29, 10:57 am, "Jonathan Vanherpe (T & T NV)"
wrote:
> osuwrote:
> > Hi,
>
> > Could someone take a look at this website I developed and let me know
> > what's going on with the footer logos please? It se
#x27;s not happening on my system at home, but can someone confirm
whether it's happening on their as well? Anyone know how I can stop it
if so?
Thanks,
osu
Anyone? Pretty please :)
On Apr 3, 9:16 am, osu wrote:
> Hi,
>
> I'm trying to validate a checkbox before going to checkout in a shop
> (without using the validate plugin), but the JQuery doesn't seem to be
> working at all (i.e. nothing happens). Tried debugging
nd see what I'm doing wrong please?
Thanks,
osu
HTML:
Continue shopping
Please confirm you have read and
understood our Terms and Conditions (required)
JQUERY:
//<![CDATA[
// JQuery function to test if t-and-c checkbox checked
$(d
Cheers for this Brian - can you tell me, do I need to put the
makeImgCaption function code above the $(function...? Also, I can't
see how the image is being wrapped in a div, could you explain that
part to me please?
Many thanks,
osu
On Apr 1, 5:09 pm, brian wrote:
> In the first
omla).
Any ideas of what I'm doing wrong? The caption isn't appearing?
Thanks,
osu
// Create caption from title attribute for images with
class="imgcaption"
$j('img.cright').each(function(){
var caption = '' + $j(this).attr('title
27;);
It just uses the title attribute of the HTML document. Ideally, I'd
like to wrap the caption in a tag as well, but don't know how
to do that.
Any ideas greatly appreciated.
Thanks
osu
is a demo of the validation plugin with some captcha
> implementation, not
> reCaptcha:http://jquery.bassistance.de/validate/demo/captcha/
>
> Could help as a starting point.
>
> Jörn
>
> On Mon, Jan 26, 2009 at 2:05 PM, osu wrote:
>
> > Hi,
>
> > Is t
Hi,
Is there a way to validate a visitors reCaptcha input using JQuery
before sending the form?
I can't see any way I can do it. Can anytone help?
Thanks
Thanks for all the responses, much much appreciated.
Funny you mentioned that method Ramanathan, as it's the one I've ended
up using!
Cheers,
osu
On Jan 24, 11:07 pm, Ramanathan RV wrote:
> Hi,
>
> Checkout the non-intrusive labelover
> plugin.http://remysharp.com
Hi,
Apologies for this noob question, but I really need help and I have
tried numerous techniques to get this right.
A client has asked me to create an accessible form that has text
describing what to put in the input area shown within the input.
However, they don't want a label above it.
To ke
27 matches
Mail list logo