Tutorials

Display Battery Information in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a program that will get the information of the battery of your laptop such as getting its percentage battery and if it is charging or not using vb.net language. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one ProgressBar on the Form and a Timer on it.

How To Make Flip Menu Using HTML JavaScript

Submitted by alpha_luna on
Flip Menu Sidebar creates a menu out of an ordinary HTML using list types. It has a one external .js file inside, the images used instead the default list bullets. And, if it has previously open file or a folder, it should be closed when the current file or folder is open. You can add more link in the Flip Menu as many as you wish. And, you can edit the style, or you can put some animation using CSS.

Directions:

First: Kindly copy the following code below to the HEAD section of your page.
  1. <style type="text/css">
  2.  
  3. a {
  4. color:blue;
  5. text-decoration:none;
  6. }
  7.  
  8. a:hover {
  9. color:red;
  10. }
  11.  
  12. </style>
  1. <script type="text/javascript" language="JavaScript" src="js/menu.js">
  2. </script>
Note: The above code requires to DOWNLOAD the sourcecode and the images. Just click the ("Download Code") below. For the image, download by right clicking each link below, and select "Save image as...". flip_closed flip_open flip_static

How to Make Text Resizer Using HTML JavaScript

Submitted by alpha_luna on
Users of a particular web page are sometimes bothered with the font size especially when they have problems with eyesight. Yet, this problems can be solved through this Text Resizer. Text Resizer enables your user to change the font size in your website. The script is easy and works in any web page.

How to Make Hangman Game Using HTML JavaScript

Submitted by alpha_luna on
A game is a good way to keep your visitors and yourself occupied in your site. This script is a reincarnation of the classic "Hang Man" game. You have to play against the computer. The vocabulary used in this game is configurable. This is a customized Hang Man game with images to display the wrong guesses. This is a cool and fun game to play. This is the game that the user/player will predict what is the word that the computer ask.

How To Make Bigger Image Viewer Using HTML JavaScript

Submitted by alpha_luna on
Have you encountered images that are so small or blur? These images need to be resized or zoomed in. There is a way to see this kind of images clearly. It is called "Bigger Image Viewer". In this tutorial, we are going to learn How To Make Bigger Image Viewer. So, what is it all about? From the name itself, Bigger Image Viewer automatically adds a caption beneath the images of your choice that when clicked on launches a bigger and clearer version of the image. There may be alteration from the original image to the enlarged version due to the process.

How to Create Login Page in PHP and MySQL with Session

Submitted by GeePee on
How to Create Login Page in PHP and MySQL with Session In my previous tutorial called "How to Create Secure Login Page in PHP/MySQL", I explain on the three ways on how create a login page using PHP/MySQL. This time, I will add more functionality on this tutorial. We will add session so that we will know if the visitor has logged in on our site or not. In PHP, there is a variable called $_SESSION. Session allow you to store information and used it in any pages that you like.

Server Side Form Validation (Registration Form)

Submitted by GeePee on
Validating a form using a JavaScript gives convenience to your visitors by avoiding page reload and other features that we discuss on our previous tutorial called Validate Login Page Using JavaScript. But validating a form using JavaScript alone is not safe. One reason is if the JavaScript is not enabled in the web browser.