Ferrous Moon
http://www.ferrousmoon.com:80/forums/

HTML: Sidebar
http://www.ferrousmoon.com:80/forums/viewtopic.php?f=45&t=976
Page 1 of 1

Author:  Darkknight512 [Sat Sep 08, 2007 1:00 pm ]
Post subject:  HTML: Sidebar

I was wondering if there is a way where I can make the side menu in a separate file so when I add a link I don't have to go through 100 pages.

Author:  frenchfrog [Sat Sep 08, 2007 2:59 pm ]
Post subject: 

<?php
include('sidebar.php');
?>

PHP: include - Manual ?


EDIT: Or search google for 'include file html'?

Author:  Darkknight512 [Sun Sep 09, 2007 8:55 am ]
Post subject: 

Would "sidebar.php" just be a separate file and all it has are my links?

Author:  frenchfrog [Sun Sep 09, 2007 10:27 am ]
Post subject: 

Yes that could works.
1) You would need PHP support on your hosting site.
2) Probably rename all your file .php


If you check the google search, you will see that this could also be done with Server Side Includes (if your host support them), it could also be done in javascript (more complicated but don't need any feature on the host).

Author:  eddieringle [Sun Sep 09, 2007 12:19 pm ]
Post subject: 

Or if you desperate you could use *gag* frames *gag*.

Author:  Darkknight512 [Sun Sep 09, 2007 1:10 pm ]
Post subject: 

Frames are HoRiBle

Author:  frenchfrog [Sun Sep 09, 2007 4:15 pm ]
Post subject: 

Not a bad idea, perhaps a iframe?

Page 1 of 1 All times are UTC-05:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/