[jQuery] SITE SUBMISSION: Please add www.paddockcleaner.com.au to the list of sites

2007-07-25 Thread Joel Birch
Me again :) Here is another (fairly basic) site I just recently designed and developed. www.paddockcleaner.com.au The site needed to be done to a budget so liberal use of plugins made it possible to add bells and whistles unobtrusively without spending too much time. - Mike Alsup's amaz

[jQuery] Re: [ANNOUNCE] jCarouselLite version 0.4.0

2007-07-25 Thread Mike Fern
Hi Ganeshji, Great plugin. It will be great if there is also an option for looping without the scrolling back effect. Regards, Mike

[jQuery] Re: jCarouselLite version 0.4.0

2007-07-25 Thread Ganeshji Marwaha
glad u like it... thanks for the compliment. -GTG On 7/25/07, Jarod <[EMAIL PROTECTED]> wrote: cheers. i like this plugins. it's very easy to use. On Jul 26, 6:28 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Hi list, > > I have updated the jCarouselLite plugin to its next revision -

[jQuery] SITE SUBMISSION: Please add www.fppdesign.com.au to the list of sites

2007-07-25 Thread Joel Birch
Hi Rey, I was hoping you could add www.fppdesign.com.au - a site I did over a year ago. This site has used jQuery since before there was a jQuery version number! Over time, I have added quite a few jQuery enhancements including: - Rounded Corners plugin by Dave Methvin to round off the a

[jQuery] Re: [ANNOUNCE] jCarouselLite version 0.4.0

2007-07-25 Thread Ganeshji Marwaha
Rey, I sure will do it, but since all the demos are in php files right now, i might need some time to make a zip of all the demos and docs. I will give it a shot over the weekend and let you know... is that fine with u... BTW, if i have to make jCarouselLite available via jquery svn whom should

[jQuery] datePicker plugin inline

2007-07-25 Thread Larry Garfield
Hello, jQuery. My apologies if this is a dupe; the first copy didn't seem to go through. I'm working with Kevin Luck's datePicker plugin, v2[1], because it seemed the least unsuited for what I was trying to do and I'm already using it elsewhere.  What I'm trying to do is have an inline calend

[jQuery] Re: [ANNOUNCE] jCarouselLite version 0.4.0

2007-07-25 Thread Rey Bango
Ganeshji, Would you mind terribly zipping up all of the files, demos and docs so I can download everything at one time? I'd like to keep a local copy of everything for archival purposes. Rey... Ganeshji Marwaha wrote: Hi list, I have updated the jCarouselLite plugin to its next revision -

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

