Re: [jQuery] google groups

2007-03-26 Thread Glen Lipka



On 3/26/07, John Resig <[EMAIL PROTECTED]> wrote:
>
> Yeah - it looks like the final switch was made, and everyone is
> getting their updates. We're moving to Google Groups!
>
> --John
>


I just tried to switch to get individual emails and it said
There is a problem with your choice of subscription type

Voted #3 worst error message by Error Message Magazine, Feb, 2007.

Gle
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Rounded Corners with Drop Shadow

2007-03-26 Thread Glen Lipka

http://www.ruzee.com/blog/shadedborder

Reported on Ajaxian.  It says it's jQuery friendly although it doesn't look
like a plugin.

Question:  Does it make sense to jQuerify a script like this if it's jQuery
friendly already?
What benefit could be gained?  Smaller?  Faster?  Better integration with
other effects?

It looks pretty nice though.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Plugin Requests

2007-03-23 Thread Glen Lipka

@Leonardo,
This looks great.  It definitely belongs on the plugins page.

Select box Plugin
http://cbach.jquery.com/demos/selectbox2/

@Dan,
Take a look at this one:
http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html

It goes WAY beyond what a typical select box does.  Nice styling.  Keyboard
shortcuts, tabbing.  Nice scrolling.  Type in to limit the choices. Based on
normal select markup. It is everything a select box SHOULD be.  The down
side is that the JS for it 400k (108k compressed).  This is a too big to use
on a public website.  I think something like this could be made smaller and
simpler if the only mission was the selectbox.

Also, I liked how you put "design" in quotes.  It makes me feel good about
myself. ;)

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Plugin Requests

2007-03-23 Thread Glen Lipka

Ooh sorry, one more.
It would be awesome to have a plugin that could transform a regular
 structure into something that you could use CSS on.
Maybe even supporting .  So the backend people still get their
Select box, but the front end is reconfigured to be much more flexible.
Select boxes are a visual designers nightmare.

Like the checkbox plugin http://kawika.org/jquery/checkbox/ but for selects.

:)

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Plugin Requests

2007-03-22 Thread Glen Lipka


On 3/22/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
>
> Post your plugin requests.



I thought this would have made an interesting  plugin, but I didnt know how
to do it.
http://commadot.com/jquery/slots/

Also, Karl wrote this:
http://www.learningjquery.com/2006/10/scroll-up-headline-reader
But I thought it deserved to be a plugin with more interface to it.  Like
Scroll speed,  Pause Speed, etc.  Maybe different effects to do transitions.

I hope these meet the challenge. :)  Thanks for volunteering, its awesome!

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Tabs 2.7

2007-03-22 Thread Glen Lipka

This is awesome.  I told my successor at Intuit about it to see if he can
replace the homepage tabs with your tabs.  They removed the slide effect
because it had issues when you clicked real fast between tabs.  I think
yours fixes that.

Congrats!

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] [JQuery] Attribute selector

2007-03-20 Thread Glen Lipka

My expandos are like school in the summer.  No Class.
My html is like my father.  No Style.


On 3/20/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:


Klaus Hartl schrieb:
> Klaus Hartl schrieb:
>
>> It's a common misunderstanding that classes are
>> for style.
>>
>
> ... that classes are for style *only*.
>
No class, no style!

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - New Sites Added

2007-03-20 Thread Glen Lipka

Finally, http://www.quickbooks.com and http://www.quicken.com have added the
QuickLinks at the top.
Also, http://www.turbotax.com uses jQuery fairly extensively.  These sites
get alot more traffic than the other intuit ones.

Glen



On 3/19/07, Rey Bango <[EMAIL PROTECTED]> wrote:


New sites added:

Curse Gaming
ValidHTML
Flashr Flickr Wrapper

http://docs.jquery.com/Sites_Using_jQuery

Keep the submissions coming but please, please provide a good & short
description of what the site does so I can put it into the listing.

Also, please be sure to mention where the site uses jQuery.

Thanks,

Rey


--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] [JQuery] Attribute selector

2007-03-19 Thread Glen Lipka

Isn't it invalid Xhtml, not invalid html?
There has been a whole slew of expandos posts that say its basically fine
for most primitive uses.

However, check is a particularly wierd one because "checked" *is* a valid
one and this makes it confusing.

So you might need to put a value in your "check" expando.  Like
check="blank".  (Get it, -blank check-)
If needed you could always filter those out.

What is the case if you put like   And search for rel.  In
this case, it is perfectly valid XHTML.
If it doesn't find it there, maybe it's a bug.  Because it should.

Gle



On 3/19/07, Erik Beeson <[EMAIL PROTECTED]> wrote:


I recommend avoiding invalid HTML.

--Erik


On 3/19/07, Magnús Örn Gylfason < [EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm having a bit of a problem with the attribute selector in jquery.
> Given html like:
>
> 
> 
> 
> 
> 
>
> my javascript
>
> $( "[EMAIL PROTECTED]", form).each( function() { } );
>
> will only find "three", but not "one" (which I do not want to find) or
> "two" (which I do want to find).
>
> Am I misunderstanding something here?
>
> cheers,
> Magnús Örn Gylfason
>
> btw, using JQuery 1.1.2
>
>
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] [JQuery] Attribute selector

2007-03-19 Thread Glen Lipka

How many does it find if you have *check=""* on #2.
Maybe it needs that to find it.

Glen


On 3/19/07, Magnús Örn Gylfason <[EMAIL PROTECTED]> wrote:


Hi,

I'm having a bit of a problem with the attribute selector in jquery.
Given html like:


   
   
   


my javascript

$( "[EMAIL PROTECTED]", form).each( function() { } );

will only find "three", but not "one" (which I do not want to find) or
"two" (which I do want to find).

Am I misunderstanding something here?

cheers,
Magnús Örn Gylfason

btw, using JQuery 1.1.2




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] fadeToggle

2007-03-16 Thread Glen Lipka

I think you have a point.  There is also ToggleClass.  Why is the
Toggle in the front of ToggleClass and at the end of SlideToggle.
Couldnt toggle be unified, like $("p").toggle("fade")...Disclaimer: I
have no idea what I am talking about.

Glen


On 3/16/07, skube <[EMAIL PROTECTED]> wrote:


I'm just wondering why since there is a slideToggle(), there isn't
any such effect as fadeToggle()?

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] cursor not showing in modal boxes

2007-03-16 Thread Glen Lipka

Which browser? We had it happen in Firefox.
It has something to do with a wierd FF bug.

http://blog.tremend.ro/2007/01/22/mouse-cursor-disappears-in-firefox/feed/
http://blog.tremend.ro/2007/01/22/mouse-cursor-disappears-in-firefox/

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Move caret position Input type="file" after browse

2007-03-16 Thread Glen Lipka

Use case:

1. 
2. User clicks browse.
3. User chooses file.
4. Input value is changed to say path name.

At this point, I want to move the carat to the end of the string, not the
beginning.

Any way in jQuery to do it?

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to convert "class" to "style='attrs ...'"

2007-03-15 Thread Glen Lipka

Would something like this be in the ballpark?
I am sure there is a better way.  Like creating some kind of array.  I don't
know.

Glen

("#mycontainer div").each(function(i){

  var oFontRule = $(this).css("font");
  var oColorRule = $(".test").css("color");
  var oPaddingRule = $(".test").css("padding");
  etc etc etc for all the rules you want to have;

  $(this).attr("style",oFontRule  + ";" +
   oColorRule + ";" + etc etc etc)
});
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Glen Lipka

Can you rename it to RegularJSHelperFunctions.js and tell them you wrote it
yourself?

I'm on a project now that I cant use jQuery.  They use YUI.  I feel like I
lost my right arm.
I can't do simple things.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Blurry font on fadeIn

2007-03-14 Thread Glen Lipka

I'm a loser. Asked and answered already.
http://jquery.com/pipermail/discuss_jquery.com/2006-November/015669.html

*RULE:  Whenever fading something with TEXT, it should have an
explicit background.*

Thanks Christopher Jordan!

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Blurry font on fadeIn

2007-03-14 Thread Glen Lipka

See code below:
in IE7, when I do this, the font is all blurry.  If I use fadeIn(), it looks
blurry until the very end and then fixes itself.
Firefox looks right the whole time.  Am I doing somthing wrong?

Glen



 This is the Name


 
/div>


Edit



$("a.flipflopButton").toggle(function(){
   $(".mktReadOnly").hide();
   $(".mktEditable").fadeIn();
},function(){
   $(".mktEditable").hide();
   $(".mktReadOnly").fadeTo("slow", 0.5);
});


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Input tags (off topic, sorry)

2007-03-14 Thread Glen Lipka





 Something



The padding, margins and borders built into the textarea and input tags make
them go past the red border.
So I cant line up the three fields.

Is there any way to fix this?

Sorry for the off topic.  Im just so annoyed with it.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Why IE hangs with this code? (Newbie to jQuery)

2007-03-13 Thread Glen Lipka

There is a dimensions plugin that gets the client height/width easier.
http://dev.jquery.com/browser/trunk/plugins/dimensions/dimensions.js?format=txt

Glen


On 3/13/07, Hrvoje Blažeković <[EMAIL PROTECTED]> wrote:


 When I trie with other elements that You suggested, then the functinality
in FF and Safari is broken, no class is added or remooved :(


I placed a $(document).ready function where it functions as it should. On
document load the style is added if the html is taller then 700px and it
works in all tested browsers (IE,FF & Safari)


$(document).ready(
function(){
var ys = $('html').height();
if(ys>700){
$('#wrap').addClass('over1024');
}
}
  );




This code works while the code in the for the resize() event does not work
in IE, it hangs the browser.


Hrvoje




On 13 ožu, 2007, at 13:41, Abel Tamayo wrote:

bet it's not recognizing the selector 'html'. Have you tried with document,
'body' or window?

On 3/13/07, Hrvoje Blažeković < [EMAIL PROTECTED]> wrote:
>
> Please, can someone tell me why IE hangs when executing this code?
>
>
> $(document).ready(
> function(){
> $(window).resize(
> function(){
> var ys = $('html').height();
> alert(ys);
> if(ys>700){
> $('#wrap').addClass('over1024');
> } else {
> $('#wrap').removeClass('over1024');
> }
> return false;
> }
> );
> }
>   );
>
>
>
>
>
>
> When the window is resized in IE the browser hangs, but other browsers
> (Fireworks, Safari) just do fine..
>
>
> Is there a simpler way to write this function?
>
>
> Thanks for your time
>
>
> Hrvoje
>
>
>
>  
> Hrvoje Blažeković
> tel.:  048/220 418
> fax.: 048/220 417
> e-mail: [EMAIL PROTECTED]
> 
>
>
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


 

Hrvoje Blažeković

tel.:  048/220 418

fax.: 048/220 417

e-mail: [EMAIL PROTECTED]





___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to add a class to a tag specified in a variable?

2007-03-11 Thread Glen Lipka

Im going to guess:

Var somevar = 1;
$("[EMAIL PROTECTED]" + somevar + "]).slideUp();

Was I right?

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New plugin: ContextMenu

2007-03-08 Thread Glen Lipka

Cool!

Just as a styling suggestion.  Would it be hard to enable Office 2007 style
on it?
Example from powerpoint here:
http://glenlipka.kokopop.com/jQuery/right-click.gif

So some wishlist items (feel free to chuck these in the "circular file"):
1. Ability to disable/gray out a choice (maybe with a 50% opacity layer?)
2. Enable/Disable Icon runer column on left.
3. Seperators.
4. Cascading choices > (Ok, now I've gone too far!)
5. Shadow on the whole box.

Chris, your plugin is really good!  RIght-clickin kicks ass.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Getting a development team to use jQuery

2007-03-08 Thread Glen Lipka

One thing that I have noticed in speaking wiwth the development team I work
with (trying to convert) is the concept of the FOR loop in jQuery.

in jQuery, I assume that EVERYTHING has a FOR loop attached to it.  So
$(".myClass").fadeOut() will fade out *all* of the classes, not just one.
The EACH method helped them understand how to get inside that loop if
neeeded.  For them, they thought it was easy to read, but not understandable
until I explained the iterative nature of jQuery.  However, there is still
resistance because *not* using the FOR loop to them is just "alien".  To use
jQuery, you have to let go of using FOR loops and IF statements and instead
embrace the selector power to do the same stuff.

I haven't converted them, nor does it look like they are switching soon.
But I found this issue to be interesting as a discussion point.

It might be worth it to show before and after examples of code, with and
without jQuery.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] get class name

2007-03-05 Thread Glen Lipka

If the ID only has one class you can also say:
$("#myID[class=foo]").fadeOut();
or
var theNode = $("#myID[class=foo]")

Also, wouldn't your example work without the IF?
$("#myId).is("myClass").fadeOut();
or
var theNode = $("#myId).is("myClass")

Glen





If you want to determine whether #myId has a particular class or not use
this:

if( $("#myId").is(".myClass") ) {
// Do stuff...
}

--
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] What is the status on the Ext port?

2007-03-05 Thread Glen Lipka

Daemach*,* Me too.  The EXT project is very much in "Technical Preview"
mode.  They made it clear to me, after some squeaky wheeling on my part,
that they *are* in progress building out documentation, tutorials, etc.
They asked that I(We) be patient.

Nothing is there now, but they said alot will live here eventually:
http://www.extjs.com/

However, the level of support HERE is awesome.  I imagine that once the EXT
project is ported, that the best place to ask questions about it will be
right here.  You will notice that a ton of the questions now are related to
plugins, so it shouldn't be any different.

Glen

On 3/5/07, Daemach <[EMAIL PROTECTED]> wrote:



 I learned jQuery in about a week
with all of the excellent tutorials/example code available but I'm not
finding the same level of support over there :/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Glen Lipka

I'm quoting Mike Alsup from the jQuery 1.1.2 thread, which I thought did a
good job relating to this question:
Based on this info, I feel totally safe using it.  I can't even think of a
reason to use objects in this way, but I am not that complex. :)

*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 this:

var o = document.getElementById('A');
document.getElementById('A').myprop = o;

Jack Slocum has a good blog entry on avoiding memory leaks:

**
http://www.jackslocum.com/blog/2006/10/02/3-easy-steps-to-avoid-javascript-memory-leaks/
*


*Mike*
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] multiple elements, one function

2007-03-02 Thread Glen Lipka

You might want to avoid using IDs and use a class instead.
Like  or use an attribute like 
Then $("select.foo"). or $("select[bindtome=true]") will bind to multiple.

Additionally, you dont have to bind the actual code there, you could call a
seperate function.
Lastly, you could use the 'each" if the code you want to bind is different
depending on circumstances.

"Each" allows you to bind the code one at a time and make adjustments.

Check www.jquery.com/api for cut/paste examples.  Hope this helps.

Glen


On 3/2/07, dan j <[EMAIL PROTECTED]> wrote:



Apologies if this has been answered elsewhere, but I couldn't find an
answer
by searching.

I suppose this is a newbie question. Is it possible to assign the same
function to multiple elements with different id's with one call?

For example, with the code below, could I assign the onchange handler to
another element with a different id?

$(document).ready(function() {
  // apply onchange handler to 'time' field
  $("select#time").change(function(){
// send request with amount & date as variables
$.post("guestCheck.php", {time: $(this).val(), date:
$("select#date").val()}, function(xml) {
//assign callback XML to JavaScript variable
var guests = $("guests",xml).text();
alert (guests);
   });
  });

Thanks for any advice.
--
View this message in context:
http://www.nabble.com/multiple-elements%2C-one-function-tf3332805.html#a9267242
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available

2007-02-25 Thread Glen Lipka

Although jQuery probably achives what one needs for a basic "rich" marketing
site.  If you want a rich "windows" like experience or even a basic RIA
site you will need more.  The Interface plugin could provide some of that.
There are plugins that provide some more.  But as a coordinated suite,
the EXT stuff provides a whole package that application developers
especially will appreciate to build a full web application.

My boss points this out especially that the reason he likes EXT is because
it is very application developer friendly.  With jQuery, I am hoping we can
get the best of both worlds.  Easy interactivity with jQuery and application
framework from EXT.

I still dont know if my bosses will use the YUI base or the jQuery base.  I
have my fingers crossed.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] What would be the best way to...?

2007-02-23 Thread Glen Lipka

I havent tested, but this is in the ballpark I think:

$("[EMAIL PROTECTED]").each(function(i){
 currentName = this.attr("name");
 currentValue = this.val();
 this.append("" + cuurentValue +
";
 this.remove();
});

So this would destroy the input and replace with textarea.
There might be a better way, but I "think" this should work.

Glen


On 2/23/07, Brian Miller <[EMAIL PROTECTED]> wrote:


I need to replace a whole lot of  elements on a page
with  elements.  (I have limited control over how the fields are
generated.)  The contents of the form fields must remain - I just want to
change the "shape" of the field to make it bigger and allow multiline
input.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Incompatibilities with IE: Selection and Range Object (not jQuery related).

2007-02-23 Thread Glen Lipka

I meant the jQuery API.
http://www.jquery.com/api or
http://www.visualjquery.com or
http://jquery.bassistance.de/api-browser/

Actually, the one you want is wrap(), I think.  Unless I misunderstood.
http://jquery.bassistance.de/api-browser/#wrapString

Glen


On 2/23/07, Abel Tamayo <[EMAIL PROTECTED]> wrote:


Could you send me a link to that API? I've been in the MSDN
<http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_textrange.asp>site
but it's a mess: first you see a brief description of the object but no API,
then you search for it and end up in a page where the navigation menu is in
cyrilic, then you search again to find it the object seems to be integrated
in C# and C++ and the windows API but again you can't find the actual
interface...

So yeah, I'll try with appendTo(), butI would be thankful if you cound
send me a link to the API.

And thanks ;)

Abel

On 2/23/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>
> Couldn't you use the appendTo() function?
> The API reference example looks just like what you are asking.
>
> Glen
>
>
> On 2/23/07, Abel Tamayo < [EMAIL PROTECTED]> wrote:
>
> > Hi all,
> > I'm trying to create a plugin for jQuery that willlet you edit text in
> > an iFrame like it was a text processor, but I need to work with ranges and
> > selections and, while this is extremely easy with W3C compliant browsers,
> > Adapting the work to IE is a real pain. What I need to know is the
> > translation of this script:
> >
> > var r = window.getSelection().getRangeAt(0);
> > var e = document.createElement ("p");
> > r.surroundContents(e);
> >
> > that changes this range:
> >
> > foolink
> >
> > into this:
> >
> > foolink 
> >
> > It seems like IE's "special" object TextRange does something similar,
> > but it only selects text, not the HTML tags that conform the document.
> >
> > Any ideas? Thanks in advance.
> >
> > Abel.
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
> >
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Incompatibilities with IE: Selection and Range Object (not jQuery related).

2007-02-23 Thread Glen Lipka

Couldn't you use the appendTo() function?
The API reference example looks just like what you are asking.

Glen


On 2/23/07, Abel Tamayo <[EMAIL PROTECTED]> wrote:


Hi all,
I'm trying to create a plugin for jQuery that willlet you edit text in an
iFrame like it was a text processor, but I need to work with ranges and
selections and, while this is extremely easy with W3C compliant browsers,
Adapting the work to IE is a real pain. What I need to know is the
translation of this script:

var r = window.getSelection().getRangeAt(0);
var e = document.createElement ("p");
r.surroundContents(e);

that changes this range:

foolink

into this:

foolink 

It seems like IE's "special" object TextRange does something similar, but
it only selects text, not the HTML tags that conform the document.

Any ideas? Thanks in advance.

Abel.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Does there a way to set element position like ["myContextEl", "tr", "tl"]

2007-02-22 Thread Glen Lipka

Not in the base, but you might want to use the dimensions plugin.
Look at this sample page:
http://brandon.jquery.com/plugins/dimensions/test/offset.html

There are a few "rounded corner" plugins as well which find those spots.
http://docs.jquery.com/Plugins

When you say "overlay" do you mean like a modal dialog?
The interface plugin has lots of features to do this kind of stuff.
http://interface.eyecon.ro/demos

I hope this helps.

Glen



On 2/22/07, Microtoby <[EMAIL PROTECTED]> wrote:


 Hi, Guys,

In yui library, there is a good way to set overlay's position:


// This call says that myOverlay's top right corner should be snapped to 
"myContextEl"'s top left corner.


*myOverlay.cfg.setProperty("context", ["myContextEl", "tr", "tl"]); *




// To change the alignment later, you can also call "align" once the context 
property has already been set.



// This call will change the alignment so that myOverlay's top right corner is snapped to 
"myContextEl"'s bottom left corner.


*myOverlay.align("tr", "bl");*

* *

does there any to use this in jquery?



Best regards,

Microtoby

2007-2-22

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] RTFM

2007-02-21 Thread Glen Lipka

Ive been trying all day to figure out this out:

jQuery code:
$(".readOnly").hide();
$(".editable").fadeIn("slow");

YUI-ext code:
---still trying to figure it out

I read the documentation. (very technical, no examples)
I searched the forums. (Couldn't find it)
I searched google. (no dice)
I posted to the forums. (14 views so far, no replies)
I posted to the YUI mailing list. (Nothing yet)
I found this Manual and FAQ, for the first time:
http://www.yui-ext.com/manual/faq

Read the part where it says, "How do I figure out what error X is and why
it's happening?"
RTFM.  RTFS.  My mouth dropped when I read that.

I appreciate the partnership between YUI-ext and jQuery.
But for me, it's YUI-ext that is getting the best part of the deal.  Access
to this community.
I seriously believe that this community and jQuery is something totally
different and special.

I go to sleep each night praying that I can write jQuery code again soon.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery and Jack Slocum's Ext

2007-02-19 Thread Glen Lipka

Build a better mousetrap and the world will beat a path to your door.
*Ralph Waldo Emerson*
**
Congratulations!  It's amazing to see the speed in which jQuery has taken
off.
I am waiting for the release one day that Microsoft is dumping Atlas in
favor of jQuery!

http://www.yui-ext.com/forum/viewforum.php?f=8
Specific forum that will be interesting to watch.  It's just been created
for the 1.0 Alpha of YUI-ext.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Figure out which img in a div was clicked?

2007-02-19 Thread Glen Lipka

jQuery Golden Rule:  If you are using an IF statement or an ID, then there
is an easier way.

Reference:
http://docs.jquery.com/DOM/Traversing/Selectors
Use: :visible in the selector itself.
Relative pathing.
siblings()
not()
slideToggle()
http://docs.jquery.com/Effects#slideToggle.28_speed.2C_callback_.29

This is tested code and works.  Looks like it does what you want.


 $(document).ready(function(){

  $("div.anirec_buttons li img").click( function() {  //bind click
functions
$("div.anirec_more:visible").not($(this).parents("div.anirec_main
").siblings("div.anirec_more")).slideUp(400); //hide everything NOT the
target

$(this).parents("div.anirec_main").siblings("div.anirec_more").slideToggle(400);
//TOGGLE the target
  } );

 });




div.anirec_buttons li img {cursor:pointer}
div.anirec_more {display:none;}

I think the code could be much shorter if I used a variable for the Target,
but I have to get to work.


Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Glen Lipka

Little more followup...
The reason to use "each" is so you can do:
var theParticularButton = $(this).attr("someAttrbuteOfTheButton");

That would allow you to open up a div with the screenshots and close the one
with the reviews in the same area.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Glen Lipka

Mirroring back the desired effect:
1. Start with all DIVS hidden.
2. Click a button, and that *related* DIV opens and all other open DIVs
close.

You might want to use the "each" function for this.  Untested code:
$("div.anirec_buttons img").each(function(i){
 $(".anirec_more").slideUp("slow"); //move them all back up
 $(this).siblings("div.anirec_more").slideDown(); //goes relative to the
one that was clicked and gets the brother div.

});

I see someone has posted to this message, so Ill stop.  Im so slow. :)
GMail is funny that way.  It pops up a little message saying, "Someone
already answered the question slow poke."  Hope this helps anyway.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Design Decisions? Comparison to MooTools?

2007-02-12 Thread Glen Lipka

Matt,

Waning: The following is written by a NON-programmer.

jQuery to me is the evolution of CSS, not the evolution of JavaScript.  When
I discovered CSS, I fell in love with it because of the :hover tag.  It just
worked.  I didn't need to learn programming.  It was like magic.  To me,
jQuery and CSS act exactly alike in this manner.  jQuery has more features,
but the model works the same for me.  When I think of CSS, I am *not* just
thinking how it LOOKS, I am thinking how it ACTS.  So the selector model is
a perfect fit.

I drank the Kool-Aid on jQuery because of the slideDown() function. It just
worked, and I didn't need to learn to program.  I made the
intuit.cominteractivity  by myself.  I actually tried to do this type
of thing with
mootools, dojo, YUI and Prototype before jQuery.  Only jQuery worked for me
because it was so much like CSS, that I could learn it.

Some other factors I have really enjoyed.:
1. The API has *examples*.  This is so simple, yet YUI doesn't have it.  I
have no idea why.
2. The community is really friendly.  They allow off-topic discussions and
even allow newbies tro ask how to do the simplest task.  I have yet to see
someone say, READ THE API.
3. Plugins.  Active development.  Not only are they growing rapidly.  They
actually take feedback and build them into the plugins!
4. Programmer approved.  I do ultimately have to work with people who know
what they are talking about.  When they see my "code" they know what I meant
to do and how the thing works, so they can take the next steps.

I get depressed when I say to a programmer, "I want it to slide down, but
not evenly, I want it to bounce a little at the end, and also fade in during
the slide."  The reason I get depressed is that for YEARS the answer was "We
don't have time, we will have to get to that later."  Now, I do it myself
and they are happy because they could focus on more pressing functional
issues.  It also has had the happy side effect of making interactivity
accessible to the programmers.  They have been much more willing to
experiment with UX effects because it so fast to prototype.

Right now, I am working with YUI and YUI-ext.  It took me 3 hours to figure
out the syntax to make something hide using display, not visibility.  I feel
horrible.

Ok, Im rambling.  I hope this was a little helpful.
Glen

Very jQuery
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Site using jQuery

2007-02-12 Thread Glen Lipka

It's live finally.
http://www.intuit.com

Very jQuery.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery for President

2007-02-10 Thread Glen Lipka

Alot of new snazzy sites are being launched for candidates running for
president.
Only one candidate is clearly going after the jQuery community.

http://www.barackobama.com (jQuery!)
Although they are using 1.04.  Hello?  I was all on board until I saw they
haven't upgraded.  Wassup widdat?
Is the developer for this site on the list?

Other candidates and their library of choice:
http://www.hillaryclinton.com/ (Prototype)
http://joebiden.com (none)
http://johnedwards.com/ (none)
http://mittromney.com/ (mooTools)
http://www.brownback.com/ (none)

I dont know about the rest of you, but if a canidate uses jQuery then I have
to consider voting in that direction. ;)

in jQuery we trust.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] The jQuery Litebox

2007-02-10 Thread Glen Lipka


I would appreciate any feedback.




Take a look at this:
http://vikjavev.no/highslide/

I love how this one works.  I wish there was a jQuery version.
Specifically I love:
1. Dragging it around.
2. Ability to open up more than one.
3. That is zooms up.
4. The ability to declare the captions.

My feedback is:  There are a few thickbox/lightboxes out there.  But there
is nothing like this for jQuery.
I'm on my knees!  :)  (Well, I'm sitting at the computer, but still...)

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] request for input: textlimiter plugin

