[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-29 Thread Stephan Beal
On Jul 29, 6:49 pm, "Rick Faircloth" <[EMAIL PROTECTED]> wrote: > An equitable system would have to be worked out, but no one > who contributes would have been excluded... The Debian team recently (some months ago) got into a political pickle when they *hired* a release manager. The fact that any

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-29 Thread Stephan Beal
On Jul 29, 2:40 am, "John Resig" <[EMAIL PROTECTED]> wrote: > My primary concern is that it isn't open, nor does it foster a > community that promotes openness. Another concern about a subscription service is that it could very well offend the plugin authors who write the code but don't get part

[jQuery] interesting JS "animation", candidate for jQuery plugin

2007-07-29 Thread Stephan Beal
Hi, all! i just came across this by accident and thought it might interest some plugin author enough to write a similar feature for jQuery: http://imdb.com/title/tt0084787/faq scroll way down, or search for "Are there any deleted scenes for this movie?", and look for the red text which says "Sp

[jQuery] Re: OT: A Big Idea

2007-07-28 Thread Stephan Beal
On Jul 28, 3:33 am, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > http://commadot.com/?p=581 > > I would love your thoughts on it. To quote that post: "First of all, I would only have to test ONE browser, regardless of whether you used IE, FF, or Safari." To play devil's advocate for a moment... T

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 7:54 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > can find. The New Topic button is unfortunately not available when > reading a post (it's only visible from the list-of-posts view). i lied - it does show up as a normal link in the top/right of the page. When in

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 7:18 pm, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I have no idea how that happened, but I will be more careful. BTW I try to > snip out chunks of text but I am not perfect, and so are a lot of other > people here. Sorry, i wasn't picking on you about top-posting or non-snipping.

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 6:52 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On the other hand, stating that a plugin gets tested in only one of the > mayor browsers and that you the author don't care much about other > browsers doesn't motivate users much to use the plugin! A very fair point. That goes back to

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 6:49 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > The top post of this thread was from Nicolas Hoizey and is about a > completely different topic: > > From: Nicolas Hoizey <[EMAIL PROTECTED]> > Subject: Ken Burns effects using jQuery? And then suddenly:

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 5:59 pm, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I started this thread myself, how is that hijacking? The top post of this thread was from Nicolas Hoizey and is about a completely different topic: From: Nicolas Hoizey <[EMAIL PROTECTED]> Date: Thu, 26 Jul 2007 23:12:51 +0200 Loc

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 5:55 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > My advice to all who are concerned about this is to engage the plugin > authors in some way to motivate them to update their work. If they don't > want to, then consider adopting the plugin and enhancing it. That's > happened on several oc

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 5:13 pm, Rey Bango <[EMAIL PROTECTED]> wrote: ... > plugin authors, a chance to see if anything breaks. And the code is in > SVN so there's no reason for someone to not be able to test it. That's a key phrase, "to not BE ABLE to test it." Certainly authors are able, but we must recogni

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 1:30 am, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I have this small script that shows and hides a button when you mouse over a Mitchell, please, for the second time, DO NOT HIJACK THREADS!!! This is at least the 3rd time i've seen you do it in the past few days! When you have a qu

[jQuery] Re: named function vs anonymous functions

2007-07-28 Thread Stephan Beal
On Jul 28, 11:35 am, Christof Donat <[EMAIL PROTECTED]> wrote: > Hi, > > > If you want to call a method of a CLASS > > then yes it will work because 'this' is then no longer tied to a > > specific OBJECT. > > Yes, it is. It is tied to the "class object", which is the constructor > function object

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 3:06 pm, "Rick Faircloth" <[EMAIL PROTECTED]> wrote: > We need some kind of system where plug-ins are tested and deemed > compatible with this version or that version of the core and not with > some other version. > > An automated system that checks for compatibility and dependencies.

[jQuery] Re: named function vs anonymous functions

2007-07-28 Thread Stephan Beal
On Jul 28, 2:53 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Jeffrey, this is exactly what I was thinking... So now does it work or not? "Jein." If you want to call a method of an OBJECT, it won't work because you need a reference to THAT object (which you can encapsulate in a closure/anonymous

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 3:11 am, "Rick Faircloth" <[EMAIL PROTECTED]> wrote: > What does everyone do to stay updated with the latest jQuery and plug-ins > for every website? Once you have a site working with your copy of jQ, there is no reason to update it unless you find that it has a new feature you need or

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread Stephan Beal
On Jul 27, 7:11 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Sorry to be a party pooper, but what happens if you call $s from inside a > function, using replacement variables that are local to that function? How > will the "eval" see those variables? You can, to the best of my knowledge, eval

[jQuery] Re: named function vs anonymous functions

2007-07-27 Thread Stephan Beal
On Jul 27, 5:48 pm, Christof Donat <[EMAIL PROTECTED]> wrote: > > so what is the proper syntax for calling this named function for that > > change event? > > $(this).change(myfunction); To expand on that a small bit: if you want to call a method of an object then you must create an anonymous func

[jQuery] Re: hiding a div when clicked outside of it

2007-07-27 Thread Stephan Beal
On Jul 27, 1:43 pm, Maggi <[EMAIL PROTECTED]> wrote: > Hi Ganeshji! > > You could create an overlay background div with 100% in height and > width and write a small jQuery code for that. The problem with this approach is that this consumes the click, such that if the user clicks on another clicka

[jQuery] Re: ruby style string manipulation

2007-07-27 Thread Stephan Beal
On Jul 27, 12:09 pm, weepy <[EMAIL PROTECTED]> wrote: > $s = function(s) { > p = s.replace(/#{/g, "' + eval(").replace(/}/g, ") + '") > p = "'" + p + "'" > return eval(p) > } i almost went cross-eyed matching up the ' and " chars in that s.replace() call. It's almost as readable as Perl cod

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread Stephan Beal
On Jul 27, 9:23 am, [EMAIL PROTECTED] wrote: > Happy to share this plugin! > It is base on Klaus's tab plugin.http://www.twe-market.com/tab/#remote-tab-4 Nice :). Two comments: a) In Firefox, the Download link is almost completely hidden/covered up by the tabs. b) i would recommend renaming you

[jQuery] Re: IE and the Invalid Source Code Error

2007-07-26 Thread Stephan Beal
Hi, Mike! Something not directly related to your problem, but maybe helpful nonetheless... you can chain a lot of these calls to make them run faster. As it is written now, you are forcing jQ to repeat a few of the searches several times... On Jul 27, 1:54 am, mcraig <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-26 Thread Stephan Beal
On Jul 26, 11:19 pm, Aaron <[EMAIL PROTECTED]> wrote: > ok si i tried different ways of the above code with the > if( $j('#SpeakerDIV').length ) but i can not seem to figure out how to > get it to work. i don't personally use either of the plugins you're working with, so i can't say too much more

[jQuery] Re: " vs '

2007-07-26 Thread Stephan Beal
On Jul 26, 6:37 pm, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > This going will make me sound really dumb but what is the difference between > using single quote versus double quotes in jQuery, e.g. Mitchel, PLEASE don't hijack other people's threads to post a question. Start a new thread! Thre

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-26 Thread Stephan Beal
On Jul 26, 4:48 pm, Aaron <[EMAIL PROTECTED]> wrote: > Is there a way to have it work if there is an element but if no > element on the page dont throw an error? a) hack the plugin source code or b) add a hidden accordion-compatible element to pages which don't normally have one (that would be an

[jQuery] Re: Ajax: (Didn't have time to go over posted messages)

2007-07-26 Thread Stephan Beal
On Jul 25, 8:15 pm, andreas <[EMAIL PROTECTED]> wrote: > Didn't have time to go over the posts in the group and i would > appreciate answers/tips cause i need to deploy an app. based heavily > on async calls and custom headers will be required in many occasions. In the future i would recommend ly

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-26 Thread Stephan Beal
On Jul 25, 5:03 pm, Aaron <[EMAIL PROTECTED]> wrote: > jQuery(":first-child", this)[0] has no properties ... > [Break on this error] header: jQuery(':first-child', this) > [0].tagName // take first childs tagName ... As i understand it (possibly incorrectly), the problem is that :first- child is

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-25 Thread Stephan Beal
On Jul 25, 4:37 pm, Aaron <[EMAIL PROTECTED]> wrote: > Can someone please help? ... > But this still is not working and giving me an error. If i use just > one of them they work fine but when i try and use both of them i get > this javascript error. > 0.tagname is null or not an object Can you po

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-25 Thread Stephan Beal
On Jul 25, 5:08 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Ok, these change are now available: Did anyone else notice that the time between this post and Mike's "I'll add this to the cycle plugin" post was only 19 minutes? So much for "an evening's work" ;). Mike: if you decide to accept the p

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Stephan Beal
On Jul 25, 12:41 am, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I know this is trivial but what it turned out I needed was something this > simple > > jQuery.fn.toggleVis = function() { > > if(chesireCat.style.visibility == 'hidden') { > >chesireCat.style.visibility = 'visib

[jQuery] Re: Toggle state

2007-07-24 Thread Stephan Beal
On Jul 24, 5:25 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > $("p").toggle(function(){ > $(this).addClass("selected"); > someVar = true;},function(){ > > $(this).removeClass("selected"); > someVar = false; > > }); Instead of setting someVar, can't $(element).is("selected") be used?

[jQuery] Re: Moving Plugins to new repository

2007-07-24 Thread Stephan Beal
On Jul 24, 5:23 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > However, plug-ins that don't need to return a specific value should be > returning a jQuery reference so the chain doesn't break. The plug-ins that > *do* break the chain should be clearly stated as doing such. That's a questi

[jQuery] Re: tabs plugin suggestion

2007-07-24 Thread Stephan Beal
On Jul 24, 12:02 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > The one problem with this is that these handlers are not fired for any of > the tabs when they are initially setup with .tabs(), so I would suggest that > this be done once they are setup - call onHide for the inactive tabs and > onSh

[jQuery] [Announce] Confirmer plugin update

2007-07-24 Thread Stephan Beal
Hi, all! There's a new release of the Confirmer plugin: Plugin description: "Confirmer implements a novel approach to the process of confirming an action. Normally this is achieved via a yes/no dialog box or a button with a "confirm" checkbox next to it. The Confirmer plugin instead sets up a si

[jQuery] Re: JQuery plugins won't work in IE on this page only

2007-07-24 Thread Stephan Beal
On Jul 23, 9:07 pm, textdriven <[EMAIL PROTECTED]> wrote: > If you look at the following page you'll see that the photonews letter > works fine in IE (loads newsletters in Thickbox) and also work for all > the other pages that use it... > > http://kadampa.org/en/centers/kmc-france/ > > Except for

[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-24 Thread Stephan Beal
On Jul 23, 4:27 pm, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > > In short: any PHP version under 5.2 won't be supported much longer by > > many leading PHP applications/frameworks. > > This is not the truth, this site suggest to make the transition to php5 > as soon as possible cause

[jQuery] Re: What are most commonly-used menu plugins?

2007-07-23 Thread Stephan Beal
On Jul 23, 10:37 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > On Jul 23, 1:41 am, Rhapidophyllum <[EMAIL PROTECTED]> wrote: > > > I'm simply looking for a stable menu plugin. Of the various menu > > plugins available, which are most commonly used/most stable?

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-23 Thread Stephan Beal
On Jul 23, 11:27 am, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > What is this definition of the === operator you are referring to? I'm > unaware of it having ever been defined as a reference comparison, and having > read the relevant part of the ECMA Script specification yesterday I'm > certain it

[jQuery] Re: What are most commonly-used menu plugins?

2007-07-23 Thread Stephan Beal
On Jul 23, 1:41 am, Rhapidophyllum <[EMAIL PROTECTED]> wrote: > I'm simply looking for a stable menu plugin. Of the various menu > plugins available, which are most commonly used/most stable? There are unfortunately no real metrics for this, so i'm GUESSING here based on how many posts i see on

[jQuery] Re: What am I missing from this plugin?

2007-07-23 Thread Stephan Beal
On Jul 23, 9:26 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > But that doesn't make any difference. It would still overwrite a > property named "target" of the jQuery object. Ah, i now see what you mean. Yes, that would of course be a danger. > You have to know jQuery very well to not accidently

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-23 Thread Stephan Beal
On Jul 23, 4:06 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > All of those results make sense. > > > "print( (new String('foo') === new String('foo')))" > > false > > Those are two different objects, even though they have the same value; > object1 !== object2 by definition of the === operator. Ag

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 23, 12:53 am, "Rob Desbois" <[EMAIL PROTECTED]> wrote: ... > So theoretically: > > > if (typeof someUndefined == 'fuzzyDuck') > > should return true also. I won't try it now but see what happens! It's turning my brain all wahoonie-shaped, but here's what it looks like: [EMAIL PROTECTED]:~

[jQuery] Re: What am I missing from this plugin?

2007-07-22 Thread Stephan Beal
On Jul 22, 11:57 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > IMHO it is bad practice to store that element in the self, i.e. jQuery, > object. ... > A simple var should be sufficient. > > jQuery.fn.myPlugin = function(targetField) { > var textfield = jQuery(targetField); > ... > > }; A

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 22, 8:15 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > Stephan, > The only time that == or != should be used (IMO anyway) is when you > explicitly *want* type conversion to take place. Otherwise, it's safest (and > faster) to use === or !== The way i've always understood it (perhaps incor

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 21, 2:15 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > Try this: > > if (typeof myFunction === "undefined") { Shouldn't that be: if( typeof myFunction === undefined ) or if( typeof myFunction == "undefined" ) ??? i don't think === is what you want when comparing different string insta

[jQuery] Re: What am I missing from this plugin?

2007-07-22 Thread Stephan Beal
On Jul 22, 2:16 am, barophobia <[EMAIL PROTECTED]> wrote: > I think I understand but how do I handle the #passwordField part > within the plugin? In your plugin implementation, simply store a reference to the #passwordField passed to your plugin. For example, if you plugin looks like this: jQuer

[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-21 Thread Stephan Beal
On Jul 21, 3:26 pm, navi <[EMAIL PROTECTED]> wrote: > Hello All, > > I found that autocomplete runs only on PHP 5.2 and higher version, Any > solution in this regard. Unfortunately, the author of autocomplete fails to document which PHP version it needs. The "solution", i'm afraid, is to upgrade

[jQuery] Re: Announce: Confirmer plugin

2007-07-20 Thread Stephan Beal
> On Jul 18, 7:34 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Did it work? i just tried it, but it doesn't appear to have an affect - the click() handler appears to take precedence, which actually does make sense because you cannot have a double-click without having a single click. i trie

[jQuery] Re: Massive List of User Agents

2007-07-19 Thread Stephan Beal
On Jul 20, 5:31 am, Rey Bango <[EMAIL PROTECTED]> wrote: > http://www.user-agents.org/ > > I'm not associated with the site in anyway. I just thought that it would > be a good resource for your guys. Somewhat related, but even more off-topic: i got a Sony PSP yesterday. The built-in web browser i

[jQuery] Re: Announce: Confirmer plugin

2007-07-19 Thread Stephan Beal
On Jul 18, 7:34 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Hmmm, just thinking out loud here, did u try attaching a no-op function to > window.ondbclick... That's an EXCELLENT idea! Thanks a lot! Doh - i can't believe i didn't think of that before. Perhaps jQ should install a no-op dou

[jQuery] Re: Announce: Confirmer plugin

2007-07-19 Thread Stephan Beal
On Jul 18, 5:51 pm, "Christopher Jordan" <[EMAIL PROTECTED]> wrote: > Instead of disabling the element for 500ms just ignore any other clicks on > the element for 500ms. We often do this on elements with an onchange event. > that way if the user changes items in a select too quickly (i.e. > highli

[jQuery] dev tip: poor man's plugin debugging

2007-07-17 Thread Stephan Beal
Hi, all! The past week i've written 4 plugins and i would like to take a moment to share a tip which i've found useful while working on them. In each of my plugin functions i optionally create a "debugging area", a DIV element which i use to write debug info to: jQuery.fn.initConfirmer = functi

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 2:29 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > Does disabling the element for 500ms sound like a reasonable solution > to you? i'm not sure that disable makes much sense for non-buttons, > but i think that buttons will make up 90%+ of use cases. > > ???

[jQuery] Re: Behavior Problem

2007-07-17 Thread Stephan Beal
On Jul 18, 4:38 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > There aren't any yet besides what is in the main source file. There are two > main methods: behavior and unbehavior. They are the first two methods in the > js file and are commented (along with all the private methods). Here is the

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 4:51 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Don't you like the idea of "click on the button", an extension slides out > asking to confirm. When you click the "confirm" extension, you can go ahead > with the action. i do, but it breaks two of my rules for this plugin: a) I

[jQuery] Re: Behavior Problem

2007-07-17 Thread Stephan Beal
On Jul 17, 8:45 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: ... > The example you provide would be best written without using behavior at all. > However this is an interesting use-case and I would like to explore it in > more detail. Would you mind providing a complete example for me to dig > t

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 3:56 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > The trickiest part would be showing the user progress of the timer before > they can click to perform the action. > > The problem is I'm still not sure how intuitive this behavior would be. I > guess a clue/tool tip that explai

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 1:58 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > I'll also confirm that my finding the majority of non-hardcore users tend to > double-click. Heck, one of my previous supervisors used to double-click > every thing on a web page. My girlfriend does the same (and it drives me u

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 1:43 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > In the demo, once i click, the action gets cancelled too quickly before i > understand that i need to click it again... Also, i guess it is pretty > difficult to explain this to the user... You're right - i had the timeout delay

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 12:47 am, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: > Cool idea. Just add support for a class that's being added to the button > when in 'confirm' mode - otherwise there is no way to visually highlight > this new UI approach for the user ; ). My initial thought was to use an onclic

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 12:40 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Very cool idea. Anything to get rid of confirmation dialogs! i didn't come up with the idea myself (of course). There is/was some mail client (can't remember which) which uses/used a similar idea when you move a mail to the trash.

[jQuery] Re: Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
On Jul 18, 12:35 am, "Tane Piper" <[EMAIL PROTECTED]> wrote: > Very handy! Will be very useful for actions such as deleting. I'll > be trying this one out. Deleting is EXACTLY the reason i wrote it. i have an app with a "Delete all" button and a "Confirm" checkbox next to it (because i didn't k

[jQuery] Announce: Confirmer plugin

2007-07-17 Thread Stephan Beal
Hi again, all! Confirmer is a plugin for jQuery which implements a novel approach to the process of confirming an action. Normally this is achieved via a yes/no dialog box or a button with a "confirm" checkbox next to it. The Confirmer plugin instead sets up a single button which changes to a "co

[jQuery] Announce: filemanager-like-view plugin (BogoFolders)

2007-07-17 Thread Stephan Beal
Hi, all! This morning i put together a plugin which provides a basic filemanager-like view, called BogoFolders: http://wanderinghorse.net/computing/javascript/jquery/bogofolders/ In short, it uses two HTML elements: one holds a list of icons/label (e.g., the "file list") and one holds the conte

[jQuery] Re: Plugin Annoucements and Additions to Plugin Library

2007-07-17 Thread Stephan Beal
On Jul 17, 2:40 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > >c) The alphabetic display of plugins rewards those authors who name > >their plugins starting with the letter 'A', because those are the > >first ones which users will see when browsing the list. ... > As for Issue C, I think m

[jQuery] Re: I thought I understood threads...Works in Opera

2007-07-17 Thread Stephan Beal
On Jul 17, 2:42 pm, PragueExpat <[EMAIL PROTECTED]> wrote: > Apparently, in IE and Firefox, the function must run to completion before > the UI is updated with any CSS / DOM changes, but in Opera, the UI is > updated immediately upon the jQ call. Yeah, someone mentioned that behaviour a couple of

[jQuery] Re: tablesorter 2.0 - Shiny Brand new documentation!

2007-07-16 Thread Stephan Beal
On Jul 16, 10:02 pm, "Christian Bach" <[EMAIL PROTECTED]> wrote: > The new documentation is located > here:http://lovepeacenukes.com/tablesorter/2.0/docs/ Slick :). A quick bug report for you: Under: "Disabling headers, with inline options" Clicking the "Major" column sorts by a different col

[jQuery] Re: Plugin Annoucements and Additions to Plugin Library

2007-07-16 Thread Stephan Beal
On Jul 17, 12:18 am, "Christopher Jordan" <[EMAIL PROTECTED]> wrote: > yeah, I can see where that might be cool, but I still think it may take up > too much of the devs time. Ultimately, though it's up to them if they wanted > to do that sort of thing. I for one wouldn't complain if they did just

[jQuery] Re: Plugin Annoucements and Additions to Plugin Library

2007-07-16 Thread Stephan Beal
On Jul 16, 11:39 pm, "Tane Piper" <[EMAIL PROTECTED]> wrote: > Maybe it's also time to start running a "seal of approval" program, > where plugins are checked over to see if they are plugins, or scripts > or tests/examples. With good code and good documention, it would nice > to see a few more of

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 5:17 pm, "Armand Datema" <[EMAIL PROTECTED]> wrote: > yeah that is an option but i need a different bullet for each item You still haven't given us much info to work with. Do you need a specific number of bullets or an unpredictable/arbitrary number? If you can generate the code on the

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 4:14 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hm, in my opinion it is better to keep the three layers structure > (HTML), presentation (CSS) and behavior (JS) as separated as possible. That's certainly true, but creating an arbitrary number of classes for different row colors could

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 12:47 pm, "Armand Datema" <[EMAIL PROTECTED]> wrote: > Hi > > What is the best way to give a different class to each item in an unordered > list > > just a for each and then apply a new class or is there something better Applying classes has the limitation that you have to create a cl

[jQuery] Re: blockUI plugins consume too much CPU

2007-07-16 Thread Stephan Beal
On Jul 16, 2:42 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > I suspect this is a platform issue. What platform and browser are you > using? From what I'm told, Linux/FF is especially bad at hogging the > CPU when rendering opacity (especially for a full page) which is why To elaborate a small

[jQuery] Re: Plugin idea : server language integrator

2007-07-16 Thread Stephan Beal
On Jul 16, 3:06 pm, John Farrar <[EMAIL PROTECTED]> wrote: > Maybe I am totally missing it. Please clear up my fog. > > 1. It seems like you are wanting to "Generate jQuery execution code > via server pages.". I don't see what is offered by a plugin if that is > the case. (Esp. since jQuery doesn'

[jQuery] Re: Plugin idea : server language integrator

2007-07-16 Thread Stephan Beal
On Jul 16, 8:23 am, David Duymelinck <[EMAIL PROTECTED]> wrote: > Anyway i will start working on it this week and how to show something as > soon as possible. The value of this idea is immediately obvious, and if you manage to get this working i would LOVE to see it :). i'm a pretty good PHP cod

[jQuery] Re: dev tip: combining JS script files

2007-07-16 Thread Stephan Beal
On Jul 16, 2:16 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > Gilles, i'm very interested in your approach. I usually organize my js and > css external files inside the php process in a much similar manner, adding > jquery plugins necessary to output the user selected interface. Integrat

[jQuery] Re: dev tip: combining JS script files

2007-07-16 Thread Stephan Beal
On Jul 16, 11:23 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > You're saying that is done on each page load. Isn't it better to do that > once, when deploying the files? How long does it take to merge the files? In a sense he IS only doing it once - he wrote the PHP code ONCE. ;) Now PHP gets to d

[jQuery] announce: JS code packer as PHP5 command-line app

2007-07-15 Thread Stephan Beal
Hi, all! Nicolas Martin once released a PHP5-based JS packer (http:// joliclic.free.fr/php/javascript-packer/en/), a port of Dean Edwards' packer code (http://dean.edwards.name/packer/). Here is a derivative of Nicolas' code: http://wanderinghorse.net/computing/javascript/#packers that version

[jQuery] dev tip: combining JS script files

2007-07-15 Thread Stephan Beal
Hi, all! i just wanted to take a moment to share a tip which i don't see used too often on live sites: Combine all of your JS scripts into a single file. This helps reduce the load time of the page by reducing the number of separate GET requests. In principal you should be able to do the follow

[jQuery] misunderstanding of .text()?

2007-07-15 Thread Stephan Beal
Hiya! i'm attempting to load a text file via .load() and insert it into a separate element by fetching the loaded text via text(). Load is working fine for me. e.g.: $ ('').appendTo( '#SplitterPaneBottom').load('jquery.splitter.js'); no problem - that appends a PRE to #SplitterPaneBotton and po

[jQuery] Re: OT: Devo hat?

2007-07-15 Thread Stephan Beal
On Jul 15, 8:16 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hence the old tag line "New Wave JavaScript" And quite in contrast to the meaning of "devo", which is "devolution."

[jQuery] Re: iframes and jquery

2007-07-14 Thread Stephan Beal
On Jul 14, 5:32 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > I suspect you'll want to roll your own solution, but daemach has put > together a frameReady jQuery plugin to assist in dealing with this > sort of thing: >http://ideamill.synaptrixgroup.com/?p=6 > > Might be good for some idea

[jQuery] Re: feature suggestion: toggle(shownFunc,hiddenFunc)

2007-07-14 Thread Stephan Beal
On Jul 14, 1:51 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > The default behavior is show/hide. If you use manual callbacks you need to > define the full behavior, so you'll want to add the show()/hide() calls to > your jQuery chain. The intention wasn't to define the functions which do

[jQuery] Re: Plugin idea : server language integrator

2007-07-14 Thread Stephan Beal
On Jul 13, 11:20 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > pardon my ignorance... i dont understand the purpose... The purpose would be to allow easier inclusion of jQ code from server- side scripts (in this case PHP). As it stands now, to create jQ code from PHP you either have to impo

[jQuery] Re: feature suggestion: toggle(shownFunc,hiddenFunc)

2007-07-14 Thread Stephan Beal
On Jul 14, 1:34 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Toggle already uses > callbacks:http://docs.jquery.com/Events#toggle.28_even.2C_odd_.29 Doh... i was working from this page: http://docs.jquery.com/Effects#toggle.28.29 in which the callbacks are not mentioned. Perhaps that

[jQuery] Re: jQuery Google Maps Application

2007-07-14 Thread Stephan Beal
Tane Piper wrote: > Today I am pleased to announce the initial release of my jQuery plugin > - the jQuery Google Map Application. > > http://code.google.com/p/gmapp/ What immediately strikes me is that the download is 2.5k, whereas the download for all of the tooltip implementations i've looked a

[jQuery] feature suggestion: toggle(shownFunc,hiddenFunc)

2007-07-14 Thread Stephan Beal
Hi, all! Code taken from a recent post: $("#toggle").click(function(){ $("#calendar .arc").toggle(); $("#calendar .arc").Highlight(1000, '#ff9'); ... that made me think: the highlight is useless(?) when the object is hidden, but of course desired when it is shown. That c

[jQuery] Re: iframes and jquery

2007-07-14 Thread Stephan Beal
On Jul 14, 9:07 am, "Brian Cherne" <[EMAIL PROTECTED]> wrote: > Recommended reading:http://www.quirksmode.org/js/iframe.html Thank you :). That's very helpful.

[jQuery] Re: [ANNOUNCE]: clueTip Plugin Beta

2007-07-13 Thread Stephan Beal
On Jul 13, 8:08 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > About sticky tooltips: I'd find it much handier to be able to click > anywhere outside the tooltip to close it, instead of a tiny close link. > I'd even consider replacing the close-link alltogether: The user then i disagree. Normal

[jQuery] Re: : clueTip Plugin Beta

2007-07-13 Thread Stephan Beal
On Jul 13, 5:49 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hey everyone, > > Just thought I'd let you all know that I (finally) posted a blog > entry announcing the official beta version of the clueTip plugin: > > http://www.learningjquery.com/2007/07/cluetip-plugin-beta Nice :). i was just

[jQuery] Re: Change the content of a DIV section

2007-07-13 Thread Stephan Beal
On Jul 13, 7:46 pm, Danjojo <[EMAIL PROTECTED]> wrote: > > > To expand on Scott's answer: Some options include: .html(...) .text(...) .load(...) or even: .empty() to empty out the div, ready for re-population via append(), prepend(), etc.

[jQuery] iframes and jquery

2007-07-13 Thread Stephan Beal
Hi, all! Before i open up a can of worms which i don't want to deal with, i thought i'd ask: Are there any special concerns for using jquery in conjunction with iframes? e.g. if i embed a sub-page within an iframe, can the top- level page's jq still query/manipulate that sub-page's content norma

[jQuery] Re: book learning jquery appendix C,closure question

2007-07-13 Thread Stephan Beal
On Jul 14, 12:16 am, Guapo <[EMAIL PROTECTED]> wrote: > the following text if copy from the book,I was confused with the > variable globVar in the innerFun2,is it a clerical error or the > variable in the statement "var globVar = outerFun();"? > thank you all! > ===

[jQuery] Re: announcement: yet another color picker

2007-07-12 Thread Stephan Beal
On Jul 12, 9:41 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > The trouble here is the mix of setters and getters. Provide the second > argument and its a setter, leave it, and its a getter. In this case you > have to make sure that no null or undefined is passed as the second > argument, or you

[jQuery] announce: yet another minimal tabs implementation

2007-07-12 Thread Stephan Beal
Hiya! What jQuery needs now is yet another tabbed interface plugin. Yeah, right!!! My 2nd jQ plugin: http://wanderinghorse.net/computing/javascript/#bogotabs It's nowhere as feature-rich as idTab or Klaus' tabs, but we can't all be rich, can we?. Using it looks like this: $('#BogoTabPlacehol

[jQuery] slightly OT: tiny webdesign utility

2007-07-12 Thread Stephan Beal
Hi, all! i wanted to pass along a trivial utility which i find indispensable in my day-to-day web work. It's 100% cross-platform and doesn't require any special know-how to use. i call it a "PNG Image". Here's how it works... Grab this image: http://wanderinghorse.net/computing/webdesign/1600x

[jQuery] href attribute discrepancies: is this a bug?

2007-07-12 Thread Stephan Beal
Hi, all! i noticed the following today (jQ v1.1.3.1): var lbl = jQuery(""); alert( lbl.attr('href') ); // == "#foo" alert( lbl[0].href ); // == "http://my.site/path/#foo"; My questions are: a) What is the reason (if any) for this discrepancy? b) Is this a jQ bug? i would expect .attr('href')

[jQuery] Re: addClass only works once

2007-07-12 Thread Stephan Beal
On Jul 12, 2:15 pm, stef <[EMAIL PROTECTED]> wrote: > else if ($("#category").val() == "accessoires") Are you sure that's correct? "accessories" is spelled wrong. i can't see if it's also misspelled in your code, so i can't judge if that's the problem or not. i am, coinci

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Stephan Beal
On Jul 12, 12:00 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > * You can use jQuery to create elements, eg. $("<" + > props.elementType + > ">").addClass(props.elementClass).css('background-color', color) > <- chaining, too i think i found a jQ bug (or "unexpected, undocum

[jQuery] Re: Subclassing in JavaScript

2007-07-11 Thread Stephan Beal
On Jul 11, 11:47 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > It may be interesting to note that Doug no longer favors that approach. He No, i wasn't aware of that. > now prefers a much simpler technique that works directly with JavaScript's > prototype system instead of trying to turn it i

<    1   2   3   4   >