Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Designing WebObjects Components

In this section we will prototype and develop a WORollover component. One that is essentially an active link with a rollover image.

Prototyping WORollover

Before we dive into developing the component, let's think about what is required.

In terms of generating HTML, we're looking at producing something along the lines of the following:

<a href="/index.html" onMouseOver="image.src='/imageH.gif'"
						onMouseOut="image.src='/imageH.gif'">
        <img src="/image.gif" name="image">
</a>

The differences will be that the link href will be a WebObjects URL. The image src will also point to a WebObjects Resource.

NOTE

Images in WebObjects are vended differently from those in WebObjects pages because of performance and efficiency. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book