ICT News and Updates

because information is for everybody…

Here is an example on how to use a CSS in your HTML document.  Stylesheet was applied to the document and table.
<html>
<head>
<title>CSS Demo</title>
<!– start of CSS –>
<style type=”text/css”>
document{
background-color: #CBCBCB;
}
table {
background: #7FFFD4;
border: 1px solid Black;
width: 500px;
font-family: “Arial Rounded MT Bold”;
border-color: Navy Blue;
border-top: medium double Black;
margin-left: auto;
margin-right: auto;
}
tbody{
background-color: White;
}
tr{
border-bottom-width: 1px;
text-align:center;
}
</style><!– end of the style –>
</head>
<body>
<table width=”200″ border=”1″ [...]

  • Share/Bookmark

The following if – else conditions in javascript:

if statement – simple if statement, executed when condition is true
if…else statement – statements are executed when condition is true or false
if…else if….else statement -  nested if – else statement which can b used for multiple blocks of code
switch statement -  simplified nested if – else statement

Syntax
if statment:
if [...]

  • Share/Bookmark

Here is my example of creating a graph using an object – PHPLOT.  PHPLOT is an easy-to-use object which is now available and freeing yourself from lengthy code.  The only requirement is your knowledge in using a class, properties and methods.  The object is available is around the corner.
*********************************/
require_once(“mysqlidb.class.php”);
require_once(“config.php”);
require_once(“phplot.php”);
/* initialize connection */
$report = new mysqlidb(DB_HOST,DB_USER,DB_PWORD,DB_DATABASE);
$report->dbConnect(); [...]

  • Share/Bookmark

Here is a sample code on how to extract the mac address of a computer using the powerful javascript.  The code will only work for internet explorer only.
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Getting MAC Address From Javascript(IE Only)</title>
<script language=”javascript”>
function showMacAddress(){
var obj = new ActiveXObject(“WbemScripting.SWbemLocator”);
var s = obj.ConnectServer(“.”);
var properties = s.ExecQuery(“SELECT * FROM Win32_NetworkAdapterConfiguration”);
var e = new [...]

  • Share/Bookmark

Electronic books for IT are now available. Just follow the link for training resources.

  • Share/Bookmark

This is a question that almost every PC owner asks themselves after just a few months of purchasing their PCs. This can also be a hassle, especially for those who surf the Net. Unfortunately, very few know what the answer to this question is.
There are a number of reasons why a PC could run slow. [...]

  • Share/Bookmark

Automating shop floor processes is a no brainer. Computers can save money by reducing waste, increasing efficiency and speeding up production. Computers are now a valuable tool in the industrial environment and most production, manufacturing, distribution and industrial companies now use them, not just for controlling processes but they are also used in areas such [...]

  • Share/Bookmark

Unlike a human body, every time you work out your computer, its gets bloated. Sluggish. Slower. It’s easy to blame your PC; it must be the hardware. You start thinking you could have spent more money on a bigger and better brand. But just like a car — whether it’s a new Porsche or a [...]

  • Share/Bookmark

It is difficult to predict how long a laptop battery charge will last because each computer user has different habits and needs. The rate at which you use laptop battery power will determine how long you can use the battery of your laptop. You can re-calibrate your laptop battery if the battery’s life has gotten [...]

  • Share/Bookmark

There is no doubt that technology affects most people who live anywhere other than third-world countries. It is difficult to go through a day without the need to put some type of technology to work. The most common and powerful piece of technology for most people is the personal computer that they use at home [...]

  • Share/Bookmark
« Previous Entries  Next Page »

Recent Entries

    Recent Comments

      Most Commented