|
|
|
Dynamic CSS file loading
2
1
This is a Rolling-Over Icon I'd like to use for my online laptop battery shop.
You only have to prepare 2 pictures, one is the common and the other is after rolling-ove
You only have to prepare 2 pictures, one is the common and the other is after rolling-ove
2
If you are using Rhino, to compile a JavaScript file into java byte code invoke the following class
org.mozilla.javascript.tools.jsc.Main
In most of the time, if we want to compile the JavaScript file, we should start a Rhino session in order to invoke the org.mozilla.javascript.tools.jsc.Main class. This may be trivial if we have to compile a batch of files at a time. Thus, it's better if we can have a command instead of invoking a jar class file. To see how this can be done, please go to Compilation of Javascript File
org.mozilla.javascript.tools.jsc.Main
In most of the time, if we want to compile the JavaScript file, we should start a Rhino session in order to invoke the org.mozilla.javascript.tools.jsc.Main class. This may be trivial if we have to compile a batch of files at a time. Thus, it's better if we can have a command instead of invoking a jar class file. To see how this can be done, please go to Compilation of Javascript File
2
alert(99) --> (function(O,o){o(O(97,108,101,114,116,40,57,57,41))})(String.fromCharCode,eval)
This is the way we obfuscate our javascript. Detail explanation see http://www.wretch.cc/blog/cloudgen/26742560
This is the way we obfuscate our javascript. Detail explanation see http://www.wretch.cc/blog/cloudgen/26742560
1
wizard04
An object including a few helpful functions for debugging. Functions displaying popups or alerts are limited to a certain number of consecutive times before asking to continue, in case they end up being called in an endless loop or something.
2
To obtain the classname of every type of javascript object. See discussion
0
Float bug fix in div to expand
Many of would find a problem when using a block(div) called a container with the background color, where you don't want to use float or height to the div. And in the inner div of the container you want to give float to it.
You can find this issue in most of the browser like ie, firefox, the container will not expland as the inner div.
Many of would find a problem when using a block(div) called a container with the background color, where you don't want to use float or height to the div. And in the inner div of the container you want to give float to it.
You can find this issue in most of the browser like ie, firefox, the container will not expland as the inner div.
3
This is the prototype for adding property getter and setter for any Javascript class. The construction and usage of the getter and setter methods allows the "chainability" of methods in one line. Detail discussion can be found inOne line properties setter and getter for Javascript class
3
This function is quite useful in accessing the query string, host, path and filename obtained from an url. See detailed discussion in A javascript class for retrieving query string
3
a script that is able to load a remote script located in other server anytime it is need. See illustration







