JavaScript - Tips'n Tricks - Manipulate a child element by reaching the parent with the getElementsByClassName method of the Document Object

It is sometimes useful to reach a child element with its parent.

Let's see this with an example by using the getElementsByClassName method of the Document Object.

The code below will display an image with a red border.
One second later, the border will be changed in black.

Android - Error - DeviceMonitor

The following error occurs when you try to restart your Android Virtual Device too quickly during another launch, with the Run command of Eclipse:

Android - Tips'n Tricks - Creating components

Today I will show you how to create 3 Buttons with 3 different ways and how to display them on the layout.

It will be the Tuto 3 that can be found on the Android Market for free, of course.

Android - Error - ActivityManager

There, errors took from the ActivityManager within the Eclipse Console for the Android plugin and of course some explanations.

Drupal 7 - Configuration - URL aliases

Home » Administration » Configuration » Search and metadata » URL aliases » Settings
 

JavaScript - Object Node - The childNodes property

The childNodes property allows us to select an element of a node.

For example, we want to retrieve all values of HTML <li> tags inside a <ul> one.

So, let's try it:

JavaScript - Object Node - The childElementCount property

In this tutorial of the childElementCount property, we will see how to use it.
It is really easy.
This method returns the number of elements of a node.

Example:

Android - API Google Maps - Using MapView

This is the Tuto 2 of the Android tutorial series. You can find the application made here on the Android Market.
Just follow the link on your right.

Android - Application - Using Google Maps

As the Google Maps API v1 is now obsolete, I could recommend to check this tutorial for the new version of Google Maps API v2.

Android - API - CharSequence

CharSequence is a native Java Interface.
Its path in the package is android.content.Context.getText(resId)
The class Context extends Object.
We will see this with an Hello World! example.

Pages

Subscribe to BadproG.com RSS