Ah! Thanks!
The sizing is not critical nor is the right click thing...but I always hated all that white real estate.
Thanks - both of youse.
Rob
| >-----Original Message-----
| >Howdy All,
|
| Hello.
|
| >How do you get a thumbnail image to open in a separate
| >window..NOT the default huge window with controls and
| >all that white space...but a small "control-fee" window?
| >Possibly with right click disabled? I've seen this done
| >before but I can't seem to figure it out.
|
| You have to modify the thumbnail's hyperlink to call the
| window.open method, as shown below.
|
| <a href="javascript:window.open
| ('/images/mypicture.jpg',null,'height=200,width=400,status=
| no,toolbar=no,menubar=no,location=no');void(0);">
|
| The height= and width= settings specify the *external*
| size of the new window. Making the window just large
| enough to show the whole picture is a problem, because you
| can't know in advance how much space the window borders
| consume. You'll probably have to make the window a little
| over-sized, and hope for the best.
|
| For more information about the window.open method, browse:
|
http://msdn.microsoft.com/workshop/author/dhtml/reference/m
| ethods/open_0.asp
|
| Microsoft Office FrontPage 2003 Inside Out comes with a
| test page that displays the browser's current external and
| internal window sizes. This may be helpful when estimating
| the external window size needed to provide a given
| internal space. You can preview this page at:
|
|
http://www.interlacken.com/fp11iso/ch19/windowsize.htm
|
| Jim Buyens
| Microsoft FrontPage MVP
|
http://www.interlacken.com
| Author of:
| *----------------------------------------------------
| |\---------------------------------------------------
| || Microsoft Office FrontPage 2003 Inside Out
| ||---------------------------------------------------
| || Web Database Development Step by Step .NET Edition
| || Microsoft FrontPage Version 2002 Inside Out
| || Faster Smarter Beginning Programming
| || (All from Microsoft Press)
| |/---------------------------------------------------
| *----------------------------------------------------
|
|
|