2007-02-05 Thread Glen Lipka


TODO
- allow counter to count up instead of counting down using a parameter.
- use a parameter to set the class when hitting the limit?
- documentation for non-programmers



One thing I started doing (for Sentence type input) is allowing the user to
go past the limit with warnings and stop them past the limit.  Something
like:

5__ char remaining
___G___ 4 char remaining
12345__ 0 char remaining
123456_ 1 char over
14-15__ 10 char over (and then stop their input there)

The reason is that when people are typing input that is a sentence, it is
annoying to them to be cut off.  They don't notice until they finish the
sentence anyway.  With the overages, it helps the user edit down their
sentence by giving them a number of how many characters they need to trim.
It will often be trimmed from the middle somewhere.

Otherwise, this is great.  I would use it.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jqModal updated - less code, more features.

2007-02-02 Thread Glen Lipka

Looking good.

What if I had the *interface* plugins in there?
Could you leverage resizable and draggable?
Also, is it possible to set opacity with FadeTo() so it has a nice vista
glass see-through effect?

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animate font weight

2007-02-02 Thread Glen Lipka

You could have 1 span with the text *bold*; display:none, and 1 with the
text normal.
Then fade 1 out and fade 1 in at the same time. (Positioned right on top of
each other)

It might look right.

Glen


On 2/1/07, Karl Rudd <[EMAIL PROTECTED]> wrote:


Technically font-weight can be a number, like 100 or 800, but
practically speaking browsers only implement either normal or bold.

Animate takes either a number or one of "hide", "show", or "toggle".
So your "bold" won't work.

In theory you could set the font-weight to a number then pass in a
number to animate. (400 is "normal" weight, 700 is bold [1])

Alas this doesn't seem to work in jQuery.

Karl

[1] ( http://www.w3schools.com/css/pr_font_weight.asp )

On 2/2/07, Allan Mullan <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I'm trying to get animate() to fade font-weight but it's not working.
> I've tried the following:
>
> $('a').mouseover(function() {
> $(this).animate({fontWeight: 'bold'}, 'slow');
> });
>
> But that doesn't work - I've also tried to put quotes around the
> fontWeight and tried font-weight.
> I get the following error:
>
> e[prop[p]] is not a function (line 1582)
>
> Can anyone tell me if/how animating font-weight is possible?
>
> Thanks,
> Allan
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery for Wordpress

2007-02-01 Thread Glen Lipka

Ive been trying to use the plugin on my blog.  Just upgraded to 2.1
You might consider combining it with "Script" plugin to kill two birds with
one stone.

This article was helpful:
http://codex.wordpress.org/Using_Javascript

I think I might switch to a different Visual Editor that has a true "CODE"
view that doesn't parse the html.
I am waiting for some of them to be updated for the 22.1 release.

Right now the whole parsing thing is a pain in the ass.  I want to turn it
off completely.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-29 Thread Glen Lipka

http://yui-ext.com/playpen/yui-ext.0.40/examples/dialog/msg-box.html


From a visual and interaction design standpoint, these are awesome.

It makes a huge adoption difference to have a great theme with your plugin.

Keep in mind, that page has 448k in JS.  Too big to use.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] "THE" List of Sites Using jQuery

2007-01-19 Thread Glen Lipka

You might want to break out Turbotax.com as a link.  They use it too and get
ALOT more traffic than intuit.com does.
The "upgraded intuit.com site" uses alot more, but they are dragging their
feet to deploy.

Also, http://payroll.intuit.com/ uses it.

Glen



