Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Rishi Rathor
Page 5 of 10
Bootstrap btn-group class
Use the class .btn-group to create a button group.You can try to run the following code to implement the btn-group class −Example Bootstrap Example The following are the buttons: One Two
Read MoreBootstrap thumbnail class
The role of .thumbnail class in Bootstrap is used to create a thumbnail for images −Example Bootstrap Example
Read MoreMake a group of buttons span the entire width of the screen with Bootstrap
To make a group of buttons span entire width of the screen, use the .btn-group-justified.You can try to run the following code to implement the .btn-group-justified class −Example Bootstrap Example The following are the car brands: BMW Audi Jeep Datsun Toyota The following are FMCG: ITC Limited Colgate-Palmolive Nestle Britannia Industries Limited
Read MoreIndicate a successful action to a particular table row or cell with Bootstrap
To indicate a successful action to a particular table row or cell with Bootstrap, use the .success class. You can try to run the following code to implement the .success class −Example Bootstrap Table Subject Marks Type C 65 Programming Language PHP 92 Scripting Language jQuery 80 JavaScript Library
Read MoreAdd a fading effect when closing an alert box in Bootstrap
Use the .fade class in Bootstrap to add a fading effect when the alert is closed:Example Bootstrap Example Eclipse Refactoring × To refactor code in Eclipse, try the below given steps in the video (You can also close this alert)
Read MoreHow to use images while developing iOS App in a Simulator?
Sometimes we need to test our iOS app with multiple cases and we may not have physical device all the time. For example if we need to see if image upload is working correctly but we do not have an actual iPhone then we may need to add more images to the simulator and test from there. Adding images to simulator is an easy task and can be done in a few different ways. Some of them are mentioned below.Method 1Open Simulator appSelect the image you want to addDrag and drop it in the simulatorIt will be added to the ...
Read MoreIntel 8212 in mode 0
The below fig shows clearly how 8212 works in the mode 0Fig: 8212 working in mode 0We use this mode generally when we want 8212 to function like an input port. An input device gets connected to DI7-0, and the microprocessor employed here receives the information on DOs ranging from D7-D0. Here in this mode STB acts as clock for the given latches. The latch which is of 8 bits in 8212 follows the series information which is present on DI7 to DI0 as long as STB is equal to 1. When the STB makes a transition, which is high ...
Read More8085 program to exchange content of HL register pair with DE register pair
In this program we will see how to exchange the content of DE and HL pair.Problem StatementWrite 8085 Assembly language program to swap the content of HL and DE register pair.DiscussionThis process is very simple, 8085 has XCHG instruction. This instruction swaps DE and HL pair content. We are storing some values to DE and HL pair directly, and then exchange them using XCHG.InputDE = 5678H HL = CDEFHFlow DiagramProgramAddressHEX CodesMnemonicsCommentsF00016, 56MVI D, 56HLoad D with56HF0021E, 78MVI E, 78HLoad D with78HF00426, CDMVI H, CDHLoad D with CDHF0062E, EFMVI L, EFHLoad D withEFHF008EBXCHGExchange the content of DE and HLF00976HLTTerminate the programOutputDE ...
Read More8085 program to find sum of digits of 8 bit number
In this program we will see how to add the digits of an 8-bit number.Problem StatementWrite 8085 Assembly language program to add the digits of an 8-bit number stored in memory location 8000H.DiscussionTo get the digits of an 8-bit number, we can use the masking operation. At first we will mask the upper nibble, and then the lower nibble. After masking the lower nibble, we have to rotate it to the right to make it least significant nibble. Then we can simply add it to the stored nibble to get the sum.InputAddressData......80008A......ProgramAddressHEX CodesMnemonicsCommentsF0003A, 00, 80LDA 8000HLoad the number into AF0034FMOV ...
Read MoreHow to change a button background color using Swift?
To change the background color of a button in iOS application we need to access the property ‘ backgroundColor’ of the UIButton. We can do this in two ways, programmatically and using the storyboard.Method 1 − Using the storyboard editorAdd a button on your storyboard, select it Go to it’s attribute inspector and select 'Background' property to choose the color.Method 2 − Programmatically changing the backgroundCreate outlet of the button on the View Controller.In the viewDidLoad() or viewWillLayoutSubview() method add the code to change the background color.btn.backgroundColor = #colorLiteral(red: 0.4392156899, green: 0.01176470611, blue: 0.1921568662, alpha: 1)When we run the method ...
Read More