Register  |  Username : Password :
Seshin Bike Co

General

HTML help?

Reply New Thread

1 | 2 Next >>

Related Searches:

Joined: A long time ago...


Posts: 1160
Location: Sasakoon, SK, Canada

Date: 2005-07-03 07:56:41 Topic: HTML help?

I am currently improving a website, and I have come to realize that I don't want to scan through a whole lot of code just to change dates and numbers.

My question is: can I somehow nest an HTML file? What I want to do is set up a blog and just place that file in the middle of a page..

Does that make sense? Basically, I want to know if html files can be nested (or whatever it is called). If someone knows what I'm talking about, could you PM me or something and I can give you the link to the site I'm working on...

Peace,
_Trevor


"True literacy is becoming an arcane art and the United States is steadily dumbing down."
--Issac Asimov

Joined: A long time ago...


Posts: 1215
Location: Massachusetts

Date: 2005-07-03 08:25:01 Topic: HTML help?

i'm pretty sure i know what your saying. pm me the link or soething and i can probably help you out.


Joined: A long time ago...


Posts: 4284
Location: northern MA

Date: 2005-07-03 16:14:39 Topic: HTML help?

use iframes..

<iframe src="link to your blog" name="name of frame" border="0" allowtransparency="true" marginwidth="0" marginheight="0"></iframe>

or if your host allows php u can use this..

<?php

include "path to your blog";

?>




i dont wear shoes (i wear combat boots, even when i ride)

Joined: A long time ago...


Posts: 489
Location: New York

Date: 2005-07-03 16:29:42 Topic: HTML help?

bike flip is correct. Your thinking of an "I frame".


Joined: A long time ago...


Posts: 2214
Location: Canada

Date: 2005-07-03 17:42:24 Topic: HTML help?

So far everyone is right, but these aren't really the "best" way (unless you're coding in PHP).

If the rest of the page is in PHP, use the code listed above. Since you called it a blog, it most likly is done in PHP, but I'd suspect the info you're inputing would be stored in a database anyway, and would eliminate the need for a secondary file.

Frames (and floating frames/iframes) are tacky. See the sequence site if you don't believe me (new one soon!).

The best method for this is to use what's known as an SSI (server side include). Typically you've got to write your file in SHTML, which only changes what you name the file (PHP, in theory, would put more stress on the server, but in this instance probably is unnoticable).

So rename your file from stuff.html to stuff.shtml, and where you want the code to appear, add either of the following two statements:

[encoded]PGNvZGU+PHNwYW4gc3R5bGU9ImNvbG9yOiAjMDAwMDAwIj4KJmFtcDtsdDshLS0jaW5jbHVkZSZuYnNwO3ZpcnR1YWw9JmFtcDtxdW90O2luY2x1ZGVkU3R1ZmYudHh0JmFtcDtxdW90OyZuYnNwOy0tJmFtcDtndDsNJmx0O2JyJm5ic3A7LyZndDtvcg0mbHQ7YnImbmJzcDsvJmd0OyZhbXA7bHQ7IS0tI2luY2x1ZGUmbmJzcDtmaWxlPSZhbXA7cXVvdDtpbmNsdWRlZFN0dWZmLmh0bWwmYW1wO3F1b3Q7Jm5ic3A7LS0mYW1wO2d0Ow0mbHQ7YnImbmJzcDsvJmd0Ozwvc3Bhbj4KPC9jb2RlPg==[/encoded]

Hope this helps,
Cory


http://www.scuffoff.net | http://www.sequencefab.com
Play The Domain Name Stock Market!

Joined: A long time ago...


Posts: 6243
Location: Milford,NH

Date: 2005-07-03 19:31:06 Topic: HTML help?

you can use divs too! i think atleast, i havent done that stuff in a while but i think you can use the php include; thing inside a div and get your self some nifty scroll bars!



Joined: A long time ago...


Posts: 4284
Location: northern MA

Date: 2005-07-03 19:50:46 Topic: HTML help?

So far everyone is right, but these aren't really the "best" way (unless you're coding in PHP).

If the rest of the page is in PHP, use the code listed above. Since you called it a blog, it most likly is done in PHP, but I'd suspect the info you're inputing would be stored in a database anyway, and would eliminate the need for a secondary file.

Frames (and floating frames/iframes) are tacky. See the sequence site if you don't believe me (new one soon!).

The best method for this is to use what's known as an SSI (server side include). Typically you've got to write your file in SHTML, which only changes what you name the file (PHP, in theory, would put more stress on the server, but in this instance probably is unnoticable).

So rename your file from stuff.html to stuff.shtml, and where you want the code to appear, add either of the following two statements:

[encoded]PGNvZGU+PHNwYW4gc3R5bGU9ImNvbG9yOiAjMDAwMDAwIj4KJmFtcDtsdDshLS0jaW5jbHVkZSZuYnNwO3ZpcnR1YWw9JmFtcDtxdW90O2luY2x1ZGVkU3R1ZmYudHh0JmFtcDtxdW90OyZuYnNwOy0tJmFtcDtndDsNJmx0O2JyJm5ic3A7LyZndDtvcg0mbHQ7YnImbmJzcDsvJmd0OyZhbXA7bHQ7IS0tI2luY2x1ZGUmbmJzcDtmaWxlPSZhbXA7cXVvdDtpbmNsdWRlZFN0dWZmLmh0bWwmYW1wO3F1b3Q7Jm5ic3A7LS0mYW1wO2d0Ow0mbHQ7YnImbmJzcDsvJmd0Ozwvc3Bhbj4KPC9jb2RlPg==[/encoded]

Hope this helps,
Cory


im sure he'll understand shtml if he cant understand html ;)

good idea though, you are right iframes are tacky..




i dont wear shoes (i wear combat boots, even when i ride)

Joined: A long time ago...


Posts: 2214
Location: Canada

Date: 2005-07-03 20:55:10 Topic: HTML help?

SHTML is just an extension of HTML, just like DHTML, XHTML, etc. It's just another standard that supports SSI (and probably some other functionality that I'm not aware of).

And his post didn't lead me to believe he didn't understand HTML.

But alas, Iframes are terrible. Hahaha. You can see SSI's implemented on scuff off though...well, you can't see them, becuase the server handles them, but you know what I mean.


http://www.scuffoff.net | http://www.sequencefab.com
Play The Domain Name Stock Market!

Joined: A long time ago...


Posts: 4284
Location: northern MA

Date: 2005-07-04 21:02:33 Topic: HTML help?

haha yea




i dont wear shoes (i wear combat boots, even when i ride)

Joined: A long time ago...


Posts: 1160
Location: Sasakoon, SK, Canada

Date: 2005-08-28 20:53:31 Topic: HTML help?

BUMP!

K, so I'm stupid and still haven't figured this out.

The website is http://www.commerce.usask.ca/css/ .

What I'm really trying to accomplish is to have that white column another html file, so that I can use a blog instead of sifting through all the useless html and shiznit, and so I can update from anywhere, not from school.

Can someone PM me with a dummy's guide to do that?

PLEASE!!!! Needs to be done by friday...


"True literacy is becoming an arcane art and the United States is steadily dumbing down."
--Issac Asimov
Sponsored Results
1 | 2 Next >> Reply New Thread