Alternative to an iframe?
Well, I'm looking for an alternative to an iframe. I've tried an ilayer and an object, but they aren't what I'm looking for either. Is there anything else that acts like an iframe?
___________________
Imortal until I die...
Login |
Alternative to an iframe?Alternative to an iframe?Currently viewing this thread: 1 (0 members and 1 guests) justlivetoliveWhat do u want to know? Ummm.....I own a site, blah blah blah blah blah, and here I am now.
Status: Offline!
Alternative to an iframe? Well, I'm looking for an alternative to an iframe. I've tried an ilayer and an object, but they aren't what I'm looking for either. Is there anything else that acts like an iframe? ___________________ Imortal until I die... You can tagteam PHP's include function (to include different content) with CSS's overflow: auto (to put it inside a neat scrolly box) to more or less emulate iframes. Your CSS:
And your PHP:
Then, somefile.inc (for INClude) contains the HTML of your content less all the <body> and <head> tags. Includes are a savior, good man for switching to better practices. Post back if you need some more explanation. ___________________ yep i use that method too. well explained ___________________ digitalDream // complete Webdesign solution //
if you wanted to be hip/trendy, you could modify that to use XMLHttpRequest and load content dynamicaly, sort of like an iframe would. a quick Ajax snippet:
That should load the file 'somefile.inc' into the 'scroller' element when the link is clicked. ___________________ |
Copyright ©1999-2008 Neverside. All rights reserved.
Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach
NeverAPI generated this page in 0.0084 seconds.