Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

Links

XODOX
Impressum

#1: iframe

Posted on 2008-04-16 15:39:05 by Uwe Kornnagel

Hi,

I have a small problem. How can I resize the height of an iframe on its
contens?
I cant use my script direktly because the club uses a pagetool. this
generator blocks all kinds of scripts.

<IFRAME src="http://myotherserve.de/myscript.php?timetable" height="depens
on contens"> </iframe>

Many thanks for your help
Uwe

Report this message

#2: Re: iframe

Posted on 2008-04-16 16:46:20 by jkorpela

Scripsit Uwe Kornnagel:

> I have a small problem.

I'm afraid you're creating a big problem.

> How can I resize the height of an iframe on
> its contens?

You can't, except with some computer program that reads the contents and
evaluates it somehow and the sets the height in HTML markup or in CSS
code.

> I cant use my script direktly because the club uses a pagetool. this
> generator blocks all kinds of scripts.

I wonder what that means.

> <IFRAME src="http://myotherserve.de/myscript.php?timetable"
> height="depens on contens"> </iframe>

Just set some reasonable height and do _not_ try to prevent scrolling
(set overflow: auto). And don't forget to add fallback content (for
advanced browsers that let the user disable <iframe> functionality and
display element content instead).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Report this message