Hi,
is there a way to manipulate different selectors in one step?
$('#a').show();
$('#b').show();
$('#e').show();
I.e. I don't want to replicate the show() part three times, but sort
of "group" the #a, #b, #e selectors. Of course, this is an example, I
need a general method of achieving this.
T
Bernd Matzner schreef:
> Hi,
>
> is there a way to manipulate different selectors in one step?
>
> $('#a').show();
> $('#b').show();
> $('#e').show();
>
> I.e. I don't want to replicate the show() part three times, but sort
> of "group" the #a, #b, #e selectors. Of course, this is an example, I
> n
I guess that would be:
$("#a, #b, #c").show();
Bernd Matzner wrote:
> Hi,
>
> is there a way to manipulate different selectors in one step?
>
> $('#a').show();
> $('#b').show();
> $('#e').show();
>
> I.e. I don't want to replicate the show() part three times, but sort
> of "group" the #a, #b,
>> Untested, but reading the code I assume this would work:
>>
>> $("#something").ajaxSuccess(fn);
>>
>> function fn(r, s) {
>> $(this).unbind("ajaxSuccess");
>> // do what you want, then rebind
>> $(this).ajaxSuccess("fn");
>> }
>
> It seems unbind doesn't work on ajaxSuccess or ajaxStop...
hi,
i tried to test interface sortables with a table structure which doesn't realy
work.
is there a chance to get it running with a tablestructure or are there any
other solutions.
i don't realy want to use
...
because i have to fix width of each Column
here my tab
I agree, but what bothers me about the loading more is that the entire
Thickbox (other than the overlay) disappears while this is happening. It
would be less disturbing if the 'ui' stayed - the border, margin/background,
links/txt, etc. - and just the image changed.
I like your idea for the load
Thanks chaps, great answers. Is :gt(n) a jQuery or CSS3 pseudo selector?
PS Yehuda - The reason is that I'm not striping a table! Good answer nontheless!
On 3/1/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> Why do you want to ignore the first two items? A better solution might be to
> use to stor
Klaus Hartl schrieb:
> Dan Eastwell schrieb:
>> Thanks chaps, great answers. Is :gt(n) a jQuery or CSS3 pseudo selector?
>
> That's XPath!
Forget that! It's jQuery, but an equivalent to XPath:
[position() > 2] becomes :gt(2)
-- Klaus
___
jQuery ma
Dan Eastwell schrieb:
> Thanks chaps, great answers. Is :gt(n) a jQuery or CSS3 pseudo selector?
That's XPath!
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Seems mobile networks and retailers rather like our script of choice :)
Here's another one for the list if it isn't already there:
http://www.dialaphone.co.uk/phone/Samsung_X830_White/
Spotted the tablesorter plugin and thickbox (I think?)
Regards,
Michael Price
___
I believe so. As I said an "expando" attribute is basically any
non-standard attribute that gets added to an element (doesn't matter
how).
As Klaus notes, the memory leakage is only a problem in IE when the
attribute references other DOM elements (directly, or indirectly via
closures).
Karl Rudd
Klaus Hartl wrote:
> [-Stash-] schrieb:
>> A simple "Cancel" link would be superb - I think this is an essential
>> addition!
>
> clicking on the overlay while loading will abort loading... that its not
> working is a bug on my side. is that sufficient?
OK, I just tested with own hacked about
[-Stash-] schrieb:
>
> Klaus Hartl wrote:
>> [-Stash-] schrieb:
>>> A simple "Cancel" link would be superb - I think this is an essential
>>> addition!
>> clicking on the overlay while loading will abort loading... that its not
>> working is a bug on my side. is that sufficient?
>
> OK, I just t
agent2026 schrieb:
> I agree, but what bothers me about the loading more is that the entire
> Thickbox (other than the overlay) disappears while this is happening. It
> would be less disturbing if the 'ui' stayed - the border, margin/background,
> links/txt, etc. - and just the image changed.
>
>
hi guys
i have created a plugin for Jquery, this plugin interface Asterisk via
AJAM, work perfectly with Firefox but no with IE. I dont understand
where is the error or if this is a bug of the asterisk webserver
the code is very simple i add a little example:
var Response = $.ajax({
guess no one knows ? :(
amircx wrote:
>
> hey. im using the ajax form plugin of jroes,
> http://www.amir.cx/ajax/test3/stable.php
> till now i success to do the rules inside the tag, but where i can put
> inside that code a properties like
>
> rules: {
> firstname: { required: true },
>
Jason Karns wrote:
> I saw your toXML plugin and the thread where you were discussing its
> creation. I've run into a situation where I need to serialize the page
> to XML. However, the majority of the page is form elements and I need
> the actual values of these elements serialized, and not th
the link is now working... not sure if it was before ;) try now
amircx wrote:
>
> hey, when i run form validator from
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , after
> putting the uncompressed version, its working fine in ie 7 but in ie 6 its
> returns me error:
> (her
Can you not just overlay the loading animation over the top of the currently
shown image/content? Just not clear the content? Would that really add
that much code?
Luke
Klaus Hartl wrote:
>
> agent2026 schrieb:
>> I agree, but what bothers me about the loading more is that the entire
>> Thic
I'm confused. Are these expandos proprietory Microsoft attributes with a
specific meaning, or can it also apply to a non-standard attribute that I
may invent for a particular purpose (eg all collapsible elements on a page
might have a custom attribute collapsible="true")? If it's the latter, I
don
David,
What you ask is exactly what the plugin does. Take a look at the blog post
explaining how you can use it to replace obtrusive javascript at:
http://redotheweb.com/2007/02/28/unobtrusive-javascript-made-possible/
François
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL
On 1 Mar 2007, at 02:15, Mark wrote:
> yea.. i was just thinking about the same.. i think i`m gonna give
> that a try..
>
> 2007/2/28, Karl Rudd <[EMAIL PROTECTED]>: Unfortunately you can't
> just "assign" a function that runs on the
> server to JavaScript (running on the client). The best yo
François Zaninotto schreef:
> David,
>
> What you ask is exactly what the plugin does. Take a look at the blog post
> explaining how you can use it to replace obtrusive javascript at:
>
> http://redotheweb.com/2007/02/28/unobtrusive-javascript-made-possible/
>
>
It's my mistake, I got it now you
This looks like a question about the validator plugin. You may want
to use that in the subject line.
> > rules: {
> > firstname: { required: true },
> > age: { number: true },
> > password: { min: 5, max: 32 }
> > },
> > messages {
> > password: "Please enter a password betw
Brice Burgess schreef:
> Ladies and Gentleman of the jQuery,
>
> ...errr, more so the Gentleman...
>
> I am happy to bring you jqModal r7, codenamed "listen". R7 is a major
> feature enhancer, and brings about some API changes and parameter
> reduction. I recommend upgrading & porting your exis
> The hidespeed is measured in milliseconds, using the same units as
> jQuerys built-in animations. So the smaller the value, the faster the
> animation. Try to simply increase the value, that should give you a
> smooth animation.
that indeed worked, however still odd, the same value was smooth
be
thanx for the suggestion.
gonna try that
2007/3/1, Mika Tuupola <[EMAIL PROTECTED]>:
On 1 Mar 2007, at 02:15, Mark wrote:
> yea.. i was just thinking about the same.. i think i`m gonna give
> that a try..
>
> 2007/2/28, Karl Rudd <[EMAIL PROTECTED]>: Unfortunately you can't
> just "assign" a
Thanks for the explanation and code, Daemach!
As I study it, it begins to make more and more sense.
(Not to say that I could write it, but at least I'm beginning
to understanding how the parts relate...)
I'll work with this code some and see what I can do.
I'll check out the link to openwddx.org
@ <[EMAIL PROTECTED]> :
> Fil, did you ever get a definition of "DOM 0 expandos"...
Now I got plenty, thanks :)
-- Fil
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Gotcha. I thought that might be the case. Good on ya. ;o)
Daemach wrote:
Yeah it's education - it's good for new folks to see that you can pass
complex structures back and forth seamlessly.A simple value would be
fine in this case.
I like the loop over the inputs to create the object in you
Hmm... I hadn't thought of that. So you're saying that you would
eliminate the looping over the argument structure and just set my =
arguments;? Would that make a *copy* of the arguments structure in the
'my' variable, or would 'my' be a *reference* to the arguments structure?
Chris
Daemach w
I posted yesterday about an issue I was having with the highlight effect
(from interface) firing twice...
So after looking at my code again this AM - I went to the Interface site
itself (http://interface.eyecon.ro/demos/ifx.html) and the highlight
effect appears broken there as well.
Works fine
Rick,
what Daemach means by 'ser/deser' is serialize/deserialize.
Serialization is taking a JavaScript object and formatting it into a
proper wdx packet (or JSON string, or whatever). De-serialization then
is the reverse of that process, taking the serialized data and turning
it back into nat
I noticed somewhat odd behavior when using .click() on newly created
elements. If the .click() is assigned prior to the element being
attached to the DOM, the element behaves as if there is no event bound
to it.
var removeLink = $("Remove").click(function()
{alert('hello');});
$(".portlet .handle
I was wondering if anyone is using my
http://www.mondotondo.com/aercolino/noteslog/?page_id=105 Metaobjects plugin
as a replacement for the metadata plugin.
It's now at version 1.2 and I'm really proud of this simple tool.
The best features of Metaobjects are:
-- valid XHTML mark-up
-- auto cl
This won't help your problem at all, but I would also like to add that I've
found exceptions in IE6 when adding css attributes to an element that
hasn't still been attached to the DOM, i.e:
var elem = $("").css("color", "red");
I don't know if these problems are still present in the new release
Klaus, Brice had given you credit for that on his jqModal site, so I figured
I keep the ball rolling :)
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi
I use Joomla and it is installed in the root of my website. hence I don't
use a \Joomla directory.
I can't get ImageBox the work right in this configuration. When the box
opens it doesn't display the loading graphic and when the box is open is
doesn't display the close button at all.
I have i
Quite expected behavior :-)
You should always use jQuery( htmlSnippet ) and attach it to the dom as soon
as possible.
This also works fine, and is a typical chain:
var removeLink = $(" # Remove ")
.appendTo( ".portlet .handle" )
.click( function() { alert( 'hello' ); } );
--Andrea
Weaver, Sc
Hi Janet.
I didn't use ImageBox ever, but the docs here:
http://interface.eyecon.ro/docs/imagebox
give two options that I think refer exactly to your issue:
textImage - String - mandatory - when a galalry it is build then the
iteration is displayed
textImageFrom - String - mandatory - when a ga
It's a reference, but in this case you're just trying to avoid having to type
"arguments" so it works - I do the same thing. The only time you really need
to do a deep copy is if you are planning to manipulate the second structure
and need to keep the first intact for some reason.
Christopher J
I'm incorporating the jquery tabs for a client on his site, and he's asking
if the tabs could be timed to change.
Like at 7pm tab2 shows, 2am tab3 shows, etc??
I know any tab can be set to show by default, so it seems timer is possible?
if someone can point me in the right sirection much apprecia
Sorry, disregard my previous message.
Here is what you need:
$(document).ready(
function()
{
$.ImageBox.init(
{
loaderSRC: 'images/imagebox/loading.gif',
closeHTML: '[img
src
I'm not sure I get you... All the helpers described in the blog post are
bundled with the plugin. Or do you mean something else?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de David Duymelinck
Envoyé : jeudi 1 mars 2007 13:06
À : jQuery Discussion.
Obje
Hi Andrea
I tried that, but I get an error message when I modify the index.php of the
plugin. It says there is a T_string error in the line.
Janet
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Andrea Ercolino
S
I don't know... are you sure you replaced the square brackets?
Janet Weber wrote:
>
> Hi Andrea
>
> I tried that, but I get an error message when I modify the index.php of
> the
> plugin. It says there is a T_string error in the type="text/javascript"> line.
>
> Janet
>
> -Original Mess
Hey all,
I'm trying to bind a load method to a form element, so that it will assess
the value of the element on page load (document ready), and do something
accordingly. What I have is below, but it's not working...in fact I can't
seem to get the load method to work in any context. Can someon
Gimmee some docs, I wanna play...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Thomas
Sent: Wednesday, February 28, 2007 5:42 PM
To: jQuery Discussion.
Subject: [jQuery] Pjq Demo
I started working on this a while ago and had another demo up but
Josh,
Using .load() within the scope of $(document).ready() is redundant, since
everything in that block is performed on page load anyway.
Also (1) you can use the :checked selector, and (2) this.value will work
just fine and saves the jquery call.
Try this:
$(document).ready(function() {
$(
Bruce schrieb:
> I'm incorporating the jquery tabs for a client on his site, and he's asking
> if the tabs could be timed to change.
> Like at 7pm tab2 shows, 2am tab3 shows, etc??
>
> I know any tab can be set to show by default, so it seems timer is possible?
> if someone can point me in the ri
Okay, I gotcha. I thought it would be a reference (I learn something new
everyday! I love that!).
You're right though, if you're not going to be doing anything special
with the copy then it's not really necessary. I typically var just that
one structure and then *everything* becomes part of it
Thanks Chris, perfect, that works great.
Curious about the each method, why is that necessary, if there will always only
be one checked radio button with the name caltype? Is that because there has
to be some method to operate on the element?
Pardon my noobness...
- Original Message
Chris Domigan schrieb:
> Josh,
>
> Using .load() within the scope of $(document).ready() is redundant,
> since everything in that block is performed on page load anyway.
> Also (1) you can use the :checked selector, and (2) this.value will work
> just fine and saves the jquery call.
I'd like to
$() effectively returns an pseudo-array of the elements that match the
specified query. The .each() method applies a function to each element in
that array. In your case the query matches only one element in the DOM, so
there is only one element in the array, and .each() will be performed once.
C
Expandos are not proprietary to Microsoft. They are custom attributes. For
instance:
var oDiv = document.getElementById('myDiv');
oDiv.collapsible = "true"; // safe expando
var oSpan = document.getElementById('mySpan');
oDiv.relatedSpan = oSpan; // potentially dangerous expando
oDiv.relatedSp
> Please correct me if I'm understanding this the wrong way. Strings are safe.
> Object references are not.
That's correct. It's safe to store primitives in an expando because
the aren't reference counted for garbage collection. But objects are
trouble. An IE memory leak pattern is as simple as
David Duymelinck wrote:
> It's aready r9 but the plugin stays the same :)
>
I've been working on some IE6 fixes.. just haven't notified the list yet :)
> I finally got around to use the plugin but i had a problem with the
> (function($){})(jQuery); code, in firebug i got the error: is not a
>
Hi Andrea
The code causes a "Parse error: syntax error, unexpected '<' in
/home/janet/public_html/mambots/content/mosthickbox.php on line 32" no
matter where I out it in the file,
Janet
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Andrea Ercolino
Sent: T
I'm getting a flicker in FF2 mac... almost like Firefox is performing toggle
twice on this page:
http://www.monkeypuzzle.net/testfiles/jquery/slidepanel/index3_alt.html
click on the vertical gray bar to toggle the left panel open and closed
It's seems to be smooth in Safari & IE... I thought th
I've set up a simple test page demonstrating an Internet Explorer
inconsistency with $.clone() -- I believe this is already known about,
although have tried the latest in SVN && it does not appear fixed.
In short, under Internet Explorer, the scope of clones is the cloned
element (donor), not t
John Resig wrote:
> Unfortunately, not in any way that is universally practical.
>
> The div:first query is obviously improvable, but when you get into
> queries like "[EMAIL PROTECTED]" it becomes a lot less clear.
>
> I'll think about improving TAG:first/last - as that seems like a
> common case,
Brice -
You should file a bug concerning this (or re-open the one that was
closed before):
http://dev.jquery.com/ticket/921
And re-post this to the dev list. I suspect that we may have only
fixed on particular case concerning this event/cloning bug.
--John
On 3/1/07, Brice Burgess <[EMAIL PROT
Brice Burgess wrote:
> what would we need jQuery for then though? ;(
>
Apologies to anyone offended by this. Besides the most excellent
selectors, the real power of jQ lays in its extendibility,
traversal/manipulation routines, animation stack, and ease of ajax! In
my opinion at least ;)
~
Janet,
I am just jumping in here, but those errors you are getting are php errors.
So, if you need to add the javascript code to the page, you need to make
sure you put it outside of the php tags.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
Hi Benjamin
You where right about the php. All that I added to the file to fix the
problem was to add ?> and \n";
?>
addCustomHeadTag($html);
It works.Knock on wood
Janet
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Benjamin Sterling
Sent: Th
Hi,
I've done some enhancements to Imagebox that may be of general interest.
Added:
+ a stop() function that undo what init() does.
+ a closeHook option that is called when Imagebox is closed.
+ a nextImage2 and prevImage2 element that are placed to the left of closeHTML
I'm not sure what the pr
Hi Tobbe
I was wandering if you noticed that the loading.gif graphic dosen't have a
transparent background?
Janet
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Torbjorn Tornkvist
Sent: Thursday, March 01, 2007 8:14 PM
To: discuss@jquery.com
Subject: [jQuer
I'm curious to hear other people's thoughts on this approach. If it's
a sound idea, why isn't it part of the official metadata plugin?
--Erik
On 3/1/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
> I was wondering if anyone is using my
> http://www.mondotondo.com/aercolino/noteslog/?page_id=10
I read thru the site and I must admit that I not exactly sure of the
benefit. Are there real work examples? Can you explain the benefits?
Thanks,
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discu
Another option for xml-compliant interlanguage data exchange is WDDX, which
can be found at http://www.openwddx.org. Just download the SDK which
contains prebuilt objects/code/functions in addition to substantial
documentation for serializing and deserializing to and from most languages
that are
The "problem" is that it's a fundamentally different way of dealing
with Metadata. Metaobjects is much more pro-active, whereas the
Metadata plugin is passive in nature. That's not a bad thing, it's
just different.
For example, with the Metaobjects plugin you can setup rules to have
data bound to
Hi everybody, Ive been testing the accordion menu
(http://docs.jquery.com/Tutorials:Accordion_Menu_%28Screencast%29)
I try several things on the code but didnt work.
The accordion menu, by default, on click slide and show the items, but if I
click again on the same item, the menu doesnt hide.
I w
François Zaninotto schreef:
> I'm not sure I get you... All the helpers described in the blog post are
> bundled with the plugin. Or do you mean something else?
>
>
Why would you need to have a function that writes inline javascript code
if the whole idea of the plugin is to generate unobtrusi
Brice Burgess schreef:
> Are you compressing (JS compressor, not gzip output) the combined
> javascript output? I've played with similar techniques, and found
> compressors and the capsulated function don't play well.
>
No i didn't use any compression method but i do use it in an asp.net
page
74 matches
Mail list logo