Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Frontpage Web Design

Thread Tools
 
Search this Thread
 
Old 13 April 2006, 12:29 PM
  #1  
gazza-uk
Scooby Regular
Thread Starter
 
gazza-uk's Avatar
 
Join Date: Jan 2006
Location: Yorkshire
Posts: 1,348
Likes: 0
Received 0 Likes on 0 Posts
Default Frontpage Web Design

Is it possible to create multiple pages and keep the page banner the same on all pages?

I dont want to use frames, but do want to update the banner for menus changes etc etc

Cheers
Old 13 April 2006, 01:00 PM
  #2  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

Set up a template page
Old 13 April 2006, 02:47 PM
  #3  
G-STAR
Scooby Regular
 
G-STAR's Avatar
 
Join Date: Oct 2004
Location: Parts Unknown (even to me!)
Posts: 1,964
Likes: 0
Received 0 Likes on 0 Posts
Default

Have a look at 'Server Side Includes'.
Old 13 April 2006, 03:00 PM
  #4  
Allan
Scooby Regular
iTrader: (1)
 
Allan's Avatar
 
Join Date: Jun 2000
Location: Essex
Posts: 2,818
Likes: 0
Received 0 Likes on 0 Posts
Default

Probably not the best way, but it's how I've done it.

1. Put your banner on a new page, don't use this page for anything else.
2. Go to the page where you want it to appear and click "insert"........"component".........."include page". In the properties box browse to your banner page.

Put the "include page" on every separate page of the site. When you update your banner page it will automatically update all the pages. Particularly useful if you put your navigation on the banner page as well.

Allan
Old 13 April 2006, 03:31 PM
  #5  
ryn004
Scooby Regular
 
ryn004's Avatar
 
Join Date: Apr 2005
Location: Malta
Posts: 1,084
Likes: 0
Received 0 Likes on 0 Posts
Default

What AllanP is trying to explain is "iframe" . Another solution would be to use a but of asp or a simplier way would be to use a banner made in flash.
Old 13 April 2006, 04:26 PM
  #6  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

If you can use asp, you don't need to use flash to include a banner. You can just include a bit of normal old html...

<p><!--#include file="bannercode.inc"--></p>
Old 14 April 2006, 11:03 AM
  #7  
RichB
Scooby Regular
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
Default

...or php
<p><?php include 'banner.inc';?></p>

Although (and I guess this is true for ASP too) if you include things in your .inc files they can be seen in the browser so either dont store things like database connection usernames/passwords in there. If you need to do that, name the file banner.inc.asp or banner.inc.php....
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Rbon91
ScoobyNet General
49
21 November 2018 03:23 PM
powerwrx
ScoobyNet General
17
04 November 2015 07:18 PM
south_scoob
ScoobyNet General
22
03 October 2015 01:05 PM
oilman
Trader Announcements
15
01 October 2015 11:55 AM
Benrowe727
ScoobyNet General
7
28 September 2015 07:05 AM



Quick Reply: Frontpage Web Design



All times are GMT +1. The time now is 07:59 AM.