bullets and lines

>>> Daniel W. Connolly <connolly@beach.w3.org> 05/07/96 07:53pm
<snip!>

>Have a look at the <OBJECT> spec:
>	http://www.w3.org/pub/WWW/TR/WD-object
>You'll be pleased to see shaped anchors ala fig.

YAY!

<snip!>
>
>><UL src="%url"> *many* people use graphics for
>>      Bullets, so why not make it easier?
>
>We had a long talk about this. The counter-argument was: where
>dou you stick height/width/hspace/vspace etc? What about using
><object> for a bullet? Basically, we never came up with a crisp
>notion of something that would work.

After a quick reading of the <object> spec, how 
about something like this:


    <OBJECT ID="obj1" DECLARE CLASSID=implementation >
    <PARAM NAME=param1 VALUE=value1>
    <PARAM NAME=param2 VALUE=value2>
    </OBJECT>

<UL href="#obj1" >
<Li> item
<li> item 2
</ul>

(look familiar?)  Notice that this requires the
ability to href an ID.  (I'm making verbing words,
I know.)

I've also been thinking of using a whole new
element (those three words are kinda scary, huh?)
called <bullet>.  

(come with me to the land of make-believe)

<Bullet> can only be used in <UL> and <DL> 
and affects all list items and <DT>'s that 
follow it, in that list, unless another bullet 
is later specified.

It has all the attributes of <IMG>, but the
alt attribute works differently: the value
is a single character (possibly an icon entity
or something like that.)  If more than one
character is specified for alt, only the first 
is used.

For example:
<UL>
<LH> Things I wish I had
<Bullet src="jewel.gif" height=10 width=20 alt="&smiley;">
<LI> riches
<LI> fame
<bullet alt="women" >
<LI> members of the opposite sex fawning over me
<LI> More members of the opposite sex fawning over me
<bullet src="new.gif" height=10 width=20 alt="&new;">
<li> a dog
</UL>

In this example, the first two items use the bullet
"jewel.gif" if displayed with graphics, or the smiley
icon entity if not. The third and forth items simply
use a character (no image needed) as a bullet. Notice 
that because only one character is displayed, so the third
and forth items are preceded by the letter "W".  (Useless
in this instance, I know.)  The fifth item uses the 
graphic "new.gif" or the &new; icon entity.

<bullet> infers the closing of the <LI> element, so 
<UL> <li> <bullet> <LI> </ul> 
is interpreted as
<UL> <li></li><bullet> <LI></li> </ul> 


Anyway, that was what I was thinking of.
The problem with <bullet> is that it wouldn't
be applicable to anything except lists.

<snip!>

( <HR src="> )

>I like this one too. But it has the same problems as <ul
>src=...>.
>If somebody could do a crisp write-up of the syntax and
>semantics, that would be nice.
<snip!>

Again, a reference to an <object> might work.

>
>Dan

Received on Wednesday, 8 May 1996 18:46:59 UTC