Forgive me. I'm a newbie, and this is probably a simple question, but so far I haven't found an answer to this. Please help!
I am using a javascript menu that is sort of secondary to the main menu. From this menu I am trying to have links that send the user to regular pages (in the same window), and other links that send the user pop-up windows with detialed information. Sending the user back to the regular pages on the site works well. Sending the user to new pop-up windows if proving a challenge. I want to be able to control the size and location of the new pop-up window, and well as what browser bars are shown.
The menu is a file called pop-up.js and the links are tied to words and images.
The menu programming for the links to the regular pages that work fine are like this:
document.write('<a href="index.html"><img src="picts/topics-2.jpg" vspace="3" height="75" width="100" border="1"><br>');
document.write('Home</a>');
How do I change/modify these lines to do what I want (open link in new window, control size and location of the window, and select which browser bars to show). Or do I have to take an entirely different approach? Do you need more info, let me know.
Thanks very much.
I am using a javascript menu that is sort of secondary to the main menu. From this menu I am trying to have links that send the user to regular pages (in the same window), and other links that send the user pop-up windows with detialed information. Sending the user back to the regular pages on the site works well. Sending the user to new pop-up windows if proving a challenge. I want to be able to control the size and location of the new pop-up window, and well as what browser bars are shown.
The menu is a file called pop-up.js and the links are tied to words and images.
The menu programming for the links to the regular pages that work fine are like this:
document.write('<a href="index.html"><img src="picts/topics-2.jpg" vspace="3" height="75" width="100" border="1"><br>');
document.write('Home</a>');
How do I change/modify these lines to do what I want (open link in new window, control size and location of the window, and select which browser bars to show). Or do I have to take an entirely different approach? Do you need more info, let me know.
Thanks very much.