I want to show popupPanel when i click on slideDown button ,but at the start my popupPanel is hidden
using
popupPanel.getElement().setAttribute("style", "display:none");
but when i click on slideDown button it slide down very fast
& my onClick code is
@Override
public void onClick(ClickEvent arg0) {
if (arg0.getSource() == slideDown) {
$(DOM.getElementById("popupPanel")).as(Effects).slideUp(Speed.SLOW);
}
}
Can u help me ?