Search Box

Custom Search

Monday, February 17, 2014

Java Script and Dynamic HTML

Posted by Unknown  
3:25 PM

Java Script and Dynamic HTML

Apa?

Kenapa?

Four technologies/languages

XHTML

Cascading Styles Sheets (CSS)

Scripting languages

Document Object Model (DOM)

Bahasa Pemrograman Dynamic HTML

ASP = Active Server Page

JSP = Java Server Page

VB.net = Visual Basic Network

PHP = Personal Home Page

Java script

dll



Java/Javascript

•JavaScript
–Interpreted oleh client
–Terintegrasi dengan dokumen HTML
–Loose typing of data types
–Script hanya berfungsi pada browser
–Bekerja dengan elemen HTML
–Access browser objects and functionality

•Java
–Program dapat di kompile dan dapat dijalankan oleh client
– Dapat menggunkan apllet untuk dokumen Strong typing of data types
–Aplikasi yang dapat berdiri sendiri
–Dapat berjan seperi HTML (contoh multimedia)
–No access to browser objects or functionality

JavaScript Data and Variables

Variables van be used without declaring them.

It is better, however to declare them, for example:

var name = "Fred";

var a, b, c;

var pi = 3.1415926;

You don't specify the type of the variable.

All data types are objects, but explicit construction is not always necessary.

JavaScript Expressions



JavaScript supports most of the same operators supported by Java.

For example, comparison operators include:

>, <, >=, <=, ==

Assignment operators include:

=, +=, -=, *=, /=, etc

Logical operators include:

&&, ||, !

Arithmetic operators include:

+, -, *, /, %


JavaScript Functions

•A function in JavaScript is like a static method in Java.
•You use functions to store code that you will use a number of times.
•Functions may have parameters and return values but you don't specify the type of either.

More Advanced JavaScript

•Some of the more advanced techniques include:
–Pull-down or pull-out menus
–Draggable objects
–More complex animations
•There are code libraries around for many of these tasks (see references)
•Typically you import a code library as follows:

<SCRIPT LANGUAGE="JavaScript” SRC="dynlayer.js">

</SCRIPT>

Java Applets

Server side

Compiled

Included in page

<APPLET CODE="classname.class" width="300" height="200"><PARAM NAME="paramname" VALUE="20"></APPLET>


<OBJECT classid="clock.class" codetype="application/java" width="300" height="200"><PARAM NAME="paramname" VALUE="20"></OBJECT>

Baca juga tentang pelajaran Sistem Multimedia Antara lainnya Yaitu :













thumbnail Judul : Java Script and Dynamic HTML

URL : http://filedoom.blogspot.com/2014/02/java-script-and-dynamic-html.html

Rating : 10 out of 10 based on 696969 ratings. 696969reviews.
Ditulis Oleh Unknown
Free Download 3:25 PM

0 komentar:

Labels

Tips Dan Trik (37) IT (23) pelajaran tentang IT (23) stmik (22) OS (21) Berita (20) HTML5 (19) materi (18) tutorial (14) Sismul (13) Tizen (12) UI (11) web (11) Download (10) Download lagu (10) Android (9) Fitur (9) Meningkatkan Traffic (9) Samsung (9) TouchWiz (9) streaming (9) Aplikasi (8) Intel (8) Blackberry (7) Fakta (7) database (7) Handphone (6) oracle (6) Fungsi (5) Game (5) Lucu (5) SEO (5) optimal (5) sql (5) widget (5) PHP (4) Programing Languages (4) Smartfren (4) Spesifikasi (4) bbm (4) Andromax (3) Dollar (3) Gadget (3) Kata (3) Obsidian (3) Ads (2) CPM (2) Foto (2) Kata Bijak (2) adsense (2) celebrity (2) sosial (2) Crack (1) Error (1) Gaya Hidup (1) Gokil (1) Harga (1) Harlem Shake (1) PPC (1) Penyakit (1) Video (1) bola (1) reggae (1)

Daftar BackLink

AutoSurf Traffic Exchange: Powerful Results with SEO tips | 10KHits - 10KHits provides quality traffic hits to your personal or business websites. Auto Backlink Gratis : Filedoom Auto Backlink Gratis Indonesia : Top Link Indo
W3 Directory - the World Wide Web Directory

Site Info

SEO Reports for filedoom.blogspot.com Antispam
filedoom.blogspot.com Webutation
LinkXchanger.com
Latest Downloads

Rating for filedoblogspotom..com DMCA.com
Protected by Copyscape Online Plagiarism Finder

My Facebook

My Profil

Proudly Powered by Blogger.
back to top