[jQuery] unsibscribe without google account

2009-09-17 Thread Christof Donat
Hi, I'm trying to unsubscribe from this mailinglist and from the developer mailinglist. It seems, that I need a google account for that. Actually I wasn't planing to create a new account just to unsubscribe from two mailinglists. Is there another way? Christof

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-07 Thread Christof Donat
Hi, > $('#toto_contaner').children(); That only works, if all .toto elements are direct children of #toto_contaner and there are no other elements in #toto_contaner. In case only the second assumption does not hold, I guess $('#toto_contaner > div.toto').hide() is the fastest solution. If th

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-05 Thread Christof Donat
Hi, > although i couldn't see one or the other or even the other being much > faster considering that the selector would have to go through all the > elements to see if *any* element on the page either (1) has the > specified class or (2) has the specified id There is document.getElementById() w

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-05 Thread Christof Donat
Hi, > And try something like: > > var toto = []; > $('.toto').each(function(){ > var elem = $(this); > toto[elem.attr('ref')] = elem; > } > > Then, to hide the "toto" div with ref="1" or ref="2", just call: > > toto[1].hide(); toto[2].hide(); Why not use this: var toto = $('.toto'); tot

[jQuery] Re: Norton thinks jQuery is a virus?

2008-12-10 Thread Christof Donat
Hi, > Anyone got any ideas? This is now happening to one of our guys on any > site he visits that is using jQuery. Even interface.js got blocked at > one point.. > > > Risk name: HTTP Acrobat PDF file suspicious download > > File: jquery.js Are you shure, your Server does not deliver .js Fil

[jQuery] Re: Exists

2008-10-28 Thread Christof Donat
Hi, > if(!$('label[for="Subject",class="Error"]').length) Have you tried $('label[for="Subject"].Error'? Christof

[jQuery] Re: How to clone jQuery object?

2008-05-25 Thread Christof Donat
Hi, > > Is it absolutelly necessary, that $D has all the other jQuery > > functionality? If not just hav the code you need in $D. > >Not necessary, but I want to have them chained with jQuery object > [...] > > Is it absolutelly necessary, that the functions have the name click() and > > hove

[jQuery] Re: How to clone jQuery object?

2008-05-25 Thread Christof Donat
Hi, > > I meant to ask... What is the actual goal here? Can you give a little > > background? Maybe there is another way to accomplish what you want to do > > that doesn't rely on cloning the jQuery constructor. > > I want to have both $ and $D; but in $D, I want to override some > functions

[jQuery] Re: jQuery for loop - am I crazy?

2008-04-24 Thread Christof Donat
Hi, > function initDashboard(){ > $(document).ready(function(){ > if($(".adminMsgSummary").length > 0){ > var theCount = $(".adminMsgSummary dl").length-1; > for(z=1;z<=theCount;z++){ > var theDl = $(".a

[jQuery] Re: deferring script loading

2008-04-20 Thread Christof Donat
Hi, > Thanks, it seems to have worked:-) > I suppose it doesn't harm to set the time interval to a value greater > than 10, right? Of course not. That just increases the time between the moment, jQuery is available and the moment your code is evaluated. It should still work of course. Christo

[jQuery] Re: deferring script loading

2008-04-19 Thread Christof Donat
Hi, > Is it possible, somehow, to defer the execution of the first script to > after the loading of jquery? Alternatively would it be possible to > anticipate the loading of jquery without placing it before the failing > script? > > Any help would be very appreciated. You could try something lik

[jQuery] Re: dynamically loading javascript files (getScript() behavior)

2008-03-29 Thread Christof Donat
Hi, > Still, I've been using another approach that seems to work fine (at > least) in FF and IE. Insted of getting the file and evaluating it, I > just add a new SCRIPT element to the HEAD of the document with the > specified URL. There are Safari Versions that don't load scripts that way. For n

[jQuery] Re: jQuery.Plugin, first release.

2008-03-06 Thread Christof Donat
Hi, > Now, jQuery is not structured in packages, it's a core. You could > consider the plugins as package, but there's no jQuery module to load > them orderly (that I know of). That was one of the reasons I wrote jsPax. I chose not to use jQuery in jsPax, because I still have some applications

[jQuery] Re: jQuery.Plugin, first release.

2008-03-06 Thread Christof Donat
Hi, > 1- First of all, do you frequently use jspax for your jQuery plugins ? > no one said this plugin is the first of its kind. Yes I do. I have recieved reports from developers that have poblems with jsPax and IE, but none of their testcases did show their problems for me. For my part I neve

[jQuery] Re: jQuery.Plugin, first release.

2008-03-05 Thread Christof Donat
Hi, > what if you comment out your script tags ? i'm probably pulling hairs here. Then you don't have the script tags in the DOM. You would need to write your own parser then to parse the content of the coments - not a too simple task. Of course you also can not use the existing jQuery functio

[jQuery] Re: jQuery.Plugin, first release.

2008-03-05 Thread Christof Donat
Hi, > i have no idea whether this is feasible or not, i'm just a UI designer No, it isn't. The browser doesn't know what you mean by class="lazy". As soon as the browser reads a script tag it will begin to load the script, no matter what classname you gave it. There is no way to stop him. Chr

[jQuery] Re: jQuery.Plugin, first release.

2008-03-05 Thread Christof Donat
Hi, >First release of jQuery.Plugin, that's the name, it is used to lazy > load plugins. The file is only fetched with the first call to the > plugin. 1. Why not use existing and tested code like e.g. jsPax (jspax.org) or jsan? 2. Can your code resolve dependencies? 3. Does it work with Brow

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Christof Donat
Hi, > I'm trying to load JS files (libraries) dynamically at run-time with > jQuery but I'm not being able to... I thought I had this working > before but now it's not. Here's my code: Which Browser are you testing with? Generally there are two possibilities to load Scripts dynamically: 1. add

[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite

2008-01-03 Thread Christof Donat
Hi, > What debug tools do you all use? [...] How about tools for IE? > Is there anything you'd reccomend? alert() Christof

[jQuery] Re: Performance of jquery

2007-12-11 Thread Christof Donat
Hi, > IE7 > Prototype: 2199 ms > Mootools: 1546 ms > jQuery: 1336 ms > > FF2 > Prototype: 326 ms > Mootools: 390 ms > jQuery: 1092 ms > > SAFARI3 > Prototype: 896 ms > Mootools: 279 ms > jQuery: 452 ms To complete the values: Konqueror Prototype: only Errors Mootools: only Errors jQuery: 699 ms

[jQuery] Re: ui slider plugin

2007-09-28 Thread Christof Donat
Hi, > Please ask on the dedicated jQuery UI list: Uh, not another mailinglist. I can not read all that. BTW. I have found a solution. The point was, that I had to use position:abslute for all elements. Seems like slider does expect that to work correctly. Another Problem someone else might r

[jQuery] Re: Enterprise Javascript?

2007-09-28 Thread Christof Donat
Hi, > after giving a cursory look at XUL here are some > of the things AIR does that XUL doesn't: > > * Built in support for Flex/Flash (Layout/Logic + Fancy Animation/Video) Of course you can use any Firefox Plugin - including the flash Player, Quicktime, Adobe Reader, etc. IIRC there is even

[jQuery] Re: uhhh.......WAT?

2007-09-28 Thread Christof Donat
Hi, > This ass/troll/clueless individual thanks you for making this group > forum now begin to sound like every other developer's resource on the > web: well-intentioned but ultimately crippled by the bratty missives > of a few self-important detractors. I don't whant to sound like i'd support R

[jQuery] Re: uhhh.......WAT?

2007-09-28 Thread Christof Donat
Hi, > So, if I understand this, clicking on the "jQuery" link above > should...uhh, pop an alert right? No. A click on any -tag on your page will pop the alert. Christof

[jQuery] Re: Enterprise Javascript?

2007-09-26 Thread Christof Donat
Hi, > Actually, if you'd like to use js to access a database, may I suggest > Adobe AIR? Have I already expressed my dislike of AIR? > Basically, in allows you to embed JS/HTML into an installable application, Wow, how new. Have you ever looked at XUL? Just create an installer that installs X

[jQuery] ui slider plugin

2007-09-26 Thread Christof Donat
Hi I am having problems with the UI slider plugin. I have this HTML structure (bulilt with DOM): Then I try to make a slider for the hue: $('#hue').slider({ minValue:0, maxValue:360, axis:'vertical', handle:'#hueSlider', startValue:360-h,

[jQuery] Re: Apply "xpath-evaluate" in an iframe document

2007-09-18 Thread Christof Donat
Hi, > // not working > $(frameDocument).("//img").hide(); Try $('img',frameDocument).hide(); Christof

[jQuery] Re: Javascript best practices

2007-09-13 Thread Christof Donat
Hi, > More & more plugins are using CSS to style the layout, this is good, > but their didn't aware of if user browser don't know javascript, it is > useless to load the CSS, e.g. thickbox > > script> >

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-12 Thread Christof Donat
Hi, > The end result is probably a net enlargement of included > JS, IMO. You can always include the convenience functions in your own code. Then you have no net enlargement of code. You even can leave out those you don't intend to use reducint the size of the whole js code. Of course you can

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-08 Thread Christof Donat
Hi, > We're going to be having the first all-day jQuery mini-conference > October 27th, here in Boston, MA. Hm. I'd like to come. I'll see if I can find the time and a cheap plane. Does the US still treat travellers from outside like criminals (taking fingerprints, etc.)? Christof

[jQuery] Re: Loading remote JavaScript

2007-08-21 Thread Christof Donat
Hi, > I'm aware of that method, but I want a callback to find out what > content type was loaded, display it if text/html or execute it if text/ > javascript. $('http://example.com/myscript.js"; type="text/javascript">'). appendTo('head'); $('