Hi Dan,
"Therefore, simply have a single button which calls a function to test whether the item is visible or not, and call the appropriate method to change this."
I guess what I am asking is what that function would look like, if i know that the hide and show functions are:
if(window.dd...
Hey Dan,
Maybe I did a poor job of explaining myself initially...I've had no problem using the visibility property to hide or show divs...in the api library it lists the method for showing:
if (window.dd && dd.elements)dd.elements.divID.show()
and hiding:
if(window.dd && dd.elements)...
Thank you Dan. I don't believe there is a toggle() method built in. I thought maybe there was a way to just combine the show and hide methods using the else statement (but I do not know the proper syntax for this...I'm admittedly very much a beginner when it comes to javascript).
Thanks again...
Hi,
I just started using the Walter Zorn drag & drop library:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.