I want to pop up a window on my computer from a .htm page. What is the reference and/or syntax?
Posted on 2003-10-30
I have an .htm page open from my local computer.
I can add links to other pages, but I don't know how to create a popup window graphic link from my local computer.
I found this and tried it...
<a href="newwindow.htm" onClick="window.open('samplewindow.htm', 'NewButtonWindowName','width=375,height=250')"><img src="button.gif" alt="AlternateText Description" </a>
I am confused with the references. I am on let's say page1.htm I want to open page2.htm page1.htm is in a folder called maintenance and I want to open page2.htm which is in a folder called help, so I think it is ../help/page2.htm I am going to use a button from ../images
What do you think they are asking for in place of newwindow.htm samplewindow.htm and newbuttonwindowname ?
Any help would be appreciated.