|
Developer Program
Membership
One-to-One Support
Newsgroups
Developer Publications
View Source
Developer News
Documentation
Technical Manuals
White Papers
TechNotes
Sample Code
FAQs
Books
Technologies
CORBA
Directory & LDAP
Dynamic HTML
Java
JavaScript
Linux
Security
SSJS
XML
Developer Downloads
Tools & SDKs
Patches
iPlanet Products
Technical Resources
|  |
Netcaster Sample Code Examples
-
Webtop Widget
(Requires Netscape Navigator 4.0 or higher)
- Use the Webtop
Widget to use the entire desktop to view web pages--no chrome or
toolbars. Implement this on your site and let visitors with 4.0
browsers see your content with the greatest possible viewing area, or
just try it out and surf the Web with your desktop. Achieved via
JavaScript1.2, Webtops are anchored to your desktop. Recently updated for
use with scrollbars.
-
Visual Dynamic HTML Utility
(Requires Netscape Navigator 4.0 or higher)
- The Visual DHTML utility
is a web-based authoring tool to help you create your own Dynamic HTML
content. This web application is written primarily in JavaScript1.2
and includes many useful features, such as "pre-built Widgets," "Drag
and Drop," and a demo to help you get started.
-
Create a Channel With an Eye Toward Offline Viewing - Do's and Dont's
-
This collection of guidelines will allow the Netcaster channel developer
to quickly develop offline content.
- Dynamic HTML Checkbox
- This example allows you to create a
check box containing some arbitrary HTML. It demonstrates how objects can help you re-use code.
- Drag and Drop Component
- This sample code lets you create
dragable layers with minimal coding.
- Another Drag and Drop Component
- This example is an
extension of the previous one. The component cannot be dragged directly, but creates a new layer the user can then drag away
and drop.
-
Dynamically Manipulating CSSP-Positioned HTML Elements
- This sample code demonstrates how to move a positioned
HTML element and modify its clipping area from JavaScript.
It also demonstrates the appealing visual effect of opening
"blinds" over the HTML element.
-
Dynamic Fonts Multiple Language Support
- This example
shows the potential of Dynamic Fonts for providing multiple language
support without requiring additional software or operating systems. This
allows for content providers and enterprises to publish platform independent
mixed language documents that can be viewed by anyone with Communicator.
Click here to view the source code.
Dynamic Fonts Typefaces
- The Bitstream site
shows how dynamic fonts allow designers to use the typefaces they grew comfortable
with in the print world on the web to excellent effect. It also serves
as a handy guide to various examples and bits of information about their
TrueDoc technology, which is part of Netscape Communicator. Click here
to view the source code.
growTo Function
- This function
will dynamically change the clipping rectangle so that a positioned
element appears to grow to a specified dimension.
More HTML Layering Examples
-
Find examples on how to make your Web page look as if a visual element
is sliding across it, make a curtain close across your page, or have a
"spotlight" sweep across an image in Scripting Layer Effects and Transitions, a new article in
View Source.
-
Netcaster Sample Channels
- This set of three Netcaster sample channels show examples of Dynamic HTML, drag and drop, HTML tickers, and using plug-ins
within a channel. It also contains a re-usable library of various JavaScript functions for capturing and managing mouse events,
animating HTML elements, and setting user preferences within a channel.
Newsbox Object
- This cut and paste
code allows you to add a "news box" which vertically scrolls
content such as headline news by adding just two lines of code to your
webpage. The news box momentum can be changed if the user "flings" the
box.
Open a Full Screen Window or a Small Window Based on a User's Screen Resolution
- The new JavaScript functionality of the screen object allows you to gain much more control of the Navigator window.
This code example shows how to open a window
to the user's full screen size with no toolbars showing. It also shows how
to open windows of a specific size in a given screen location dependent on the user's screen resolution.
Dynamic Scrollbar Component
- This sample code adds
scrollbars to a layer or a CSS-P container. It is much more configurable than default
frame or window scrollbars.
Ticker Object
- By cutting and pasting this code example you can add a ticker to a webpage
with just two lines of HTML code. The ticker scrolls the contents of a
specified HTML file. The ticker is draggable and the momentum can be
changed if the user "flings" the tape.
Webtop Wizard
-
Netcaster Central now hosts a utility that creates a webtop template for you to customize for yourself or your company.
The Netscape Webtop Wizard
allows you to create a custom dynamic HTML channel with drawers and sections that link to commonly used web pages and software.
|