On 1/18/07, Rey Bango <[EMAIL PROTECTED]> wrote:


Yep. Its been added. :o)

Klaus Hartl wrote:
> Rey Bango schrieb:
>> As promised, I've compiled the list of sites using jQuery and have
>> posted them up to the site. You can see the full list here:
>>
>> http://docs.jquery.com/Sites_Using_jQuery
>>
>> I've done my best to get everyone that sent me submissions. If I've
>> missed someone, please don't hesitate to buzz me and I'll add your site
>> in. Also, if I've made any mistakes on a site listing, please let me
>> know and I'll get it corrected ASAP.
>>
>> Thanks again for all of the submissions.
>>
>> Rey...
>
> Rey, there's one really cool usage missing, or maybe I should say
> spinoff: Why uses a recoded (in C) jQuery parse engine for Hpricot, a
> HTML parser for Ruby.
>
> http://code.whytheluckystiff.net/hpricot/
>
> Isn't that worth mentioning on the jQuery page?
>
> The coolest thing is, that we're know experimenting to use this for
> RSpec (BDD for Ruby), that means if I want to test views I can use
> selectors I'm used to in all these tests (for example if I want to test
> if a certain element exists on the page).
>
> I love jQuery (and Rails...).
>
>
> -- Klaus
>
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] IE6 fadeIn/fadeOut Problem (css prob?)

2006-12-09 Thread Glen Lipka

I didn't analyze the whole thing, but just a quick question:
Have you considered using the fadeTo() function?   it works better than
messing with the opacity in the CSS.

Glen


On 12/9/06, stargate <[EMAIL PROTECTED]> wrote:


Hello,

i have a problem with the fadeout/fadein function on IE with jquery.I'm
not really sure if this has something to do with jquery, but as far as i
figured out
it all depends on the "filter: alpha(opacity=XX)" css style wich jquery
seems to set with the fadeout/fadein on the IE6.

My goal is like a left-pane wich slide's out and back in. To to this i
fadein and fadeout 2 different divs.
On IE when the panel is open (div #leftpanel) and i close it, all is
fine now, it fades correct out and the #left_pane_tab_swap is visible.
But when i change the state so the #leftpanel fade's in and the
#left_pane_tab_swap should fade out, then the #leftPanel is invisible.
On IE6 i have installed the DOM-Explorer plugin and when i remove the
filter: alpha(opacity=XX) css style it comes back visible or when i set
it so 99.99
In my JS-Function i've tried to set the css style manualy as you see,
but this didnt changed anything :(

On FF1.5/2.0 and Opera 9 all works fine this way right now.

So im asking for help what i maybe make wrong ??

Thx in advance for any hint/help.

Ralf


NOTE: i do use the actual 1.0.3 Version!!!

CSS and JS follows
--

## CSS START 
#leftPanel {/* Styling the menu panel */

   background-color:#6699CC;
   text-align: left;
   width: 220px; /* width incl. tab */

   /* You shouldn't change these 5 options unless you need to */
   height: 100%;
   min-height: 100%;
   max-height: 100%;
   left: 0px;
   top: 0px;
   position:absolute;
   display:block;
   color: #fff;
   font-size: 10px;
}

#leftPanel #logo {
margin: 40px 0 20px 0;
}

#left_pane_tab {
   background: #fff url(../images/left_tab_bg.gif) repeat-y left top;
   height: 100%;
   width: 20px;
   position: absolute;
   left: 200px;
   border: 0px;
}

#leftPanel #leftPanelContent{
   width: 150px;
   margin: 0px;
   padding: 35px 0 0 21px; /* Need to use padding because of IE */
   text-align: left;
   line-height: 150%;
}

#leftPanel a:link,
#leftPanel a:visited {
color: #ffc;
text-decoration: none;
font-weight: bold;
}

#leftPanel a:hover,
#leftPanel a:active {
color: #ff3;
text-decoration: none;
font-weight: bold;
}

#left_pane_tab_swap{
   background: #fff url(../images/left_tab_bg.gif) repeat-y left top;
   height: 100%;
   width: 20px;
   position: absolute;
   top: 0px;
}
## CSS END 

## JS-Function 
function SlideLeft(){
 if($("#left_pane_tab_swap").css("display") == "none"){
  $("#leftPanel").fadeOut();
  $("#leftPanel").css("display","none");
  $("#left_pane_tab_swap").fadeIn();
  $("#main").css("margin","0 0 0 20px");
  $("#left_pane_tab_swap").css("filter","alpha(opacity=0)");
  Set_Cookie('lp',0,10);
 } else {
  $("#left_pane_tab_swap").fadeOut();
  $("#leftPanel").fadeIn();
  $("#leftPanel").css("display","block");
  $("#main").css("margin","0 0 0 225px");
  $("#left_pane_tab_swap").css("filter","alpha(opacity=99.99)");
  Set_Cookie('lp',1,10);
 }
}


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Efforts to Convert Folks to jQuery

2006-12-07 Thread Glen Lipka

First paragraph Suggestion:

jQuery is a javascript framework that is highly coupled to CSS and
eliminates the cross-browser complexities of DOM scripting.  If you love
CSS, you will love jQuery.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Text reflection

2006-12-07 Thread Glen Lipka



Yeah, there should be a filter for text reflection...? That way you had
the filter for IE, canvas for Safari and Firefox (1.5+) and then you
could let it degrade gracefully in other browsers...


-- Klaus



It would be pretty cool as a plugin. :)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Efforts to Convert Folks to jQuery

2006-12-07 Thread Glen Lipka

Suggestions from the information architect in me:

1. Get a global navigation,  The links at the bottom are not natural.  At
the top, in big buttons horizontal.
a. Home
b. Samples
c. Plugins
d. Support
e. Download
f. Blog

a. Home
This page should say what it is and have a quick example or two.  Also, it's
cool to put sites up that use it.  Reduces the guinea pig factor.  The
current page might be too long.  One of the things I thought was REALLY
compelling was the "every other row a different color" comparrison chart.
Maybe have a link on the homepage saying, "See how jQuery stands up to other
frameworks".

b. Samples
These should have LOTS of samples. Lots and lots of examples, organized into
different categories.  Samples make adopting a framework much easier.  Maybe
make a sample search.  Each sample should say which version of
jQuery/plugins it uses.

c. Plugins.  Take a page from Mozilla in how they handle plugins.  Each
plugin has a standard page.  The big long list was good for a while, but
jQuery has outgrown it.  Move to a bigger architecture for it.

d. Support
Documentation, FAQ's, Mailing List, Nabble Links etc etc etc.

e. Download
The download tool and subversion and all the plugins.  It is really
important to have simple and clear changelogs for all the software organized
well with version numbers.

Taglines are good, but nothing beats Information Architecture to get people
to understand.  I do this sort of thing for a living, so this isn't
preference or opinion.  Additionally, a visual design update would make
jQuery look a little more buttoned up.

Hope this helps
Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Text reflection

2006-12-06 Thread Glen Lipka

Last minute additions. :)

Anyone know if a way to make regular html text reflect the way it does for
images in reflection.js?

http://cow.neondragon.net/stuff/reflection/

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Departure

2006-12-04 Thread Glen Lipka

Unfortunately, I am leaving Intuit. (Friday is my last day)
In the past 6 months, I have tried to spread the gospel of jQuery at
Intuit.  Unfortunately, where I am going, YUI is already being used.

I really enjoyed using jQuery and think that it is something special.  I
haven't been this excited about a technology since CSS.

Some sites launching or launched:

http://www.turbotax.com is moving towards using jQuery extensively this tax
season on their public website.
http://www.intuit.com uses it all over and once the test is done will use it
even more.
Shared account management experiences
Shared checkout experiences.
Error checking
http://www.payroll.com
Global Header - TBD launch, depends on political issues

I will organize the examples on my site before I go.  Thanks for everything!

*Very jQuery!*

Best regards,

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Window Size

2006-12-01 Thread Glen Lipka

http://jquery.com/dev/svn/trunk/plugins/dimensions/dimensions.js?rev=587

Is there a homepage for this plugin?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Window Size

2006-12-01 Thread Glen Lipka

var dimensions = {width: 0, height: 0};
if (document.documentElement) {
dimensions.width = document.documentElement.offsetWidth;
dimensions.height = document.documentElement.offsetHeight;
} else if (window.innerWidth && window.innerHeight) {
dimensions.width = window.innerWidth;
dimensions.height = window.innerHeight;
}

Where is the dimensions plugin?  I cant find the link.

Glen


On 12/1/06, Dave Methvin <[EMAIL PROTECTED]> wrote:


 > Is there a jQuery way to get the window size cross-platform,
> or should I be using the algorithm at:
> http://www.howtocreate.co.uk/tutorials/javascript/browserwindow



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Checkbox: Selecting all Previous

2006-11-29 Thread Glen Lipka

I changed some of it and stopped using the checkboxes, but this would work
with the checks too.  I need the ID attribute for something else, soI used
the REL attribute as proscribed.

$(".checkbox").click( function()
{
currentOption = parseInt($(this).attr("rel")) + 1;

$("#options div.checkbox").removeClass("checked");
$("#options div.checkbox").lt(currentOption).addClass("checked");

} );

I wish there was a way of getting the position in an array.

QUESTION OR FEATURE SUGGESTION
arrayPos() would return the index of the array.

So if I had 4 links with a class of "foo" and I clicked the third one,
$arrayPos(".foo", this) would return 3 (or 2 if it started at zero).
Maybe I should put this in a seperate message?

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ThickBox Wow

2006-11-28 Thread Glen Lipka

Check this out:
http://vikjavev.no/highslide/

Click on the images.  You can drag and drop the popup!
The zoom is awesome!

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Checkbox: Selecting all Previous

2006-11-27 Thread Glen Lipka

This might be a newbie question, but I am having trouble with it.

I have 4 checkboxes vertical

box 1   box 1 and 2   box 1 and 2 and 3 box 1 and 2 and 3 and 4

When I click one, I want to check the boxes of all the ones previous to it
(including it).  And uncheck all the boxes after it.

How would I structure the statement in jQuery to select?  I am trying to
avoid the FOR loop.

This gives me the last one.
var lastOne = $("#myForm [EMAIL PROTECTED]:checked:last");

Not sure how to use this.  I tried prev() but that didnt seem to work.

Thanks for the help,

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin callbacks - what makes most sense?

2006-11-27 Thread Glen Lipka



