Iframe alternative

Joined
Apr 29, 2005
Messages
6,403
Reaction score
130
Location
The Netherlands
I'm recoding my site to make it as search engine efficient as possible. And I found out that iframes make a crappily indexed site. So I would like to have an alternative for iframes as i am using them in my site. I tried object tags, but they don'y work very well in IE.

Any help is appreciated.
 
What kind of solution are you looking for?

I assume you have just a normal page and the iframe loads your content. Basically you could replace the iframe with javascript but that is not the most feasible option.

Perhaps consider ASP or PHP to dynamically load the content. Or if there is no web-server available other than storage room you could go for Tables
 
What kind of solution are you looking for?

I assume you have just a normal page and the iframe loads your content. Basically you could replace the iframe with javascript but that is not the most feasible option.

Perhaps consider ASP or PHP to dynamically load the content. Or if there is no web-server available other than storage room you could go for Tables

Hmm Yes, tables seem the most plausible to me, thanks.
 
If you want something that act visualy the same as frame (fixed heigh/width + scrolls) you can always pay with CSS in that case.

<div style="width:<YOUR WIDTH HERE>; height:<YOUR HEIGHT HERE>; overflow: scroll;"> YOUR CONTENT HERE </div>
 
I tend to agree with Zonko, divs are a neat way of displaying your content. If you learn how to work with AJAX you can even have them reload in much the same way as you would with an iframe - see the search on Private MMO Servers Toplist for example, wrote that a few days ago to only refresh the search result div.
 
If you want something that act visualy the same as frame (fixed heigh/width + scrolls) you can always pay with CSS in that case.

<div style="width:<YOUR WIDTH HERE>; height:<YOUR HEIGHT HERE>; overflow: scroll;"> YOUR CONTENT HERE </div>

Using CSS and DIV or other containers is a nice solution.

Please do yourself a favor and make a habit of using a linked CSS file so that you can re-use it in other page and change styles without editing all your web pages seperately
 
Please do yourself a favor and make a habit of using a linked CSS file so that you can re-use it in other page and change styles without editing all your web pages seperately

Actualy I always do, but for the sake of the simplicity I used attribute style instead of the tag link.
 
Back