Re: [jQuery] jQuery + Atlas (ASP.NET AJAX) or $ conflict

2006-10-05 Thread Kurt Mackey
To be fair to your developers, Atlas makes lots of stuff ridiculously easy with ASP.NET. If I weren't such an uptight code freak, I'd probably use it on my own projects. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Boermans Sent: Thursday, Oc

Re: [jQuery] jQuery + Atlas (ASP.NET AJAX) or $ conflict

2006-10-05 Thread Oliver Boermans
Thanks Kurt: very useful. Renaming $ and replacing it in my jQuery script worked nicely. Dave: At a glance it seems the use of $ in Atlas is pretty much the same as Prototype . So the first part of the PrototypeAndJQuery page is relevant here. Alth

[jQuery] $.fn.height in dimensions.js

2006-10-05 Thread Pascal
I added the dimensions.js plugin to a project I'm working on (mostly to get access to the offset component that was added recently) and I noticed that it steps on jquery's builtin height() function which can be used to get or set the height value. is there a reason for this? i commented out

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread John Resig
Tony - It's not, necessarily, implied that this plugin will return valid XML for an entire XML Document - instead, it's returning valid XML for an XML Document Fragment - which is perfectly "ok". I mean, you can't expect $([ item1, item2 ]).toXML() to give you a valid XML document - and forcefull

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Antonio Collins
I'm sorry but I don't agree with this plugin's name or usage. It simply appends multiple valid xml together so the result could be invalid xml and include multiple root elements. In my opinion, the result of any method named .toXML() should be valid xml and the following tests should result in va

Re: [jQuery] Highlight fade plugin bug

2006-10-05 Thread Rafael Santos
nice one man...Thanks a lot2006/10/5, Blair Mitchelmore <[EMAIL PROTECTED]>: OK, I uploaded a new packed version and just in case it mattered, yourhighlightFade code could be made prettier by setting some useful defaultvalues:$.highlightFade.defaults['speed'] = 1000;$.highlightFade.defaults['iterat

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Karl Swedberg
On Oct 5, 2006, at 7:14 PM, John Resig wrote: > On 10/5/06, Fil <[EMAIL PROTECTED]> wrote: John Resig himself: http://jquery.com/discuss/2006-August/010451/ >>> >>> Ah, yes. Don't know how I missed that. >> >> I guess almost everyone is overwhelmed by this mailing-list :( >> >>> Would be

Re: [jQuery] Highlight fade plugin bug

2006-10-05 Thread Blair Mitchelmore
OK, I uploaded a new packed version and just in case it mattered, your highlightFade code could be made prettier by setting some useful default values: $.highlightFade.defaults['speed'] = 1000; $.highlightFade.defaults['iterator'] = 'exponential'; $('td.link1').click(function() { $(this).highlig

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread John Resig
On 10/5/06, Fil <[EMAIL PROTECTED]> wrote: > > > John Resig himself: > > > http://jquery.com/discuss/2006-August/010451/ > > > > Ah, yes. Don't know how I missed that. > > I guess almost everyone is overwhelmed by this mailing-list :( > > > Would be great to see that added to core. John, is that st

Re: [jQuery] ScrollTo Functionality

2006-10-05 Thread Ⓙⓐⓚⓔ
I looked at that page... wouldn't it be cooler to just say and have it scroll to ? and let JQ do it all behind the scenes? Is there a more experienced JQ person out there to tackle this? On 10/5/06, dizzledorf <[EMAIL PROTECTED]> wrote: > > Interface is the way to go: > http://interface.eyeco

Re: [jQuery] ScrollTo Functionality

2006-10-05 Thread dizzledorf
Interface is the way to go: http://interface.eyecon.ro/download Demo: http://interface.eyecon.ro/demos/ifxscrollto.html --DIZZLE Junior wrote: > > I am wanting to add the ScrollTo functionality in JQuery that produces an > animated back to top of page. What is the best plugin to use for this

Re: [jQuery] Autocomplete Plugin: iframe visible in IE6.

2006-10-05 Thread Jason Huck
FWIW, I killed the parts of the CSS that were hacks for IE5 support (we haven't supported IE5 in a while), and it seems to be fine now. - jason Dylan Verheul wrote: > > I've had the same experience writing it. > You can set the width of the iframe to the width of the autocomplete > results,

Re: [jQuery] Highlight fade plugin bug

2006-10-05 Thread Blair Mitchelmore
OK, in what can officially be called the stupidest mistake ever, my regex tested for #FFF before #FF so all 6 char colour strings got caught and made into a 3 char so your F0F0F0 became F0F and therefore purple... I've fixed the code in the unpacked version at http://jquery.offput.ca/js/jqu

Re: [jQuery] Bug?

2006-10-05 Thread Klaus Hartl
> I propose that instead of prepending to the body, the node should be > prepended to its parent. > > Like this: (or something like this) > e = $(e.cloneNode(true)).css({ > visibility: "hidden", position: "absolute", display: "block" > }).prependTo($(e).parent())[0]; > > Am I full of it? I

Re: [jQuery] Highlight fade plugin bug

2006-10-05 Thread Rafael Santos
Yeah, it works on IE, but i didnt mention the real bug. This purple color is not defined.. lol2006/10/5, Blair Mitchelmore <[EMAIL PROTECTED] >:That's pretty weird, the page works in firefox but not IE. I'll have toinvestigate in a bit; at the moment I've got a large scale software engineering assi

[jQuery] Bug?

2006-10-05 Thread Geoff Knutzen
I am using rev: 249 Around line 363 is a function css: function(e,p) { in the middle of that function is a section like this } else { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0];

[jQuery] load() and the params parameter

2006-10-05 Thread Brendan O'Brien
I am using the load() method and passing parameters and a callback function.  However, if I pass null, undefined, or even an empty object to the params parameter, the server returns the HTML status code 412.  Is it not possible to pass something empty for this parameter?  I'm getting the value from

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Yehuda Katz
It does put the value back into the input (if you look at the screen, you'll see the input being updated).My goal is to develop a bunch of webforms2-type widget that use the webform2 standard. John suggested this a while back, but I haven't had a need for it until now. Obviously, the main problem

Re: [jQuery] Highlight fade plugin bug

2006-10-05 Thread Blair Mitchelmore
That's pretty weird, the page works in firefox but not IE. I'll have to investigate in a bit; at the moment I've got a large scale software engineering assignment due... -blair Rafael Santos wrote: > hey, have you faced this bug? > > http://blocparty.com.br/js/teste2.html > > Should that happen

Re: [jQuery] question on how not() works

2006-10-05 Thread Jacky
Thank you for your help~~ And yes, I'm going to match a set of checkboxes with same id prefix. (some multiple editable row control) On 10/5/06, John Resig <[EMAIL PROTECTED]> wrote: > > I tried to assign an id 'checkbox' to the checkbox in the example. > > Using not('[EMAIL PROTECTED]') result in

Re: [jQuery] Using $ to insert HTML into the page

2006-10-05 Thread Scott Sharkey
Jörn Zaefferer wrote: > Matthew Pennell schrieb: >> Apologies if this has been raised before - I searched but couldn't >> find anything. >> >> In the documentation (visualjquery.com >> version), it says that the $ function, when passed some HTML as a >> string, will "cr

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Yehuda Katz
You could always use the new DTD... if it exists yet.-- YehudaOn 10/5/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED] > wrote:hmm webforms2... perhaps also implement something likefor the validating folks among us. You can always deprecate it in the future. Your sliders are very usable!!On 10/5/06, Yehuda Katz <[EMAIL

Re: [jQuery] JQuery Forge

2006-10-05 Thread Jörn Zaefferer
Mike Hostetler schrieb: > Very cool requirements. I am more then happy to take the lead on this > and even sponsor the hosting on my servers, or work on others servers. You might want to keep them in mind and discuss the rest with John :-) -- Jörn ___

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread John Resig
> > As a rule I live by the KISS principle, and never optimise code unless > > it becomes a bottleneck, and then only do so under profiling conditions. > > Well, KISS is an optimization strategy :-) Most of the time code is fast when > it is simple, but "most of the time" is not "always". When wri

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread George Adamson
> I like the lateral thinking with the mad class names. Useful idea for custom properties. -- View this message in context: http://www.nabble.com/Slider-plugin-%28pre-alpha%29%3A-HELP-NEEDED-tf2389171.html#a6665229 Sent from the JQuery mailing list archive at Nabble.com. __

Re: [jQuery] Plugin Update: numeric

2006-10-05 Thread Rafael Santos
Sam, doesn't it should accept Paste cmd?2006/10/5, Jörn Zaefferer <[EMAIL PROTECTED]>: Sam Collett schrieb:> Demo, code:> http://www.texotela.co.uk/code/jquery/numeric/>> The plugin found at http://sam.collett.googlepages.com/numeric.html is> the old version and will no longer be updated (the same

Re: [jQuery] POSSIBLE bug: slideUp / slideDown and nested divs

2006-10-05 Thread Geoff Knutzen
I just hit this problem myself. I have done a bit of investigation, and I have a different solution and may have uncovered a bug. I am working with rev. 249 Bug first... Somewhere around line 1313 is setAuto: function(e,p) in the middle of this function is a check if ( p

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Jörn Zaefferer
Yehuda Katz schrieb: > I've developed (or partially developed) a new plugin that implements > webform2's slider. Specifically, you can do stuff like type="range" step="1" min="1" max="10" value="1" id="a" /> and jQuery > will automatically convert it into a stylable range widget. Does the slider

[jQuery] Highlight fade plugin bug

2006-10-05 Thread Rafael Santos
hey, have you faced this bug?http://blocparty.com.br/js/teste2.htmlShould that happen? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] JQuery Forge

2006-10-05 Thread Mike Hostetler
Jörn- Very cool requirements.  I am more then happy to take the lead on this and even sponsor the hosting on my servers, or work on others servers.  MikeOn 10/5/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Hi Mike!> A thread a while back mentioned a jQuery Forge website.  I have built> a forge ty

Re: [jQuery] Plugin Update: numeric

2006-10-05 Thread Jörn Zaefferer
Sam Collett schrieb: > Demo, code: > http://www.texotela.co.uk/code/jquery/numeric/ > > The plugin found at http://sam.collett.googlepages.com/numeric.html is > the old version and will no longer be updated (the same is true of all > my plugins on Google Pages). > I updated the URL on the plugin

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Fil
> > John Resig himself: > > http://jquery.com/discuss/2006-August/010451/ > > Ah, yes. Don't know how I missed that. I guess almost everyone is overwhelmed by this mailing-list :( > Would be great to see that added to core. John, is that still in the > works? Any ETA? I can't answer this, how

Re: [jQuery] Using $ to insert HTML into the page

2006-10-05 Thread Jörn Zaefferer
Matthew Pennell schrieb: > Apologies if this has been raised before - I searched but couldn't > find anything. > > In the documentation (visualjquery.com > version), it says that the $ function, when passed some HTML as a > string, will "create the DOM elements represen

Re: [jQuery] JQuery Forge

2006-10-05 Thread Jörn Zaefferer
Hi Mike! > A thread a while back mentioned a jQuery Forge website. I have built > a forge type website with Drupal for another open source project I'm > involved with called Qcodo. That website is at > http://qforge.qcodo.com . > > I wanted to bring the issue back up

Re: [jQuery] check all functions

2006-10-05 Thread Sam Collett
On 05/10/06, Charles Peterson <[EMAIL PROTECTED]> wrote: > Note sure where to post this so heres some code. > This allows you to have a set of "check all" check boxes that check > another set of check boxes. > > Example > $.checkallCheckboxClickEvent('.MyCheckAllClass','.CheckTheseClass'); > > > >

Re: [jQuery] .css ('display') in IE6

2006-10-05 Thread Charles Peterson
This needs reworked for jQuery but you should get the idea. Maybe this needs worked in to the css code? Also, the list says my email needs approved, how do I fix that? function toggleClass(name) { var elements = getElementsByClass(name); elem_len = elements.length; for(i = 0; i < elem

[jQuery] Using $ to insert HTML into the page

2006-10-05 Thread Matthew Pennell
Apologies if this has been raised before - I searched but couldn't find anything.In the documentation (visualjquery.com version), it says that the $ function, when passed some HTML as a string, will "create the DOM elements representing that HTML string, on the fly". Looking at the code though (the

[jQuery] check all functions

2006-10-05 Thread Charles Peterson
Note sure where to post this so heres some code. This allows you to have a set of "check all" check boxes that check another set of check boxes. Example $.checkallCheckboxClickEvent('.MyCheckAllClass','.CheckTheseClass'); /** // modified from check function() @ http://jquery.

[jQuery] jQuery Map solution

2006-10-05 Thread alfdesign.sk
Hi, I want to know, if anyone have any interactive map solution in jQuery, like this at http://www.alistapart.com/articles/cssmaps -- View this message in context: http://www.nabble.com/jQuery-Map-solution-tf2388045.html#a6657345 Sent from the JQuery mailing list archive at Nabble.com.

Re: [jQuery] JQuery Forge

2006-10-05 Thread John Resig
Mike - That's exactly the plan that I have. I'm going to contact you off-list and we can work this out. --John On 10/5/06, Mike Hostetler <[EMAIL PROTECTED]> wrote: > A thread a while back mentioned a jQuery Forge website. I have built a > forge type website with Drupal for another open source

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Ⓙⓐⓚⓔ
hmm webforms2... perhaps also implement something like for the validating folks among us. You can always deprecate it in the future. Your sliders are very usable!! On 10/5/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > Regarding the validation: > > I designed this around the *new* as-yet-unim

Re: [jQuery] JQuery Forge

2006-10-05 Thread Larry Garfield
I seem to recall John saying he was already planning to do exactly that. Although if you wanted to volunteer to do it for him, that would give him more time to work on jQuery itself. ;-) -- Larry Garfield On Thu, October 5, 2006 11:02 am, Mike Hostetler said: > A thread a while back mentioned a

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Dave Methvin
> Regarding the validation: > > I designed this around the *new* as-yet-unimplemented spec for > WebForms2. I'm doing this on purpose *knowing* it won't validate > as present. It's a tradeoff I'm willing to make (since it's not like I'm > making up my own spec). I understand your goal,

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Karl Swedberg
On Oct 5, 2006, at 11:10 AM, Fil wrote: >> I know this was brought up before in another thread, but I don't >> think anyone satisfactorily answered it. Is there a way to find >> multiple tags for a given to slideUp/slideDown? >> .../... >> Anyone else have any ideas on this? > > John Resig hims

Re: [jQuery] Selected value in dropdownlist

2006-10-05 Thread Harlley Roberto
It works! Thanks a lot :-)On 10/5/06, Sam Collett <[EMAIL PROTECTED]> wrote: On 05/10/06, Harlley Roberto <[EMAIL PROTECTED]> wrote:> Hi folks,>> How can I get selected value in dropdownlist?>> That code does not work. Why ? >> $(document).ready(function()> {> var test;> test = document.get

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Yehuda Katz
Regarding the validation:I designed this around the *new* as-yet-unimplemented spec for WebForms2. I'm doing this on purpose *knowing* it won't validate as present. It's a tradeoff I'm willing to make (since it's not like I'm making up my own spec). -- YehudaOn 10/5/06, Dave Methvin <[EMAIL PROTECT

[jQuery] JQuery Forge

2006-10-05 Thread Mike Hostetler
A thread a while back mentioned a jQuery Forge website.  I have built a forge type website with Drupal for another open source project I'm involved with called Qcodo.  That website is at http://qforge.qcodo.com .  I wanted to bring the issue back up because I still see people asking about it.  If t

Re: [jQuery] IE fadeTo won't work?

2006-10-05 Thread Brandon Aaron
See if this patch helps you: http://jquery.com/dev/bugs/bug/204/ -- Brandon Aaron On 10/5/06, Onno Timmerman <[EMAIL PROTECTED]> wrote: > $("li.menu").hover(function(){ > $(this).find("ul").fadeTo("medium", 0.92); > }, > function(){$(this).find("ul").fadeTo("medium", 0

Re: [jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154

2006-10-05 Thread Rey Bango
Yep, I started using JQuery in early September. Sam Collett wrote: > I remember posting about that before: > http://jquery.com/discuss/2006-August/010360/ > > But perhaps some have missed it (discovered jQuery after the post). > This months issue also has another article on jQuery to do with > acc

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Dave Methvin
> I've developed (or partially developed) a new plugin that implements > webform2's slider. Specifically, you can do stuff like > > and jQuery will automatically convert it into a stylable range widget. That won't validate for HTML4 or XHTML; "range" isn't a legal value for the type att

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Yehuda Katz
One of my goals was to hide EVERYTHING from the user. In the implementation I used, if you set an id on the input range element, you can actually set the width on it, and the range will scale accordingly. It wasn't trivial, but I think I struck a good balance between customizability and hiding the

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Steve Ivy
Looks pretty good, Jörn. One thing I'd add somewhere in there is, after expanding a section, set it's height to "". This was discussed on the list a while back, and is necessary so the section will expand to contain any dynamically added content. --Steve [EMAIL PROTECTED] | irc: monkinetic|redmon

Re: [jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread George Adamson
Very nice. That'll be useful. I attempted the same thing not long ago but got distracted onto other things. http://www.softwareunity.com/sandbox/JQuerySlider/ (best in IE). Thought it may be helpful to share some discoveries... By using css alone I found there was no need to wrap the slider in

Re: [jQuery] Selected value in dropdownlist

2006-10-05 Thread Sam Collett
On 05/10/06, Harlley Roberto <[EMAIL PROTECTED]> wrote: > Hi folks, > > How can I get selected value in dropdownlist? > > That code does not work. Why ? > > $(document).ready(function() > { > var test; > test = document.getElementById("ddlCourse").value; > $("#ddlCourse").change( functi

Re: [jQuery] Selected value in dropdownlist

2006-10-05 Thread Stephen Howard
if ddlCourse is the select box, you can simplify your code to this, but I'm not sure why it isn't working: $(function() { $('#ddlCourse").change( function() { $('#class').load( 'filter_report.asp', { ajax: 1, cod_course: this.value } ); }); }); Have you tried doing an aler

[jQuery] IE fadeTo won't work?

2006-10-05 Thread Onno Timmerman
$("li.menu").hover(function(){ $(this).find("ul").fadeTo("medium", 0.92); }, function(){$(this).find("ul").fadeTo("medium", 0);} ); This does work in Firefox but not in IE. 1. the fade won't work. 2. the hover over starts. But when the mouse goes out of the box

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Fil
> I know this was brought up before in another thread, but I don't > think anyone satisfactorily answered it. Is there a way to find > multiple tags for a given to slideUp/slideDown? > .../... > Anyone else have any ideas on this? John Resig himself: http://jquery.com/discuss/2006-August/01

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Karl Swedberg
On Oct 5, 2006, at 4:43 AM, Klaus Hartl wrote: > Interesting! Did you know I wrote an accordion plugin as well, > together > with Gilles, a while ago? > > It's based on a definition list, so it's a little more semantic: > > http://stilbuero.de/jquery/accordion/ Hi Klaus, I like the semantic asp

[jQuery] Slider plugin (pre-alpha): HELP NEEDED

2006-10-05 Thread Yehuda Katz
I've developed (or partially developed) a new plugin that implements webform2's slider. Specifically, you can do stuff like and jQuery will automatically convert it into a stylable range widget.It uses jQuery and Interface, but there are three problems:1) There is a rounding error of some sort, s

[jQuery] Selected value in dropdownlist

2006-10-05 Thread Harlley Roberto
Hi folks,How can I get selected value in dropdownlist?That code does not work. Why ?$(document).ready(function(){    var test;     test = document.getElementById("ddlCourse").value;     $("#ddlCourse").change( function() { $('#class').load('filter_report.asp', {ajax:'1', cod_course: test }); } );})

Re: [jQuery] unhover and untoggle

2006-10-05 Thread Brandon Aaron
On 10/4/06, Blair Mitchelmore <[EMAIL PROTECTED]> wrote: > Well, while I might not need untoggle and unhover, I definitely enjoy a > challenge! I've been thinking about a reliable way to allow multiple > hover/toggles and to be able to remove them independently... I'll let > you know if I get anywh

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Christof Donat
Hi, > The thing is, the main use case for a toXML() call is to send > XML data via an ajax request. Well, I could imagine that there may be other usecases as well, like doing search and replace operations on the string representation of a XML which is reparsed afterwards. It was just a joke, bu

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Mark Gibson
Christof Donat wrote: > Simulate XMLSerializer globally and use it always - change the serialization > function on first call to distinguish between IE and others. [snip] > I admit, that the two suggestions might not be to easy to understand. I like > to play with functions as values :-) > > At

Re: [jQuery] New Plugin: mousewheel

2006-10-05 Thread Brandon Aaron
Thanks Mathias! I've gone ahead and fixed it in SVN but haven't updated the example/test yet. http://svn.brandonaaron.net/svn/jquery_plugins/mousewheel.js -- Brandon Aaron On 10/5/06, Mathias Bank <[EMAIL PROTECTED]> wrote: > I think, there is a little bug in your plugin. If you use $(this) in >

[jQuery] How can one add httpheaders or cookies to $.ajax() request?

2006-10-05 Thread George Adamson
What is the best way to add a custom httpheader and/or cookie info to a $.ajax() request? Many thanks, George PS: The http://jquery.com/api/ doc for ajax() differs slightly from the $.ajax() functionlality in the current jquery release. -- View this message in context: http://www.nabble.com/

Re: [jQuery] Unwanted side effects when jQuery object is empty?

2006-10-05 Thread Alan Williams
Dave Yes, this answer occurred to me while I was eating lunch. Oh well, I guess it's a rite of passage to ask your first dumb question. Thanks for your time and help. jQuery looks really very nice indeed. Alan -Original Message- From: Dave Methvin [mailto:[EMAIL PROTECTED] Sent: 05 Oc

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Christof Donat
Hi, > I've submitted the XML serializer plugin to the wiki: > > http://jquery.com/docs/Plugins/toXML/ Since Trac doesn't have a possibility to discuss such things before editing the Webpage I'd like to post two other Variants here for discussion: Simulate XMLSerializer globally and use it alway

Re: [jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154

2006-10-05 Thread digital spaghetti
Hey Rik, I used that article to great effect with my new Wordpress theme (you can see it in action at http://www.digitalspaghetti.me.uk) Thanks for a great article! Tane On 10/5/06, Rik Lomas <[EMAIL PROTECTED]> wrote: > Hi guys, > > It was me who wrote that article - the magazine is actually c

Re: [jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154

2006-10-05 Thread Rik Lomas
Hi guys, It was me who wrote that article - the magazine is actually called .net in the UK [http://www.netmag.co.uk/], but they change the title for the US for conflict reasons (or something like that). In fact, issue 155 (out now in the UK) has another jQuery article, on improving accessibility

[jQuery] Plugin Update: numeric

2006-10-05 Thread Sam Collett
I have updated my plugin for only allowing numbers to be typed into input boxes. It now works with textareas (possibly of use if you need to enter a very large number). You can also prevent pasting (so people don't paste in non-numeric values), while still allowing copying and cutting. Works in IE

Re: [jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Mathias Bank
Oh, that's interesting. Perhaps this page will help you: http://simon-kuehn.de/projekte_innerdom.html (via http://www.strohhalm.org/forum/index.php?action=viewTopic&topic=1516) Mathias 2006/10/5, Mark Gibson <[EMAIL PROTECTED]>: > Hi, > I've submitted the XML serializer plugin to the wiki: > > h

[jQuery] New plugin: toXML (XML serializer)

2006-10-05 Thread Mark Gibson
Hi, I've submitted the XML serializer plugin to the wiki: http://jquery.com/docs/Plugins/toXML/ - Mark Gibson ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Unwanted side effects when jQuery object is empty?

2006-10-05 Thread Dave Methvin
> $(".rounded").removeClass("rounded").wrap(env("div", "test", {"class":"rounded"})); > I found that the function was being called once > even though no html was generated. The jQuery object doesn't have any elements, but by the time the wrap method executes it has already evaluated its argum

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Klaus Hartl
Sam Collett schrieb: > In IE: > e.keyCode returns the same as e.charCode in Firefox > The keys keyCode detects in Firefox are not detected at all in IE (so > you cannot prevent copy/paste in text boxes for example) Sam, if you need that, maybe you can use oncopy/onbeforecopy in IE for that...

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
> ...and e.ctrlKey (true) and e.charCode (65, uppercase 'a'). Referring to Opera in this situation ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
On 05/10/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0; > > Thats looks like something that could be normalized by jQuery. > > -- Jörn That may be a good idea - as long as you don't change the existing items (charCode, key

[jQuery] Unwanted side effects when jQuery object is empty?

2006-10-05 Thread Alan Williams
Title: Unwanted side effects when jQuery object is empty? I'm a very green jQuery user, so apologies if I've missed something obvious … I have a line of code that reads     $(".rounded").removeClass("rounded").wrap(env("div", "test", {"class":"rounded"})); env() is a function that

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Jörn Zaefferer
> var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0; Thats looks like something that could be normalized by jQuery. -- Jörn -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
On 05/10/06, Rich Manalang <[EMAIL PROTECTED]> wrote: > What's the best way to capture modifier key events with Jquery (i.e., > <1>)? > > Rich This is what I do (in my numeric plugin) $("#myinput").keypress( function(e) { var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode :

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Alex Brem
Jörn Zaefferer wrote: > Hi folks, > > instead of pointing Frank what he could change on his code, I gave it > a try for myself. You can see the result, yet badly documented, here: > http://www.joern.jquery.com/accordion/accordion.html > > The behaviour should be exactly the same as the original.

Re: [jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154

2006-10-05 Thread Sam Collett
On 04/10/06, Rey Bango <[EMAIL PROTECTED]> wrote: > Not sure if any of you read Web Builder magazine. Its a UK-based > magazine published by the same guys that publish .net magazine. > > In the September 2006 (#154) magazine, they published are article on > creating lightboxes and have a VERY lengt

Re: [jQuery] fadeIn and fieldsets (pixel shifting bug)

2006-10-05 Thread Sam Collett
On 05/10/06, Giuliano Marcangelo <[EMAIL PROTECTED]> wrote: > Sam, > > try setting some padding to your fieldset. > > I tested with the following :- > > fieldset {padding:10px;} > > ...and the movement stops > I have added padding, but it still happens. Try different zoom levels an

Re: [jQuery] .css ('display') in IE6

2006-10-05 Thread Klaus Hartl
Donny Kurnia schrieb: > Another problem found in IE6. > I tried to display and hide two rows in a table using method .css: > > $("#waktu_mulai").css("display", "table-row"); > $("#waktu_selesai").css("display", "table-row"); > > in Firefox, it run well, but in IE6, the rows didn't show.

[jQuery] Interface FX / position: fixed

2006-10-05 Thread Vaska
(I posted this question yesterday but I somehow forgot to put an appropriate title...so, I'm posting this again): Bonjour: Has anybody successfully used 'position: fixed;' with Interface FX? http://interface.eyecon.ro/demos/ifxslide.html In particular, the 'slide toggle down' function. I'm u

[jQuery] .css ('display') in IE6

2006-10-05 Thread Donny Kurnia
Another problem found in IE6. I tried to display and hide two rows in a table using method .css: $("#waktu_mulai").css("display", "table-row"); $("#waktu_selesai").css("display", "table-row"); in Firefox, it run well, but in IE6, the rows didn't show. Before I use jQuery, I'm using this

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Klaus Hartl
Jörn Zaefferer schrieb: > Hi folks, > > instead of pointing Frank what he could change on his code, I gave it a try > for myself. You can see the result, yet badly documented, here: > http://www.joern.jquery.com/accordion/accordion.html > > The behaviour should be exactly the same as the origi

Re: [jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Fil
> The behaviour should be exactly the same as the original. It sure works fine in Safari > Is this worthy to put it in the jQuery plugin repository? I have a question about this: is there (any plans to) an open SVN repository for jQuery plugins? I'd hate to pollute the main development repo with

[jQuery] Plugin Rewrite: Accordion

2006-10-05 Thread Jörn Zaefferer
Hi folks, instead of pointing Frank what he could change on his code, I gave it a try for myself. You can see the result, yet badly documented, here: http://www.joern.jquery.com/accordion/accordion.html The behaviour should be exactly the same as the original. Is this worthy to put it in the j

Re: [jQuery] New Plugin: mousewheel

2006-10-05 Thread Mathias Bank
I think, there is a little bug in your plugin. If you use $(this) in the event function, your are pointing (in firefox) to the window instead to the element. Here is my code (firebug is your fried :): $('.leaf').mousewheel(function(event, delta){ if (delta > 0) { console.info("Up"); con

Re: [jQuery] Chainable if/else - hot or not?

2006-10-05 Thread Christof Donat
Hi, > Just putting in my vote for John's method. To me it makes sense, and would > mean I wouldn't have to keep track of numerous ".end()"s You wouldn't nedd that with my aproach as well. Actually you could easily tell if you need to call end() - simply by looking at the function name. With Jho