Breaking News

OnClick Event In DHTML

OnClick Event In DHTML You may be well ahead of me here, but I’ll say it anyway: OnClick works exactly like onMouseOverexcept onClick creates the effect when you click on the active text or image. …

Read More »

Rollover Menu In DHTML

Rollover Menu In DHTML The source Code: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title> Rollover Menu </title> <meta name=”generator” content=”editplus” /> <meta name=”author” content=”” /> <meta name=”keywords” content=”” /> <meta …

Read More »

No right click [IE & Safari only] In DHTML

Source code: <html> <head> <TITLE>[Right Click Disabled]</TITLE> <script type=”text/javascript”> function disable() { if (event.button == 2) { alert(“Right Click not Allowed”) } } </script> </head> <body onmousedown=”disable()”> <p>Right Click not allowed on the page.</p> <p>…..</p> …

Read More »

Why C++?

Why C++? C++ is an advanced, powerful Computer Programming language, yet it is relatively easy to introduce and learn. it is most modern, high-performance computer programs are written using C++. C++ knows about objects and …

Read More »

Declaration of Variables In C++

To declare a variable this format is used   Syntax: data type name;   To declare a signed/unsigned variable place these modifiers before the data type. Example:   signed int a;   unsigned short b; …

Read More »

Data Types In C++

Data can be of many type e.g. character, integer, real, string etc. Any thing enclosed in single quotes represent character data. Data type are means to identify the type of data and associated operation of …

Read More »

Constants In C++

The keyword const can be added to the declaration of an object to make that object a constant rather than variable.   The general form of constant declaration is as follows:   Syntax: const int …

Read More »