Jump to content

create close popup listener


dflow

Recommended Posts

i have played around with YUI calendar

i manipulated the code a bit

how do i create a close popup listener ?

// Listener to show the 2 page Calendar when the button is clicked
	YAHOO.util.Event.addListener("show2up", "click", YAHOO.example.calendar.cal1.show, YAHOO.example.calendar.cal1, true);

	YAHOO.example.calendar.cal2 = new YAHOO.widget.Calendar("cal2","cal2Container", { title:"Choose a date:", close:true } );
	YAHOO.example.calendar.cal2.render();

Link to comment
https://forums.phpfreaks.com/topic/179055-create-close-popup-listener/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.