wernerlerner
Programmer
Hi,
I just started using the Walter Zorn drag & drop library:
And one of the properties included in WZ drag n drop is the ability to hide or show divs and images that have been made draggable, using the the following methods:
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 above in a single onclick event?
Thanks,
Clay
I just started using the Walter Zorn drag & drop library:
And one of the properties included in WZ drag n drop is the ability to hide or show divs and images that have been made draggable, using the the following methods:
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 above in a single onclick event?
Thanks,
Clay