Hi,
Is it possible to launch a separate target browser window?
I am using the menu to point to individual pdf files, but want a separate broswer window to be created for each pdf.
Thanks in advance
Launching separate target window
-
- Beginner
- Posts: 2
- Joined: Wed Nov 06, 2002 1:35 am
Hi Stephen,
You may find what you're looking for here. You can either specify a target= in your menu item's URL, or you can use a small javascript function to open a new window. I prefer the javascript approach, because it gives you control over many of the new window's properties (size, position, scrollbars, etc.). You could pass the .pdf file name as a parameter to this function, then set the new window's location.href to open the file.
Hope that helps,
Kevin
You may find what you're looking for here. You can either specify a target= in your menu item's URL, or you can use a small javascript function to open a new window. I prefer the javascript approach, because it gives you control over many of the new window's properties (size, position, scrollbars, etc.). You could pass the .pdf file name as a parameter to this function, then set the new window's location.href to open the file.
Hope that helps,
Kevin