1 / 7

Lecture 11 Scrolling XHTML elements + a bit on Java Applets

Lecture 11 Scrolling XHTML elements + a bit on Java Applets. Boriana Koleva Room: C54 Email: bnk@cs.nott.ac.uk. Scrolling elements. In HTML – MARQUEE tag Not supported in XHTML as often not a good feature!

tarmon
Download Presentation

Lecture 11 Scrolling XHTML elements + a bit on Java Applets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 11Scrolling 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! <MARQUEE behavior="scroll" direction="left" width="100%">YOUR TEXT GOES HERE</MARQUEE> • For image: <MARQUEE behavior="scroll" direction="left" width="100%"><imgsrc="yourimage.gif"></MARQUEE> 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/leftrightslide.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 Java VM in the Client (Browser) Applet XHTML data + Java Applet

  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

More Related