$('...').tabs({
onClick: function(clicked) {
if (clicked == particularTab) {
// do soemthing
}
}
});



Having trouble with this.
How can I tell what is "clicked"?  I have ID's to differentiate the tabs.
Shouldn't I use show instead click anyway?  $(this) is the document.
How do I get the tab clicked on or the panel shown?

Confused! :)

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Stop using thickbox!

2006-11-25 Thread Glen Lipka

In IE7, I get some JS errors.
First and Third sample: 1573: Invalid Argument
The second one works.

I like the interaction, maximize, close, etc.  Great work!  A CSS version
would rock, but I'm not complaining.  I will be looking for a place to use
this.

Glen

PS.  Quicken just relaucnhed their site and are using a version of sIFR, but
not the jQuery one I think.  Sapient acted like they invented it, is what I
heard.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Zooming ThickBox

2006-11-24 Thread Glen Lipka

http://vikjavev.no/highslide/

Someone pointed this out to me.  It has a wonderful interaction.
I'm wondering how hard it would be to recreate using jQuery.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Off topic: which programming language forwebdevelopment

2006-11-22 Thread Glen Lipka

I used Cold Fusion for years.  It has a pretty committed community, although
I wonder about Adobe's ability to keep it going properly.  The inventors of
CF have long since left Macromedia/Adobe.

PHP is so easy to learn.  It just works.  It is today, what cold fusion was
10 years ago. (The fastest way to build something.)

I have never met anyone who TRIED Python and didn't love it.

ASP.net.  Microsoft makes so many tools and they all hook into asp.net.  If
you want to hook into Exchange or Active Directory or Word or Excel or any
of the microsoft stuff, you have to do asp.net.  They have the dev tools and
some REALLY advanced tools like Windows Workflow.  The investment is
heavier, and it is NOT easier, but man, they use the power of monopoly and
integration to take it seriously.

Ruby on Rails.  All of the above have a Rails type env.  I am not sure if
Ruby on Rails is better than Symphony (PHP on Rails).  Even CF has a rails
concept.  I don't know alot of people who use RoR for enterprise stuff.  I
know a couple who use the CF and PHP Rails concept.

WebSphere, ATG Dynamo, Weblogic, any J2EE enterprise stack.  Cost a fortune.
Hard to use.  hard to maintain.  Avoid avoid.  Alert!

You have to look at who you have working with you, existing skills and
integration requirements.

Hope this is helpful.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Disable a form field using jQuery?

2006-11-22 Thread Glen Lipka

I did something similar here.
http://glenlipka.kokopop.com/jQuery/inlineError.htm

Basically return false on the input if the criteria is not met.  And if it
is met, then do
$("#formID")[0].submit().

The answer to your question (I think) is to return false on the onclick
event.

Glen

On 11/22/06, Andy Matthews <[EMAIL PROTECTED]> wrote:


I'm running that function I posted earlier. And if it's the incorrect
coupon
code, the client wants to prevent the form from being submitted until it
IS
the correct code (or blank).

Can someone remind me how I'd render a form unsubmittable using jQuery?




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin callbacks - what makes most sense?

2006-11-22 Thread Glen Lipka





>>> I'm thinking about extending the callback system in the Tabs plugin to

>>> not only allow one callback, but different ones for more flexibility:
>>>
>




On My latest prototype using tabs:
http://glenlipka.kokopop.com/jQuery/tabs/# I want to actually run a function
when the user hits one particular tab.  I was going to use the callback you
have now, and stick an IF statement inside of it to check if it's the right
tab.

Would your suggestions here make that easier in the future?

I also like the idea of pre-loading the tab content via load(), but I worry
about combining tabs with the history plugin.  Would anything break?
Responsiveness and speed are paramount, especially if the tabs have alot of
stuff in them.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animating text like a cash register

2006-11-22 Thread Glen Lipka

Thanks much!  No, I don't work on the products, just the public websites.
So if you ever need to use the shopping cart, that part is me. :)

This prototype is still only about 40% done.  I feel good about it so far.

Thanks again!

Glen

On 11/22/06, Andy Matthews <[EMAIL PROTECTED]> wrote:


 Dude...

That looks freaking awesome! Great job!

By the wya, I don't klnow if you had anything to do with the actual
TurboTax app online but my wife and I used it last year and it worked
beautifully. We'd totally use it again.



-Original Message-
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of *Glen Lipka
*Sent:* Tuesday, November 21, 2006 7:24 PM
*To:* jQuery Discussion.
*Subject:* Re: [jQuery] Animating text like a cash register

Making huge progress, thanks for the suggestions.  I did it with a long
col of digits using line-height and animate.
example: $("#pricingCol1").animate({top: col1 * n }, 500);
n being the line-height.  I suppose I could detect for the line-height and
do it dynamically.  Hmm.

check out the effect with the link.

Now is the HARD part.  I need to add up the numbers in the REL of all the
checkboxes and map them to the variables for each digit.   I have no idea
how to do this, but it seems possible.

Then after that, I need to figure out how the pricing changes with the
selectbox.

Thanks again.  Any ideas for how to add that stuff up would be greatly
appreciated.

Glen


> http://glenlipka.kokopop.com/jQuery/tabs/#pricingGuide
>
>
>

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animating text like a cash register

2006-11-22 Thread Glen Lipka

Alan, thanks much.  I used a bunch of your techniques.
It works now.  I might touch it up some tomorrow.  Maybe trigger the check
boxes for all the lower model ones.  And I need to start with a default
position on the money.  But the hard part is done.  And I am sure that I
could tidy up the code even further.

Thanks everyone for the help!  I appreciate it!

Glen




On 11/21/06, Alan Gutierrez <[EMAIL PROTECTED]> wrote:


I hate giving advice. If anyone is paying attention, check me.

To keep from lossing a penny, rather than store you numbers as
floats, store them as a count of pennies. So that 45.95 becomes
4595.

Then do like this...

http://blogometer.com/repository/etude/jQuery/discuss/sum-prices/sum.html

Divide and modulo by 10 to build your array.

* Glen Lipka <[EMAIL PROTECTED]> [2006-11-22 00:51]:
> Yes,  I would need to do exactly that.
> I am working now on adding up all the checked boxes using parseFloat to
> convert them.  Is that the best way?  They are strings, I guess.
>
> When you say, plugin worthy, which are you talking about?

> >Not sure I follow. Are you looking to convert ...
> >
> >var x = 179.95
> >
> >to
> >
> >var x = [1, 7, 9, 9, 5]
> >
> >?
> >
> >Then feed that to your number presentation widget, which is plugin
> >worthy, by the way.


--
Alan Gutierrez - 504 717 1428 - [EMAIL PROTECTED] -
http://blogometer.com/
Think New Orleans - http://thinknola.com/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka

Nuts.  I don't need to add them up.  I just need to find the highest price.
Hmm.  I need to think more about how the pricing works in their business
model.  I still need to translate the number like you described though.
Sorry, I am talking out loud, arent I?

glen





> Not sure I follow. Are you looking to convert ...
>
> var x = 179.95
>
> to
>
> var x = [1, 7, 9, 9, 5]
>
> ?
>
>
>
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka

Yes,  I would need to do exactly that.
I am working now on adding up all the checked boxes using parseFloat to
convert them.  Is that the best way?  They are strings, I guess.

When you say, plugin worthy, which are you talking about?

Glen



Not sure I follow. Are you looking to convert ...

var x = 179.95

to

var x = [1, 7, 9, 9, 5]

?

Then feed that to your number presentation widget, which is plugin
worthy, by the way.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka

Making huge progress, thanks for the suggestions.  I did it with a long col
of digits using line-height and animate.
example: $("#pricingCol1").animate({top: col1 * n }, 500);
n being the line-height.  I suppose I could detect for the line-height and
do it dynamically.  Hmm.

check out the effect with the link.

Now is the HARD part.  I need to add up the numbers in the REL of all the
checkboxes and map them to the variables for each digit.   I have no idea
how to do this, but it seems possible.

Then after that, I need to figure out how the pricing changes with the
selectbox.

Thanks again.  Any ideas for how to add that stuff up would be greatly
appreciated.

Glen



http://glenlipka.kokopop.com/jQuery/tabs/#pricingGuide



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] input field focus help!

2006-11-16 Thread Glen Lipka

What about $("#whatever")[0].focus();

Glen


On 11/16/06, Clodelio Delfino <[EMAIL PROTECTED]> wrote:


 Thanks Erik for the input but it doesn't work... c",)


-Original Message-
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of *Erik Beeson
*Sent:* Friday, November 17, 2006 7:34 AM
*To:* jQuery Discussion.
*Subject:* Re: [jQuery] input field focus help!

.focus() does NOT set the focus of an element, it fires all of the
registered onfocus events. Use $("").get(0).focus().

--Erik

On 11/16/06, Clodelio Delfino <[EMAIL PROTECTED]> wrote:
>
> i've downloaded thickbox and tried the login demo, the dialog box work
> as
> expected however but when i tried to set an autofocus on the username
> field,
> it doesn't work.
>
> below is a snippet of the code:
>
> default.php has the clickable:
>
> Click Login
>
>
> login.php is the form with code below:
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
> 
> Test Only
> 
>  src="./libraries/jquery-latest.pack.js">
> 
> $(document).ready(function() {
> /*$("#frmLogin
> [EMAIL PROTECTED]'frmUsername']").attr('disabled',true)*/
> /* just to test that im correctly referencing the correct field */
> $("#frmLogin [EMAIL PROTECTED]'frmUsername']").focus()
> })
> 
> 
> 
> 
> 
> 
> 
>  
> 
> ID Number
>  size="20"
> maxlength="20"  />
> 
> 
> Password
>  size="20" maxlength="20" />
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>
> Need inputs and thanks in advance
>
>
> cdelfino
>
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] val() to erase the value

2006-11-15 Thread Glen Lipka
When I did this:
$("#someInput").val(""); 
it made it null in FF but in IE it left it alone.

How do I use val() to erase the current value?

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-15 Thread Glen Lipka
Just a thought:You could put up a survey online asking:1. What should the maximum size of jQuery be with these modules (list current)?  [enter number]2. Which modules do you think could be abstracted out of the core into plugins to save space? [checkboxes]
3. etc.Of course, this info doesn't make it a "vote", it's just good to get a read of the audience.Personally, 19k is tiny to me compared to the others out there.  Even 25k would be tiny still.  However, I think the form handling is something that makes sense to rely on a plugin.
Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to display error/validation messages?

