to use the flash popup calendar, a few things must be done:
flashpop.html
, flashpop.swf
, and flashpop.js
files into the same folder as your html file <script language="javascript" src="flashpop.js">
<!--
// kevin robert casey
// 24 august 2004
// kevin@senatorcasey.com
//-->
</script>
openCalendar(target)
target
is a reference to the text field expecting to receive the date value flashpop.html
file
below you will find a demo of the flash popup calendar for reference.
"but there are so many files involved - how does it all work?" you ask... for the curious, and for my own reference, here is a simplified outline:
openCalendar(target)
openCalendar(target)
(which is defined in flashpop.js
) creates a new window and loads flashpop.html
flashpop.html
loads the flashpop.swf
movieflashpop.swf
, it makes a call to fscommand(command, args)
in flashpop.html
flashpop.html
passes the selected date back to the file that opened it (containing the button or something similar) via the dateSelection(arg)
function defined in flashpop.js
dateSelection(arg)
puts the given date into target.field
(from back in step 1)
date: $Date: 2004/09/06 01:31:44 $
version: $Revision: 1.1 $