can popup support a url?
Yes, try the next:
myToolbar.setItemText("workbut", "List");
myPop = new dhtmlXPopup({ toolbar: myToolbar, id: "workbut", mode: "bottom" });
lnk = "https://www.google.com/"
myPop.attachHTML("<a href="+lnk+">click it</a>");
myPop.attachEvent("onContentClick",function(){
window.open(lnk,'_blank');
})
thanks for your reply…
i mean that the opened popup content can be show my input url content…
i got a better pattern…
i can attach a layout,then the layout can attach a url!thanks…
You are welcome