This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<header> | |
<h1>Header HTML5</h1> | |
</header> | |
<nav> | |
<a href="contoh.html">Contoh Navigasi 1</a> | |
<a href="contoh.html">Contoh Navigasi 2</a> | |
<a href="contoh.html">Contoh Navigasi 3</a> | |
</nav> | |
<section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Chart Kuesioner</title> | |
<!-- Meng-embed Google API --> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<!-- Mengembed Jquery --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
// Meload paket API dari Google Chart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$host="localhost"; | |
$user="root"; | |
$password=""; | |
$koneksi=mysql_connect($host,$user,$password) or die("Gagal Koneksi Database"); | |
mysql_select_db("kuesioner"); | |
// write your SQL query here (you may use parameters from $_GET or $_POST if you need them) | |
$query = mysql_query('SELECT * FROM hasil'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//memberi pengalamatan khusus untuk json | |
header('Content-type: application/json'); | |
//memanggil database | |
$host="localhost"; | |
$user="nama user"; | |
$password="password db"; | |
$koneksi=mysql_connect($host,$user,$password) or die("Gagal Koneksi Bro !"); | |
mysql_select_db("nama db"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>List Cewek</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(document).ready(function(){ | |
$.ajax({ | |
url: 'http://namadomain-anda.com/parsing.php', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parsing JSON dengan Jquery | |
Angelina Mahmudah | |
Badriah Lavigne | |
Siti Multikultur | |
Gonjreng Fitriyah |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta name="viewport" content="width=320; user-scalable=no" /> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>RSS Feed Ku</title> | |
<link href="rss/jquery.zrssfeed.css" rel="stylesheet" type="text/css"> | |
<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script> | |
<script type="text/javascript" charset="utf-8" src="rss/jquery-1.7.2.min"></script> | |
<script type="text/javascript" charset="utf-8" src="rss/jquery.zrssfeed.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<access origin="http://127.0.0.1*"/> <!-- allow local pages --> | |
<access origin=".*"/> <!-- kode yang ditambahkan --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src | |
gen | |
assets | |
www | |
rss | |
jquery-1.7.2.min | |
jquery.zrssfeed.js | |
jquery.zrssfeed.css | |
index.html | |
cordova-1.9.0.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyPhoneGapActivity extends DroidGap { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
super.setIntegerProperty("splashscreen", R.drawable.splash); // menambah setInteger | |
super.loadUrl("file:///android_asset/www/index.html", 3000); // angka 3000 delay loading 3 detik | |
} | |
} |
OlderNewer