Re: [jQuery] Kinda funny way to getting jQuery some exposure

2007-03-30 Thread Brandon Aaron
On 3/30/07, Rey Bango <[EMAIL PROTECTED]> wrote: > Thanks John & Joan! Fixed. > > Hey John, what'd you think of the page?!? Its like retro-Web 2.0 huh? ;o) You mean it is like web 1.996. We've come a long way in the last few thousandths of re

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-29 Thread Brandon Aaron
on mac worked perfectly for me. Safari worked great for everything but xml. When trying to submit with xml selected the overlay would just hang. It looked like it submitted but just didn't get the response ... but I'm unsure if it actua

Re: [jQuery] nightly builds

2007-03-29 Thread Brandon Aaron
What kind of problems are you having? I do know that there are some issues with fx in the nightlies but I don't know of any other issues. -- Brandon Aaron On 3/29/07, mmjaeger <[EMAIL PROTECTED]> wrote: > > anybody else experiencing problems with the nightly build downloads?

Re: [jQuery] Collapsing table Columns?

2007-03-29 Thread Brandon Aaron
The only time this still acts up is if you have the element display:none; in a style sheet. However there is a ticket to fix this issue with a patch that works 99% of the time. -- Brandon Aaron On 3/29/07, Richard Thomas <[EMAIL PROTECTED]> wrote: > Sorry I don't know the xpath/

Re: [jQuery] Quickly find the width of the window

2007-03-29 Thread Brandon Aaron
You could use the dimensions plugin which extends the $().width() method to work on window and document. $(window).width(); http://brandon.jquery.com/plugins/dimensions/ -- Brandon Aaron On 3/29/07, Kenneth Love <[EMAIL PROTECTED]> wrote: > Hey all, I'm needing to find the width

Re: [jQuery] Known memory leaks?

2007-03-29 Thread Brandon Aaron
The ready hack for IE shouldn't be leaking but there is a patch to change it up a little to avoid a weird issue with iframes and refreshing the page. http://dev.jquery.com/ticket/1061 -- Brandon Aaron On 3/29/07, Choan Gálvez <[EMAIL PROTECTED]> wrote: > > On 28/03/2007, at 17

Re: [jQuery] Problems with script replacement in Safari

2007-03-28 Thread Brandon Aaron
Safari improves pretty rapidly and is pretty good about following standards but it is not without its problems. It can be very frustrating sometimes ... especially if you have to support 1.0.3 or even 1.3. -- Brandon Aaron On 3/28/07, Yansky <[EMAIL PROTECTED]> wrote: > > Hmm ok,

Re: [jQuery] Problems with script replacement in Safari

2007-03-28 Thread Brandon Aaron
Last time I tried an ID on a script tag, Safari wouldn't find it. -- Brandon Aaron On 3/28/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > Safari is very weird with tags! any script tag is assumed to be > javascript, and loaded in the beginning and that's it. > Try making a new

Re: [jQuery] Known memory leaks?

2007-03-28 Thread Brandon Aaron
nsure ... just all I can think of for now. -- Brandon Aaron On 3/28/07, Markus Peter <[EMAIL PROTECTED]> wrote: > Hello > > We're currently using jQuery 1.1.2 on a production site and have some > issues with memory leaks, which seem to affect all browsers after a > while, espe

Re: [jQuery] JQuery vs prototype

2007-03-27 Thread Brandon Aaron
jQuery is extremely small and packs a large punch. -- Brandon Aaron On 3/27/07, Denis <[EMAIL PROTECTED]> wrote: > can you help me? > what benefits of JQuery vs prototype?(http://www.prototypejs.org/) > > > ___ > jQuery mailing l

Re: [jQuery] base href and jQuery

2007-03-26 Thread Brandon Aaron
I believe most of the problems arise when the base tag is not closed. Try closing it with a tag and everything should work just fine. -- Brandon Aaron On 3/26/07, agent2026 <[EMAIL PROTECTED]> wrote: > > I've read some posts about getting a to work with > javascript (not su

Re: [jQuery] Learning jQuery

2007-03-22 Thread Brandon Aaron
f the element, you can do this: this.blur(); Which only says, fire the blur event of the element. -- Brandon Aaron On 3/22/07, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > I'm a new jQuery user and just took it for a spin on a site I've taken > over. I blogged my first "use cas

Re: [jQuery] toggle a div based on clicking a specific radio button

2007-03-21 Thread Brandon Aaron
{ if(this.value == 'm') { $('#manual').show("fast"); } else { $('#manual').hide("fast"); } The above could also be written as this: $("[EMAIL PROTECTED]").bind('click', function() { $('#manual)[this.value==m?'show':

Re: [jQuery] dimensions plugin Mozilla bug

2007-03-20 Thread Brandon Aaron
* not run. Also, you might want to insure you have the latest revision: 1485. Thanks -- Brandon Aaron On 3/18/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Thanks for the bug ... I'll get this fixed soon! > > -- > Brandon Aaorn > > On 3/18/07, Wizzud <[EMAIL PROTECTE

Re: [jQuery] jQuery breaks iframes and back button?

2007-03-20 Thread Brandon Aaron
Thanks for tracking down the issue and creating a ticket Geoffrey! -- Brandon Aaron On 3/20/07, Geoffrey Knutzen <[EMAIL PROTECTED]> wrote: > I have been able to reproduce this bug and have opened a ticket on it. #1061 > It really isn't the back button but how ie is refreshin

Re: [jQuery] bgiframe update, sneak peak

2007-03-19 Thread Brandon Aaron
I've gone ahead and updated the docs, added a change log, changed the name of the file to jquery.bgiframe.js and added a min version. I went ahead and tagged this as 2.0 (http://dev.jquery.com/browser/tags/plugins/bgiframe/2.0). Let me know if you find any bugs. :) -- Brandon Aaron On 3/

Re: [jQuery] jquery scrollbar

2007-03-18 Thread Brandon Aaron
s-platform is a good thing. Couldn't it just confuse users who are used to seeing a specific scroll bar? I guess it really just depends on your audience. [1]: http://kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html [2]: http://brandon.jquery.com/plugins/scrollWindow/demo/ -- Brandon

Re: [jQuery] dimensions plugin Mozilla bug

2007-03-18 Thread Brandon Aaron
Thanks for the bug ... I'll get this fixed soon! -- Brandon Aaorn On 3/18/07, Wizzud <[EMAIL PROTECTED]> wrote: > > While playing with Ext I encountered a problem in Firefox whereby the offset > function in dimensions was causing an elem.style error. The reason is that > there is a do-while loop

Re: [jQuery] bgiframe update, sneak peak

2007-03-17 Thread Brandon Aaron
Okay so I did some testing with this idea and if the element has a background color on it, the iframe will show above it. You can see the result on my test page. -- Brandon Aaron On 3/17/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Hey Joel, > > Thanks for the information! It i

Re: [jQuery] help with syntax, naming a function

2007-03-17 Thread Brandon Aaron
Thank you for a test page. I'm going to take a look at this in more detail as soon as I get the chance. -- Brandon Aaron On 3/15/07, rolfsf <[EMAIL PROTECTED]> wrote: > > okay, so I figured it out... I think > > http://www.monkeypuzzle.net/testfiles/jquer

Re: [jQuery] bgiframe update, sneak peak

2007-03-17 Thread Brandon Aaron
it) has an opacity of less then 1 on it. I believe I will take out setting the opacity by default (since in most cases it doesn't matter) and add an option to include it. -- Brandon Aaron On 3/17/07, Joel Birch <[EMAIL PROTECTED]> wrote: > On 15/03/2007, at 2:41 AM, Brandon Aaron w

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

2007-03-15 Thread Brandon Aaron
I didn't think MySpace allowed JavaScript either? Here is how you could do it. $(function() { $('.myClass').css({ fontFamily:'verdana', fontSize:'12px' }); }); -- Brandon Aaron On 3/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, &g

Re: [jQuery] event reattach

2007-03-15 Thread Brandon Aaron
You might also find the copyEvents plugin useful. It provides three methods: copyEvents, copyEventsTo and cloneWithEvents. You can find the docs inline and an example in the unit test. http://brandon.jquery.com/plugins/copyEvents/ -- Brandon Aaron On 3/15/07, Kush Murod <[EMAIL PROTEC

Re: [jQuery] How to bind a hover event?

2007-03-14 Thread Brandon Aaron
As already mentioned you should try using the .hover() method. You can find the docs for it here: http://jquery.bassistance.de/api-browser/#hoverFunctionFunction -- Brandon Aaron On 3/14/07, Daniel Hofstetter <[EMAIL PROTECTED]> wrote: > Hi all, > > Somehow I can't figure out

[jQuery] bgiframe update, sneak peak

2007-03-14 Thread Brandon Aaron
e tagged the previous version of the bgiframe plugin here: http://dev.jquery.com/browser/tags/plugins/bgiframe/1.0/bgiframe.js?format=txt -- Brandon Aaron On 3/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Reading this has inspired me to update the bgiframe plugin. I'm going > to h

Re: [jQuery] hoverIntent = my first plug-in

2007-03-14 Thread Brandon Aaron
On 3/13/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Brandon Aaron schrieb: > > I thought about this approach as well but then you gotta think that > > this is a plugin that others will use and possibly other plugins might > > depend on it as well. Then if the defaul

Re: [jQuery] hoverIntent = my first plug-in

2007-03-13 Thread Brandon Aaron
/plugin to change the defaults then all the plugins that depend on the defaults would then break. Hopefully that all made sense ... I'm writing it in a bit of a rush. -- Brandon Aaron On 3/13/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Brandon Aaron schrieb: > > Very nice.

Re: [jQuery] is there a simple function to swap two classes?

2007-03-13 Thread Brandon Aaron
uld swap out class2 for class1. API docs for toggleClass: http://jquery.bassistance.de/api-browser/#toggleClassString -- Brandon Aaron On 3/13/07, rolfsf <[EMAIL PROTECTED]> wrote: > > Is there something like a swapClass function that will toggle between two > classes? Or do I need

Re: [jQuery] hoverIntent = my first plug-in

2007-03-13 Thread Brandon Aaron
lready mentioned by Klaus, you can force block scope by wraping your code in the following self calling function. (function($) { ... })(jQuery); -- Brandon Aaron On 3/13/07, Brian Cherne <[EMAIL PROTECTED]> wrote: > WHAT? > hoverIntent is a function that attempts to determine the user&

Re: [jQuery] enhanced suckerfish-style menu plugin

2007-03-13 Thread Brandon Aaron
It will not increase file size very much at all, maybe up around 30%. It would be worth it for the flexibility. :) -- Brandon Aaron On 3/13/07, Joel Birch <[EMAIL PROTECTED]> wrote: > Sounds great Brandon. My only thought is that currently your plugin > is nice and light which is gr

Re: [jQuery] enhanced suckerfish-style menu plugin

2007-03-13 Thread Brandon Aaron
I'm thinking about changing the name of offsetTop to top and offsetLeft to left. I think it would be less confusing, less typing and more representing of what they really are. :) -- Brandon Aaron On 3/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Reading this has inspired me

Re: [jQuery] enhanced suckerfish-style menu plugin

2007-03-13 Thread Brandon Aaron
t and offsetTop and offsetLeft values for your particular situation. Feature/enhancement requests? Hopefully I can have something ready today but that depends on work. :) -- Brandon Aaron On 3/13/07, Joel Birch <[EMAIL PROTECTED]> wrote: > On 13/03/2007, at 4:43 PM, John W wrote: > &

Re: [jQuery] New Plugin: jqChart - Charts plugin for jQuery

2007-03-12 Thread Brandon Aaron
Hey, There was a last minute bug in 1.1.2 that would crash Safari. We re-released 1.1.2 with the fix. Please re-download 1.1.2. Thanks! -- Brandon Aaron On 3/12/07, ashutosh bijoor <[EMAIL PROTECTED]> wrote: > Hi again > > Thanks to everyone for trying out the first cut versio

Re: [jQuery] New version of jquery and IE6 bugs

2007-03-08 Thread Brandon Aaron
Could you possibly post up an example? It is hard to know what is really going on without seeing it. -- Brandon Aaron On 3/8/07, Jeremy Dill <[EMAIL PROTECTED]> wrote: > > > I am having major issues with the newer versions of JQuery with IE6. > Everything works beautifully i

Re: [jQuery] Custome selectors use : as seperator, which is an official character for id's

2007-03-08 Thread Brandon Aaron
There is a ticket for this: http://dev.jquery.com/ticket/143 -- Brandon Aaron On 3/8/07, Christopher Jordan <[EMAIL PROTECTED]> wrote: > Have you posted this on the developer list? That's probably a really > good place for this post. > > Cheers, > Chris > > manfr

Re: [jQuery] Flickering with SlideToggle in Firefox

2007-02-28 Thread Brandon Aaron
Upgrade to 1.1.2. -- Brandon Aaron On 2/27/07, Arkon <[EMAIL PROTECTED]> wrote: > > Hey, So I've basically made a page that slides open with a submenu for > navigation, and you can click a main link, and the menu closes, ajax loads > the new menu, and then opens up

Re: [jQuery] PLUGIN: jdMenu 1.3 FINAL BETA

2007-02-27 Thread Brandon Aaron
This is some great work! There is a new version of the bgiframe and the dimensions plugin in SVN that fix a couple of bugs (no API changes, I promise). Also, the slide down effect suffers from the mac firefox flicker that is solved in the latest SVN/nightlies. -- Brandon Aaron On 2/27/07

Re: [jQuery] jqModal r7 IE6 Problems

2007-02-24 Thread Brandon Aaron
I would suggest requiring the bgiframe plugin instead of rolling your own solution. Just check to see if the bgiframe plugin has been included, call the .bgiframe() method on the div you want to have an iframe attached too and it will do the rest with borders and all. :) -- Brandon Aaron On 2/23

Re: [jQuery] Release: jQueryHelp - code reference application

2007-02-23 Thread Brandon Aaron
On 2/23/07, Wil Stuckey <[EMAIL PROTECTED]> wrote: > That's pretty sweet. Now who's going to build the quicksilver plugin? :) WOOT! -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
On 2/23/07, Chris Ovenden <[EMAIL PROTECTED]> wrote: > That sounds like something that ought to be fixed in jQ itself. Should it though? It is passing jQuery invalid XHTML when you are telling the browser to expect true XHTML. -- Bran

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
s... I know the general opinion seems to be that > content-type=application/xhtml+xml is a waste of time but it's nice for > a plugin to allow users to serve their pages as they like... Agreed. Thanks for the info Kelvin! -- Brandon Aaron _

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
This is really great work. I think you might be able to save a few extra bytes by dropping the closing tag when creating single elements. jQuery will add them for you. This: $('') and $('') Instead of this: $('') and $('') -- Brandon Aaron On 2/23/07,

Re: [jQuery] Reference to newly inserted item?

2007-02-23 Thread Brandon Aaron
atest Copy Events plugin. You can actually go ahead and get it now if you wanted since it works with both versions. -- Brandon Aaron On 2/23/07, Dave Treagust <[EMAIL PROTECTED]> wrote: > > Hi > > I found this reply really useful.. > > Event handlers are not preserved

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-22 Thread Brandon Aaron
Interesting. Seems to be working just fine by setting the background color. -- Brandon Aaron On 2/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > I think that made since *head spinning* Here is a simple test I am using > for both ie6 and ie7 and the text no longer looks cra

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-22 Thread Brandon Aaron
Man that was going to be so cool if it worked. :/ I appreciate the tests Mike and Joel. :) -- Brandon Aaron On 2/22/07, Joel Birch <[EMAIL PROTECTED]> wrote: > Brandon you inspired me to test it. Alas, I could not get it to solve > the problem. I tried with the transparent gif and

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-22 Thread Brandon Aaron
I haven't had the chance to test this yet. Can anyone else confirm that setting a background image, even just a 1x1 transparent gif, solves this issue? -- Brandon Aaron On 2/21/07, David <[EMAIL PROTECTED]> wrote: > > Hi, > > I fixed this in a previous project by appl

Re: [jQuery] Flickering problem with Interface Slide in FF2

2007-02-22 Thread Brandon Aaron
Oh okay. Thanks for clearing that up. Hope I didn't cause any confusion. :) -- Brandon Aaron On 2/22/07, Stefan Petre <[EMAIL PROTECTED]> wrote: > For Slide, Drop, Fold etc Interface is not rewriting the FX. The problem > is elsewhere. > > > Brandon Aaron wrote: > &g

Re: [jQuery] Flickering problem with Interface Slide in FF2

2007-02-22 Thread Brandon Aaron
It is fixed in the core but I believe Interface rewrites the fx module of jQuery and the bug probably exists there as well. Stefan, I can provide a patch for Interface if needed. -- Brandon Aaron On 2/22/07, Sanyi <[EMAIL PROTECTED]> wrote: > Sorry Karl, this did not have been fixed, a

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-21 Thread Brandon Aaron
This bug used to be fixable by applying a background color but not anymore (that I know of anyways). -- Brandon Aaron On 2/21/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Rey Bango schrieb: > > Hey all, > > > > Have a buddy of mine thats having an issue and he asked if

Re: [jQuery] Big problem with FF2, flickering on all animate effect

2007-02-21 Thread Brandon Aaron
This issue has been resolved since 1.1.1 release. Please update to the latest SVN or grab one of the nightlies http://jquery.com/src/nightlies/. -- Brandon Aaron On 2/21/07, Sanyi <[EMAIL PROTECTED]> wrote: > Hi All, > > I would like to make a simple a

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-21 Thread Brandon Aaron
This Microsoft's solution to the previous issue of using opacity with clear-type text and it looking *REALLY* bad without a background color. When you set an opacity or any other filter the clear-type is removed. Sucks... -- Brandon Aaron On 2/21/07, Rey Bango <[EMAIL PROTECTED]> w

