Hi all,
I'm a newbie in jQuery. I have some question on how 'not()' works. e.g.
HTML:
table id=test
tr
td
input type=checkbox name=checkbox/
input type=hidden name=hidden/
/td
td
.not() is really greedy, if filters out /everything/ that you specify,
so when you say:
[EMAIL PROTECTED]@name=checkbox]
You're saying:
- Anything that's not an input element
- AND anything that's type property isn't checkbox
- AND anything that's name isn't checkbox
It's the first one that's
So, it's a special case in not()? Just to clarify:
If I use $('[EMAIL PROTECTED]@name=checkbox]') ,
It should read: select an input element with checkbox type and named 'checkbox'.
But in not('[EMAIL PROTECTED]@name=checkbox]') ,
It should read: select input element OR element with checkbox type
On Oct 4, 2006, at 11:16, Mika Tuupola wrote:
** Example 1:
http://www.appelsiini.net/~tuupola/jquery/slideupdown/
slideupdown2.html
** Example 2:
http://www.appelsiini.net/~tuupola/jquery/slideupdown/
slideupdown3.html
Answering to myself here. It seems that calling slideDown() also
I 'vefound that addresses like http://jquery.com/dev/don't work if the last slash is stripped off. I think they should be mapped to theslash version in the server configuration.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I tried to assign an id 'checkbox' to the checkbox in the example.
Using not('[EMAIL PROTECTED]') result in js error in firefox:
'z has no properties' points to line 710 of jQuery.js (Rev: 249)
On 10/4/06, John Resig [EMAIL PROTECTED] wrote:
But in not('[EMAIL PROTECTED]@name=checkbox]') ,
OK
I modified Accordion to be more flexible:
http://fmarcia.info/jquery/accordion.html.
You can now set an action when an item is clicked, shown or hidden and
you can choose the animation speed.
Any comment appreciated.
Cheers,
Franck.
___
jQuery
I just update an application that uses the Sortables plug-in-in with the
current code. It works, however the speed is much slower than the previous
version that I was using from 6-8 weeks ago. The slow part happens
immediately when you click on an item to drag begin dragging it. Any idea
what
Hi Franck (et al),
You know, I had a whole post written as to how I needed to be able to
extend the accordion object somehow, but in the process realized that
it would be easier to explain what it is I'm trying to do. I've been
asked to create a wizard version of the accordion, such that:
1)
I didn't like your puppy.ok, just kidding. On 10/3/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
no comments? did you even like my puppy? did any versions work in IE?No safari gurus out there? does Jan Sorgalla have any idea?
On 10/2/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: My first jquery page was to celebrate my
Is there a way to clone an object so that I can hold onto the data but still rename the original variable (without assigning it to a new variable... I need to do this an arbitrary amount of times, so doing it anonymously would be best).
-- Yehuda KatzWeb Developer | Wycats Designs(ph)718.877.1325
When using the Autocomplete plugin found here:
http://www.dyve.net/jquery?autocomplete
I've got one version of IE (6.0.3790.1830) that shows the entire 3000px by
3000px iframe on the screen, obscuring everything behind it and causing huge
scrollbars to appear on the page. It even happens on the
Working good in FF IE 7.
Rey
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jason Levine
Sent: Tuesday, October 03, 2006 2:34 PM
To: jQuery Discussion
Subject: [jQuery] New JTicker version - multiple tickers on a single
page
I've updated
In FF, it looks very nice.
In IE 7, on the accordian with options, there's a very noticeable color
change in the text from dark to light which doesn't happen in FF.
Also, the accordian w/ options also has a very distracting flicker to it
when you select a div to expand or contract.
Other
Hi all,
I'm having trouble removing a div from a set of matches if the div has a
particular
first-child element.
##Here's what I've got:
div123/div
divspanabc/spanxyz/div
divspandef/spanghi/div
I have a $() object matching all divs (i.e. $('div')), but I only want to
process divs which
Hi,
I put together a small demo of some new improved features in the upcoming 1.1
release.
More info and live demo:
http://motherrussia.polyester.se/pub/jquery/demos/extraction/
Best regards
christian
___
jQuery mailing list
discuss@jquery.com
On 10/3/06, Brandon Aaron [EMAIL PROTECTED] wrote:
Okay ... So instead of this:
while ( p p != this ) try { p = p.parentNode } catch(e) { p = null; };
I should have set p = this like this:
while ( p p != this ) try { p = p.parentNode } catch(e) { p = this; };
You can see it working here:
Bonjour:
Has anybody successfully used 'position: fixed;' with Interface FX?
http://interface.eyecon.ro/demos/ifxslide.html
In particular, the 'slide toggle down' function.
I'm using...
htmlbody #footer {
position:fixed;
bottom:0;
z-index:10;
}
// jquery layer
htmlbody
Brandon Aaron schrieb:
Cool! It's always great to see how different people come up with
different solutions.
I'm curious why you need to toggle the iframe's display if you are
hiding and showing its parent? Am I missing something? It seems like
it is just an extra call in the chain that
On Oct 4, 2006, at 10:33 AM, Jason Huck wrote:
When using the Autocomplete plugin found here:
http://www.dyve.net/jquery?autocomplete
I've got one version of IE (6.0.3790.1830) that shows the entire
3000px by
3000px iframe on the screen, obscuring everything behind it and
causing
As an aside, or perhaps a branch, to this conversation...
I'm a jQuery newbie, and have found it interesting that
callbacks in the system do not seem to get parameters.
In systems that I've used before that provided callbacks,
those callbacks typically got a parameter or set of
parameters
Create an empty object, pass it to the .each() block, and add each id as a
property of it as you go.
My first crack (which is probably hopelessly b0rked, but may get the point
across...):
var myInputs = {};
function sliderCallback { myInputs[this.id].rangeEl =
I tried to assign an id 'checkbox' to the checkbox in the example.
Using not('[EMAIL PROTECTED]') result in js error in firefox:
'z has no properties' points to line 710 of jQuery.js (Rev: 249)
Also, just using = should be sufficient. If you're trying to match a
set of checkboxs, you should
providing something similiar with the tabs plugin. If you want to
use your own custom animation, you can pass in hashes exactly of the
form the animate function expects.
$(...).tabs({
fxAnimate: [
{height: 'show', opacity: 'show'},
{height: 'hide', opacity: 'hide'}
Is there a way to set a variable in an each that will be stored
separately for each instance of the plugin (for example, if I am
performing an action on all inputs, is there a way to store the
input type and reuse it later?). Maybe I'm not being clear, so
here's the example:
While I agree that var is often missing and global vars are often not
a good idea...
In JS vars are not scoped in a for or if so var inside the for (or
if) does little more than a var before it. This is the reason that we
have to resort to the confusing looking
function(){var x = 1...}();
Hello everybody,
I have a problem with fadeIn/fadeOut in Firefox 1.5/2.0.
I tried to program a simple drop-down menu with jQuery und use the fadeIn
animation to show the sub-menu. The sub-menu is not completely faded in,
though. A small part is faded and the rest unfolds as in the Interface
providing something similiar with the tabs plugin. If you want to
use your own custom animation, you can pass in hashes exactly of the
form the animate function expects.
$(...).tabs({
fxAnimate: [
{height: 'show', opacity: 'show'},
{height: 'hide', opacity: 'hide'}
Recently I've been playing with loading of HTML into pages dynamically,
which lead to my script evaluation plugin, that I posted yesterday.
Now I've hit another problem:
I'd like to apply a common set of operations (ie. applying plugins)
to all elements on a page, whether they were there from
2006/10/4, Rey Bango [EMAIL PROTECTED]:
In FF, it looks very nice.
In IE 7, on the accordian with options, there's a very noticeable color
change in the text from dark to light which doesn't happen in FF.
Also, the accordian w/ options also has a very distracting flicker to it
when you
Brian...
Good points. I hesitated before sending my request because I don't want to
be one of those people that just asks for things without giving back.
Unfortunately I'm just not all that good at Javascript so any contribution I
make in that arena will be nearly worthless.
What I can offer
Update page.
There is a way to prevent fields from moving when you mouse over them.
Simply set cssText to 'null'. However, not ideal - if you set the CSS
manually with jQuery, plus the text content is shifted instead.
Anyone know of a proper solution?
On 04/10/06, Sam Collett [EMAIL PROTECTED]
I think it has already been brought up that this will not work as
expected but ... here it goes again ...
These attributes are used to set the 'default' value and are
thereafter ignored in favor of the JS object's properties. At least
that is how I understand it.
--
Brandon Aaron
On 10/2/06,
Much smoother Franck. It works great in IE7 as well.
Great work!
Rey,..
Franck Marcia wrote:
2006/10/4, Rey Bango [EMAIL PROTECTED]:
In FF, it looks very nice.
In IE 7, on the accordian with options, there's a very noticeable color
change in the text from dark to light which doesn't happen
On 10/4/06, Paul Bakaus [EMAIL PROTECTED] wrote:
Good work, tell me wether you want to add it to dimensions.js if ready!
I think it is ready to be included in dimensions.js as it is if no one
has any objections or feature requests. :)
--
Brandon Aaron
Olivier Percebois-Garve schrieb:
Its a detail feedback, but you should put your links on the whole upper
cell rather than just the columns title.
I was clicking the icon and was wondering why it was sometimes working,
sometimes not.
I must second that! Its very irritating behaviour.
Also most JavaScript compressors depend on the var being their or you
could get undesired results.
--
Brandon Aaron
On 10/4/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Ⓙⓐⓚⓔ schrieb:
Javascript doesn't have block scoping, providing only global and
function scopes!
That may be right, but
Hi folks,
while I hardly get the chance to use jQuery at work (or even update my
blog to use jQuery), I implemented a small script for a page of a
friend. I implemented it to work with only one picture, but in FF it
already works with two of em. You can see it here:
Patrick,
I haven's used JS Shell, but digging around that site led me to their
Bookmarklets page:
http://www.squarefree.com/bookmarklets/
This is a godsend for development and testing! Many features are already
present in the Web Dev toolbar, other bookmarklets, etc. But there's still
a few
Klaus Hartl schrieb:
I'm going to change that. The tabs plugin will be found in the
repository soon by the way...
Cool.
This would enable plugin writes to simply point to the docs for animate,
instead of documenting their custom animation parser over and over again.
That was
Works great for me in IE6/PC. This is an excellent plugin Jason. Great job.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL
On Oct 4, 2006, at 4:56 PM, Jörn Zaefferer wrote:
Olivier Percebois-Garve schrieb:
Its a detail feedback, but you should put your links on the whole
upper
cell rather than just the columns title.
I was clicking the icon and was wondering why it was sometimes
working,
sometimes not.
I did some basic benchmarks and even the deeply nested ones was still
pretty fast. I'm going to look into possibly adding these checks
though.
distance(firstElement, secondElement) doesn't really seem to fit with
typical jQuery methods. Essentially distance would be doing the exact
same thing and
[EMAIL PROTECTED] schrieb:
As an aside, or perhaps a branch, to this conversation... I'm a jQuery
newbie, and have found it interesting that callbacks in the system do
not seem to get parameters. In systems that I've used before that
provided callbacks, those callbacks typically got a
Not sure if any of you read Web Builder magazine. Its a UK-based
magazine published by the same guys that publish .net magazine.
In the September 2006 (#154) magazine, they published are article on
creating lightboxes and have a VERY lengthy tutorial on ThickBox. They
go on to provide a link
Hi,
I put together a small demo of some new improved features in the upcoming 1.1
release.
More info and live demo:
http://motherrussia.polyester.se/pub/jquery/demos/extraction/
Best regards
christian
___
jQuery mailing list
discuss@jquery.com
Also of note: using $.get() in combination with .empty() and .append()
instead of .load() has the added benefit of fixing reflow issues I've seen
in Opera when replacing table contents. With .load(), the new content flows
in inline in a big jumble, but with $.get(), it retains the correct visual
How would we know you if we saw you?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of
I'm going to change that. The tabs plugin will be found in the
repository soon by the way...
Cool.
It's in there now.
I have made the changes we talked about. You can now pass in options for
show/hide animations independently:
$('#container-8').tabs({
fxShow: {height: 'show',
It seems I might be able to get this to work if I can get access to the element being slid inside the onSlide function of Interface's slider. It doesn't seem trivial. Any ideas?-- Yehuda KatzWeb Developer | Wycats Designs
(ph)718.877.1325
___
jQuery
Thanks,
I agree thats it is annoying, i think the css is involved a bit to.
In the demo i have cursor: pointer; on the whole td cell...
/christian
Olivier Percebois-Garve wrote:
Its a detail feedback, but you should put your links on the whole upper
cell rather than just the columns title.
Jörn Zaefferer wrote:
I must second that! Its very irritating behaviour.
Apart from that: Groovy!
-- Jörn
Jörn,
While i have it in my head, would you like to help with the new manual for the
1.1 release?
If you have the time, and would perhaps would think it was fun?
Or perhaps someone
I must second that! Its very irritating behaviour.
Apart from that: Groovy!
I agree, both on the links part and the groovy part. :)
Also, the input column didn't sort as I expected. Looked like maybe
it treated the numbers as string? Anyway, when I changed the 7.00
cell to 10.00,
There is Object.toXML(), can be found here:
http://jquery.com/dev/svn/jquery/build/js/xml.js Not really something
special by jQuery, but should do the job.
Well, it is sort of specific to jQuery, because I wrote it ;-) With
that being said, I wouldn't trust that code any more than I could
On Oct 3, 2006, at 11:24 PM, Ⓙⓐⓚⓔ wrote:
no comments? did you even like my puppy? did any versions work in IE?
No safari gurus out there? does Jan Sorgalla have any idea?
Hi Jake,
I like your puppy. :)
Testing in IE 6:
http://cigar.dynalias.org/junior/
On page load, I get two alerts
Hi Luke -
I was able to get what you wanted, working using:
$(span:first-child).parent(div)
Right now, in jQuery, doing the XPath /../ is broken (since it's just
a cheap XPath - CSS conversion). However, it's recommended that you
use methods like .parent() instead.
All that being said,
Hi,
Anyone knows how to do the effect in the Grazr app ?
IE:
http://grazr.com/gzpanel?font=Tahoma,sans-seriffontsize=8ptfile=http://tagjag.com/all/javascript/opml
The effect that on click loads content that comes from the right and
looks like infinite.
Anyone ?
Thanks
Is there a way to set a variable in an each that will be stored separately for each instance of the plugin (for example, if I am performing an action on all inputs, is there a way to store the input type and reuse it later?). Maybe I'm not being clear, so here's the example:
Thanks Karl.
The music is setup for quicktime, and totally gratuitous! Once
quicktime is loaded most activeX BS should go away
hmm No picture on -2 or -3, same as Safari I poked into jCarousel
a bit... and didn't see what might be causing this... the carousel
spins as if there were pictures,
Cool! It's always great to see how different people come up with
different solutions.
I'm curious why you need to toggle the iframe's display if you are
hiding and showing its parent? Am I missing something? It seems like
it is just an extra call in the chain that is unnecessary. I also
explained
Karl Swedberg wrote:
I agree, both on the links part and the groovy part. :)
Also, the input column didn't sort as I expected. Looked like maybe
it treated the numbers as string? Anyway, when I changed the 7.00
cell to 10.00, it was sorted between 1.00 and 5.00.
I updated the demo and
Thanks, Rey. Trimming the output allows it to display correctly.
Of note: The callback for my new $.get() contains another (different)
$.get(). The inner $.get() doesn't use a callback, but when I first switched
the outer call over from .load(), IE reported this:
Line: 1615
Error:
Is the onChange callback functional in Interface's Sortables? If so, does
anyone have any documentation on it (what parameters it accepts)?
I found some older message threads with more or less the same question, and
it looks like it may have been resolved at one point - but no longer.
--
View
Just putting in my vote for John's method. To me it makes sense, and would mean I wouldn't have to keep track of numerous .end()sChris
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
What's the best way to capture modifier key events with Jquery (i.e., ctrl1)?Rich
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On Oct 4, 2006, at 6:10 PM, Christian Bach wrote:
Karl Swedberg wrote:
I agree, both on the links part and the groovy part. :)
Also, the input column didn't sort as I expected. Looked like maybe
it treated the numbers as string? Anyway, when I changed the 7.00
cell to 10.00, it was sorted
Hey John,
Thanks for the reply, it's much appreciated.
I played around with using $(span:first-child).parent(div), but it
selects the opposite of what I need (divs *with* a span:first-child
rather than divs *without* a span:first-child).
Is there a way to remove the above from a larger set of
Well, while I might not need untoggle and unhover, I definitely enjoy a
challenge! I've been thinking about a reliable way to allow multiple
hover/toggles and to be able to remove them independently... I'll let
you know if I get anywhere with it...
-blair
Brandon Aaron wrote:
Nothing?
Am I
I've had the same experience writing it.
You can set the width of the iframe to the width of the autocomplete
results, that prevents horizontal scrollbars.
Other than that, I haven't had any problems.
Maybe the recent bgiframe extension might be of help?
Dylan
On 10/4/06, Jason Huck [EMAIL
69 matches
Mail list logo