First  |  Prev |  Next  |  Last
Pages: 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
press.js - yet another javascript compressor
I'd like to hear this group's reaction on a javascript compression script I've been working on. It uses the LZW algorithm and base85 encoding to squeeze large scripts down to size. Quick test... used this: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js original size: 72173 compressed: 44782 ... 25 May 2010 17:57
FAQ Topic - Javascript Libraries (2010-05-22)
----------------------------------------------------------------------- FAQ Topic - Javascript Libraries ----------------------------------------------------------------------- No javascript libraries are endorsed by this group. If you are looking for help using a library, visit that library's discussion group i... 21 May 2010 23:48
importXML works in-line, but not externally
Hi, Meet importXML (see below). It merely imports an XML file to the object, "xmlDoc." When I call this function in-line, i.e. when I include the whole importXML.js in the <HEAD>, I can access the XML elements sucessfully. However, when I call this function externally, i.e. I include it in the <HEAD> as a <ja... 21 May 2010 17:13
FAQ Topic - How can I prevent access to a web page by using javascript? (2010-05-09)
In comp.lang.javascript message <63dcdc09-a1e0-4293-a07c-496b4651f554(a)y1 2g2000vbg.googlegroups.com>, Wed, 19 May 2010 12:38:44, nick <nick___(a)fastmail.fm> posted: On May 19, 2:41�pm, Garrett Smith <dhtmlkitc...(a)gmail.com> wrote: I see it may come from different goals; regardless, the word "prevent" is... 20 May 2010 19:23
A question about new Object()
Hi, a few months ago I've played with the JSON Tumblr API. I tried (succesfully) to build a page dynamically and then went to other experiments. Now that I came back to playing with said API I'm intrigued by this piece of code I wrote : var newPost = function() { this.element = new Object(document.createEl... 20 May 2010 06:12
Color of disabled radio buttons
Hello, In IE 6x, I want to have the color of disabled radio buttons NOT be grey. I want the color to be white background with black bullets (if the radio button is chosen), basically just like a regular enabled radio button. (This is javascript/html). The disabled radio button is causing confusion since when it ... 21 May 2010 16:06
IE9--the end of the line for browser sniffers?
From what I've heard of IE9, it sure seems to spell doom for Dojo, ExtJs, YUI, etc. And jQuery too (at least to some extent). They all have tons of rickety branches based on an "isIE" variable. Dojo, for example, has hundreds of scripts, each with at least a few sniffs (some have dozens) and they are all interde... 1 Jun 2010 16:23
Using "new function() {...}" as a Singleton
(I know I've seen a discussion of this here not too long ago, but search is failing me. Any pointers to prior threads would be appreciated.) I'm pretty sure posters here had some reasonable critiques of using this style to declare a singleton: var singleton = new function() { var privateProp1 = //.... 9 Jun 2010 15:18
A function that tells itself
Tired of reading, and make some fun :-) var a = function Foo() { return Foo; }(); alert(a); alert(a()); alert(a()()); alert(a()()()); all outputs are "function Foo() { return Foo; }" ... 19 May 2010 06:03
Quick question about newsreaders and post titles
I expect the question may have many different answers. If I were to go through a bunch of threads and change the titles so that they were all the same (for example, "[spam]"), would your newsreader lump the threads into one thread so they did not clutter up your display? Or would it just make more of a mess? I... 19 May 2010 08:13
First  |  Prev |  Next  |  Last
Pages: 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61