ya i want to know how i put blogger onto my webpage in the middle of it. http://www.visiondev.net u can see how i want it right there. an the html file is blogger.html. so how do i insert it into there?
Printable View
ya i want to know how i put blogger onto my webpage in the middle of it. http://www.visiondev.net u can see how i want it right there. an the html file is blogger.html. so how do i insert it into there?
If your server supports SSI, you could use a SSI include. If your server supports PHP, you could use a PHP include.
You could also use an IFRAME or a plain old FRAME (Yuck!)
There are a few options. The cleanest would be one of the first two I suggested.
mine allows PHP an SSI i believe, an i didn't know how to use an iframe in it...
If your server supports SSI, then you have to 1) make the page that you want to include blogger.html INTO a shtml, by making the extension .shtml. then 2) add this:
It's been awhile since I've used SSI, so that might not work. Let me know if it doesn't. You could also try #include file=Code:<!--#include virtual="blogger.html"-->
If you want to go the PHP route, just name your file .php and add this line where you want to include blogger.html:
Let me know if you need more help.Code:<?php include "blogger.html"; ?>
how would i do it in IFRAME? or whats the diff between them all?
The Difference? The SSI and PHP way include the document into another document. So if you view the source, you'll actually see both of these documents merged.
These two ways are also server side, meaning that no matter what browser a viewer is using, it will work.
The IFRAME was only supported in Internet Explorer for the longest time, but I believe it is supported in Netscape now. I'm not sure about other browsers like Opera.
Syntax is something like:
And you can use CSS elements to size it and everything.Code:<iframe src="blogger.php">
FRAMEs are just ugly altogether and may not be supported by some small third-party broswers. I'd recommend staying away from this option.
Like I said, I'd strongly suggest either a small SSI or PHP snippet to include them into your document. It's the cleanest and will be supported with every broswer.
hey answer me on AIM!
I have it set to automatically ignore those not on my buddy list.Quote:
Originally posted by johnsx2002
hey answer me on AIM!
Why can't you say whatever you need to say here?
Easier to say on there then here, takes less time etc.
ok well my page is in php...so i jus put that script in where? an it should work?
just drop that snippet in the page wherever you need it to show up and it should work perfectly.
Just wanted to add if you use an iframe you should place text between for users without iframe capable browser like so:
And Opera does support iframes too.Code:<iframe src="PAGE.html">
Your browser does not support iframes,
the page that is supposed to be here is
<a href="PAGE.html">PAGE.html</a>
</iframe>