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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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>
>
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
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
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');
$('