inline frame question

N

Nelly

HI I am using an inline frame to display large pictures when smaller thumb
size pictures are clicked.

Is there a way to automatically change the size of the frame to the size of
the picture that is been shown? (each picture is a different size!

Rgds
Nelly
 
K

Kevin Spencer

Unless you know the size, you can't determine it easily. You would need some
server-side programming to open the image file and get the size from it. The
size of the IFrame can be controlled via the style attribute - height and
width.

However, I'm wondering why you're using an IFrame. You could be using a div.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
Networking Components, Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
N

Nelly

HI i'm very new to FP and need to have 4 to 6 little pictures that when one
is clicked it is diplayed large and found that the i frame would let me do
that! Had searched web but could not find anything. Is there an easire way?

Rgds
Neil
 
K

Kevin Spencer

Have you thought about using the FrontPage Photo Gallery component?

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top