1. From Page A, I have a button that links to a Page B in a new browser window, with specified window size. I used the code below:
href="javascript: NewWindow = window.open('open_pageB.htm','fullpopup','width=500,height=650,scrollbars,resizable,status');NewWindow.focus();"
2. This works fine so far and we have 2 windows open, Page A and Page B. Then in Page B, I have a button in which I'd like to open another third new window Page C. I used the same code above expecting a third window to be open, but:
if Page A and Page B are open, Page C displays in the same window as Page B.
if only Page B is open, Page C will then open in a new window.
So to try to fix this, I removed the javascript portion in Page B and replaced with "target":
href="capvid_stopcap.htm" target="_blank"
So this works fine now, except now I'm not sure how to specify browser window size and remove browser buttons, etc. Is there a better to write this?
TIA for your help!
href="javascript: NewWindow = window.open('open_pageB.htm','fullpopup','width=500,height=650,scrollbars,resizable,status');NewWindow.focus();"
2. This works fine so far and we have 2 windows open, Page A and Page B. Then in Page B, I have a button in which I'd like to open another third new window Page C. I used the same code above expecting a third window to be open, but:
if Page A and Page B are open, Page C displays in the same window as Page B.
if only Page B is open, Page C will then open in a new window.
So to try to fix this, I removed the javascript portion in Page B and replaced with "target":
href="capvid_stopcap.htm" target="_blank"
So this works fine now, except now I'm not sure how to specify browser window size and remove browser buttons, etc. Is there a better to write this?
TIA for your help!