Help, Support and Suggestions

Embedding html into html
bbr at 8:11AM, Nov. 6, 2007
posts: 299
joined: 11-1-2007
Ah, curious question yes?

I'd like to make a html page with the “navigation bar”, and then link that page (embed it) trough other pages.
Sort of like a C++ header include.

Anyone have an idea how?
I found 1 example but sadly it was for “IE” only, which won't be good enough.
If it fails i guess i can just resort to copy pasting,, but i'd prefer a cleaner solution.

Since the site is php based, its “supposedly” possible for the server to do this for me as well.
So my question would be, is it possible for the server to do this, and if so, how?

Ok, here's my issue.
I'd like to embed a html into another html.

In detail, i have 3 pages, and 1 page with the “navigation bar”.
I'd like to embed the navigation bar page into each of the other pages so that i don't have to copy paste the navigation bar into each of the other pages anytime i make a change to it.

Now, frames would obviously be an option, but i think that's a bit outdated and ugly.
the tag seems to have the option to do what i need,, but i'm not sure if its fully compatible with all browsers i use (firefox, safari, ie7).
Perhaps there's a more widely accepted option to do this with?

Hopefully someone can give me an insight in this.

Also, would it be possible to allow .php files to be uploaded, as well as .htm (aside .html obviously)?
The file extension: php is not supported
last edited on July 14, 2011 11:15AM
BlkKnight at 8:50PM, Nov. 6, 2007
posts: 1,101
joined: 5-28-2007
Your only options are to hope that either DD adds php support, or you figure out how the scripting for the comment box and such work.
That's “Dr. BlkKnight” to all of you.
last edited on July 14, 2011 11:25AM
bbr at 10:46PM, Nov. 6, 2007
posts: 299
joined: 11-1-2007
Well, those are php based, as is most of DD.
The main issue is that you're not able to upload .php files as a user, so i'd either need that enabled, or figure out a way to do it in plain html that's supported by safari and other browsers as well.
Which tends to get tricky.

Ah well.
This “seems” to work for now, not happy with it though. (it is freaking slow)

Edit: added div to center it in IE as well. Seems ok now.


The linked file contains the following code:
    Fan Art

Note that the links need to include a “_parent” target, otherwise they'll open inside the object itself, which is bad.

I'll set it up to work on RR later.
If others wish to replicate this method i can write a more extensive tutorial later.
It's pretty barren right now, but should allow for some interesting stuff.
last edited on July 14, 2011 11:15AM
bbr at 10:33AM, Nov. 7, 2007
posts: 299
joined: 11-1-2007
Gah, scrap that..
it works fine on Mac-safari, and firefox probably as well.
on windows xp. ie7, all i get is a blanc box.. sigh.

last edited on July 14, 2011 11:15AM

Forgot Password
©2011 WOWIO, Inc. All Rights Reserved Google+