Old 11-05-2004, 20:24   #1 (permalink)
DJC
Registered User
 
Join Date: May 2004
Posts: 10
Dynamic iFrame...

Hi, I was wondering if anybody has a dynamic iFrame script that works in IE and Mozilla to make the height of the iFrame expand to fit the content inside it without a scrollbar. I've tried a few existing ones and they all have problems, thanks!

DJC
  Reply With Quote
Old 12-05-2004, 01:46   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,240
Doesn't that defeat the object of an iframe? Why not just use an ordinary div if it doesn't need to be scrollable?

Or am I missing something here?
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 12-05-2004, 03:52   #3 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,344
I missed the bus.
  Reply With Quote
Old 12-05-2004, 19:59   #4 (permalink)
DJC
Registered User
 
Join Date: May 2004
Posts: 10
Because I have some elements on the main page containing the iframe that need to be updated constantly and if I used normal divs I wouldn't be able to update one page and have all content pages contain the update.

Thanks
DJC
  Reply With Quote
Old 13-05-2004, 03:56   #5 (permalink)
Bill Posters
trouble free and loverlee
 
Join Date: Mar 2003
Location: YooKay
Posts: 2,930
Quote:
Originally Posted by DJC
Because I have some elements on the main page containing the iframe that need to be updated constantly and if I used normal divs I wouldn't be able to update one page and have all content pages contain the update.

Thanks
DJC

Er… yes, you would.

PHP modularisation should be your new mantra.
Run a search for php "server-side includes".
It'll revolutionise your build/development workflow and you'll never go back to flat markup.

.e.g.
On my own site, almost every part of the page is contained within its own php document.
A skeletal/templated document is created that brings the parts together to form one, consistant, complete web page.
The events section on my site is the most frequently updated part of the site.
It is contained within its own document and contains only the markup for that section of the page's.

It is updated separately in order to keep the listings fresh and in date.
Whenever the events section document is updated, any page that includes it will also show the updated version.

Simple as.
  Reply With Quote
Old 13-05-2004, 04:21   #6 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,344
fusebox.,
  Reply With Quote
Old 13-05-2004, 04:48   #7 (permalink)
Bill Posters
trouble free and loverlee
 
Join Date: Mar 2003
Location: YooKay
Posts: 2,930
You mentioned that one before, mik.
It's a CMS thang, right?
Is it hard to get your head around?
Is it worth looking into if you're already comfortable with PHP includes, etc…
  Reply With Quote
Old 13-05-2004, 05:06   #8 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,240
I remember that one

Loading images into a page

I started reading up on it but got bored - http://www.fusebox.org/
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 13-05-2004, 06:03   #9 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,344
Quote:
Originally Posted by smallbeer
I remember that one

I started reading up on it but got bored [/url]

haha good man
  Reply With Quote
Old 13-05-2004, 06:10   #10 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,344
Quote:
Originally Posted by Bill Posters
You mentioned that one before, mik.
It's a CMS thang, right?
Is it hard to get your head around?
Is it worth looking into if you're already comfortable with PHP includes, etc…

NO
NO
Yes

its the methodology of using includes. It help you design and build better applications.
Its not so much a hands-on product* but an approach.


*There are modules built for inclusion into projects etc
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8