Google for 'javascript reference Math object'.
FrankTudor wrote:
Is there a place that I can see the math functions available?
Frank
--
View this message in context:
http://www.nabble.com/jquery-math-functions--tf4551431s27240.html#a12989165
Sent from the jQuery General
FrankTudor wrote:
Is there a place that I can see the math functions available?
Frank
That's POSJ (Plain Old Simple JavaScript), no need for jQuery here, for
example:
var max = Math.max(1, 2);
--Klaus
unsubscribe me please
Thanks. I love expanding my horizons. :-)
On 10/1/07, Robert Koberg [EMAIL PROTECTED] wrote:
On Mon, 2007-10-01 at 12:12 -0700, Lee Hinde wrote:
Hi;
I have questions about selectors and .each.
Given this result:
queryResult parent=2 queryid=C10012007113409LEQY
I'm trying to find out how to add a class to every third occurrence of
an element.
Basically, I have a DIV with an undefined number of DIVs inside of it,
and I want to add a class to every third DIV
Hi all. Sorry for the OT, but it IS jQuery related.. :)
I'm giving a presentation at COSSFEST (http://cossfest.ca/schedule) at
the end of the month. The title of the presentation is Rapid Web 2.0
JavaScript Development with jQuery. I'm in the process of building the
presentation, and
Hi,
I would like to use jQuery to add a row with form fields of a table to
the end of the table, the idea is to duplicate the previous one it
with all of the form fields (drop downs, input fields, hidden fields,
etc.) changing the input ID of each input, clearing the input values
and adding a
I can add my support to Jorn's treeview plugin. We're using it and it's
working great. Our needs are for a simple text navigation tree, but
will later grow to include images/icons with the links. Some of the
recent changes to the treeview (in SVN) solved our navigation problems
with a
Jörn Zaefferer escreveu:
Gerson Goulart schrieb:
Hi all!
I'm not a programmer (and don't speak English), but I'm trying to do
both. =D
I'm looking for a simple solution to do a simple tree menu like the
Windows Explorer during some days. All solutions I find are terible,
in my opinion
Thank you very much. That is helpful--I think using the event.pageXY
and the Dimensions plugin I should be able to write something that
does what I'm looking for.
Thanks again.
Jamie
On Oct 1, 4:29 pm, John Resig [EMAIL PROTECTED] wrote:
The only set of X/Y properties that jQuery supports is
I figured it out...I just needed to do a bit more reading to my Learning
jQuery book!
var classNames = {
0: 'first',
1: 'second',
2: 'third'
};
$('#section_wrapper_div .section_item').each(function(index) {
$(this).addClass(classNames[index % 3]);
});
On 10/1/07, Adam Stacoviak
On Mon, 2007-10-01 at 14:16 -0700, [EMAIL PROTECTED] wrote:
But for a question a little off topic. Looks like the only way for
the editor to produce valid code is to use the doctype 'XHTML 1.0
Transitional', there is some weirdness (align attr. on images) with
the wysiwyg editor with
Forgive me for a non-jquery related post, but I'm hoping someone on here
might be knowledgeable enough with Javascript to answer it. I see lots of
post on here regarding optimization for DOM traversing and think it's funny
since most people gave up spending much time worrying about CPU memory
Adam Stacoviak wrote:
I'm trying to find out how to add a class to every third occurrence of
an element.
Basically, I have a DIV with an undefined number of DIVs inside of it,
and I want to add a class to every third DIV
Try:
$('div:nth-child(3n)').addClass(...);
--Klaus
Hey folks,
I'm pleased to announce the full service of Paste Monkey is now
running at http://pastemonkey.org. This is a collaborative pastebin
developed in CakePHP 1.2, and running AJAX with jQuery.
It is still in the beta stage, but very functional, with features such as:
* Use of Live Query
On Oct 1, 12:48 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
David Pollak schrieb: although I had to rewrite all the $ references to
jQuery so I could fit Scriptaculous, jQuery, and BlockUIin the same browser.
Why that? BlockUI uses a handy trick to be able to use $ while not
relying on
http://ejohn.org/blog/javascript-engine-speeds/
Hi Stephen,
Awesome, I like the look of this a lot!
I can't wait to find some time to muck about with this in the very near
future.
Good Luck with your project.
Rob
[EMAIL PROTECTED] wrote:
Well I have been playing with jQuery for a few months, and wanted to
test a few basic concepts.
From: James Dempster
Much nicer to split the lines making it more readable.
$(this).parent().append([
p,
input type='text' class='+inputClass+',
button onclick='$(this).parent().remove();return
false;'x/button,
/p
].join());
Also, once you're using .join, you
I think that is my fault; it was a patch I submitted way back at the
beginning of last year. But you're right, $(undefined) shouldn't select the
document, only $() with no arguments at all should. Want to file a ticket on
it?
The offending code is at the beginning of jQuery.fn.prototype:
//
Hey Adam,
Glad you found that! :-) Klaus's version is a lot simpler, though,
so you might want to try that instead. At press time, the :nth-child
() didn't allow for something like :nth-child(3n) or :nth-child(3n
+2); it just took a single number, like :nth-child(3). It's much more
(cross post with UI Group - are same members are in both?)
Hi group -
I've built a set of pages on this site, creating multi-step forms
using Joern's accordion plugin
( http://bassistance.de/jquery-plugins/jquery-plugin-accordion/)
Everything's working great - except in Safari, where it falls
I am currently writing a similar library but using jsmin. I would
love to take a peek at the code.
On Sep 17, 9:08 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I've spend the last few days building a .NET implementation of a gzip
packer. It accepts an argument like either of these two:
Hey all,
I am trying to get my jqAlbumParser plugin updated to work with 1.2.1 and
coming up short when communicating with Picasa.
Here is the url for your view
http://www.benjaminsterling.com/experiments/jqAlbumParser
When you click on Flickr you will get an alert done, but when you click on
gordon - did you find out anything about safari js/jquery bugs in
general?
I am up against a similar issue.
On Sep 25, 9:26 am, Gordon [EMAIL PROTECTED] wrote:
I really need a hand with my IT Assistant project (http://www.pcwb.com/
assistants/) and an issue inSafariversion 2. As it works
Just a follow up... using browserCam, I was just looking at the page
above using Safari 2.0.
Indeed, the first 'next' button throws up a blank screen... but if I
resize the window, the actual second page of the form appears again.
Strange. The fact that simply changing the browser window size
I've worked with Safari quite a bit. If that's the problem you're
having then it's a refresh issue. Sometimes Safari will forget to
refresh the page layout, even though you've just made changes to the
classes of elements.
To get around it do something that changes the actual structure of the
101 - 127 of 127 matches
Mail list logo