[Javascript] Re: Popup window from an anchor

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Thu Aug 9 10:44:27 CDT 2001


If all of your footnotes are on the same page, then just pass the footnote
name to the function and modify the function:
< SCRIPT LANGUAGE="JavaScript">
function newwindow(ftname) {
var footNoteName;
footNoteName=document.location + "#" + ftName;
myPage = window.open(footNoteName, "secondwindow",
"toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=150,heigh
t=250,top=100,left=200,screenX=100,screenY=200");
}
< /Script>

And then the call would be:
<a href="JavaScript:newwindow('foot3')">< SUP>3</SUP></A> 


Bob Filipiak (Contractor)
MCP 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010809/8a72f721/attachment.htm>


More information about the Javascript mailing list