<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Great link Ben, Thanks very much.
<p>There is a link to download a zip there which contains
<br>launch.htm
<br>test.htm
<br>a .js file and some images.
<p>launch.htm has links to open and close the windows.
<br>In MSIE 5.5 (Win 98) the windows have a narrow border, in a defined
colour (black) a title and images for minimise and close - which work.
I did find that when one window was closed others open also closed despite
having different handles.
<p>In NN4.7 you get a fairly ordinary 'sized' window. But the script does
not fall over. Browser detection as ever would need a close look. Same
performance in NN6.01
<p>test.htm is a simple file which is displayed.
<br>The images and title bar are in a top frame because the .js file -
which is quite complex - writes a frameset.
<p>I thought I would try to get rid of the title bar and icons, as per
the original question from Andrew.
<p>Not having a title is easy:
<br>in function openIT()
<br><tt>&nbsp;titHTML&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ""; // displayed
title in coloured top frame</tt>
<br><tt>&nbsp;titWIN&nbsp;&nbsp; = ""; // title in status bar</tt>
<p>Suppressing the images, in a quick and dirty way was also easy, since
there is a none.gif provided:
<p><tt>&nbsp;CLOSEdwn&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;CLOSEup&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;CLOSEovr&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;MINIdwn&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;MINIup&nbsp;&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;MINIovr&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;NONEgrf&nbsp;&nbsp; = "img/none.gif"</tt>
<br><tt>&nbsp;CLOCKgrf&nbsp; = "img/none.gif"</tt>
<p>The colour of the top frame (Red) is contrlled with
<br>&nbsp;winBGCOLOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "#FF0000"
<br>and can be altered.
<p>There are various layers defined in the .js of which I altered the height,
without much confidence, vut what really worked to minimise the top frame
was altering this line
<p>'&lt;frameset border=0 framespacing=0 frameborder=0 rows="1,<b><font color="#3366FF">20</font></b>,1,100%,1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'+ '\n'+
<br>to
<br>'&lt;frameset border=0 framespacing=0 frameborder=0 rows="1,<b><font color="#FF0000">1</font></b>,1,100%,1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'+ '\n'+
<p>BTW, my text editor showed me a lot of non keyboard characters in the
.js file, displayed as little squares. The first thing I did was to remove
these from a renamed copy of the file and test. Their removal had no noticeable
effect - except to take about 1800 chars out of the .js file size!
<p>All the windows produced icons on the task bar, but these did not repond
to clicks. You cannot close these windows from the task bar. AltF4 will
work (but not everyone knows that) and both the close links in launch.htm
and the icons in the top frame worked. Without those, you may frustrate
your users, unless you provide a clear cloe window link within the window.
<p>Not sure if I will use these windows. These things take time to settle,
and non Mac use would be a problem for our users for sure. But fun!
<br>&nbsp;
<p>Rodney
<p>Ben Curtis wrote:
<blockquote TYPE=CITE>> > > >&nbsp;&nbsp;&nbsp; Is it possible to get rid
of the top part of a window,
<br>> > > > the part with the minimize and X buttons? If it is possible
<br>> > > > could you please explain how.
<br>> > > >
<br>> > > No, not in javascript.
<br>> > >
<br>> > err, it is actually.&nbsp; I think in IE you can do something funky
<br>> > with opening a new window, setting it to be full-screen, and
<br>> > setting the height &amp; width at the same time.
<br>> >
<br>>
<br>> As ever, I look forward to being proved wrong in this list, as
<br>> has happened before and will happen again. That is much of what
<br>> makes the list worthwhile, in my opinion.
<br>>
<p>Here's where I saw it before:
<p><a href="http://www.microbians.com/">http://www.microbians.com/</a>
<p>I hope it still works, but I'm on a Mac now and it's IE and Windows
only. It
<br>*does* use "fullscreen" to open a chromeless window, but then it resizes
the
<br>window using Javascript (the user cannot resize a chromeless window).
<p>If you use this, be kind to your users and give them as much window
control
<br>as they are used to: resizing, closing, etc., can all be done with
<br>Javascript so you had better provide it.
<p>+Ben Curtis
<br>...just this guy, you know?
<p>_______________________________________________
<br>Javascript mailing list
<br>Javascript@LaTech.edu
<br><a href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</a></blockquote>

<p>--
<br>Shop@ssistant Add-ons and Developer Workshops
<br><A HREF="http://www.aflyingstart.net/addons/">http://www.aflyingstart.net/addons/</A>
<p>Enquiries regarding Shop@ssistant Classic training :
<br>Call 01256 880770
<p>Rodney Myers
<br>Based in Oxford, England
<br>Technical Director, Shop@ssistant eCommerce Solutions
<br>&nbsp;</html>