|
Posted by Andy Dingley on 04/12/06 13:37
Clues wrote:
> >
> > 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.
> the buttons change the content of the attribute src of img
That's not really the relevant factor. That's a "how" answer, not a
"what". I don't care that it "changes the content of the attribute src
of img" - I care instead about _why_ it does that.
Is this changing the _content_ of the list? Or is it changing the
presentation of one element of the list? In particular I don't care
whether it's "changing the src attribute" or if it's "calling some
random JavaScript" or "submitting a seaerch form"
If the image you're changing is the image that "represents the content
of the list" then the button goes outside.
If the image you're changing is "photo #1 of #5 for this item" then it
goes inside the list.
Also (as a side issue) just changing the src attribute might not be
enough. What about captions, alt ot title properties too?
Navigation:
[Reply to this message]
|