i’m making some changes to page http://theparknyc.com/menu.html .
when you click on the Prix Fixe forms a popup of caveats comes up.
it works in every browser but internet explorer.
i’ve tried numerous methods and none of them work.
method one:
this is currently applied to the lunch and dinner prix fixe forms
flash code:
pflunch_btn.onRelease = function() {
getURL("javascript:Launch('http://theparknyc.com/menus/prixfixe.html', 600, 500)");
getURL('http://theparknyc.com/menus/ThePark_PFLunch.pdf');
}
pfdinner_btn.onRelease = function() {
getURL("javascript:Launch('http://theparknyc.com/menus/prixfixe.html', 600, 500)");
getURL('http://theparknyc.com/menus/ThePark_PFDinner.pdf');
}
html code within tags:
(this one is centered which i like)
<script language="JavaScript">
function Launch(page, width, height) {
OpenWin = this.open(page, "The Park", "toolbar=no, menubar=no ,location=no, scrollbars=no, resizable=yes, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
}
</script>
method two:
this is currently applied to the brunch prix fixe
http://www.actionscript.org/resources/articles/20/1/Spawning-External-Browser-Windows-Pop-ups/Page1.html
flash code:
pfbrunch_btn.onRelease = function() {
getURL("javascript:spawnWindow('http://theparknyc.com/menus/prixfixe.html','The Park - Prix Fixe Caveat','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=600,height=500')")
//getURL("javascript:Launch('http://theparknyc.com/menus/prixfixe.html', 600, 500)");
getURL('http://theparknyc.com/menus/ThePark_PFBrunch.pdf');
}
html code within tags:
<script language="JavaScript">
function spawnWindow(URL,Name,features) {
window.open(URL,Name,features);
}
</script>
the other option is that the caveats come up within the flash file kind of covering up the page and at the bottom of the caveats have a link to the pdf forms.
let me know what you know about i.e. and java pops.