Re: [jQuery] dimensions.js lesson needed

2007-02-21 Thread Brandon Aaron
/grids/ -- Brandon Aaron On 2/21/07, rolfsf <[EMAIL PROTECTED]> wrote: > > I've got a basic layout that looks like this: > > > > > > > > All divs are flexible in height and width depending on the viewport, except > #leftPane, which has

Re: [jQuery] dimensions and IE offset problem

2007-02-21 Thread Brandon Aaron
This is now in SVN. -- Brandon Aaron On 2/21/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Hey Glen I've got a fix but it looks as if SVN is down right now. You > can grab the patched version from here[1] but the revision and last > modified tags will not be up-to-date

Re: [jQuery] dimensions and IE offset problem

2007-02-21 Thread Brandon Aaron
Hey Glen I've got a fix but it looks as if SVN is down right now. You can grab the patched version from here[1] but the revision and last modified tags will not be up-to-date until SVN is back up. [1]: http://brandon.jquery.com/plugins/dimensions/ -- Brandon Aaron On 2/21/07, Brandon

Re: [jQuery] dimensions and IE offset problem

2007-02-21 Thread Brandon Aaron
Thanks for the report Glenn. I'm going to do some testing and see what I can figure out. -- Brandon Aaron On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am seeing some behavior in IE that I don't understand and that I don't see > in Firefox. > The

