Posted by Andy Dingley on 04/11/06 18:06
Clues wrote:
> I would like to add two buttons ("Previous" and "Next") to change photo.
>
> The question: which would be the best way?
>
> 1) <dd><button_here></dd>;
> 2) </dl><div><buttons_here></div>;
What is the "scope" of this button?
Is this "list" a single item, where the button changes the whole
contents of the list? Then place the button outside the list.
Is the list either multiple items, where the button affects only one at
a time? Or is it a single item list where the button changes something
about the display (switching images for the same flower, perhaps) but
doesn't change the "identity" of the list item. Then place the button
inside the list element.
[Back to original message]
|