make dynamic sized iframe work? or alt ideas?

E

Eric Peterson

I'm just an occasional, light-weight programmer/web page builder... IOW:
I don't really know what I'm doing.

I'm working on a photo gallery page with a rough format of:
header and menu
content
footer
Where the content is dynamic showing the home page, or one of a couple
informational text pages, or a photo gallery. For the gallery I'd like
to have thumbnails displayed in a horizontal strip (filmstrip style)
with a scroll bar to run through them. I'd like clients to be able to
click on a picture from the filmstrip to view a larger version. That is
where my problem begins.

So far I've used an iframe to view the content (the only way I could
find to get a horizontal scroll bar for content alone... no scrolling of
header/footer). For the thumbnail views in the filmstrip, an iframe
height of about 400 pixels works great, but that is too short for
showing a larger version of the photo. But since the client clicks on
the photo, within the iframe, I can't seem to change the height of the
frame, which is within the parent's <iframe> tag.

I know nothing about java, but it is probably my best hope??? A way to
force an update of the parent page from a link/click within the child page?

Or maybe I could force an update of the parent page with any click
somewhere within the iframe? (yet still have the link work for the
content in the iframe)

Other ideas? Maybe even dump the iframe idea entirely (but then how do
I horizontally scroll a portion of the page?

Thanks! Specific coding suggestions are more than welcome, since I'm no
expert.

-Eric
 

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

Members online

Forum statistics

Threads
474,038
Messages
2,570,372
Members
47,018
Latest member
IrisN51866

Latest Threads

Top