Combine my CSS (Hexagon Buttons) File With Existing code

Imekamilika Ilichapishwa Feb 27, 2016 Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

I found a code to control the current flow out of the 8 gpio pins of a raspberry pi and I attached it. The file consists of 3 files:

(1) The [url removed, login to view] file reads the current status of the gpio pins of the raspberry pi, then print the corresponding picture. If the gpio pin is turend off a red image appear. If it is turened on, a green image appear.

(2) The second file is gpio.php. that first reads the pin number by reading the name of the picture, and then reads the pin status of the current value of the pin and toggle it. For example, if the pin 1 is OFF, the [url removed, login to view] will make it ON.

(3) The third file is the java script file that contains a function called change_pin. This function calls [url removed, login to view] and read the gpio pin status, and finally update the pin picture in the [url removed, login to view] file.

I want the exact code, but with different graphical user interface. Instead of using the ON/OFF buttons, I want to use pictures of a map that are placed in hexagonal shapes. I have made the enitial design of the graphical user interface in CSS with the map pictures. My CSS file can be found here: [url removed, login to view]

But I do not know how to make these hexagonal shapes clickable and change there picture on click and at the same time do the same command as the attached file! I need someone to connect my new CSS design to the same code in the attached zip file.

The picture that I used in the hexagonal shapes are attached.

HTML JavaScript PHP

Kitambulisho cha Mradi: #9778418

Kuhusu mradi

4 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

$25 USD kwa siku 1
(Maoni 0)
0.0

4 wafanyakazi huru wanazabuni wastani wa $20 kwa kazi hii

Tinatondar

Hi, I saw the work detail and it will be done in quick time frame and full efficiency by me. I am confident that I can do that easily and I will fullfill your requirement with full efficiency as I am a professional Zaidi

$24 USD kwa siku 1
(Maoni 6)
2.5