View Single Post
Old 08-30-2008, 11:59 AM   #9 (permalink)
Costin Trifan
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
it's not complicated, only that I don't quite understand what you mean by "toggle it as "hide" when the content is expanded" ??

do you want to automatically detect if the content was set to a default state (like none, or block) and the toggleview function should know how to toggle the content, or you want to manually set the display states in the function?

(something like this:

toggleview('q1', 'none', 'block', event) -> which will toggle the content from block to none

or
toggleview('q1', 'block', 'none', event) -> which will toggle the content from none to block

where the first display state is the default state of the content and the second is the state to change to.
)
__________________
...to be continued
Costin Trifan is offline   Reply With Quote