Page 1 of 1

Change content automatically and resize.

Posted: Tue May 18, 2004 12:41 pm
by thewolfe
Change content automatically and resize.

I would like to change the content on a certain part of my page. I found http://www.dynamicdrive.com/dynamicinde ... iframe.htm which does the job for 7 days in a row.

The problem with it is that the content is not the same size so to get the largest I might have in a weeks period, it leaves a lot of blank space for other days.

So I'm looking for a way to not have to change content manually on a daily basis but have the "window" for the daily stuff adjust to the size of the text so the text under the "daily stuff" would be in a proper relationship and not a mile down the page.

Actually, a "scrolling" window would work if I could adjust the window size and change the content for at least a week at a time.

Any suggestions?

Posted: Tue May 18, 2004 12:44 pm
by fliptw
internal frames, and tables.

Posted: Tue May 18, 2004 12:53 pm
by thewolfe
Not to adept at website design or "jargon", can you elaborate?

Posted: Tue May 18, 2004 1:44 pm
by fliptw
i-frames.

you don't need javascript to do what you want.

Posted: Wed May 19, 2004 10:18 am
by KompresZor
That script is designed to load content into an i-frame, if you don't use frames in you page that could be your trouble :)
"Description: This script loads a different page into an iframe daily (out of 7 days of the week). Use it to serve up daily, changing content, such as a "tip of the day."
EDIT: lol, if you type i-frame without the "-" it gets filtered to "loser"

Posted: Wed May 19, 2004 10:30 am
by Lothar
probably left over from the old swear filter... a spammer once came here and posted a "lol" in a long thread, and hid an i-frame that would give you a pr0n popup when you left the page. Hence, the string i-frame (without the dash) was filtered.

Posted: Wed May 19, 2004 10:47 am
by Testiculese
Proper table structure removes the necessity of frames, and % widths ensure that the site shrinks or grows depending on content.

Posted: Wed May 19, 2004 2:53 pm
by thewolfe
Thanks for the posts.

I discovered that the Dynamic site script that I was using had a scrollbar that could be turned on so that solved my problem.