2006-11-14 Thread Glen Lipka
I didn't mean to open up a can of worms.
 
I agree with everyone.  The best sites degrade gracefully.  However, I also know that time is often not on my side and I don't have the time to do it right.
 
The key is Know Thy Audience.  Each has to make up their own minds how to build.
 
Interesting tests I am going to suggest to our analytics team:  
1. Log the unique number of visitors who have JS off versus total unique.  Can be detected in numerous ways.  Like use AJAX to ping a URL each page to log and all those who don't ping are the non-JS people.
2. Same for CSS.  Hmm, not sure if this can be detected,  Ideas?
3. Detect screen readers.  How?
 
Glen 
On 11/14/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
On 11/14/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 

Based on some other replies, I guess I wasn't clear in my statement(s). I'm not advocating depending on _javascript_, not at all. However, I don't think we should do away with the bells and whistles (read: enhancements) that it offers, as some people in the industry try to dictate. If a site is accessible and usable (function) without _javascript_, mission accomplished. If the site retains that accessibility and usability, but offers a much better user EXPERIENCE (form) with _javascript_, so much the better. 
...Which is exactly what progressive enhancement[1] allows us to do.For those unfamiliar with the term, a typical progressive enhancement workflow looks like this (as I understand it):
1. Start with vanilla HTML and nothing else. Make sure you structure it so that your site makes sense when it is viewed without CSS, _javascript_, etc. Also make sure that all navigation, forms, etc. work (at least in some way). 
2. Then add CSS to make your site look pretty (you could add various sub-levels here to deal with browsers that have, shall we say, diminished CSS capabilities).3. Then add _javascript_, Flash, etc., to enhance the interface and overall user experience of your site (you could add various sublevels here, as well). 
[1] http://hesketh.com/publications/progressive_enhancement_paving_way_for_future.html
___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to display error/validation messages?

2006-11-14 Thread Glen Lipka
I organized the answers inline.  This probably breaks email ettiquette. - Glen
 

1. Bigger text fields.  Many (most?) users have sketchy vision and flickering monitors.  Make the text boxes bigger and they will be happier.  Same goes for the submit buttons.
2. Have a visual indication next to required fields (background color, asterisk, something).  Make sure they see it.
3. Do not submit the form if the required fields are not filled in.  (Click sign in on mine to see sample interaction.)  Light up the error fields. Turn them back to normal when the user focuses on them.
3. This is assuming that _javascript_ is enabled right?
Yes.  Although, at this date, I actually believe in forcing the user to have _javascript_ on.  I am making alot of assumptions.  Color monitor, screen resolution, modern browser that understands CSS.  I do believe in delighting 96% of the audience even at the expense of the 4%, but you have to know your audience and circumstances.  I don't think you should ignore accessibility just because the disabled are small, for example.  Hmm, I guess there is some to think about here.

 
 
4. Allow for keyboard TAB input as well as mouse click input.  Remember, sometimes users cut/paste.
4. When would tabbing not be allowed? Also, the tabbing in your sample form is all out of whack. I think it's best to not adjust the tabbing order.

Yes, it's out of whack.  But it SHOULD work.  Use tabIndex specifically when the default order doesn't make sense to the user.  My example was made a little too quickly. :)  I think keyboard interfacing is pretty common and should be encouraged.  Gmail allows for control-s to save, for example.

 
5. Give inline errors in red when they screw up (Put an invalid email in the email field and then click on the next field.  This falls into the design principle called "Constraints".  Lego is a great example of how to do this right.  Never allow the user to do something incorrect.  Always disallow bad entry.  (Garbage In-Garbage Out) 


5a. When I put in my email address incorrectly (on purpose) and tabbed to the next field I received an error (I like your implementation). But I also saw that the data I'd entered was removed. How annoying! What if I simply forgot to put a period in my long email address? Now I have to type the entire thing over again and possibly make the same mistake.

That was a concern, but we looked at usability tests and concluded that the more "power-user" the person was, the more they found it annoying, and the more "newbie" the person was, the more they found it helpful.  But power users don't get frustrated and quit, while newbies do, so we erred on the side of helping the newbie.

 
5b. What is "Lego is a great example..."? Do you mean Lego as in the building bricks? How does that relate to web usability?

Its about constraints.  Don Norman relates this in his book, The Design of Everyday Things (DOET).  He talks about how Lego makes all of their products in a way that it is near impossible to use incorrectly.  Make your web forms impossible to use incorrectly.  Help the user by creating interaction that limits his behavior.

 
6. Eliminate instructions.  Users NEVER read instructions, so you might as well get rid of it and focus on getting them through the process without it. Users will read phrases and words, but not sentences.  As Don Norman (Godfather of Design) says, "A door that -requires- a sign that says [Pull] is a porrly designed door". 

6. I couldn't agree more!!
Woo Hoo!
 
My profession is a UX Designer.  jQuery is a great tool for the UX Designer because it allows more design principles to be implemented quickly in a prototype.  This, then, is easier to hand off to more programmatic folks in the engineering dept.  Often I find, that the engineers don't want to include the interactivity because they don't see the value and don't want to "write all that _javascript_ code".  jQuery eliminates that problem and actually makes them EXCITED about _javascript_.

 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery sites

2006-11-14 Thread Glen Lipka
In a big corporation, sometimes you have the power of inertia.  I can't find anyone who knows why those sessionIDs are on the link, nor can I find someone willing to change it.  I would rather have a date/time stamp on them.  Oh well.

 
The site uses ATG.  Intuit is actually REALLY good about testing.  A/B/C tests, multivariate tests using offermatica.  Clicktracks, foresee user surveys.  It's actually pretty astounding.  The A/B/C test was set up using the ATG Dynamo server and it ties in the clicktracks and foresee results into a single view.

 
Regarding Konqueror.  It is true.  I did not test using it.  We basically are testing in MSIE 5.5-7 and FF 1.5-2, plus Safari.  If it works in that set, it's usually ok.  But I imagine the konqueror audience is pretty annoyed with the site. :)
Glen
 
On 11/14/06, Christof Donat <[EMAIL PROTECTED]> wrote:
Hi,> 1. http://www.payroll.com.  Used jQuery for manipulating the icons on the
> local nav and creating some visual effects.Works fine with Firefox, but in Konqueror (3.5.5) I don't even see thecontent. The tab-widget with its contents is simply not there.Christof___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery sites

2006-11-14 Thread Glen Lipka
Some sites we just launched using jQuery:
 
1. http://www.payroll.com.  Used jQuery for manipulating the icons on the local nav and creating some visual effects.
2. http://www.intuit.com. Currently running 3 tests.  2 with tons of jQuery and 1 with minimal. (delete cookies and refresh to see) I used jQuery for a bunch of visual effects.  Bottom right scrolling thingy (props to Karl Swedberg), tabs effect in the middle.  I used it to create shadow effects on several labels.  Some simple things like making the radio button labels clickable.  Other various items.

 
Also across the intuit family of websites, we updated the checkout and recover password functionality.  All use jQuery extensively.
 
Thanks to everyone.  The interactivity has helped our customers and the company.
 
Feedback welcome, by the way. :)  I always want to improve.
 
Glen
 
 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to display error/validation messages?

2006-11-14 Thread Glen Lipka
http://glenlipka.kokopop.com/jQuery/inlineError.htm
This was an early prototype for what is now currently live on all of Intuit's websites.
 
From a UX design standpoint, here are some guidelines:
1. Bigger text fields.  Many (most?) users have sketchy vision and flickering monitors.  Make the text boxes bigger and they will be happier.  Same goes for the submit buttons.
2. Have a visual indication next to required fields (background color, asterick, something).  Make sure they see it.
3. Do not submit the form if the required fields are not filled in.  (Click sign in on mine to see sample interaction.)  Light up the error fields. Turn them back to normal when the user focuses on them.
4. Allow for keyboard TAB input as well as mouse click input.  Remember, sometimes users cut/paste.
5. Give inline errors in red when they screw up (Put an invalid email in the email field and then click on the next field.  This falls into the design principle called "Contraints".  Lego is a great example of how to do this right.  Never allow the user to do something incorrect.  Always disallow bad entry.  (Garbage In-Garbage Out)

6. Eliminate instructions.  Users NEVER read instructions, so you might as well get rid of it and focus on getting them through the process without it. Users will read phrases and words, but not sentences.  As Don Norman (Godfather of Design) says, "A door that -requires- a sign that says [Pull] is a porrly designed door".

 
I hope this is helpful.
Glen 
On 11/14/06, Chris W. Parker <[EMAIL PROTECTED]> wrote:
On Tuesday, November 14, 2006 7:35 AM Klaus Hartl <> said:> Most browsers don't focus a field from
> a link pointing to the field's id, so I usually add a click event to> explicitly focus the form element. The field to focus is simply read> from the link's href...Unless I'm misunderstanding your implementation, your problem is that
you're using the wrong tag. Don't use an anchor+js to link an errormessage with its field. You should be using  instead.
You can have as many s as you want pointing to the same field.This will make the browser put focus is the field where
name="id_of_form_field".First Name
Both of the above labels will put focus in the first_name field whenclicked. Use CSS to style the label(s) however you want.Chris.
___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Refresh an image with dynamic src URL?

2006-11-13 Thread Glen Lipka
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 a variable, remove the img elementfrom the DOM, and append a new image element with the same URL? In myquick tests, it seemed like the browser was just using the same image
from the cache and I'm not sure how to get around that.Thanks for anything!m.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] new jQuery API draft

2006-11-13 Thread Glen Lipka
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 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.


  I think I agree with this. Also (and I know this is mostly a look 'n feel sort of thing), but I'd eventually like to see the categories fold up. On the alphabetical side, I'd like to see a list of letters that would act as anchors to the first item with that letter. Also, it would be good that no matter where you jumped to in the alphabet, that the list of letters would remain at the top so it would be easier to jump around.
I'll say it again, very nice work on this. I like it. :o)Chris ___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Text pointer to hand pointer on MouseOver...

2006-11-13 Thread Glen Lipka
("#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 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 working with this jQuery code 
…
$(document).ready(function() {
    $('#ann').find('dd').hide().end().find('dt').click(function() {
 var answer = $(this).next();
 if (answer.is(':visible')) {
 answer.slideUp();
 } else {
 answer.slideDown();
 }
 });
});
Rick___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/___
jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs: reworked fxAutoHeight, what's next on the list

2006-11-13 Thread Glen Lipka
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 added an elementto the browser history. I'm not sure whether thats intended.. Just FYI.
--Jacob> 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) as suggested on> the list once for consistency.>> If you'd need a constant height you could simply declare one in a style
> sheet.>> What's next? I'm going to add a crossfade effect and I will improve the> callback mechanism, so you can have onclick, onhide, onshow callbacks> instead of one callback function to allow maximum flexibility.
>> http://stilbuero.de/jquery/tabs/>>> -- Klaus>> ___
> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/>___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] new jQuery API draft

2006-11-10 Thread Glen Lipka
You might want to put a border or hr or spacing between each function.They run together right now.If I wanted to print one part of the API, is this possible with the current design?Maybe just have the single API appear on the right instead of scrolling down and another link to "show all"?
Just a thought.On 11/10/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:



  


Jörn,

That looks fantastic! I really like it! Good job! :o)

