Hi Joan
I tried that, but couldn't get it to work on either FFox or Safari on
my Mac. It looks like the ultimate in elegance, though, so I plan to
look through the docs a bit more to see if I can figure out a
workaround.
Thanks
Steve J
On 21 Jan 2007, at 4:59, Joan Piedra wrote:
I
A question about toggleClass... everything below works, so its not a
problem as such...
http://www.g-raff.co.uk/jquery/basic.html
I added a statement to the code to change the appearance of headings
that had been clicked, and back again when they were clicked a second
time.
function ini
Yes Steve an element can have "two classes". :) The "class" attribute
of an element contains a list of space seperated "words". Think of
them more has "tags" rather than actual "OO programming" classes.
Karl Rudd
On 1/21/07, Steve Jones <[EMAIL PROTECTED]> wrote:
> A question about toggleClass..
Thanks Karl.
Consider thread closed
SJ
On 21 Jan 2007, at 8:45, Karl Rudd wrote:
Yes Steve an element can have "two classes". :) The "class" attribute
of an element contains a list of space seperated "words". Think of
them more has "tags" rather than actual "OO programming" classes.
Karl R
My apologies, Joan, it does work. I had just changed the name of the
class. Schoolboy error.
Beautiful!
Thanks
SJ
On 21 Jan 2007, at 4:59, Joan Piedra wrote:
I think this should work. Not tested tho.
$("a.open_button").click(function() {
$(this).next('div.section').slideToggle(120
From my experience (I had success in resizing the list to display the number
of elements according to the size of the window) I can tell you that the
solution is playing with the css attribute "letf" or "right" in one of the
layers that the script creates. Wich one, I don't know, so you'll have t
Gerry Danen wrote:
> Hello Jake,
>
> I'm an IT veteran (36 years) but rather new to JavaScript, AJAX and all
> that. You voice rather strong opinions on this particular subject, and I
> love to learn. Is there any chance of a tutorial or example page on this?
>
> Or, maybe there is an example a
Has any one done something like Simile's Timeline using jquery?
(http://simile.mit.edu/timeline/)
It is very nice as it is, I can't help but wonder if it couldn't be
slimplified using jquery. I'm sure gurus here could extend timeline in
interesting ways.
--
View this message in context:
http:/
Thanks. I found this a few days after I posted the question. I guess
it works real well with .NET webservices. I'm working with a wsdl
generated by a BPM tool (Metastorm), which I can't call via
Javascript. I can call it with .NET, but creating a webservice that
calls a webservice is a little e
I should have read through the whole thread before posting. :-/
My apologies to Joan, too. I guess the index is being passed through
implicitly?
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 21, 2007, at 4:21 AM, Steve Jones wrote:
My apologies
yeah, that looks a lot like what I posted yesterday before I had a
chance to see the HTML:
For the sake of discussion, I'll assume that your "section" divs
immediately follow the buttons and that we can get by with some
other way of referencing whatever "index" is being used for:
$('a.ope
On Jan 21, 2007, at 4:00 AM, Steve Jones wrote:
Thanks Karl [Rudd].
Consider thread closed
SJ
Not so fast! :)
While it's true that your script is adding a class to the space-
separated "array" (and then removing it), that's not the real reason
why the links are still bound to the click e
Well put, Klaus.
Another difference between classes and IDs lies in the way CSS treats
them. Whether or not you believe that classes are /for/ the strong,
they themselves are "weaker" than IDs, at least as far as CSS is
concerned.
Consider this HTML snippet:
Karl, as I remember index was the name of a function You've got to
get a more threaded mail reader. I've been caught by not reading in
order too!
On 1/21/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> yeah, that looks a lot like what I posted yesterday before I had a chance to
> see the HTML:
/for/ the strong vs, /are/ strong
yup there sure is a difference... the strong programmer knows
when to use a hammer (ids) instead of an artist's paintbrush (classes)
On 1/21/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
> Well put, Klaus.
>
> Another difference between classes and IDs l
On Jan 21, 2007, at 12:11 PM, Karl Swedberg wrote:
http://test.learningjquery.com/boundlink.htm
The first link uses this code:
$(document).ready(function() {
$('a.keepbound').click(function() {
$(this)
.removeClass('keepbound')
.next()
.html($(this).next().html() + ' an
Hi all.
I'm new to jQuery so bare with me if I'm a bit slow. As the subject implies
I'm havning trouble with the function hide because it runs twice when I
would think I've only set it to run once. Here's the code in question:
$(document).ready(function(){
// #region Deregister
$("#lb
Uhh I forgot to tell ya that you can see it "live" here:
http://www.postcards.dk/jon-test/newsletter.php
Regards, Jon.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
is it really hiding 2 times... or a jerky hide of a tiny label?
make the label much larger and try hide(1) for a very very slow hide!
On 1/21/07, Jon Ege Ronnenberg <[EMAIL PROTECTED]> wrote:
> Uhh I forgot to tell ya that you can see it "live" here:
> http://www.postcards.dk/jon-test/newslet
When it comes to specificity...the following will give you the basic
rules that are followed by CSS
HTML SELECTOR = 1
CLASS SELECTOR = 10
ID SELECTOR = 100
therefore
div p has a specificity of 2
div p.myclass has a specificty of 12
#myId div p.myclass has a specificity of 112
and in K
Thanks Giuliano.
Also keep in mind that each "slot" is base-infinity. So, 11 class
selectors is still less than 1 ID selector.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 21, 2007, at 2:29 PM, Giuliano Marcangelo wrote:
When it comes to speci
Hi,
I'm just updating my datePicker plugin to work with jQuery 1.1 and seem
to have run into problems with the following snippet:
jQuery(s, ele)
(where s is a string like 'input' and ele is a jQuery object). It seems
that in jQuery 1.1 (Rev: 1073) the context (ele) is ignored. If ele is a
DOM
Yep - and it's already been fixed. I'm going to be pushing out jQuery
1.1.1 today and it'll include that fix.
--John
On 1/21/07, Kelvin Luck <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm just updating my datePicker plugin to work with jQuery 1.1 and seem
> to have run into problems with the following
JQ Beginners... (like me)
With lots of superior help from the wizards in this discussion board,
I have managed to code a simple "dropdown section" script using
jQuery that might serve as a starter if you are just getting your
teeth into jQuery. Its useful for Ajax FAQs and stuff. By no mean
D'oh - I just finished working around the problem in the date picker plugin!
Cheers,
Kelvin :)
John Resig wrote:
> Yep - and it's already been fixed. I'm going to be pushing out jQuery
> 1.1.1 today and it'll include that fix.
>
> --John
>
> On 1/21/07, Kelvin Luck <[EMAIL PROTECTED]> wrote:
>
Yehuda,
These are great enhancements to the scrollbar plugin. Would it be
possible to have it scroll on mousedown?
Thanks,
Marshall
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yehuda Katz
Sent: Saturday, January 20, 2007 7:31 PM
To: jQuery Discus
Ahh! I get it now. Because I was looking at them in Safari, I didn't
notice that they were actually emulating the Apple scrollbars. Now
that I've had a chance to see them in Firefox for Windows, I see the
beauty. Well done, Yehuda. Very well done.
--Karl
_
Karl Swedberg
www
On 1/19/07, Gerry Danen <[EMAIL PROTECTED]> wrote:
> Delivery to the following recipient failed permanently:
> [EMAIL PROTECTED]
>
> Seems like something is not set up properly...
Hmm... I've done this beforewhat am I forgetting. okay i'll play
with it somemore and get back to you.
Thanks
On 1/19/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> the problem is in setting google to mirror the list, the members of
> that list would want to post to the main group, before the the private
> group.
What's the problem? I'm not sure what you mean.
>The nabble ( http://nabble.com/ ) mirror seems to se
On 1/21/07, TRANS <[EMAIL PROTECTED]> wrote:
> On 1/19/07, Gerry Danen <[EMAIL PROTECTED]> wrote:
> > Delivery to the following recipient failed permanently:
> > [EMAIL PROTECTED]
> >
> > Seems like something is not set up properly...
>
> Hmm... I've done this beforewhat am I forgetting. ok
Hi,
this is my first day with jquery, and here is my newbee-question ;-)
Im just building a page with an 3-column layout (tables).
What I want to do is this:
- Click to hide/show modules (all modules seperat) WORKING
- Click to show/hide All left and/or ALL right modules
to further make people think... high specificity supports lack of
knowledge about css! If you are going to code each id with a css
style, you are missing the point of css. You might as well use font
tags!
And don't get me wrong they both have their places... but to
master css & jqurery you hav
Looks like you are close! Make sure that John approves the idea!
On 1/21/07, TRANS <[EMAIL PROTECTED]> wrote:
> On 1/21/07, TRANS <[EMAIL PROTECTED]> wrote:
> > On 1/19/07, Gerry Danen <[EMAIL PROTECTED]> wrote:
> > > Delivery to the following recipient failed permanently:
> > > [EMAIL PROTECT
Hi
I reported the same problem on 01/19. To check if it has been fixed I
checked out svn://jquery.com/trunk
Trying to run the tests Safari on Mac OS X invariably crashes - hard.
Works fine with FF1.5.0.9 on Mac OS X 10.4.8
Jan
On Jan 21, 2007, at 11:50 AM, John Resig wrote:
Yep - and i
The following selector works in 1.04 but not in 1.1:
$("viewentry/[EMAIL PROTECTED]'0']", xml)
Link with jQuery 1.04:
http://64.26.160.80/jQueryTest.nsf/jQuery104?OpenForm
Link with jQuery 1.1 (Rev: 1073):
http://64.26.160.80/jQueryTest.nsf/jQuery11?OpenForm
Link to an XML file that $.aj
Hi,
I'm trying integrate the Accordian FX from the Interface plugin into an
existing site structure that I cannot change. I was wondering how I can use
CSS child and adjacent-sibling selectors in the following two lines:
headerSelector: 'dt',
panelSelector: 'dd',
Instead of dt I'd like to u
Thanks for your test case. I just fixed this in rev 1142.
--John
On 1/21/07, Sasha Oros <[EMAIL PROTECTED]> wrote:
>
> The following selector works in 1.04 but not in 1.1:
>
> $("viewentry/[EMAIL PROTECTED]'0']", xml)
>
> Link with jQuery 1.04:
> http://64.26.160.80/jQueryTest.nsf/jQuery104?OpenF
With absolutely positioned elements in FF, .css('top|left|right|bottom') is
returning a calculated pixel value for items without any styling or class.
In IE7, .css(...) returns 'auto' which is the correct value if no value has
been supplied.
How can I determine if an absolutely positioned object's
Hi all,
i'm trying to make the script below work. It gets the results
serialized in json from django something like the dataset below.
Unfortunately i can't see anything displayed in the results div. I
suspect the json is not returning properly from the function or maybe
i made some gross mistake
getJSON eval's the results automatically, so theres no need to eval it
yourself.
On 1/21/07, Lorenzo Bolognini <[EMAIL PROTECTED]> wrote:
Hi all,
i'm trying to make the script below work. It gets the results
serialized in json from django something like the dataset below.
Unfortunately i can'
Hi everyone. I'm trying to design a jCarousel that rotates continously (that
is, after the last item the circles closes with the first the one
seamlessly). What I'm trying to do is detach the first element in the
itemFirstOutHandler
event to attach it at the tail with the carousel.add(index, html)
On 1/22/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> getJSON eval's the results automatically, so theres no need to eval it
> yourself.
Hi Matt,
thanks for the advice, i've streamlined the script a bit but still
doesn't work... dunno why but i can't write to the document in the
#results div
Any i
On 1/22/07, Lorenzo Bolognini <[EMAIL PROTECTED]> wrote:
> On 1/22/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> > getJSON eval's the results automatically, so theres no need to eval it
> > yourself.
>
> Hi Matt,
>
> thanks for the advice, i've streamlined the script a bit but still
> doesn't work...
On 1/22/07, Lorenzo Bolognini <[EMAIL PROTECTED]> wrote:
> On 1/22/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> > getJSON eval's the results automatically, so theres no need to eval it
> > yourself.
>
> Hi Matt,
>
> thanks for the advice, i've streamlined the script a bit but still
> doesn't work...
Put the code inside the
$("[EMAIL PROTECTED]").each(function() {
...
})
into
jQuery.fn.countSize(function() { // create a jquery method called
countSize
return this.each(function() {// for each item in the jquery array,
run this function
...
});
});
A developer
I'm not sure what you mean.
-- Yehuda
On 1/21/07, Marshall Salinger <[EMAIL PROTECTED]> wrote:
Yehuda,
These are great enhancements to the scrollbar plugin. Would it be possible
to have it scroll on mousedown?
Thanks,
Marshall
-Original Message-
*From:* [EMAIL PROTECTED] [mai
What kind of object is parentElement?
Blair
On 1/20/07, Jan Hendrik Mangold <[EMAIL PROTECTED]> wrote:
Dear mailinglist
I just upgraded to jquery1.1 (and even checked out jquery-latest
[1073]) and can't get the selector to work with a context. Let me
explain what I mean
$('ul')
yields al ul
The up and down arrows only scroll the pane after releasing the mouse
button. I was expecting them to start scrolling the content while
clicking and holding the mouse button down. Similar to how it scrolls
when clicking in the middle of the scrollbar area.
-Marshall
-Original Message-
Done.
However, it does not seem like mousedown continues firing if you hold it
down. If you like, I can do a setInterval on mousedown that continues firing
the action until mouseup (when I clear the interval). Does that sound
reasonable?
Tomorrow, I will work on IE support, and making the scroll
I'm trying to do something that should be fairly simple... dynamically
create a textframe (in my example below, via .html(), but you can
imagine the textframe in question coming in via ajax [well, ajah]) and
then apply the tinyMCE stuff to the textarea to make it a rich editor.
http://media.subdue
Looks very slick, Steve. I'm sure I can use it.
Have you tested on Windows? I noticed the .DS_Store files indicating Mac...
Worthwhile purpose for the site too.!
Gerry
http://blog.danen.org/
On 1/21/07, Steve Jones <[EMAIL PROTECTED]> wrote:
> JQ Beginners... (like me)
>
> With lots of superio
Hi Konrad,
I don't know where to click to see what you mean. My German isn't that great...
OT: how did Germany do in last week's storms?
Gerry
On 1/21/07, Konrad Priemer <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
> this is my first day with jquery, and here is my newbee-question ;-)
>
>
>
> I'm
looks like twice firing clicks was fixed in 1.1.1!
On 1/21/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> is it really hiding 2 times... or a jerky hide of a tiny label?
>
> make the label much larger and try hide(1) for a very very slow hide!
>
> On 1/21/07, Jon Ege Ronnenberg <[EMAIL PROTECTED]> wrot
Hi Everyone -
The bug fix release for 1.1 is now ready for all to use. There were a
lot of weird behaviors that were discovered post-1.1 that needed to be
remedied sooner, rather than later. If you were having any
difficulties with the 1.1 release, please try this new release to see
if your proble
Hi Gerry,
> On 1/22/07, Gerry Danen wrote:
>
> I don't know where to click to see what you mean. My German isn't that
> great...
thx for your answer, i made some screenshots, you can see it here:
http://amashopzon.selfip.org/screens/
> OT: how did Germany do in last week's storms?
>>> OT
Here
Hi,
What am I doing wrong?
Intention: Show a form
Click the submit button, create a record in a database with the
posted data, return the data to the same div.
Click the edit button… the data is updated and returned to the same
div.
I have two problems
1)
If I just rewrite (repla
56 matches
Mail list logo