Display Drives Snippets


22 October, 2012   

Visual Basic sample source code to display all drives

18 April, 2012   

To show a list of all mapped network drives, use the GetNetworkDriveMappings function

This is a short way of positioning display objects in a grid layout. It makes use of the modulo operator (%) to position each display object along the x axis and the floor method of the Math class for the y position. This example creates 20 instances of a custom display object called MyDisplayObject positioning each instance in a grid 5 columns...

13 December, 2012   

CSS trick to display the URL from the href attribute after each link

How to display the source code of any webpage. you can use below example code

How to display visitors IP in an Image using PHP

16 August, 2011   

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

iPhone code snippet to display the network activity status indicator

09 January, 2013   

Better way to handle Broken Image. Missing images will either just display nothing, or display a [ ? ] style box.

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

Delphi code to display the screen size and the list of fonts

By default Symfony displays forms in tables, with each new input being a table row. If you want to display your forms more semantically with fieldsets and lists, Symfony has a list formatter built in. You can tell an individual form to display as a list using the code below.

An example code for Delphi function to check drive letter to see if its valid

01 February, 2011   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...

17 February, 2019   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...

26 June, 2014   

Cool script changes your SELECT elements into a Select/Combobox element. Works in Firefox and IE 6+.

21 January, 2015   

Cool script changes your SELECT elements into a Select/Combobox element. Works in Firefox and IE 6+.

Cross Browser Vertically and Horizontally Centered Images in CSS without Tables

15 April, 2013   

CSS Code for Pure Rollover

Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites.