30 Sep
Posted by admin as Beegas Techy News, CSS Demo, Technology Tips, Trainings
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″ [...]
22 Sep
Posted by admin as Javascript Codes, Technology Tips, Trainings
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 [...]
13 Sep
Posted by admin as PHP Scripts and Tools, Technology Tips, Trainings
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(); [...]
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 [...]
09 Aug
Posted by admin as Announcements, Technology Tips, Trainings
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. [...]
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 [...]
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 [...]
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 [...]
15 Feb
Posted by admin as Technology Tips
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 [...]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |