Forum Moderators: open

Message Too Old, No Replies

resizing picture to fit height of the window + issue with iframe

height iframe picture resize

         

Cyriak

4:58 pm on Aug 1, 2007 (gmt 0)

10+ Year Member



hey

I'm doing an html page that I will use local on a DVD, not for web publication .
And I ran into different issues:
check the test I uploaded there :

< sorry, no test pages.
See Forum Charter > [webmasterworld.com]

So first if you open any of the portrait picture ( try the last ones) the picture won;t resize to the height of the windows. and I really would like it to behave like that...any idea with CSS , java script? I can't do any php or asp because it won't be linked to a server just standalone on a dvd.

and the second problem is that when you're on the gallery and you scroll down then when you open a picture it will display the link in the iframe witht he same scrolling, is it possible to reset the previosu scrolling memory and reset the display to start from the top?

not sure any of my question are really clear to understand. just let me know :)

[edited by: tedster at 6:45 pm (utc) on Aug. 1, 2007]

tedster

6:56 pm on Aug 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Cyriak, and welcome to the forums.

I can't do any php or asp because it won't be linked to a server just standalone on a dvd.

Ah, but you can embed a small server on the DVD. By SERVING files from the local drive you will also bypass all kinds of local security challenges that IE ordinarily throws at you when you just run files from a local drive without a server.

I did a project like this last year, and after much frustration I finally discovered and used Server2Go - a scaled down freeware version of Apache. It allows you to run PHP, Perl, and even a MySQL database from the local DVD drive.