FP 2002 How do you get a thumbnail...

C

Crash Gordon

Howdy All,

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.

Thanks!

Rob
 
J

Jim Buyens

-----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)
|/---------------------------------------------------
*----------------------------------------------------
 
C

Crash Gordon

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)
| |/---------------------------------------------------
| *----------------------------------------------------
|
|
|
 
C

Crash Gordon

Hey thanks again...that Jimco guy is alright ! Great stuff there, Spawn seems to fit the bill...but MORE important is the Selective Publish Add-In he has. That's exactly what I needed for a problem I'd have with a Unix server and files getting overwritten.

R.


| You have to build a separate page for each image. Aslo look at Spawn:
| http://www.jimcoaddins.com/addins.aspxto to help you ... it's nifty.
| Don't disable right click. that has been discussed to death here... research
| earlier posts.
| ETC
|
| Crash Gordon wrote:
| > Howdy All,
| >
| > 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.
| >
| > Thanks!
| >
| > Rob
|
|
 
J

Jim Buyens

Crash Gordon said:
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.

It's so easy to defeat the right-click thing that it's essentially
useless. For a further explanation, browse:

Protecting Pictures
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=25

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)
|/---------------------------------------------------
*----------------------------------------------------
 
Top