2006/11/13, Jörn Zaefferer [EMAIL PROTECTED]:
I wonder if I can remove the current two links to your accordion plugins, and
replace them with this one.
Hi Jörn,
It's OK for me. You did a great work on this and it's better to not
confuse users with many plugins which do the same thing.
hi,
this plugin really rocks but I think a couple of more options would be useful.
firstly we may have an optionto start the accordion with all elements collapsed.
secondly we may have an option tocollapse anexpanded element whenclicked to its title.
another optionmay be automaticallyexpanding
firstly we may have an option to start the accordion with all elements
collapsed.
secondly we may have an option to collapse an expanded element
when clicked to its title.
Agreed. My accordion does that already.
Even if it's not listed anymore, you will still find it here then:
On 13/11/2006, at 9:08 PM, Jörn Zaefferer wrote:
I just fixed some more bugs occuring in IE on the Accordion plugin.
And created a page with some examples and documentation:
http://bassistance.de/jquery-plugins/jquery-plugin-accordion/
Hi Jörn,
The animation of accordion sections on your
Klaus,
accordion given at http://bassistance.de/jquery-plugins/jquery-plugin-accordion/
does not support the features that I mentioned.
or does it?
~Can
On 11/13/06, Klaus Hartl [EMAIL PROTECTED] wrote:
firstly we may have an option to start the accordion with all elements collapsed. secondly
Original-Nachricht
Datum: Mon, 13 Nov 2006 11:42:11 +0100
Von: Klaus Hartl [EMAIL PROTECTED]
An: jQuery Discussion. discuss@jquery.com
Betreff: Re: [jQuery] Replacing Accordion plugins
firstly we may have an option to start the accordion with all elements
collapsed.
Hi all,I actually posted this in bug #137 - Prototype Support Plugin, but then I realized it might be more appropriate on the mailing list, since I'm looking for feedback on this idea.
Is the main issue here making jQuery compatible with Prototype, or just
making it compatible with all other
Hi all,
I reworked the automatic height option for the Tabs plugin. It now takes
resizing window/text into account to avoid overflowing text in such
situations. Thus the height is kind of flexible, but still all tabs
share the same height...
I also renamed the option to fxAutoHeight (camel-case)
I was surprised seeing that array copying is done as
b = merge( a, [] ) in place of b = a.concat();:
shouldn't the latter be faster?
The problem with .concat() is that a is not always an array. It is often a
NodeList returned from getElementsByTagName() or childNodes. You might think
that
I've used Jörn Zaefferer's plugin titled Form Validation (no Ajax) on
the plugins page for normal form submission -- nicely done.
I assumed that the no Ajax meant you didn't have to get your
validation rules from the server. But now I find I can't make it work
*with* Ajax submission
Yeah, all that DOM creation will take a while -
especially if you use a convenience plugin like mine.
I get much better performance across browsers
with [].join('') and innerHTML.
There don't seem to be that many situations where DOM creation is the
performance bottleneck though.
I'd like to serialize Objects, Arrays, Strings, Booleans, Dates, and
Numbers (the basics) to JSON. With Prototype, I'd used the json.js
library from JSON.org.
http://www.json.org/json.js
This library extends the base objects, which breaks the latest
Google Maps API and jQuery to boot.
Can
Hi Bruce!
I've used Jörn Zaefferer's plugin titled Form Validation (no Ajax) on
the plugins page for normal form submission -- nicely done.
I assumed that the no Ajax meant you didn't have to get your
validation rules from the server. But now I find I can't make it work
*with* Ajax
Hey Rey!
So I was planning on using Jorn's tooltip plugin, but my client nixed it
saying that he wanted something that looked more like this:
Not sure how difficult this would be but let me know if you get this
done Andy as it would VERY cool.
We already solved that. Checkout the updated
Bruce,
I had the same question a few weeks back and I more or less got the answer
from Jörn. Let me look for the code that I made and we can see if that
helps you.
Meanwhile, you can take a quick look a that discussion and it may point you
in the right direction.
Ben
--
View this message in
Hi jQueryians,
just tried to use the metadata plugin for my validation plugin. Unfortuanetely,
it doesn't work out as nicely as I hoped.
So far, I used this syntax to define validation rules with optional parameters:
validate=required,number,length:2:8
class=$v(required,min:5)
The only data
You could also change this in the code. It's a really easy fix to force it
to the left of the cursor rather than the right.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
Title: Why won't this work?
Hi, all
I finally started experimenting with jQuery and I must
say, it does show great promise.
I started working with the jQuery Starterkit at
http://jquery.bassistance.de/jquery-getting-started.html
The straight-forward implementation of the syntax makes
Why not just stick with name value pairs? required:true,number:true
--
Brandon Aaron
On 11/13/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi jQueryians,
just tried to use the metadata plugin for my validation plugin.
Unfortuanetely, it doesn't work out as nicely as I hoped.
So far, I used
Jörn Zaefferer wrote:
Hey Rey!
So I was planning on using Jorn's tooltip plugin, but my client
nixed it saying that he wanted something that looked more like
this:
Not sure how difficult this would be but let me know if you get
this done Andy as it would VERY cool.
We already solved
Hi Rick!
script type=text/javascript src=custom.js/script
script type=text/javascript src=jquery.js/script
Looks like you got it nearly right, just that you must include jquery.js BEFORE
your custom code. Just call again if that doesn't help.
--
Jörn Zaefferer
http://bassistance.de
--
Gilles or anybody else with knowledge of the cssHover plugin:
Can you please tell me how can I select all checkboxes in a form controlled by
cssHover with a select all click event?
Thanks.
roso
___
jQuery mailing list
discuss@jquery.com
Hey Rick! Welcome to the list man. Glad to see another CF'er over her.
I'll take a look at the code and see if I can help.
Rey
Rick Faircloth wrote:
Hi, all…
I finally started experimenting with jQuery and I must
say, it does show great promise.
I started working with the jQuery
Sweet Jorn! I've been out of town for 4 days and had a TON of email to
rummage through. The new tooltip looks VERY sweet.
What would be awesome, though, is if you can make the tooltip shift up
if its too close to the bottom of the browser. When I moused over the
Hover me, please, the tip was
Rick,
you're a CF guy? Sweet! I'm with Rey: Welcome to the list! I was
startin' to feel a bit lonely myself. :o)
Chris
Rey Bango wrote:
Hey Rick! Welcome to the list man. Glad to see another CF'er over her.
I'll take a look at the code and see if I can help.
Rey
Rick Faircloth wrote:
I've got an earlier version of the JSON.org script (copyright 2005)
which has a JSON.stringify()function. You can find it online in various
places, by searching for either that or its license terms:
The Software shall be used for Good, not Evil.
Hi, Jorn..
That did it...didn't know the order of script reference was important!
Live and learn...
I also didn't realize I even had to include the jquery.js file...I only did
so as a desperate attempt to get the code to work.
So...the lesson is...the jquery.js file always has to be included
So...the lesson is...the jquery.js file always has to be included for the
jQuery code to work and it has to be referenced first...correct?
Yes!
--
Jörn Zaefferer
http://bassistance.de
--
Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf
Alan,
Mark Gibson has alreay hacked the json.js into a jQuery plug-in. I'm
using it in my application, right now.
It provides two new functions: $.toJSON() and $.parseJSON().
Maybe this is what you're looking for?
Here's a link to his code. If it's broken for some reason, let me know.
I've
[EMAIL PROTECTED] wrote:
Gilles or anybody else with knowledge of the cssHover plugin:
Can you please tell me how can I select all checkboxes in a form controlled
by cssHover with a select all click event?
You could use jQuery to find all checkboxes you want to toggle:
jQuery(some code
Yep...
HTML code is generally processed procedurally (in order), so if you're
writing jQuery code and including it, the jQuery include must come first,
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
Original-Nachricht
Datum: Mon, 13 Nov 2006 10:27:46 -0500
Von: Rey Bango [EMAIL PROTECTED]
An: jQuery Discussion. discuss@jquery.com
Betreff: Re: [jQuery] Alternative tooltip, with shadows...
Sweet Jorn! I've been out of town for 4 days and had a TON of email to
rummage
Why not just stick with name value pairs? required:true,number:true
Hmpf. I guess that is the best approach. A little more text to type or generate
when formulating the validation rules, but a much more reliable parser.
Thanks for your input.
--
Jörn Zaefferer
http://bassistance.de
--
Ein
A bug on the forth example is that on ff 1.5 the the tool tip is
displayed at the bottom of the page and some of the tool tip extends
below the bottom of the page and adds a scroll bar to the page. There is
no way to scroll down to see the tools tip.
Now that I write this I think this
My thoughts exactly!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rey Bango
Sent: Monday, November 13, 2006 10:28 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Alternative tooltip, with shadows...
Sweet Jorn! I've been out of town for 4 days
Title: List E-mail size limit...
Just found out that any message over 40KB in size must
be reviewed by the moderatordont know how long that
takes so I thought Id rewrite
Apparently the jQuery code has to be placed (in my example, anyway)
right next to the text itself.
This doesnt work:
Rick Faircloth schrieb:
Just found out that any message over 40KB in size must
be reviewed by the moderator…don’t know how long that
takes so I thought I’d rewrite…
Apparently the jQuery code has to be placed (in my example, anyway)
right next to the text itself.
This doesn’t work:
On 13/11/06, henrah [EMAIL PROTECTED] wrote:
Hi all,
I actually posted this in bug #137 - Prototype Support Plugin, but then I
realized it might be more appropriate on the mailing list, since I'm looking
for feedback on this idea.
Is the main issue here making jQuery compatible with
From: Michael Geary
Yeah, all that DOM creation will take a while - especially
if you use a convenience plugin like mine.
I get much better performance across browsers with
[].join('') and innerHTML.
From: Dave Methvin
There don't seem to be that many situations where DOM
So...the lesson is...the jquery.js file always has to be
included for the jQuery code to work and it has to be
referenced first...correct?
It doesn't have to be *first*, but it does have to be before any code that
uses jQuery.
Think about it this way... Would this code work:
alert( x );
Rick Faircloth schrieb:
Just found out that any message over 40KB in size must
be reviewed by the moderator…don’t know how long that
takes so I thought I’d rewrite…
Apparently the jQuery code has to be placed (in my example, anyway)
right next to the text itself.
This doesn’t work:
[EMAIL PROTECTED] schrieb:
Klaus
Something unexpected -- with IE6/WinXP every transition added an element
to the browser history. I'm not sure whether thats intended.. Just FYI.
--Jacob
Hi Jacob, if you mean with transition a click on the tab, then yes, its
intended. It's a feature -
tabs.png
Description: PNG image
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I'm not totally sure how the event system works, but couldn't you attach another function to the forms submit event? like this:$('#form').validate().submit(function(){ // do stuff});This is just a shot in the dark, I don't really know that much about the inner workings of _javascript_ events.
Hi Sam.That sounds like a good compromise. I've never seen that method to get
the current scripts file name. Does it work in most browsers (inc IE5.5+)?Actually, after a quick trawl through MSDN, I don't think the fileName property on Error objects is widely supported.
A possible (less hacky)
I just looked at your URL in MSIE 6. It threw a JS error.
Line 39. null is null or not an object.
In MS Screipt Editor is highlights this code: event.target=event.srcElement
Glen
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
KlausSomething unexpected -- with IE6/WinXP every transition
Got this message once...why am I getting duplicates?
Anyone else getting them?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: Monday, November 13, 2006 12:42 PM
To: [EMAIL PROTECTED]; jQuery Discussion.
Subject: Re: [jQuery]
Not me.
Are you perhaps doing a reply all, instead of just replying to the list
only?
Chris
Rick Faircloth wrote:
Got this message once...why am I getting duplicates?
Anyone else getting them?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
I'd hardly say that anyone can have a coma "removed".
Usually they just get better and wake up.
(Just having a little fun. Please
continue!)
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sam
SherlockSent: Friday, November 10, 2006 10:30 PMTo: jQuery
Discussion.Subject:
Title: Text pointer to hand pointer on MouseOver...
How could I cause the mouse pointer to change from the
text select pointer to a hand when a user mouses over
text before clicking?
Im working with this jQuery code
$(document).ready(function() {
try setting the CSS cursor propertyhttp://www.w3schools.com/css/pr_class_cursor.aspLaurentOn 11/13/06,
Rick Faircloth [EMAIL PROTECTED] wrote:
How could I cause the mouse pointer to change from the
text select pointer to a hand when a user mouses over
text before clicking?
I'm
thanks guysthe quotes around class did.I must have been in a coma to have not noticed the syntax highlighting of the key-word class (doh)
I'd hardly say that anyone can have a coma removed.
Usually they just get better and wake up.ha ha Chris I just noticed that I was trying to spell ',' but just
On Friday, November 10, 2006 1:20 PM Jörn Zaefferer said:
Hi jQueryians,
Hi!
Please post your opinions and ideas, I'm sure there are many.
I'd like to it default to Category view rather than Alphabetical.
Thanks,
Chris.
___
jQuery mailing list
obj.style.cursor
= default; // arrow
obj.style.cursor = pointer; // the little hand. could put "hand" but
that's an IE only deal. don't do it.
obj.style.cursor = wait; // hour glass.
obj.style.cursor = move; // i *think* this one is the compass rose
lookin' icon.
obj.style.cursor = help; //
Chris W. Parker wrote:
On Friday, November 10, 2006 1:20 PM Jrn Zaefferer said:
Hi jQueryians,
Hi!
Please post your opinions and ideas, I'm sure there are many.
I'd like to it default to Category view rather than Alphabetical.
I think I
That's right. cursor: hand; cursor: pointer; should work.
SEAN O
Laurent Yaish-2 wrote:
try setting the CSS cursor property
http://www.w3schools.com/css/pr_class_cursor.asp
Laurent
On 11/13/06, Rick Faircloth [EMAIL PROTECTED] wrote:
How could I cause the mouse
Gilles, thanks, I've noticed that you added the requested example at
http://gilles.jquery.com/cssHover/
Works for me now too.
roso
[EMAIL PROTECTED] wrote:
It simply doesn't work.
Again, I need to click on a checkbox or a link and have all other
checkboxes selected.
What about a working
[EMAIL PROTECTED] wrote:
Gilles, thanks, I've noticed that you added the requested example at
http://gilles.jquery.com/cssHover/
Works for me now too.
roso
Jep, just finished it.
As it now works, you can't change the state of a disabled cssHover item.
HTH,
Gilles
LOL well it wasnt what I expected. Is there a way to toggle this behavior
in your plugin?
--JYL
[EMAIL PROTECTED] schrieb:
Klaus
Something unexpected -- with IE6/WinXP every transition added an element
to the browser history. I'm not sure whether thats intended.. Just FYI.
--Jacob
Hi
[EMAIL PROTECTED] schrieb:
LOL well it wasnt what I expected. Is there a way to toggle this behavior
in your plugin?
Currently not. That's what makes the tabs bookmarkable (and enables
history support at all) - the hash in the URL changes accordingly. If
you bookmark that page and come back
Rich Manalang schrieb:
[nice tabs background]
Hi Rich,
may I use it? ;-)
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Jörn,
YOU ROX thx for the activate :) w00t w00t
Jason y
www.purepressure.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Glen Lipka schrieb:
I just looked at your URL in MSIE 6. It threw a JS error.
Line 39. null is null or not an object.
In MS Screipt Editor is highlights this code: event.target=event.srcElement
Glen
Thanks Glen, will have a look into it. That's a very strange one. It
seems only to occur
No problem. My tabs plugin just prettified up your *original* plugin, which is no longer operative.-- YehudaOn 11/13/06, Klaus Hartl
[EMAIL PROTECTED] wrote:Jörn Zaefferer schrieb: Hi jQueryians, mainly Frank Marcia and Klaus,
I just fixed some more bugs occuring in IE on the Accordion plugin.
On Friday, November 10, 2006 3:41 AM Christian Bach said:
This is way cool!
Yes it is.
Have you done any tests with this plugin and tablesorter?
I'm pleased to report that it worked for me without any problems along
side TableSorter. Happy day!
I just included the quicksort js file and
sure... sorry about spamming the list... it was an accident.On 11/13/06, Klaus Hartl [EMAIL PROTECTED] wrote:
Rich Manalang schrieb: [nice tabs background]Hi Rich,may I use it? ;-)
-- Klaus___jQuery mailing listdiscuss@jquery.com
Can someone please give me a short primer on the recommended
way to extend a jQuery plug-in? I have created a couple of basic plug-ins
and have plans for several others, however, I would like to be able to take
advantage of the basic plug-in functionality to create more complex plug-ins
(#whatever).css(cursor,pointer)
Or put it in the CSS.whatever{ cursor: pointer }
Glen
On 11/13/06, Laurent Yaish [EMAIL PROTECTED] wrote:
try setting the CSS cursor property
http://www.w3schools.com/css/pr_class_cursor.aspLaurent
On 11/13/06, Rick Faircloth
[EMAIL PROTECTED] wrote:
How could
In IE6, when clicking on a link on the left, it scrolls down on the right, but you can no longer see the links on the left.
The right side doesn't have the overflow on it correctly. FF works properly though.
Glen
On 11/13/06, Christopher Jordan [EMAIL PROTECTED] wrote:
Chris W. Parker wrote:
On
I replied
to this a long time ago... on the wrong thread... oops.
Glen's got it right Rick.
Here's my old reply for what it's worth.
-
obj.style.cursor
= default; // arrow
obj.style.cursor = pointer; // the little hand. could put "hand" but
that's an IE only deal. don't do it.
Klaus that would be nice. A nice-to-have, not an absolutely-must-have
feature. :)
--Jacob
[EMAIL PROTECTED] schrieb:
LOL well it wasnt what I expected. Is there a way to toggle this
behavior
in your plugin?
Currently not. That's what makes the tabs bookmarkable (and enables
history
Thanks, Chris, Glen
Rick
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Jordan
Sent: Monday, November 13, 2006 6:31 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Text pointer to hand pointer on MouseOver...
I replied
to this a long time
Title: How to code a slide-up, slide-down for this?
Hi, all
I would like to be able to show announcement titles on a page,
initially hide the text, then on clicking the title, have the text
slide down or up.
The following example uses list elements to do this, but I would
like to use
One simple approach is a div containing the toggle link/header at the top and another div wrapping the actual text. Inside the link click event you simply toggle all siblings of 'this'.Blair
On 11/14/06, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, all…
I would like to be able to show
bmsterling wrote:
Bruce,
I had the same question a few weeks back and I more or less got the answer
from Jörn. Let me look for the code that I made and we can see if that
helps you.
Meanwhile, you can take a quick look a that discussion and it may point you
in the right direction.
What would be an ideal way to refresh an image whose src attribute is a
script that dynamically generates the image? Would it be best to store
the value of the src attribute in a variable, remove the img element
from the DOM, and append a new image element with the same URL? In my
quick tests, it
Is this not working for you?
$(img.whatever).attr(src,newurl.gif);
Glen
On 11/13/06, Matt Grimm [EMAIL PROTECTED] wrote:
What would be an ideal way to refresh an image whose src attribute is ascript that dynamically generates the image? Would it be best to store
the value of the src attribute in
If you want to defeat the cache you could try appending the current time
as a query string:
img.src = fileName + ? + (new Date()).getTime();
-blair
Matt Grimm wrote:
What would be an ideal way to refresh an image whose src attribute is a
script that dynamically generates the image? Would it
On 11/13/06, Blair Mitchelmore [EMAIL PROTECTED] wrote:
If you want to defeat the cache you could try appending the current timeas a query string:img.src = "" + ? + (new Date()).getTime();-blairAnother solution would be to, in your image generating script, send HTTP headers that tell the browser
Something like that worked for me when I did a fairly complex app that used changing img's to simulate seeking through a video.-- YehudaOn 11/14/06,
Blair Mitchelmore [EMAIL PROTECTED] wrote:
If you want to defeat the cache you could try appending the current timeas a query string:img.src = "" +
No, because the URL stays the same, but based on some database info, the
image that gets generated will be different.
m.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
LipkaSent: Monday, November 13, 2006 8:24 PMTo: jQuery
Discussion.Subject: Re: [jQuery] Refresh an
Ah, now that's a very elegant solution. Bonus points since it works ;)
Thank you.
m.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Blair Mitchelmore
Sent: Monday, November 13, 2006 8:29 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Refresh an
I like this method too, since it puts the work on PHP instead of
_javascript_, but unfortunately, in this case, I do not control the image
generating script.
m.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
HeimlichSent: Monday, November 13, 2006 8:34 PMTo: jQuery
Glen Lipka schrieb:
(#whatever).css(cursor,pointer)
Or put it in the CSS. whatever{ cursor: pointer }
If there's a certain behavior attached to that element, I'd prefer not
to not put it in CSS, otherwise without JavaScript you don't have the
behavior but still get a pointer cursor, which
Rick Faircloth schrieb:
Hi, all…
I would like to be able to show announcement titles on a page,
initially hide the text, then on clicking the title, have the text
slide down or up.
The following example uses list elements to do this, but I would
like to use something else because
85 matches
Mail list logo