Home
Login
Contact
Articles
Newsletter
Bookmark and Share
XSLT
CSS
Javascript
Java
Linux
Username
Password
Annuler
Connexion

Recent Articles

javascript print partial pages

In developping web applications and designing websites, you've probably come accross a situation where you wanted the user to be able to press a print...

Marquee in javascript

The Marquee Element has been deprecated by the W3C and is commonly ill-advised but nevertheless, if you really want to do it, then javascript is the w...

Sending an email in Java

Sending an email in Java is actually quite simple, as always, there is an API that will do most of the work for you and it becomes just a matter of im...

Opacity in Firefox 3.5

If you've upgraded to Firefox 3.5 and you've been using -moz-opacity in your CSS, then you will see that the transparency or opacity (depending on ho...

Installing Tomcat on Linux in a few minutes

Installing tomcat is actually very quick and easy. Assuming you already have the JDK installed, this will only take a few minutes. In my years of exp...

Centering an element in javascript

03 June at 11:20AM published by Matt Castonguay

With the simulation of popup windows layered in the page, the need to play with the z-index CSS property and being able to dynamically center an element, commonly a div, becomes a necessity for everyone's javascript library. In this article, we will look at a simple function which will take the user's browser dimensions and center a given element's id.

Finding element position in Javascript

31 January at 01:32PM published by Matt Castonguay

Finding an element's position in javascript is a simple process but requires some understanding of the DOM structure and recursive programming. Unless it is the root, an element always has a parent. We know that we can always find an object's relative position to its parent and therefore, we just have to climb up the tree of elements.

Random Tags

xml    print    xsl:import    apache    library    ant    position    math    css classes    optimization    iframe    opacity    float    memory    offsettop    firefox    apache    tinymce    tinymce    xsl:if    offsettop    caching    textarea    uniques    offsetleft    custom css    modproxy    clear    double negation    svnant    apply-templates    min-width    css classes    offsetleft    mode    bash    weakhashmap    function    ie6    min-height   
MG2 Media Inc. - A Web Development Company
Top