Category: Ajax

Javascript : Miscellaneous Code

                var browser=navigator.appName;                 var b_version=navigator.appVersion; <a href=”http://www.justetc.net” target=”_blank”> <img border=”0″ alt=”hello” src=”b_pink.gif” id=”b1″ width=”26″ height=”26″ onmouseover=”mouseOver()” onmouseout=”mouseOut()” /> Place the following code under script tag/in a javascript file function mouseOver() {    document.getElementById(“b1″).src =”b_blue.gif”; } function mouseOut() {    document.getElementById(“b1″).src =”b_pink.gif”; } <map name=”planetmap”> <area shape =”rect” coords =”0,0,82,126″ onMouseOver=”writeText(‘You are over the target …

Continue reading

Permanent link to this article: http://bangla.sitestree.com/javascript-miscellaneous-code/

Pointers

/* The following code example is taken from the book  * “The C++ Standard Library – A Tutorial and Reference”  * by Nicolai M. Josuttis, Addison-Wesley, 1999  *  * (C) Copyright Nicolai M. Josuttis 1999.  * Permission to copy, use, modify, sell and distribute this software  * is granted provided this copyright notice appears in …

Continue reading

Permanent link to this article: http://bangla.sitestree.com/pointers/

Valarray Example

/* The following code example is taken from the book  * “The C++ Standard Library – A Tutorial and Reference”  * by Nicolai M. Josuttis, Addison-Wesley, 1999  *  * (C) Copyright Nicolai M. Josuttis 1999.  * Permission to copy, use, modify, sell and distribute this software  * is granted provided this copyright notice appears in …

Continue reading

Permanent link to this article: http://bangla.sitestree.com/valarray-example/