Alternative for iframe?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

Alternative for iframe?

Post by potato »

Hi everyone,

long time no see.
I have a question about an iframe.
Does someone knows an alternative for an iframe?
But so that search engines can index the content of that 'iframe'.

Many thanx & greetings, :wink:
behets tom
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

a block level container using CSS overflow settings.


Moved to Client-side.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Yup thats exactly what I do. I div with a specified width and height and overflow:auto or scroll. If you need to change it's content just use a php switch for $_GET (or a bit of JS innerHTML depending on what you're doing)
slimsam1
Forum Commoner
Posts: 49
Joined: Wed Aug 21, 2002 12:20 am

Post by slimsam1 »

If you're going to require scrolling anyway, then I'd recommend using an iframe. Users won't be able to use their mouse wheels to scroll otherwise.

Almost any search engine will index iframe content anyway, but if you're worried about it then just make sure there is a link in your main page to the content in the iframe.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

uh, mouse wheels work perfectly fine in every CSS overflow controlled content I've worked with..
Post Reply