other than the object tag or php include
| 1:52 am on Mar 14, 2010 (gmt 0)|
I know this topic has been discussed several times in the past, but I am seriously stuck here. So, are there ANY solid alternatives to the <iframe> tag (other than <object> or PHP include)? I have tried <object>, but over half of my sites visitors use IE, and we all know what IE does to the object tag. I can't use PHP include because my host won't support it.
| 3:00 am on Mar 14, 2010 (gmt 0)|
Let's explore your needs a bit further. What kind of functionality do you need to support?
In other words, are you embedding content from your own site in several different pages? Or are you embedding content from a different domain? Do you need to have links that will change the embedded content to something else, or will a "once and done" display server your purpose?
And finally, what is the reason you don't want to use an iframe?
| 3:28 am on Mar 14, 2010 (gmt 0)|
I only need to embed a navigation menu onto all of the pages on my site.
I don't want to use an iframe for two simple reasons: it isn't completely valid, and is quite glitchy and inefficient if you ask me.
Hope that helps.
| 4:50 am on Mar 14, 2010 (gmt 0)|
Your host won't support a PHP include (seems odd to me)? How about a vanilla server-side include, as in shtml?
| 1:36 pm on Mar 14, 2010 (gmt 0)|
I'm not recommending this but...
| 8:10 pm on Mar 14, 2010 (gmt 0)|
Two more options,
Server Side Includes as tedster mentioned, but if your host doesn't support PHP, it may not support SSI.
| 12:35 am on Mar 15, 2010 (gmt 0)|
If you are using an editor that supports templates (such as DreamWeaver) then placing the navigation in the template may solve the problem. This is fine up to a point, but if the website has thousands of pages then uploading all of them for each navigation change may be a big nuisance.