H
Husam
I've made a popup menu which work great except for passing the variables to
php script. The variables don't get passed.
My popup menu looks like this:
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",77,19,"Arial, Helvetica,
sans-serif",12,"#cccccc","#333333","#dfdfdf","#00ccff");
fw_menu_0.addMenuItem("Topics",
"window.open('Interface.php?ClearTopics=yes', 'MIDDLE');");
fw_menu_0.addMenuItem("Subjects",
"window.open('Interface.php?ClearSubjects=yes', 'MIDDLE');");
fw_menu_0.bgImageUp="images/fwmenu2_77x19_up.gif";
fw_menu_0.bgImageOver="images/fwmenu2_77x19_over.gif";
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
fw_menu_1.writeMenus();
} // fwLoadMenus()
I've tried window.open() by specifying the location, but I don't know how to
specify the frame.
Any help is very much appreciated.
Thanks in advance.
php script. The variables don't get passed.
My popup menu looks like this:
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",77,19,"Arial, Helvetica,
sans-serif",12,"#cccccc","#333333","#dfdfdf","#00ccff");
fw_menu_0.addMenuItem("Topics",
"window.open('Interface.php?ClearTopics=yes', 'MIDDLE');");
fw_menu_0.addMenuItem("Subjects",
"window.open('Interface.php?ClearSubjects=yes', 'MIDDLE');");
fw_menu_0.bgImageUp="images/fwmenu2_77x19_up.gif";
fw_menu_0.bgImageOver="images/fwmenu2_77x19_over.gif";
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
fw_menu_1.writeMenus();
} // fwLoadMenus()
I've tried window.open() by specifying the location, but I don't know how to
specify the frame.
Any help is very much appreciated.
Thanks in advance.