...

View Full Version : iframecode websites using iframe



padasalgi
01-08-2008, 05:57 PM
will some one please advise me the url of the websites using iframe
thanks

mlseim
01-08-2008, 06:06 PM
This site uses <iframe> to change the center part
of the screen without a page refresh.
http://www.pierretoutain.com

It could be done without using an iframe, but the
affect of the refresh flashes the page. The author
also didn't want to use Javascripting for that either.

The main reason for iframe was to allow the author
to change the content that appears in the iframe.
It's all done dynamically, using Perl (PHP would be fine too).

I've never had SEO issues with iframes (inline frames),
but frames (plain old frames) are a different issue.

View the HTML source of the website (link above) and
see how the <iframe> is inserted.

BubikolRamios
01-08-2008, 10:48 PM
In case u fill that u discowered something that will solve the need to not have java script at all ...
note: iframes does not resize to its inserted contence automaticaly.
This is a big bummer, jou then need to resize them via java script.

mlseim
01-09-2008, 12:31 AM
That's why the contents of the iframe are dynamically generated using PHP.
If PHP is creating the contents, it can alter CSS properties to fit text, paragraphs,
etc. and use GD to fit images. No Javascripting needed.

And I don't see how Javascripting could do that anyhow.

Also, with PHP, it's all done server-side, so nobody needs to see the scripting.
It just renders like ordinary HTML. Clean, efficient, and can use CSS style sheets.

You didn't mention what content needs to be inserted into the iframe ...
You only asked for a URL example. I'm not sure what you're looking for.

Instead of bashing our examples, show us some examples of your own.
Give us a URL of some iframes you've done where Javascripting solves your problems.

BubikolRamios
01-09-2008, 10:01 PM
Hey I was just pointing something out for original poster, no direspect ment, to anybody.

mlseim
01-09-2008, 11:09 PM
Bubikol ...
Sorry, I didn't look close enough ...
I thought you were the original poster.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum