PDA

View Full Version : Popup window whithin Array.js


Caro
08-29-2002, 08:50 PM
Hi,
I have an Array.js menu which works great. I am trying to click on a title in the menu to open a popup but it keeks opening the popup when I click on the other links except the one I need. Here is what I used:

["Assistant Commissioner","ac-e.htm",1,0,1],

["Organization Chart", winpops=window.open("orgchart-e.htm"),1,0,1],

["Document Preparation Information","DocPrep-e.htm",1,0,1]
]

Thank you

joh6nn
08-29-2002, 08:55 PM
can we see the rest of the code?

Caro
08-30-2002, 12:56 PM
This the entire code that works with a Loader.js. In the loader.js it calls up the Array which you see here. Now this works great except that When I click on "Assistant" it opens the the orgchart as a popup window. And the same goes for "Document Preparation Information". And when I click on "Org Chart" it gives me an error message.


HM_Array1 = [
[105, // menu width
22, // left_position
160, // top_position
"#ffffff", // font_color
"#FFCC66", // mouseover_font_color
"#336699", // background_color
"#990000", // mouseover_background_color
"#ffffff", // border_color
"#cccccc", // separator_color
1, // top_is_permanent
0, // top_is_horizontal
0, // tree_is_horizontal
1, // position_under
0, // top_more_images_visible
1, // tree_more_images_visible
"null", // evaluate_upon_tree_show
"Null", // evaluate_upon_tree_hide
], //right-to-left



["Assistant","ac-e.htm",1,0,1],
["Organization Chart", winpops=window.open("orgchart-e.htm"),1,0,1],
["Document Preparation Information","DocPrep-e.htm",1,0,1]
]