Chris

Jörn Zaefferer wrote:

  Hi jQueryians,I'd like to present you a first draft for a new stylesheet for the jQuery API: 
http://joern.jquery.com/api-draft/cat.xml

There is still lot's of work to do, but the main concern, a new concept 
for the navigation, is already functional. Both Alphabetical and 
Category lists will be provided as exapandable trees.

Please don't waste your time checking it with IE, the draft works so far 
only with Firefox.

Please post your opinions and ideas, I'm sure there are many.

Regards
Jörn

  




___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ThickBox mod: zoom

2006-11-05 Thread Glen Lipka
I am working on a ThickBox implementation here: http://glenlipka.kokopop.com (click samples of work).Trying to add in a zoom function.  I guess it should work just like prev or next, except I would need to change the URL to 
123b.gif instead of 123a.gif.Has anyone done anything like this with thickbox?  I have been banging my head against it all morning.Thanks for any help,GlenPS.  I took the liberty of adding a few usability touches, like bigger buttons.  Although I just noticed MSIE looks all wrong. :(

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Redraw using Ajax

2006-11-05 Thread Glen Lipka
I am updating my personal homepage using jQuery.
I am loading all the main content via $load().  When it first loads, it looks like it draws twice.
How can I avoid this?
 
http://glenlipka.kokopop.com
 
Using: jQuery 1.0.3, ThickBox 2.1, History Plugin.  I modified the History just a little.  I hope I am using it right.
 
I am going to add on to the samples page to include experiments.  Any reccomendations are appreciated.
 
Glen
 
 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sneak Peek and Hover question

2006-11-03 Thread Glen Lipka
This worked perfectly by the way.  Thank you so much! :)
 
Glen 
On 10/27/06, abba bryant <[EMAIL PROTECTED]> wrote:
Just a quick note. When you hit the "quick links" button I get an annoyinghorizontal shift in FF.
You can fix with the following css rulehtml { height:100%; margin-bottom:1px; }It will force the scrollbar to show in FF which is what is causing the weirdjump in display.--View this message in context: 
http://www.nabble.com/Sneak-Peek-and-Hover-question-tf2522961.html#a7040733Sent from the JQuery mailing list archive at 
Nabble.com.___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery 1.0.3 compressed - file header missing

2006-11-03 Thread Glen Lipka
I agree.  Especially with a large group of people all working in CVS (and overwriting each other's files with merges etc).  It's nice to be able to just look at the file and see immediately through the browser.  I often don't have access to the source.

 
It's also good advertising/communication for jQuery as stated by Laurent. 
Glen 
On 11/3/06, Laurent Yaish <[EMAIL PROTECTED]> wrote:
What's wrong with having the file header in the packed version???/* * jQuery 1.0.3 - New Wave _javascript_
 * * Copyright (c) 2006 John Resig (jquery.com) * Dual licensed under the MIT ( MIT-LICENSE.txt) * and GPL (
GPL-LICENSE.txt) licenses. * * $Date: 2006-10-27 11:15:44 -0400 (Fri, 27 Oct 2006) $ * $Rev: 501 $ */I keep the packed version of jquery in my project svn repository so having the file header is a must since the whole file is on one line
and therefore it's impossible to figure out what has changed with svn diff.Plus I also don't mind having credits and license information available. Here's another reason for having it: developer X adds jQuery packed to a project,
developer X quits 2 months later. New developer Y sees that developer X is using some file called jquery-latest.pack.js but developer Y has never heard of jQuery and has no idea what this file is! Now developer Y has a problem...
Thanks,Laurent 

On 11/3/06, Choan C. Gálvez <[EMAIL PROTECTED] 
> wrote: 
On 11/3/06, Brent Pedersen <
[EMAIL PROTECTED] > wrote:> $().jquery>> gives the version.That's right, but it used to return the revision number. While havingaccess to the version number is useful for everybody, I think having
access to the revision number would be useful for some of us. Atleast, for me.So, could we have a `$.revision` (or maybe `$().revision`) property?--Choan<
 http://choangalvez.nom.es/>___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/ ___
jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I think it's fixed.  I used a combination of the single image technique and the JS referenced before.
Although, i just tried turning off the JS and it still worked.  I wonder if it is harmless.  Hmm, now I am wondering.  Should I remove it.
 
Now, I am just noticing that the top nav is not highlighting the words properly...its happening sporadically.  Nuts.
This thing is like Mr. Blandings Dream House.  It never gets finished.
 
Glen
 
 
On 10/27/06, Karl Swedberg <[EMAIL PROTECTED]> wrote:

Hey Glen, 
 
I use the hover/unhover background in the same graphic approach on a bunch of sites, and it works really well. No _javascript_ needed. 
 
On my blog, I use it in conjunction with an image-replacement technique. 
So the html looks like this:
 

 
and the css looks like this:
 
h1 a {
  display: block;
  width: 111px;
  height: 67px;
  text-indent: -9000px;
  background: url(/images/2006/logo-sub.jpg) no-repeat left top;
  overflow: hidden;
}
h1 a:hover {
  background: url(/images/2006/logo-sub.jpg) no-repeat 0 -67px;  
}
 
and the image looks like this:
 

 
I would have just used the background hover/unhover stuff without the image replacement for the text if I hadn't decided to do the semi-transparent thing. 
 
It shouldn't take much to implement something similar on your site. 
 
Let me know if you need any help. I live for this stuff.
 
Cheers,
Karl


___
Karl Swedberg
www.englishrules.com
www.learningjquery.com


On Oct 27, 2006, at 6:33 PM, Blair McKenzie wrote:
This approach stops load time by including hover and unhover backgrounds in the same graphic.
This other one uses css to preload the hover image.
Blair
On 10/28/06, Glen Lipka < [EMAIL PROTECTED] > wrote:
 
I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow. 
Glen 

On 10/27/06, Bryan Buchs <[EMAIL PROTECTED]
> wrote: 
I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the
"LI" behind it shows through instead of a white background. Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the
> same in both browsers. This is easily avoided by preloading the images. >> --Erik>> On 10/27/06, *Glen Lipka* <
[EMAIL PROTECTED]  [EMAIL PROTECTED]>>> wrote:> > 
http://glenlipka.kokopop.com/jQuery/payroll/> http://glenlipka.kokopop.com/jQuery/intuit/ 
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single 
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___ 
> jQuery mailing list> discuss@jquery.com 
 discuss@jquery.com>> http://jquery.com/discuss/>>>>> 
>> ___> jQuery mailing list > discuss@jquery.com
> http://jquery.com/discuss/___jQuery mailing list 
discuss@jquery.com
http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.com http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I saw this link here.http://evil.che.lu/2006/9/25/no-more-ie6-background-flickerIt includes this code:try {
  document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}
Would this have any negative effect?The single image technique is great because it also reduces page size.GlenOn 10/27/06, Blair McKenzie
 <[EMAIL PROTECTED]> wrote:
This approach stops load time by including hover and unhover backgrounds in the same graphic.

This other one uses css to preload the hover image.BlairOn 10/28/06, Glen Lipka
 <
[EMAIL PROTECTED]
> wrote:I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow.
GlenOn 10/27/06, 
Bryan Buchs <[EMAIL PROTECTED]> wrote:



I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the"LI" behind it shows through instead of a white background.
Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the> same in both browsers. This is easily avoided by preloading the images.
>> --Erik>> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] 


[EMAIL PROTECTED]>>> wrote:>
> http://glenlipka.kokopop.com/jQuery/payroll/> 


http://glenlipka.kokopop.com/jQuery/intuit/
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___
> jQuery mailing list> discuss@jquery.com 


discuss@jquery.com>> 
http://jquery.com/discuss/>>>>> >> ___> jQuery mailing list
> discuss@jquery.com> 


http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.com


http://jquery.com/discuss/

___jQuery mailing listdiscuss@jquery.com


http://jquery.com/discuss/


___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow.GlenOn 10/27/06, 
Bryan Buchs <[EMAIL PROTECTED]> wrote:
I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the"LI" behind it shows through instead of a white background.
Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the> same in both browsers. This is easily avoided by preloading the images.
>> --Erik>> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] [EMAIL PROTECTED]>>> wrote:>
> http://glenlipka.kokopop.com/jQuery/payroll/> http://glenlipka.kokopop.com/jQuery/intuit/
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___
> jQuery mailing list> discuss@jquery.com discuss@jquery.com>> 
http://jquery.com/discuss/>>>>> >> ___> jQuery mailing list
> discuss@jquery.com> http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
http://glenlipka.kokopop.com/jQuery/payroll/http://glenlipka.kokopop.com/jQuery/intuit/Ok, here is my problem, and it's on both pages.
Mouse over the tabs in the middle on either one using IE 6.  HORRIBLE flickering problem.I wasn't using $hover().  I tried a few different things.  Single image hover, etc.What is the best way to avoid the flicker in IE.  Does jQuery Hover() deal with this?
Thanks,Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Glen Lipka
Still a bug on prev(expr).  The example says previous() not prev()
 
I agree with the request to link to a specific API node.  It has been hard for me to point someone to a specific function.  It would be an awesome improvement to either the API in jQuery or visual jQuery.
 
Glen 
On 10/27/06, Barry Nauta <[EMAIL PROTECTED]> wrote:
On Friday 27 October 2006 01:23, Yehuda Katz wrote:> I just updated Visual jQuery so it uses docs that include the plugins in
> the svn.I have a question concerning this:I have seem to bumped into some versioning issues. Some features available incertain versions while I was using a different version.Would it be possible to add a version tag in the API (like: available since
jQuery 1.0.2)?___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Trouble width height on slideDown

