Lecture 11 Scrolling XHTML elements + a bit on Java Applets Boriana Koleva Room: C54
Scrolling elements In HTML – MARQUEE tag Not supported in XHTML as often not a good feature! YOUR TEXT GOES HERE For image:
Scrolling elements - DHTML Example DHTML scripts for the showcasing of images on your site Conveyor Belt slideshow script scrolls the containing images in a "conveyor belt" fashion slide.htm Carousel Slideshow displays images in a 3D, carousel fashion
Java Applets Applets are relatively small Java programs whose execution is triggered by a browser The purpose of an applet is to provide processing capability and interactivity for XHTML documents through widgets Applets still found on some web pages, and there is heavier use in intranets, where all browsers can be required to support the latest JVM Alternative to embedded client-side scripts
Java Applets on the WWW HTTP Server Apache MS IIS Client Mozilla MS Internet Explorer HTTP XHTML data + Java Applet Applet Java VM in the Client (Browser)
Feasibility of Applets Java has platform independent binaries WWW is designed to be data neutral Security is the major issue Security restrictions applied by browser
Applet and JApplet java.applet.Applet – the class which provides the standard interface between the applet and the browser environment GUI with AWT package JApplet - a class that enables applets to use Swing components JApplet is a subclass of java.applet.Applet