You need the JS script in the HEAD section of your page telling the JS to open new window based on those stats. The button is currently looking for a function definition for ajaxpage()
Try adding this to your HTML page:
Code:
<SCRIPT language=JavaScript>
var newwin;
function ajaxpage(winurl,winname,winfeatures)
{
//This launches a new window
newwin = window.open(winurl,winname,winfeatures);
}
</SCRIPT>
If that doesn't work take a look at these examples:
http://www.flash-db.com/PopUp/ //nothing in the html...
http://www.kirupa.com/developer/mx/centered_popup.htm //Flash & html
Bookmarks