|
-
Open new window
Okay, I have a page where I want to have a help related link open a new window.
I can get it to open a new window but everytime I press the link it opens
a brand new window. Is there a way to make it reuse the same window. I am
currently using IE 5.0 and this has to work with Netscape as well.
I have had it work before and I see plenty of sites that have windows open
"onload" which reuse the window but for the life of me I cannot figure out
what the difference is in what I am doing.
I have tried using a function in my link and passing the filename.
<SCRIPT language="JavaScript">
function openHelp(helpPage)
{
open(helpPage,'HelpPage','width=350,height=300,scrollbars');
}
</SCRIPT>
Ive tried hardcoing it
<SCRIPT language="JavaScript">
function openHelp(helpPage)
{
window.open('http://sara/demo60-pln/help/acctbal.htm','popup','width=483,height=465,toolbar=0,scrollbars=12,resizeable=yes,status=0 ');
}
</SCRIPT>
Ive also tried using target="_new" in my link
<a href="acctbal.htm" target="_new">Help</a>
[this one actually worked a week or so ago...at least I thought it did]
Thanks in advance for any guidance you may have.
PS. Im sure this is pretty basic stuff so please forgive me 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks