Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 3.00 average. Display Modes
Old 10-26-2006, 08:44 PM   #1
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Post Repeater Page

Hello all, been a long time since i last posted here at the 'Mech. But its the only place I turn to.


I'm in the process of starting a website for my Referee Association. I have the layout taken care of and mostly coded out, but. I need to know how to make the page so i can input alot of code on one page and the page just continue's down.

But I'm limited to what I can put on the page.

Website Link



Oh and another thing, is there such a thing as a free host with ftp server with no banners? Or should I go for something for around 3-5$ /month for something?


Thanks in advance

Last edited by cdnref; 10-26-2006 at 08:47 PM.
cdnref is offline   Reply With Quote
Old 10-27-2006, 12:55 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
By repeater page I am assuming that you are meaning a page containing the menu, page header, etc. You could do it with frames, a bad idea or with php includes, a good idea.

Definitely spend the money and get a host. You have much more flexibility of what you can do with a paid host. Look at the sticky at the top of this forum for host ideas.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 10-27-2006, 01:26 PM   #3
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Okay, by that do you mean a whole slice from left to right containing the blank layout of the page?

Thanks
cdnref is offline   Reply With Quote
Old 10-27-2006, 01:43 PM   #4
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
If you used PHP then it would simply be a matter of slicing up your page based on roughly what would be 3 files:
common header elements + page content + common footer elements
From your page:
save the following code:
PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
.
.
everything in between
.
.
      <
td background="images/Untitled-2_08.jpg" width="411" height="380" class="box_title"
and save it into a file called header.inc
then save the following code:
PHP Code:
</td>
    <
td><img src="images/Untitled-2_09.jpg" width="164" height="380" ALT=""></td>
.
.
everything inbetween
.
.
</
html
as footer.inc
(remember to update your links to address links such as .php files rather than .html files (eg. Links would be "links.php")
Now to create your pages you would do the following:
PHP Code:
<?php
include("header.inc");
?>
*** YOUR CONTENT GOES HERE ****
<?php
include("footer.inc");
?>
And save it as a php file.
Statica is offline   Reply With Quote
Old 10-27-2006, 09:33 PM   #5
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
I'll give it shot tomorrow, and let you guys know how it goes.



I was also thinking of maybe using the middle tabel there, and somehow maybe scrolling inside that table.

Is there a way fo doing that? Cause I kinda like the size of that layout as is.



Thanks mairving and Statica
cdnref is offline   Reply With Quote
Old 10-28-2006, 09:56 AM   #6
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
I couldn't get it to work, but after much research and time I found how to add a scroll bar.

I'm conna tweak the colors later to find out the best combo.


What do you guys think?

http://greenwood-ref.profusehost.net...ectations.html
cdnref is offline   Reply With Quote
Old 10-28-2006, 11:55 AM   #7
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
You will probably have to save your html file as a php one .html vs. .php to get it to work.
mairving is offline   Reply With Quote
Old 10-28-2006, 09:46 PM   #8
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Ya I did, but I'm satisfied with the scroll bar


bte what is the advantage to changing my links to a php file?
cdnref is offline   Reply With Quote
Old 10-30-2006, 08:25 AM   #9
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by cdnref
Ya I did, but I'm satisfied with the scroll bar


bte what is the advantage to changing my links to a php file?
Not sure what the scroll bar had to do with it. You can include it as well.

There are a couple of reasons to save as a php file. One is so that you will know that it contains php code and not just html. The other is that some hosts don't process php in an htm(l) file. That was the main reason for me asking you to save as php since I didn't know if your free host allowed it.
mairving is offline   Reply With Quote
Old 10-30-2006, 09:39 AM   #10
Member (9 bit)
 
Join Date: Oct 2003
Location: CFB Greenwood, NS
Posts: 392
Send a message via AIM to cdnref Send a message via MSN to cdnref
Well I made my menu an include and changed the links to php, the site does support it.

Made me save I Don't know how many hours having to go and change each page for a menu link once completed.



As for the scroll bar, it made it so everything fit onto the center table. Befor the whole page whould get messed up and tried to repeat the same table. Made it look like crap... link provided.


With Scroll Bar - http://www.greenwood-ref.profusehost...pectations.php


Without - http://www.greenwood-ref.profusehost...ations_old.htm
cdnref is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page file/virtual memory Panama Red Windows Legacy Support (XP and earlier) 14 10-25-2006 06:50 AM
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 06:25 AM
Intel p4 3.06GHz with HT overheating? Reaps Computer Hardware 16 11-03-2004 04:22 PM
How do I delete a page in Word 2000 needhelp Software Discussion & Support 5 07-30-2003 08:09 AM
Reinstalled I.E5. parts of page missing. needhelp Internet, Web Applications, & The Cloud 3 02-17-2003 06:28 AM


All times are GMT -5. The time now is 05:14 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2