Hi,
I just installed a javascript library (Walter Zorn drag and drop: [url]http://www.walterzorn.com/dragdrop/dragdrop_e.htm
if (window.dd && dd.elements)dd.elements.divID.show()
and
if(window.dd && dd.elements) dd.elements.divID.hide()
I’m wondering if I wanted to make a single button that toggled between hiding and showing a DIV….how would I combine the two methods in a single onclick event, to toggle visibility? They both work perfectly as separate events on different buttons but I cannot figure out how to combine them. Any help would really be appreciated. I’m hope there’s some way to do this w/ the “else” statement but I don’t know the proper syntax.
Thanks!!!