Download presentation
Presentation is loading. Please wait.
Published byRuth West Modified over 9 years ago
1
Lecture 11 Scrolling XHTML elements + a bit on Java Applets Boriana Koleva Room: C54 Email: bnk@cs.nott.ac.uk
2
Scrolling elements In HTML – MARQUEE tag Not supported in XHTML as often not a good feature! YOUR TEXT GOES HERE For image: http://www.cs.nott.ac.uk/~bnk/WPS/marquee.html
3
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 http://www.dynamicdrive.com/dynamicindex14/leftright slide.htm Carousel Slideshow displays images in a 3D, carousel fashion http://www.dynamicdrive.com/dynamicindex14/carousel.htm
4
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
5
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)
6
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
7
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.