|
To view the applet tags in use on this page, right click inside this frame and choose View Source The example above doesn't look quite as good as it could do. There's an ugly gray strip visible - that's the improbable color we chose for BgColor, and it should really be set to match the page's body-background. We've done this to illustrate Headliner's self-sizing. The applet's width is set to 500, but it's only using 354 of that at the moment (or 401 in Netscape). If you delve into the code of this page, you'll find an Entry parameter commented out. Remove the comment tags, refresh this page and you'll see that Headliner resizes itself to display that longer added entry. The example below is identical (and also has a commented-out 4th entry). We've changed a few colors, and most importantly we've matched the BgColor to the page so that ugly unused strip can't be seen. In both examples, Testmode is switched on. Moving the mouse over the headline area displays height and width suggestions in the status bar. You'll notice that the Minimum Width suggestion changes when you uncomment that 4th headline entry. We've also removed the Heading parameter, so the default heading "Headlines:" is used. |