2006-10-26 Thread Glen Lipka
I had the exact same problem.  It doesn't happen when you use show() or change the timing to zero, slideDown(0).  That 219 bug is important. I heard it was fixed in 1.0.2 but it wasn't.I also tried to change the height after it finished the slideDown and that didn't work either.
Any ETA on bug #219?GlenOn 10/26/06, Cyril Demars <[EMAIL PROTECTED]> wrote:
Mats Lindblad a écrit :> This is reported as bug #219>> On 10/26/06, *David* <[EMAIL PROTECTED]> 
[EMAIL PROTECTED]>> wrote:>> Cyril Demars schreef:> > Hey,> > first, thanks a lot for the amazing librairy!> > ..but i have a little trouble width the slideDown effect.
> >> >> >> > My  doesn't slide down enought, so the text overflow the tag> and push> > violently the next tag out to the bottom...
> > you can see it here:> > http://www.pixoil.com/1000visages/films.html> > and by clicking the first button "Voir la note d'intention"
> >> > i don't see what going wrong..> > here, my css of the  (that i want slideDown):> >> > .front p.note{> > position: relative;
> > width: 380px;> > font-size: 10px;> > color:#565656;> > display:none;> > border: 1px solid red;> > }> >> >
> > thanks a lot.> >> If i check the element in firebug i see the height is set to 162px. Do> you set the height somewhere in your _javascript_ code? The overflow is> set to visible too.
>> Nice designed page by the way.>>> David>>> ___> jQuery mailing list> 
discuss@jquery.com discuss@jquery.com>> http://jquery.com/discuss/> --
> If there's anything more important than my ego around, I want it> caught and shot now.> -- Zaphod> >> ___
> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/>Thank david for firebug, i didn't know this plug.
The style "height: 126px;" id put on by the jquery at the end of theslideDown effect i think.i search in my different sheet and js, and i didn't find something--Cyril Demars
05 67 22 63 56[EMAIL PROTECTED]*www.pixoil.com *
___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Get element ID

2006-10-21 Thread Glen Lipka
Not sure if it makes a difference..but I think this would work too
 
$(document).ready(function() {      $("td").click(function() { 
          var id = $(this).attr("id");          // now do stuff with id!      });
});
I guess this.id is shorter.  The interesting thing to me is to try and avoid IDs at all if possible.  jQuery makes this really easy.  So let's say you had the TD and you wanted to add a classname of the TR parent.  And get the value of the text inside it and replace it or whatever.

$(this).parents("tr").addClass;var originalText = $(this).text();$(this).empty();$(this).append("" + someNewText + "")

Anyway, the point is that it gives you the ability to think locally (relative) in the dom and make manipulations without accessing via ID.  The API is chock full of interesting things you can do to the node that was clicked $(this)

Hope this wasnt a distraction. :)
Glen 
On 10/20/06, Adam van den Hoven <[EMAIL PROTECTED]> wrote:
Keep in mind that "this" refers to the element on which the event isbeing handled, NOT the element that originated the event. See
http://www.quirksmode.org/js/events_order.html  for an explaination ofhow events are captured and
http://www.quirksmode.org/js/events_properties.html for good measure.Depending on what your needs are the following will give you theelement that originated the event:$(document).ready(function() {
   $("td").click(function() {   var targ;   if (!e) var e = window.event;   if (e.target) targ = e.target;   else if (e.srcElement) targ = e.srcElement
;   if (targ.nodeType == 3) // defeat Safari bug   targ = targ.parentNode;   var id = targ.id});John's approach is probably what you are looking for. I'm just helping
with a complete answer.AdamOn 10/20/06, John Resig <[EMAIL PROTECTED]> wrote:> Something like this:>> $(document).ready(function() {
>$("td").click(function() {>var id = this.id;>// now do stuff with id!>});> });>> --John>
> > How do I get the id of the item which was just clicked?> >> > For instance, if a user clicks a  which has a specific id, how do I use> > this id in my script?> >
> > $(document).ready(function() {> > $("td").click(function() {> >   // get the id of the table cell clicked> >   // use the id in a script> > });
> > });>> ___> jQuery mailing list> discuss@jquery.com> 
http://jquery.com/discuss/>___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Setting Height in FF

2006-10-18 Thread Glen Lipka
Ugh.  Thank you!GlenOn 10/18/06, nezza <[EMAIL PROTECTED]> wrote:
Glen,You need to append the "px" on the end.A call to $("#right").height(); simply returns the integer, to set height,according to the API, you need the "px":

$(document).ready(function() {

   var rightHeight = $("#right").height();
$("#left").height(rightHeight + "px");

});

--View this message in context: http://www.nabble.com/Setting-Height-in-FF-tf2467829.html#a6880321Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Setting Height in FF

2006-10-18 Thread Glen Lipka
I am having some trouble in FF 1.5.0.7 on Win XP.It works in IE but not in FF.  Am I doing this wrong?  Is there a workaround?GlenCode Snippet:

$(document).ready(function() {

       var rightHeight = $("#right").height();  
    $("#left").height(rightHeight);

});

 
  #left { border: 1px solid red; float:left; width: 200px }
  #right { border: 1px solid red; float:left; width: 200px }
    this is the left this is the rightthis is the rightthis is the rightthis is the right this is the rightthis is the right this is the rightthis is the rightthis is the rightthis is the right this is the rightthis is the right ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Groups, Forums

2006-10-16 Thread Glen Lipka
Thanks John for the update.  Looking forward to the launch.GlenPS.  Nabble looks cool Matt!On 10/16/06, Matt Stith <
[EMAIL PROTECTED]> wrote:This has been discussed before, and at first i thought a forum was the way to go, but someone showed me the best of both worlds: 
http://www.nabble.com/JQuery-f15494.html
On 10/16/06, Glen Lipka <
[EMAIL PROTECTED]> wrote:

I was trying to show a developer friend the thread about the API Discussion.  The online archives make it difficult to follow the thread from start to finish.  I think this mailing list is getting pretty popular and a forum would make discussions much more targeted.  Many forums have email hooks built in.
Some options:http://forum.openrico.org/ (Rico - Homegrown forums app)

http://tech.groups.yahoo.com/group/ydn-_javascript_/
 - (YUI) shows what the Yahoo groups look like.http://groups.google.com/group/mochikit
 - (MochiKit) shows what the google groups look like.SourceForge.net
http://groups.msn.com/ (lots of features)I think this is John's call ultimately, but what do you all think?  Would a more robust group site be helpful or get in the way?
As jQuery sweeps the world, the load on the 

jquery.com
 server may get intense. ;)Glen


___jQuery mailing listdiscuss@jquery.com

http://jquery.com/discuss/

___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Groups, Forums

2006-10-16 Thread Glen Lipka
I was trying to show a developer friend the thread about the API Discussion.  The online archives make it difficult to follow the thread from start to finish.  I think this mailing list is getting pretty popular and a forum would make discussions much more targeted.  Many forums have email hooks built in.
Some options:http://forum.openrico.org/ (Rico - Homegrown forums app)http://tech.groups.yahoo.com/group/ydn-_javascript_/
 - (YUI) shows what the Yahoo groups look like.http://groups.google.com/group/mochikit - (MochiKit) shows what the google groups look like.SourceForge.net
http://groups.msn.com/ (lots of features)I think this is John's call ultimately, but what do you all think?  Would a more robust group site be helpful or get in the way?
As jQuery sweeps the world, the load on the jquery.com
 server may get intense. ;)Glen

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery API discussion

2006-10-15 Thread Glen Lipka
Let's assume you are going to do 'something' that makes jQuery better but changes the API.
What is the suggested way to bind a click function or a toggle function NOW so we don't have to change later?
 
I'd rather change now before things go live. :)
 
Glen 
On 10/15/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Ⓙⓐⓚⓔ schrieb:> I feel there are too many names for the ajax functions they can> all be coded ajax.. and some share names with non ajax function (as
> John mentioned)... perhaps new names for these weirdly overloaded> functions?>Good point. Having a common prefix for all ajax related methods could bea big help.> Which brings up the matter of deprecating... it would be helpful if
> you use a function in an old manner, you could get a deprecated> message in the log>I don't think we should use deprecation in a library that dependsheavily on file size. You never know when the time has come to actually
remove that crap, therefore it sticks there for all time. Great uglyexample: The Java runtime enviroment (JRE). It gets bigger with everyrelease, but never smaller (though this may actually change).I think branching may hurt more at first, but help a lot to evolve the
API while maintaining stable releases.-- Jörn___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] IE debug tool

2006-10-13 Thread Glen Lipka
I use the Microsoft Developer Toolbarhttp://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en
in conjunction with Microsoft Script Editor (not debugger).  The script editor let's me free form play with the jQuery object.Ive tried debugbar before and had wierd issues.Glen
On 10/13/06, Sam Collett <[EMAIL PROTECTED]> wrote:
On 13/10/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:> Stephen Woodbridge schrieb:> > Hey,> >> > This is new to me and looks like a great tool for debugging IE issues:
> >> > http://www.debugbar.com/> >> The only thing I could get out of that tool was a view of the rendered> DOM. But it wasn't any help with debugging itself, or maybe I just
> didn't get it.>> Has anyone worked with the MS Script debugger and could point to a> useful site for it?>> -- JörnI have yet to see anything as good as Firebug, but for IE. Preferably
free - although there are very few free ad-ons for IE (apart fromtoolbars).___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Google suggest example or plugin?

2006-10-12 Thread Glen Lipka
I can't seem to get it to work in IE7, but this was supposed to do that.
http://interface.eyecon.ro/docs/autocomplete
 
This one too
http://www.dyve.net/jquery/?autocomplete 
On 10/11/06, Rey Bango <[EMAIL PROTECTED]> wrote:

I'm looking for Google suggest style functionality and wanted to know ifthere was a plugin or some code that would help with this.
Anyone?Rey___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread Glen Lipka
I tried to make it jQuery("")but that didn't seem to work (was looking in IE).  The other one with jQuery(document.createElement("link") did work.What is the difference between jQuery() and $().  Why should you use one over the other?
GlenOn 10/10/06, kenton.simpson <[EMAIL PROTECTED]> wrote:
Thanks for the info. i did not realize that.--View this message in context: http://www.nabble.com/Attach-a-Style-Sheet-tf2418733.html#a6746281
Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


  1   2   >