Re: [jQuery] CORE BUG: NAME attribute masquerades as ID in $('#id') selector IE6/7

2007-02-19 Thread Brandon Aaron
This is a known issue with IE. The name and id attribute share the same namespace. I think a fix for this would greatly decrease the performance of selecting by ID in IE. None-the-less could you post this over on the dev list? http://jquery.com/mailman/listinfo/dev_jquery.com -- Brandon Aaron

Re: [jQuery] Smooth Scrolling for same-page links

2007-02-19 Thread Brandon Aaron
IL PROTECTED]"' + this.hash.slice(1) + '"]') if (target.size()) { target.ScrollTo(400); return false; } }); -- Brandon Aaron On 2/19/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > On Feb 19, 2007, at 10:46 AM, Klau

Re: [jQuery] Display hidden elements in print layout

2007-02-18 Thread Brandon Aaron
ages are hidden. It would be so nice if we had standard beforeprint and afterprint events. -- Brandon Aaron On 11/27/06, Bernd Matzner <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using a JQuery-based script which displays a number of elements of a > slideshow (namely,

Re: [jQuery] creating and inserting a form on-the-fly

2007-02-17 Thread Brandon Aaron
It hasn't been fixed yet. http://jquery.com/dev/bugs/bug/910/ -- Brandon Aaron On 2/17/07, Bruce McKenzie <[EMAIL PROTECTED]> wrote: > I've got an app where I want the user to be able to add and submit > forms. [ I'm using v 1.1.1 ] > > In the case of the follow

Re: [jQuery] # or javascript:;

2007-02-16 Thread Brandon Aaron
all you need to do to prevent the default and stop propagation. You could also write it like this: $('a').bind('click', function(event) { event.preventDefault(); }); Which will only prevent the default and allow the event to propagate. -- Brandon Aaron _

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Brandon Aaron
better for your situation. -- Brandon Aaron On 2/14/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote: > Hi there. > > I'm working on a site that will be using alot of ajax for > edit-in-place, aswell as alot of other javascript. The thing is that > there is pract

Re: [jQuery] Improve jQuery.prop, was: Setting an image caption width

2007-02-13 Thread Brandon Aaron
No, you are correct that you could do this without the dimensions plugin. The reason it didn't work was because you where passing a function and Jörn's patch addressed that scenario. -- Brandon Aaron On 2/13/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Jörn Zaefferer schri

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

2007-02-13 Thread Brandon Aaron
I find having the doSomething part as separate plugins works very nicely and allows me to be flexible with different sites and not load a bunch of stuff I'm not actually using. I then just create an ant task to put all the files into one and compress. -- Brandon Aaron On 2/13/07, Matt

Re: [jQuery] Attribute Selector issue

2007-02-13 Thread Brandon Aaron
And actually I just fixed an issue with the ^= selector and href in firefox. So you will actually need REV 1336. test $('[EMAIL PROTECTED]"#"]').size(); // previous to 1336 in firefox would report 0 Hopefully that wraps up the href attribute selector issues. -- Brand

Re: [jQuery] Why not standardize to use jQuery( instead of $('...

2007-02-13 Thread Brandon Aaron
of the $ alias. -- Brandon Aaron On 2/13/07, howard chen <[EMAIL PROTECTED]> wrote: > or jq('#... > > this completely solved the problem of collision... > > howard > > ___ > jQuery mailing list > discuss@

Re: [jQuery] Attribute Selector issue

2007-02-13 Thread Brandon Aaron
This has been fixed in SVN but you'll need Revision 1323 or greater. -- Brandon Aaron On 2/13/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > On 2/13/07, Allan Mullan <[EMAIL PROTECTED]> wrote: > > Hey all, > > > > I'm probably just tired but I would

Re: [jQuery] Checking for a class?

2007-02-11 Thread Brandon Aaron
docs for the method. http://jquery.bassistance.de/api-browser/#isString -- Brandon Aaron On 2/11/07, Tom Holder <[EMAIL PROTECTED]> wrote: > How can I check to see if there is a particular css class on an element? > > Presumably I could just do $("#id").attr("class&quo

Re: [jQuery] Problem with [EMAIL PROTECTED]

2007-02-09 Thread Brandon Aaron
Thank you Aaron! The src and other attributes are now fixed in the latest SVN. -- Brandon Aaron On 2/9/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > On 2/9/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > Question remains, is src the only other attribute that we

Re: [jQuery] Problem with [EMAIL PROTECTED]

2007-02-09 Thread Brandon Aaron
Question remains, is src the only other attribute that we need to fix for IE? -- Brandon Aaron On 2/9/07, Dave Methvin <[EMAIL PROTECTED]> wrote: > > Yes it was fixed in REV 1293. http://jquery.com/dev/svn/rev/1293/ > > Wow, it's so new it s

Re: [jQuery] Problem with [EMAIL PROTECTED]

2007-02-09 Thread Brandon Aaron
Yes it was fixed in REV 1293. http://jquery.com/dev/svn/rev/1293/ -- Brandon Aaron On 2/9/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > That's great news, Brandon! Thanks! > > Was this a post-1.1.1 fix? > > > --Karl > _ > K

Re: [jQuery] Problem with [EMAIL PROTECTED]

2007-02-09 Thread Brandon Aaron
We just fixed this for the href attribute. Is IE actually returning the whole URL? Are there other attributes that IE doesn't return what is actually there? -- Brandon Aaron On 2/9/07, Dave Methvin <[EMAIL PROTECTED]> wrote: > > >switch($(this).attr("src&qu

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-08 Thread Brandon Aaron
And if you already have one or more p tags on the page already and just adding more you could use the Copy Events plugin (in SVN) to just copy events from an existing p tag to the new p tags. $(newPTags).copyEvents(existingPTag); BTW Mike, great plugin! -- Brandon Aaron On 2/8/07, Mike Alsup

Re: [jQuery] Trouble with event position X/Y [browser and code version]

2007-02-07 Thread Brandon Aaron
nction fires as soon as the DOM is ready. Try using $(window).bind('load', fn) instead and it should provide the correct results. The reason it sometimes resolves itself is because it has pulled from the cache just as quick as the dom ready has been fired. -- Brandon Aaron On 2/7/

Re: [jQuery] jQuery().hover() not working as intended in IE?

2007-02-07 Thread Brandon Aaron
only ones that I've heard using that feature. BTW ... I don't have a time for getting that feature back in. -- Brandon Aaron On 2/7/07, Jonathan Sharp <[EMAIL PROTECTED]> wrote: > Here's an example line: > > $(li).offset( $(li).parents('ul.myclass')[0

Re: [jQuery] jQuery().hover() not working as intended in IE?

2007-02-07 Thread Brandon Aaron
The signature for the offset method in the dimensions plugin did recently change. Is this the issue or is it a bug in the offset method? -- Brandon Aaron On 2/7/07, Jonathan Sharp <[EMAIL PROTECTED]> wrote: > Hi Scott, > > I was able to duplicate this and have isolated it to so

Re: [jQuery] Trouble with event position X/Y - anyone else?

2007-02-07 Thread Brandon Aaron
issue. -- Brandon Aaron On 2/7/07, Tim McCormack <[EMAIL PROTECTED]> wrote: > I'm developing a little app that involves positioning a translucent > div near the cursor, and the numbers aren't adding up. I'm using the > Dimensions plugin and subtracting an element's offse

Re: [jQuery] display inline vs block

2007-02-06 Thread Brandon Aaron
display: block element. Of course you could always create a simple custom animation if it was necessary. Just use a setInterval or setTimeout and call css('opacity', num) -- Brandon Aaron On 2/6/07, Jon Ege Ronnenberg <[EMAIL PROTECTED]> wrote: > When using hide(), show, fadeIn

Re: [jQuery] BUG occurs with jQ 1.1.1 and Mac FF only. Related to opacity.

2007-02-03 Thread Brandon Aaron
uld suggest using svnX (http://www.versiontracker.com/dyn/moreinfo/macosx/24158). -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] BUG occurs with jQ 1.1.1 and Mac FF only. Related to opacity.

2007-02-03 Thread Brandon Aaron
Please upgrade to the latest SVN as it fixes the flicker. -- Brandon Aaron On 2/3/07, Joel Birch <[EMAIL PROTECTED]> wrote: > Hi everyone. > > I want to report this issue. It's an animation bug that only occurs > in Mac Firefox and somehow relates to old known issues tha

Re: [jQuery] jQuery 1.1.1 Question : type mis-match

2007-02-02 Thread Brandon Aaron
Could possibly post the code that is trying to set the attributes? That else statement you posted is actually used to set style values and if you are just using .attr() and not .css() then the code shouldn't even be in that block. -- Brandon Aaron On 2/2/07, Jeffrey McClure <[EMAIL P

Re: [jQuery] ANN: Brandon Aaron Joins learningjquery.com

2007-02-02 Thread Brandon Aaron
can do it like this: $(window).height(); $(window).width(); Thanks for the kind words everyone! I look forward to writing lots of informational articles for learningjquery.com. -- Brandon Aaron On 2/2/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > as a beginner myself,

Re: [jQuery] Adding to the browsers onclick?

2007-02-01 Thread Brandon Aaron
Hmmm... Well lets simplify things instead. :) $(".musthave label") .bind('click', function() { $(this).toggleClass('musthavechecked'); }); -- Brandon Aaron On 2/1/07, Will <[EMAIL PROTECTED]> wrote: > Thank you Brandon. A great

Re: [jQuery] Adding to the browsers onclick?

2007-02-01 Thread Brandon Aaron
On 2/1/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Try adding return true; to both of the methods. I meant to include the code. :) $(".musthave label") .toggle(function(){ $(this).addClass("musthavechecked"); return true; },function()

Re: [jQuery] Adding to the browsers onclick?

2007-02-01 Thread Brandon Aaron
Try adding return true; to both of the methods. -- Brandon Aaron On 2/1/07, Will <[EMAIL PROTECTED]> wrote: > I'm trying to replace labels with graphics. They're for check boxes and I > need the image background to change and stay changed on click. I have my > css al

Re: [jQuery] working and xml doc or converting to json

2007-02-01 Thread Brandon Aaron
I wonder, how do we know if it is XML snippet we are working on or just an HTML snippet? -- Brandon Aaron On 1/31/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Benjamin Sterling schrieb: > > This tells me that it is pulling the right things (I assume) but when > >

Re: [jQuery] Really Ugly?

2007-02-01 Thread Brandon Aaron
On 2/1/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > With IE 7 not supporting true XHTML I consider XHTML pretty dead for at > least the next few years. And have started to switch back to HTML 4 Strict. Same here actually. Each new site I've been doing recently is all HTML 4 St

Re: [jQuery] Really Ugly?

2007-01-31 Thread Brandon Aaron
I'm pretty sure it is still a working draft: http://www.w3.org/TR/XMLHttpRequest/ However, it is pretty much guaranteed to be a standard. :) -- Brandon Aaron On 1/31/07, Joel Birch <[EMAIL PROTECTED]> wrote: > On 01/02/2007, at 1:07 PM, Brandon Aaron wrote: > > >

Re: [jQuery] Really Ugly?

2007-01-31 Thread Brandon Aaron
gt; selectbox by simply changing innerHTML ( $('select').html(' ... > ') ) doesn't work. For tables a fix is already in jQuery. " Actually it is possible since 1.0.4 to just use the DOM Manipulation methods on select elements as it is fixed like it is for

Re: [jQuery] Really Ugly?

2007-01-31 Thread Brandon Aaron
e. Let's not forget that xmlHttpRequest is also not standard. It should be noted that when the elements are actually added to the DOM, jQuery does *not* use innerHTML. It only uses innerHTML to normalize some cross-browser issues and quickly get the actual elements out of an HTML string. -- B

[jQuery] Bug Fix: Animation Flickers

2007-01-31 Thread Brandon Aaron
I just checked in a fix for the flickers that have been happening in the fx module. Anyone that was having problems with flickers in their animations (mostly in Firefox) please grab the latest from SVN and let me know if it solves your problems or not. -- Brandon Aaron

Re: [jQuery] SVN is Broken

2007-01-31 Thread Brandon Aaron
This is now fixed in the latest SVN. -- Brandon Aaron On 1/30/07, Stephen Woodbridge <[EMAIL PROTECTED]> wrote: > > > ./dist/jquery.js Built > > Building ./dist/jquery.lite.js > - Removing ScriptDoc from ./dist/jquery.js > js: "build/build/lite.js", line 1:

Re: [jQuery] Data falling out of Container Div

2007-01-31 Thread Brandon Aaron
Hey Rey, This was fixed in 1.1. That is why 'show' and 'hide' *now* removes the hardcoded styles left behind. -- Brandon Aaron On 1/31/07, Rey Bango <[EMAIL PROTECTED]> wrote: > Hey all, > > I'm having some trouble with a getting a div to size correctl

Re: [jQuery] What is the best way to replace an element using JQuery?

2007-01-31 Thread Brandon Aaron
You should be able to do something like this. $('#myElement').before('replacement').remove(); -- Brandon Aaron On 1/31/07, George Adamson <[EMAIL PROTECTED]> wrote: > > Despite having used JQuery for some time and also written plugins, I've never > disc

Re: [jQuery] Checking length/size of hash object

2007-01-30 Thread Brandon Aaron
You could loop through the elements and count them like this. var hashLength = function(hash) { var count = 0; for (var i in hash) count++; return count; }; -- Brandon Aaron On 1/30/07, Nate Cavanaugh <[EMAIL PROTECTED]> wrote: > > Hi All, > is there a native, or jQue

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Brandon Aaron
we want .toggle(400); }); }); Untested but that should at least point you in the right direction. Check out the API docs for DOM / Traversing for more info on the parent() and next() method. -- Brandon Aaron On 1/30/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]>

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Brandon Aaron
I'm a little confused about what you are needing. Could you show an example of what is currently up? That would also show the structure of your code. You might just be able to use selectors instead of IDs to find the elements you want to show/hide. -- Brandon Aaron On 1/30/07, Priest, James

Re: [jQuery] Scrolling in Opera? Only works with block elements

2007-01-30 Thread Brandon Aaron
I just fixed a problem in the offset method in the dimensions plugin dealing with inline elements in opera. It was setting the .scrollLeft and .scrollTop properties to the same as .offsetLeft and .offsetTop. Not sure if it is related or not but thought I would share anyways. -- Brandon Aaron On

Re: [jQuery] Strangeness with fade(), alpha-opacity PNGs and IE

2007-01-30 Thread Brandon Aaron
I wonder if setting the background color to transparent will work? background-color: transparent; -- Brandon Aaron On 1/30/07, spl1nter <[EMAIL PROTECTED]> wrote: > > This appears to be the case but unfortunately 8 bit PNGs don't have > alpha-transparency. I've found

Re: [jQuery] jQuery 1.1.1 and .width / .height

2007-01-29 Thread Brandon Aaron
You do not need the dimensions plugin for the .height and .width methods. However, the dimensions plugin simply extends the .height() and .width() method to return proper values for document and window. -- Brandon Aaron On 1/29/07, Webunity | Support <[EMAIL PROTECTED]> wrote: > Hi gu

Re: [jQuery] Strangeness with fade(), alpha-opacity PNGs and IE

2007-01-29 Thread Brandon Aaron
I haven't found the secret yet. Some of my pngs do it and others don't. -- Brandon Aaron On 1/29/07, spl1nter <[EMAIL PROTECTED]> wrote: > > Ah, well that's a tad annoying. Is there anyway to prevent this? Any settings > I can use in Photoshop or such? > > &g

  1   2   3   4   5   6   >