Changing Image Source in Javascript
This project will teach how to change image source using basic javascript code. onClick event, image will automatically change. Here's the full code. var img_tracker = 'chrome'; function changeImg(){ var image = document.getElementById('browser'); if(img_tracker == 'chrome'){ image.src = 'images/firefox.jpg'; img_tracker = 'firefox'; }else{ image.src = 'images/chrome.jpg'; img_tracker = 'chrome';
Constructor and Destructor
Constructor and Destructor
In this part you will learn: 1. What are Constructor and Destructor? 2. Types of Constructor 3. Syntax of Constructor and Destructor 4. Writing program with constructor and destructor 5. Showing output Constructor Constructor is a function of the class which is called at initialization or declaration of an object. To initialize values to the members of the function we use this function.LINQ With Data Source ( MSSQL To LINQ )
My previous tutorial I have described basic of LINQ and how to dealing with XML files. In this tutorial I am going to explain you how to deal with rational data sources. In this tutorial you will be understand how does LINQ help us dealing with non-object oriented data structures like dealing with rational data. Here we are going to connect SQL Server database and going to create SQL to LINQ data
Google Chrome Logo in HTML/CSS
This project will teach you how to create a logo of Google Chrome using raw css and html. Google Chrome logo has only 5 parts which I named it as circle(which is the white bigger circle in the center of the logo), center(the blue center circle), red, yellow and green. This is very cool css tricks. Hope you learn from this.
Sliding Captions Animation in CSS
This project will teach you how to create a sliding caption using raw css and html. On hover, the caption of each images will appear in left, right, top or bottom. It depends on you which side you would like the captions to slide, but I have here all the examples. Hope you learn from this project.
Setters And Getters
Setters and Getters
In this part you will learn: 1. What are setters and getters? 2. Why we need setters and getters? 3. Program using setters and getters 4. Showing output What are Setters and Getters? As the name suggests, setters are functions used to set values whereas getters are used to get values. Setters and getters functions are usually public data members of the class. Setters and getters are used for private or protected member variables.Simple Tooltip in CSS
This project will teach you how to create a simple tooltip using raw css code. When image is hover, the car model will immediately appear on each image. Feel free to edit or do what you want in this project. You can position your tooltip anywhere in the image by setting up the margin property. Hope you learn from this project.
Introduction to LINQ With C#
Introduction to LINQ Integrating data queries into c# has been a goal for years. Microsoft put lot of effort to such a goal over the years. At lat outcome is LINQ (Language Integrated Queries). Using LINQ we can specify what object we want without knowing the type of data source. There are two type of method usage in LINQ. Static method represents the query operators and anonymous method specifies
More About Access Specifiers
In this part you will learn:
1. Types of access specifier
2. Different uses of different access specifiers
3. Using access specifiers in Code
Types of Access Specifiers
As we have discussed earlier, there are three types of access specifier we use in c++ which are given below.
• Private
• Public
• Protected
Private
This is the access specifier which is set as default. i.e when the programmer doesn't give the access specifier. C++ considers it as a private.