Digital Media. Creating Websites.

Home

Structure and Presentation

Interactivity

Interactivity

One of the best bits of digital media is, instead of passivly watchin, reading or listening, the page can respond to your actions. Moving, scrolling and zooming elements around the page, entering and editing data, picking prefernces and more can all be done with interactive digital media.

Simple interactivity can be done with the Cascading Style Sheet (CSS) launguage used on web sites. A simple example is the mouse over highlights of the links in the nav bar above, but for more complex interactions you will need to learn a programming language.

There are lots of programming languages out there, each with their own streangths and weaknesess. When building web pages, there are two common languages used; JavaScript and PHP.

JavaScript

JavaScript is a programming language designed to be read and processed by your Web Browser. Originally used to make sure the data entered into an on-line form was correct, it has developed into a powerful modern language that can be used to handle anything from simple mouse clicks on a web page to writing on-line computer games.

PHP

PHP is a little differnt from JavaScript in that it is designed to be read and processed by a web server; a computer on the internet that gives (servers) your device web pages.

it is most commonly used yo make sure you get the data on your web pages you are interested in, custtomising and personalising your experience. For example, if you are reading a newsfeed, PHP can be used to only show news you are interested in.

PHP isnt an abbreviation like HTML or CSS; it is just called PHP.