We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Does anyone know if...
Topic Started: Feb 17 2007, 04:13 PM (583 Views)
GhostfreakMX
Member Avatar
Did you know you use to be my hero?
[ *  *  * ]
There is a way to have all pages on a website run off of the same top as the index.
Let me explain, I know I am not that clear. >_<

Have it so if I change the images or the code for images and or how they are placed, that all the rest of the pages will be the same.

An Example would be

Changing the banner on the Index.htm page and then the banner gets changed on the rest of them.

The same way for HTML so that If I change the format from a 3 column table to a two column table.

Basically everything but the content of the page getting changed.

Does anyone know?

Sorry If I was confusing. :frantics: I just hate editing 35 - 40 pages for html and images
Offline Profile Quote Post Goto Top
 
Zach
Member Avatar
Missjayness
[ *  *  *  *  * ]
You can use CSS for that. :)
Offline Profile Quote Post Goto Top
 
GhostfreakMX
Member Avatar
Did you know you use to be my hero?
[ *  *  * ]
So I can have everything done in CSS including banners and images?
So when I change it for one then it will change it for all sub pages?
Offline Profile Quote Post Goto Top
 
acdcman
Member
[ *  *  * ]
You would need to use an external style sheet for it to edit every page.

I seriously recomend reading through this tutorial: CSS

It's quite helpful. Learning some PHP would help too if your host supports it.
Offline Profile Quote Post Goto Top
 
LABaller
Member Avatar
Latino Heat
[ *  *  *  *  * ]
You can use PHP's include function to include an HTML file at the top of every page.

<?php
include("file.html");
?>
Offline Profile Quote Post Goto Top
 
YouAndICBA
Member
[ * ]
Yes, if you know php go for it I have a many high provisional website where I can make just one global change.

Learn some php..
Offline Profile Quote Post Goto Top
 
Shrander
Member Avatar
Member
[ * ]
Or use external javascript.
Code:
 

<script src="url to external file"></script>

Use [ this ] to convert HTML to javascript. Save the javascript version of the html you want to show, and save it in notepad as something.js and have the save as type as any.
Then upload the javascript file, and then in the "url to external file" part in the script tags, put the url to the javascript file.
That is a way to make certain things global, and you make changes to the javascript. It is good for side menus and logos and stuff like that.
Offline Profile Quote Post Goto Top
 
GhostfreakMX
Member Avatar
Did you know you use to be my hero?
[ *  *  * ]
Thanks, I am going to look into all of these. (Mainly PHP Since everyone has highly recommended that)

Crap I need help:

I created a test page and everything came out okay

But the bottom right cell (THE BIG BLUE FILLED BLOCK) I want that to align with the banner and the rest of the buttons can anyone help?

Heres the link to the page if anyone can help:

http://www.the-omnitrix.com/Blue/test.htm

And My HOst doesn't support php
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply