Get computed Width of an HTML Element





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »
0
Date Submitted Mon. Jan. 27th, 2014 9:15 AM
Revision 1
Beginner SuperNova
Tags CSS
Comments 0 comments
Change background color of DIV.
0
Date Submitted Wed. May. 16th, 2012 12:40 AM
Revision 1
Beginner 4lison
Tags CSS | Text
Comments 0 comments
The @keyframes code for flashing text

The second code is to insert where you want the flashing text
1
Date Submitted Mon. Jul. 25th, 2011 10:56 PM
Revision 1
Syntax Master all-battery
Tags by | Code | CSS | Icon | Rolling-Over
Comments 0 comments
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
2
Date Submitted Thu. May. 20th, 2010 1:49 AM
Revision 1
Scripter Cloudgen
Tags compiling | JavaScript | Jsc | Rhino
Comments 0 comments
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
2
Date Submitted Thu. Apr. 15th, 2010 4:16 AM
Revision 1
Scripter Cloudgen
Tags decimalized | JavaScript | obfuscating
Comments 0 comments
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
1
Date Submitted Wed. Mar. 3rd, 2010 10:37 AM
Revision 1
Beginner wizard04
Tags alert | console | debug | JavaScript | object | Popup | Window
Comments 0 comments
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
Date Submitted Thu. Aug. 20th, 2009 9:53 AM
Revision 1
Scripter Cloudgen
Tags classname | JavaScript | javascript-object
Comments 0 comments
To obtain the classname of every type of javascript object. See discussion
0
Date Submitted Thu. Jul. 23rd, 2009 1:03 PM
Revision 1
Beginner webdevelopertut
Tags CSS | div | Floats
Comments 0 comments
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.
3
Date Submitted Tue. Jul. 14th, 2009 6:19 PM
Revision 1
Scripter Cloudgen
Tags Class | getter | JavaScript | property | setter
Comments 0 comments
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
« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »