By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,749 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,749 IT Pros & Developers. It's quick & easy.

Can I control the HTML open file

P: n/a
hi
I like to ask if there any option to control the html files?!?

I have some HTML files at my web site that use
one "Help.htm" file for all the pages {I use the
"window.open(.... " option at JS },
and I like to open only one file every time for all the files.

I use "myFunc.js" javascript file for all the files that try to open the
"Help.htm" file so I hava an 'Object' that hold the
open HTML help window,
but when I try open the file from other
HTM file from the same project I got new "Help.htm" instance,
and from every htm file I got new instance... etc.

Any suggestion,
how can open only one the file from all the html, files?

thanks in advance,
Yaniv.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


yanivmad wrote:
hi
I like to ask if there any option to control the html files?!?

I have some HTML files at my web site that use
one "Help.htm" file for all the pages {I use the
"window.open(.... " option at JS },
and I like to open only one file every time for all the files.

I use "myFunc.js" javascript file for all the files that try to open the
"Help.htm" file so I hava an 'Object' that hold the
open HTML help window,
but when I try open the file from other
HTM file from the same project I got new "Help.htm" instance,
and from every htm file I got new instance... etc.

Any suggestion,
how can open only one the file from all the html, files?


Make sure that in
window.open('whatever.html', 'windowName')
you always use the same window name as the second argument
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.