2007-07-25 Thread Joel Birch
Ha, you beat me by "this much", Karl. Plus yours works, whereas mine is missing a dollar sign right before document ready :( Joel. On 26/07/2007, at 2:36 PM, Karl Swedberg wrote: I didn't make it simpler, really, but I did optimize it a bit. --Karl _ Karl Swedberg www.engl

[jQuery] Re: jCarouselLite version 0.4.0

2007-07-25 Thread Jarod
cheers. i like this plugins. it's very easy to use. On Jul 26, 6:28 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Hi list, > > I have updated the jCarouselLite plugin to its next revision - 0.4.0 > . The project page is athttp://www.gmarwaha.com/jquery/jcarousellite/index.php > > This revis

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

2007-07-25 Thread Joel Birch
On 26/07/2007, at 1:42 PM, Mitchell Waite wrote: I defy anyone to make this simpler (and work as well)! This may or may not look simpler, but its more optimised and more maintainable :) (document).ready(function(){ var myClass = "hidden", $h

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

2007-07-25 Thread Karl Swedberg
I didn't make it simpler, really, but I did optimize it a bit. Here only three jQuery objects are created, as opposed to eight in your example. $(document).ready(function(){ var $hover = $('#hover'); var $normal = $('#normal'); $("#showPic").hove

[jQuery] Re: Superfish with interface plugin ...

2007-07-25 Thread Joel Birch
On 26/07/2007, at 1:57 AM, TiGeRWooD wrote: Hi, I tried to used superfish, but i have a bug in IE7 (not tried in ie6), superfish doesn't work well if the interface plugin is loaded ... the first submenu are visible but the sub sub menu don't ... If anyone have ideas ... you 're welcome :) Th

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

2007-07-25 Thread Mitchell Waite
BTW feel free to use my quote in any marketing your publisher or you do. Viral is the way to go with this new computer book market. I will get right over to your web site now. Wow nice! This is so helpful. May I ask about the reference guide. Is that a work in process? Is it okay to look a

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

2007-07-25 Thread Mitchell Waite
I defy anyone to make this simpler (and work as well)! A true 3 state button http://www.whatbird.com/wwwroot/3statebutton_6.html (document).ready(function(){ $("#showPic").hover(function() { $("#hover").removeClass

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Jonathan Sharp
Do you have a url to a sample page we could look at? -js On 7/25/07, Mario Moura <[EMAIL PROTECTED]> wrote: Thanks Jonathan Almost but still not working $('.collapsible .collapsed').bind('click', function() { $(this).toggleClass('collapsible').toggleClass('collapsed').toggleClass('collapsi

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

2007-07-25 Thread Karl Swedberg
On Jul 25, 2007, at 8:18 PM, Mitchell Waite wrote: Gosh the author speaks! Yes, I do. Usually, I speak too much. ;-) Having authored about 25 computer books on programming and published about 200 (www.mitchwaite.com), I find Learning jQuery a real treasure. The way you guys tell the store

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

2007-07-25 Thread Mitchell Waite
Ok here is the skinny (I think I am getting this down) http://www.whatbird.com/wwwroot/3statebutton_3.html (uses layers) $(document).ready(function(){ $("#showPic").hover(function() { $("#normal").addClass("hidden"); }, fun

[jQuery] Re: jQuery AJAX working in Firefox but not IE

2007-07-25 Thread Benjamin Sterling
Josh, First, I am curious why you are putting the code directly on a like, is there a reason for that? I assume it is to be able to dynamically add the IDs, but you should be able to create a function and just pass those IDs. But, to actually answer your question, I could not find a good answer

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

2007-07-25 Thread Mitchell Waite
That won't work, it makes both buttons disappear and reappear instead of the effect I want which is to make the hover button appear when the mouse is in and disappear when the mouse is out. From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Wednesday, Ju

[jQuery] Re: ANNOUNCEMENT: jQuery resetDefaultValue plugin

2007-07-25 Thread Erik Beeson
Then the filtering should be done on the selection end, not in the plugin. Of course you can make your plugin do whatever you want, but for general purpose use, there is an expectation that chainable functions won't modify the chain (unless their specifically designed to like filter, find, etc).

[jQuery] jQuery AJAX working in Firefox but not IE

2007-07-25 Thread Josh A.
Hey folks, So here's example code: You can see it in action (or inaction using IE) at http://delangeracing.com/points and clicking any "Prev" link. Any idea why it never fades back in using IE? -Josh

[jQuery] Re: ANNOUNCEMENT: jQuery resetDefaultValue plugin

2007-07-25 Thread Leandro Vieira Pinho
Hu, I don´t think it´s a good suggestion. Imagine: I use the filter to avoid submit/reset/button buttons, for example, so if I did it: $('input').resetDefaultValue().height(30); All the input elements affected by plugin will have 30 pixels of height. If I use the .end() function, the submit

[jQuery] Re: Announce: Masked Input Plugin 1.0

2007-07-25 Thread Karl Swedberg
Fantastic, Josh! That is a thing of beauty. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 25, 2007, at 8:21 PM, Josh Bush wrote: I just wanted to announce that I've finally released v1.0 of my masked input plugin. Please check it out at: http:/

[jQuery] Announce: Masked Input Plugin 1.0

2007-07-25 Thread Josh Bush
I just wanted to announce that I've finally released v1.0 of my masked input plugin. Please check it out at: http://digitalbush.com/projects/masked-input-plugin Thank You Josh digitalbush.com

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

2007-07-25 Thread Mitchell Waite
Gosh the author speaks! Karl Having authored about 25 computer books on programming and published about 200 (www.mitchwaite.com), I find Learning jQuery a real treasure. The way you guys tell the store is very well thought out, and shows an immense understanding of the person coming to jQ

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

2007-07-25 Thread Brandon Aaron
The hover method takes two functions. One for the mouseover and one for the mouseout. Here are the docs for the hover method: http://jquery.bassistance.de/api-browser/#hoverFunctionFunction Here is the proper way to code the example. $("#showPic").hover(function() { $("#hover, #normal").addCl

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

2007-07-25 Thread Mitchell Waite
Leave it to Michael to leave the most indelible mark. I now a see the subtle issues with "this" In fact I have a whole a new take on jQuery since listening to Michael about "this" and trying to get my tediously simple little toggle to work. It actually started in Javascript and was a lot more

[jQuery] Populating Select Boxes

2007-07-25 Thread Mike Miller
Hi, I am new to jquery and have a problem that I cannot explain. I am trying to populate a select box with values from a database. The select box works fine in FF, but nothing appears to happen in IE. Below is my code. Any help on what this is caused by would be greatly appreciated: HTML fil

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

2007-07-25 Thread Ganeshji Marwaha
Why don't u try reversing the order of call... Call the accordion first and the innerFade next. -GTG On 7/25/07, Aaron <[EMAIL PROTECTED]> wrote: Anyone have ideas on this one? I would greatly appreciate the help! :) On Jul 25, 10:03 am, Aaron <[EMAIL PROTECTED]> wrote: > ok so after lookin

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Mario Moura
Thanks Jonathan Almost but still not working $('.collapsible .collapsed').bind('click', function() { $(this).toggleClass('collapsible').toggleClass('collapsed').toggleClass('collapsibleopen'); }); I said too I have many .collapsible .collapsed classes so I cant change all at the same time. Id

[jQuery] [ANNOUNCE] jCarouselLite version 0.4.0

2007-07-25 Thread Ganeshji Marwaha
Hi list, I have updated the jCarouselLite plugin to its next revision - 0.4.0 . The project page is at http://www.gmarwaha.com/jquery/jcarousellite/index.php This revision adds a few cool features(based on demand) and fixes a few bugs. It looks pretty stable now. If it stays stable for sometime,

[jQuery] Re: Plug-ins: Tabs and Cookies

2007-07-25 Thread [EMAIL PROTECTED]
Doh! Thanks Klaus -- YOU ROCK! I applied your suggestion and it worked. Thanks again for the awesome plug-ins. By the way, I submitted a comment into your blog with suggestions for tabs v.3. Matthew On Jul 25, 1:30 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi

[jQuery] Re: alternate next() behavior

2007-07-25 Thread Josh Bush
I think I'll be doing a final 1.0 release of masked input. Thanks for keeping me on my toes. I kind of need mine to be very flexible, so I came up with this: http://digitalbush.com/files/jquery/findnext/jquery.findnext.js All you do is "$('something').findNext(optional selector);" It's totally

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Jonathan Sharp
The issue lies in that you're trying to bind your click event to .collapsibleopen at document ready time. The .collapsibleopen class won't be available until the user clicks to have it added. I think below is more of what you're after... $('.collapsible .collapsed .collapsibleopen').bind('click',

[jQuery] Re: Callback after append?

2007-07-25 Thread juliandormon
I did not know that. That worked great! Klaus Hartl wrote: > > > juliandormon wrote: >> >> I'm adding html into a div using append. I want to update my custom >> scrollbar >> plugin which is in a parent div after the append has completed loading to >> accommodate the new height of the conten

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Ganeshji Marwaha
I am not sure what i am telling is right or not, but try $(this).removeClass().addClass("collapsible").addClass("collapsed"); If you think this couldn't be the problem ignore this message. -GTG On 7/25/07, Mario Moura <[EMAIL PROTECTED]> wrote: yes, But still not working. Strange behavior. I

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Mario Moura
yes, But still not working. Strange behavior. I guess or I need study more. :) $(document).ready(function(){ $(".collapsible .collapsed").click(function(){ $(this).removeClass().addClass("collapsibleopen"); }); $(".collapsibleopen").click(function(){ $(this).removeClass().

[jQuery] Re: Get a range of elements (getting late, and losing my mind)

2007-07-25 Thread Ganeshji Marwaha
Something like this should work to get the index of the li relative to the list. There could be a shorter way, but u get the idea... var liIndex; $("ul.nav-page li").each(function(i) { if($(this).is(".curr")) { liIndex = i; return; } }); -GTG On 7/25/07, agent2026 <[EMAIL PROTECTE

[jQuery] Re: Opacity in fadeTo, etc does not work in IE, am I crazy?

2007-07-25 Thread Brandon Aaron
Are you using jQuery 1.1.3.1? -- Brandon Aaron On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I've posted about this before but no one has replied. Is anyone having issues in IE 6/7 with opacity? It doesn't seem to be using the filter: to toggle opacity for me... I find it bi

[jQuery] Opacity in fadeTo, etc does not work in IE, am I crazy?

2007-07-25 Thread [EMAIL PROTECTED]
Hi, I've posted about this before but no one has replied. Is anyone having issues in IE 6/7 with opacity? It doesn't seem to be using the filter: to toggle opacity for me... I find it bizarre that jQuery would not have covered this. Maybe it has something to do with running IE through parallel

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Eric C
shouldn't your line: $("collapsibleopen").click(function(){ be $(".collapsibleopen").click(function(){ ? On Jul 25, 3:28 pm, "Mario Moura" <[EMAIL PROTECTED]> wrote: > Hi Folks > > I am trying switch between two class > > Is it possible? > > $(document).ready(function(){ > > $(".collapsible .c

[jQuery] Get a range of elements (getting late, and losing my mind)

2007-07-25 Thread agent2026
Hey everyone, I'm working on some pagination. Before I move on to my issue, the best pagination plugin I've found is John's pager (http://jquery.com/ api/js/pager.js). But it doesn't seem that this is being developed further, and the only other I've found (http://rikrikrik.com/jquery/ pager, lis

[jQuery] Re: safari failing to remove()

2007-07-25 Thread RwL
> As you're adding the span to the link itself, maybe both click events > somehow interfere in Safari... what about: I think you're right on the money... I haven't tried your code yet, but mine was fixed instantly by using insertAfter() instead of append(), and I think that will be fine for my pu

[jQuery] Form Client and server side validaion probleme

2007-07-25 Thread Samad
Hello, I'm trying to fix a validation form probleme but I don't have any idea. This is the probleme : I have a forum with inputs, for the validation, I have some client side controls and server ones with an ajax call. this is the code : -

[jQuery] Re: jQuery AJAX w/ ASP.NET

2007-07-25 Thread Armand Datema
mm well i know one way that might interfere with your script altho I cannot see it in this code. an aspx page mus have one form standard if you have an element that has runat="server" attribute you cannot call it directly as #loginForm because asp.net rewrites the id to something different

[jQuery] Re: safari failing to remove()

2007-07-25 Thread Klaus Hartl
RwL wrote: Can't figure out for the live of me why remove() is working on this function in every browser but Safari: http://www.lifford.org/exp/tmr.html to summarize what's going on, this is my only function: $(document).ready(function() { $('a').not($("#nav [EMAIL PRO

[jQuery] Re: alternate next() behavior

2007-07-25 Thread Eric C
Josh: I had a similar issue, in fact using your very own maskedInput plugin. I wanted the :completed callback to tabOver to the next input, regardless of the location. I posted the code that works for me on this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/d9f526718f3fe

[jQuery] jQuery AJAX w/ ASP.NET

2007-07-25 Thread mrandolph
For the life of me, I cannot get jQuery working w/ ASP.NET. My front- end seems to call the .NET script, but once the script is processed, it's forwarding the browser to the ASPX result page rather than just returning the values. I've tried using $.ajax, $.post, the form plugin, just about every

[jQuery] safari failing to remove()

2007-07-25 Thread RwL
Can't figure out for the live of me why remove() is working on this function in every browser but Safari: http://www.lifford.org/exp/tmr.html to summarize what's going on, this is my only function: $(document).ready(function() { $('a').not($("#nav [EMAIL PROTECTED]"))

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

2007-07-25 Thread Michael Geary
> From: Michael Geary > > The use of "this" inside an "each" loop is one of the two > major design errors in jQuery (the other being the event > system, which I'll get to another day). Just to avoid any possible misunderstanding, I think everyone knows I consider jQuery to be a brilliant piece

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Christof Donat
Hi, > I believe the ctx variable should be: > > var ctx = $('')[0].getContext("2d"); I was expecting that a canvas tag exists on the page. If it doesn't it should better be something like this: var ctx = $('').appendto('body')[0].getContext("2d"); Christof

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Brandon Aaron
I get this a few times as well. Just gotta restart Firefox. -- Brandon Aaron On 7/25/07, RwL <[EMAIL PROTECTED]> wrote: > What I'm interested in is if the recursion error still occurs with my > final suggestion? > --Klaus Ah, sorry Klaus -- it doesn't, but take that with a grain of salt, bec

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
> What I'm interested in is if the recursion error still occurs with my > final suggestion? > --Klaus Ah, sorry Klaus -- it doesn't, but take that with a grain of salt, because I can't reproduce the error anymore with my orignal syntax. I'm writing this off as Firebug behaving badly.

[jQuery] Re: convert an event object to a jQuery event object?

2007-07-25 Thread Brandon Aaron
Just pass the event object through this private jQuery method: event = $.event.fix(event); Although, why not just use jQuery to bind the events in the first place? -- Brandon Aaron On 7/25/07, Jeff L <[EMAIL PROTECTED]> wrote: Hi, Is there a way to take a normal event object and convert it

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Klaus Hartl
RwL wrote: Thanks John; thanks Klaus. Responding to Klaus: That said, $("a").not( $("#nav a") ) is not supposed to work if I understood that correctly. Having reread the spec, I agree with you, but oddly $("a").not( $ ("#nav a") ) DID work as I expected it to. No matter. Your final suggesti

[jQuery] Re: Plug-ins: Tabs and Cookies

2007-07-25 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, having some small troubles with the tabs plug-in from Klaus Hartl (http://www.stilbuero.de/jquery/tabs/). I'm trying to implement his cookies plug-in (see code below) and can't seem to get the tabs to change to the defined tab using the method "Start With Custom Tab

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
Thanks John; thanks Klaus. Responding to Klaus: >>That said, $("a").not( $("#nav a") ) is not supposed to work if I understood >>that correctly. Having reread the spec, I agree with you, but oddly $("a").not( $ ("#nav a") ) DID work as I expected it to. No matter. Your final suggestion works to

[jQuery] switch between two class - Basic Issue

2007-07-25 Thread Mario Moura
Hi Folks I am trying switch between two class Is it possible? $(document).ready(function(){ $(".collapsible .collapsed").click(function(){ $(this).removeClass().addClass("collapsibleopen"); }); $("collapsibleopen").click(function(){ $(this).removeClass().addClass("colla

[jQuery] Re: Callback after append?

2007-07-25 Thread Matt Stith
Thats right, the only things that need a callback are ajax and animations (unless im missing something) On 7/25/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: juliandormon wrote: > > I'm adding html into a div using append. I want to update my custom scrollbar > plugin which is in a parent div aft

[jQuery] Re: Callback after append?

2007-07-25 Thread Klaus Hartl
juliandormon wrote: I'm adding html into a div using append. I want to update my custom scrollbar plugin which is in a parent div after the append has completed loading to accommodate the new height of the content in the child div. What's the proper way of doing a callback after append for a di

[jQuery] Plug-ins: Tabs and Cookies

2007-07-25 Thread [EMAIL PROTECTED]
Hi, having some small troubles with the tabs plug-in from Klaus Hartl (http://www.stilbuero.de/jquery/tabs/). I'm trying to implement his cookies plug-in (see code below) and can't seem to get the tabs to change to the defined tab using the method "Start With Custom Tab" [code example: $('#contai

[jQuery] Re: Callback after append?

2007-07-25 Thread Mike Alsup
Julian, have you tried this? $("#childDiv").append('mygreatHTML').parent().updateScrollBar(); $("#childDiv").append('mygreatHTML',function(){$("#parentDiv").updateScrollBar()})

[jQuery] convert an event object to a jQuery event object?

2007-07-25 Thread Jeff L
Hi, Is there a way to take a normal event object and convert it to a jQuery event object so everything gets normalized? Or can you only use the jquery event stuff when you use the jQuery events themselves? Hope this makes sense. Thanks, Jeff

[jQuery] Re: Formatting External Links

2007-07-25 Thread Karl Swedberg
On Jul 25, 2007, at 10:04 AM, Joel Birch wrote: Maybe this addresses this issue? $('[EMAIL PROTECTED]://]').not('[EMAIL PROTECTED]') that should do it. since the "http" would always come at the beginning of the href, it might be a little cleaner to use "^" for the first selector instead.

[jQuery] Callback after append?

2007-07-25 Thread juliandormon
I'm adding html into a div using append. I want to update my custom scrollbar plugin which is in a parent div after the append has completed loading to accommodate the new height of the content in the child div. What's the proper way of doing a callback after append for a different div? I cannot

[jQuery] Re: ANNOUNCEMENT: jQuery resetDefaultValue plugin

2007-07-25 Thread Klaus Hartl
Leandro Vieira Pinho wrote: Hi, It´s a simple plugin, that let you clear and reset the value of input elements. Example of usage: $(function() { $('input').resetDefaultValue(); // for all input elements $('input.className').resetDefaultValue(); // for some elements $('#q').resetDefaultValu

[jQuery] alternate next() behavior

2007-07-25 Thread Josh Bush
.next() grabs the very next sibling. I need to be able to grab the very next occurrence of an object if it's a sibling, cousin (parent's next sibling's child), uncle/aunt(parent's next sibling), nephew/ niece(sibling's child), or whatever. If memory serves, .next() used to have this behavior eve

[jQuery] ANNOUNCEMENT: jQuery resetDefaultValue plugin

2007-07-25 Thread Leandro Vieira Pinho
Hi, It´s a simple plugin, that let you clear and reset the value of input elements. Example of usage: $(function() { $('input').resetDefaultValue(); // for all input elements $('input.className').resetDefaultValue(); // for some elements $('#q').resetDefaultValue(); // for a especific elemen

[jQuery] Allowing Interface Draggables to scroll the document

2007-07-25 Thread MK
Hi, I've noticed that the default behavior for Interface draggables is to not allow scrolling the document while you're dragging. However, for a certain project I need to be able to scroll the document while dragging for users with small browser viewports. What is the easiest way around this? I t

[jQuery] Allowing Interface Draggables to scroll the document

2007-07-25 Thread MK
Hi, I've noticed that the default behavior for Interface draggables is to not allow scrolling the document while you're dragging. However, for a certain project I need to be able to scroll the document while dragging for users with small browser viewports. What is the easiest way around this? I t

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Klaus Hartl
Klaus Hartl wrote: Let's not add classes only for that purpose. Maybe you can also try to workaround this limitation by selecting not by type but href attribute which is only allowed for links: $("a").not("#nav [EMAIL PROTECTED]") I'm sorry, that should have read: $("a").not( $("#nav [EMA

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

2007-07-25 Thread Klaus Hartl
andreas wrote: Are custom headers (x-*) supported in the current version of Jquery ? If not any quick workarounds ? Didn't have time to go over the posts in the group and i would appreciate answers/tips cause i need to deploy an app. based heavily on async calls and custom headers will be requ

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

2007-07-25 Thread Rob Desbois
Michael, Rob, I think you left out the return statement that you meant to put in. :-) Whoops, thanks! (Outstanding explanation, BTW!) And thanks again :-) took a while to put it into rambling words. Is there a decent article somewhere on docs.jquery.com or someone's blog which explains what

[jQuery] Re: Noob Question - .add() not working in IE?

2007-07-25 Thread John Resig
This is going to be an issue: .attr("style") == "display: none;" Up until just the other day, that wasn't working in IE (it's fixed now, and it will be in jQuery 1.1.4). In the meantime I recommend that you do: .is(":hidden") or: .css("display") == "none" --John On 7/24/07, webrocker <[EMAI

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

2007-07-25 Thread Aaron
Anyone have ideas on this one? I would greatly appreciate the help! :) On Jul 25, 10:03 am, Aaron <[EMAIL PROTECTED]> wrote: > ok so after looking in fire bug it says the error is in the > jquery.accordian.js > > and is > > jQuery(":first-child", this)[0] has no properties > Accordion(Object sho

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread John Resig
It has nothing to do with jQuery - unfortunately, Firebug is really... buggy. I find that if I leave it open for too long it'll simply start throwing these errors randomly, on any page. It's really unfortunate. I wouldn't worry about how you have things written. --John On 7/25/07, RwL <[EMAIL P

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Klaus Hartl
RwL wrote: You don't need to wrap the parameter to not in $(...). Maybe try: $("a").not("#nav a").click(function() { alert('...'); return false; }); You know, that's what I thought too, but the "not" selection didn't work at all until I wrapped my NOT selection with $() -- that is, #nav a was

[jQuery] Re: triggering a custom event is not working

2007-07-25 Thread Brandon Aaron
Hey Jeff, Sorry for the long delay in getting back to you on this. I just ran this code in Firebug on my blog and everything worked good. $('h1').bind('mouseover', function(e) { $(this).trigger('myEvent'); }).bind('myEvent', function(e) { console.log(e.type); }); Make sure you are using the lat

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Dan G. Switzer, II
>Am Mittwoch, 25. Juli 2007 schrieb Rob Desbois: >> Yes, sorry I didn't phrase my post very well: there is a URL for the >image, >> of course, but I was trying to emphasise that there isn't a URL to an >image >> cached on the server's filesystem to pass back, as I don't want to >> *permanently* ca

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

2007-07-25 Thread andreas
Are custom headers (x-*) supported in the current version of Jquery ? If not any quick workarounds ? Didn't have time to go over the posts in the group and i would appreciate answers/tips cause i need to deploy an app. based heavily on async calls and custom headers will be required in many occa

[jQuery] Re: Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Dan G. Switzer, II
>Dan, thanks for your suggestion too. > >What´s the plugin does is clear and reset the value of the elements. >So, clearDefaultValue or resetDefaultValue are good suggestions. What >do you think about? Well I'm still not in love with it, "resetDefaultValue" might be more clear--as the goal is to

[jQuery] Re: $(document).ready behavior when using $("#div").load

2007-07-25 Thread Dan G. Switzer, II
Your question is one that crops up frequently on this list. 1) The $(document).ready() only fires *once* per page load--and that's when the root document's DOM is ready. 2) The $.load() method loads a DOM fragment--not a complete document object. In a nutshell, this means your just added some ad

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

2007-07-25 Thread Mike Alsup
:-) Mike, I just reread your email and see that you pointed this out already! Sorry! Mike On 7/25/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > It would have been far better if "each" passed the DOM element as > an argument to the inner function, instead of using "this": It does pass the ele

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

2007-07-25 Thread Klaus Hartl
Michael Geary wrote: Rob, I think you left out the return statement that you meant to put in. :-) (Outstanding explanation, BTW!) For clarity, it could be: jQuery.fn.toggleVis = function() { this.each(function() { if (this.style.visibility == 'hidden') { this.sty

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Web Specialist
Thanks Tane. Yes, our ColdFusion application will serve us with visitor image captured from webcam and stored in application directory. After that I'll display in our application where users(application) will "crop" that visitor image. Mr Google help me and gives me this great great piece of code

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

2007-07-25 Thread Mike Alsup
It would have been far better if "each" passed the DOM element as an argument to the inner function, instead of using "this": It does pass the element, so if you prefer you could write code like: $('.stuff').each(function(index, element) { element.style.visibility = 'hidden'; }); Personal

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

2007-07-25 Thread Karl Swedberg
On Jul 25, 2007, at 12:26 PM, Rob Desbois wrote: I see now that an object in jQuery does not have a visibility directly, it needs a class assigned to it, so that is why example 2 doesn't work. Not entirely sure what you mean by this..? Well, the main point is that the jQuery object is not

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Tane Piper
There is no way AFAIK for JavaScript to capture a webcam stream, like Flash can capture the stream. But JavaScript can capture the image from an HTTP stream. I got this code from http://web.nickshanks.com/code/js/cams newImage = new Image(); function LoadNewImage() { var unique = new Date(

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

2007-07-25 Thread Michael Geary
Rob, I think you left out the return statement that you meant to put in. :-) (Outstanding explanation, BTW!) For clarity, it could be: jQuery.fn.toggleVis = function() { this.each(function() { if (this.style.visibility == 'hidden') { this.style.visibility = 'visibl

[jQuery] ANNOUNCE: Grid Column Sizing v.0.5 plugin released !

2007-07-25 Thread emelendez
This plugin, applied to a number of HTML tables, provides the behaviour of resizing their columns by dragging the mouse or double- clicking over a "handler hint". My first (serious) jQuery plugin (be benevolent!) check it out in: http://jquery.com/plugins/project/gridColumnSizing

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
> You don't need to wrap the parameter to not in $(...). Maybe try: > > $("a").not("#nav a").click(function() { alert('...'); return false; }); You know, that's what I thought too, but the "not" selection didn't work at all until I wrapped my NOT selection with $() -- that is, #nav a was still ge

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Jonathan Sharp
This could also be written as: $('a').click(function() { if ($(this).parents('#nav').size() == 0) { alert('...'); return false; } }); -js On 7/25/07, Erik Beeson <[EMAIL PROTECTED]> wrote: You don't need to wrap the parameter to not in $(...). Maybe try: $("a").not("#nav a

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Erik Beeson
You don't need to wrap the parameter to not in $(...). Maybe try: $("a").not("#nav a").click(function() { alert('...'); return false; }); --Erik On 7/25/07, RwL <[EMAIL PROTECTED]> wrote: Not sure if this is my code's problem or Firefox's... I don't seem to be throwing any JS errors in MSIE.

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
> Not sure if this is my code's problem or Firefox's... I don't seem to > be throwing any JS errors in MSIE. Here's what I'm doing: Turned on Safari's JS Console and no errors there either. Hmm.

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Klaus Hartl
Rob Desbois wrote: > I never noticed that they ever were browser-independent. I know, that's why I said 'that IE has supported for years' and why I can't use them. Despite the ways there are to do this such as these canvas projects or something big and bulky client-side (Java, Flash possibl

[jQuery] Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
Not sure if this is my code's problem or Firefox's... I don't seem to be throwing any JS errors in MSIE. Here's what I'm doing: $("a").not($("#nav a")).click(function() { alert('Sorry, links are disabled in this demo except those under Profile Navigation.'); return false; }); The selectors seem

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

2007-07-25 Thread Rob Desbois
Unfortunately my code does work J. Must be a miracle? The one where you used 'this' instead of 'cheshireCat' didn't work - that was the one I was referring to. My last post clears that up a bit more understandably I hope. I just got my copy of Learning jQuery and it's a very good book (took 1

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Charles Capps
Web Specialist wrote: > jQuery haves plugins available for web images capture? I'm developing a > ColdFusion application to store visitors personal data including your > photo. What I'm looking for: > > - webcam captures visitor photo via iframe(or another solution) in our > form application; > -

[jQuery] Re: 3 state buttons - is there a best way

2007-07-25 Thread Mitchell Waite
I think this is a good topic, but agree it's off the center. I am intimately family with the stretchable button approach. Almost all web designers who make button understand its limits and where it works well. It has its place and We use it to the extreme at http://identify.whatbird.co

[jQuery] Superfish with interface plugin ...

2007-07-25 Thread TiGeRWooD
Hi, I tried to used superfish, but i have a bug in IE7 (not tried in ie6), superfish doesn't work well if the interface plugin is loaded ... the first submenu are visible but the sub sub menu don't ... If anyone have ideas ... you 're welcome :) Thanks in advance.

  1   2   >