ensagem Original-
> De: littlerobothead
> Para: jQuery (English)
> Enviada em: quinta-feira, 13 de agosto de 2009 16:46
> Assunto: [jQuery] Radio button checked status
>
> Banging my head against a wall here. I have this:
>
> 1Date Range
>
> Daily
>
&g
Banging my head against a wall here. I have this:
1Date Range
Daily
Weekly
Monthly
and I'm trying to get checked status with this:
var period = $('input.period:checked').val();
But, of course, no joy. Do *I* need to set the checked status of the
radio button in order to use the :checked met
ml() function.
> use --count
>
> Peter
>
> on 03/08/2009 21:15 littlerobothead said::
>
>
>
> > I have a status area in an app I'm working on. It shows the number of
> > unread alerts. As the user clicks each alert, it's subtracted from the
> > total.
I have a status area in an app I'm working on. It shows the number of
unread alerts. As the user clicks each alert, it's subtracted from the
total. The following code counts the number of items to use as my
total:
var trigger = $("#dataset-b tr.unread");
var count = $(trigger).length;
I've built an expanding HUD control for a map in a project. I've got
it expanding, and, using some code from this group I have it avoiding
the edges of the viewport on first resize. The problem is that it
doesn't seem like an object updates its position when you make it
draggable with the jQuery U
dOffset.left < 360 ) {
> hud.animate({left:-360}, 90);
>
> } else {
> return false;
> }
>
> I'm guessing you'd need something like that.
>
>
>
> littlerobothead wrote:
> > I have a small hud-syle control I've built for a project. I'm using
&g
I have a small hud-syle control I've built for a project. I'm using
the following code to activate a collapse button on the hud, and to
resize the hud so that it can accommodate some wide data.
$('li.hud-left-tab').click(function() {
// First, if the hud is collapsed, slid
> var count = 25;
> $('#test').text(count);
> $('body').click(function () {
> $('#test').text(--count);
>
> });
>
> Launch it, then click on the body: you'll see the number decrease :)
>
>
>
>
>
> On Thu, Jul 9,
I'm sure this is going to be an easy one. I'm just not seeing a
solution in any of the usual places.
I'm getting the number of elements in a table like so:
var count = $("#dataset-b tr").length;
Then appending that number to a span, like so:
$(".count").html("(" + count + ")");
What I want to
I have a slideshow set up here, for reference:
http://www.littlerobothead.com/secret.php
You'll be able to see the slides as they overlap when using the "next"
or "previous" buttons. The CSS that controls the slides themselves
is:
#top-feature { /* this is the parent container */
height
I have a slideshow set up here, for reference:
http://www.littlerobothead.com/secret.php
You'll be able to see the slides as they overlap when using the "next"
or "previous" buttons. The CSS that controls the slides themselves
is:
#top-feature { /* this is the parent container */
height
I'm trying (for learning, and out of stubborness) to build an image
slider. The code I'm using, and my issue, follows.
$(document).ready(function() {
$('div#features:eq(0) > div:not(:first)').hide(); //
Hides all but
the first feature story
12 matches
Mail list logo