Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 08:44:42 PM

Pages: [1]   Go Down
  Print  
Author Topic: Can one make common code includes?  (Read 967 times)
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« on: May 15, 2004, 08:08:31 PM »

What I mean is can one develop a page of certain html code that you want to include in 20 odd pages much like included content eg. page

Thanks in advance!
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
skeetley
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3264



« Reply #1 on: May 15, 2004, 08:12:41 PM »

Yup, in html I believe you can make a template and use that in each page.  Even library items may work depending on your purpose.  A google search will enlighten you on both.
Logged

- Tell them skeetley sent you...
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #2 on: May 15, 2004, 08:18:53 PM »

thx heaps Skeet, will do
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #3 on: May 15, 2004, 09:05:42 PM »

Quote from: skeetley
Yup, in html I believe you can make a template and use that in each page.  Even library items may work depending on your purpose.  A google search will enlighten you on both.


Brilliant ! much like autotext in msword, use tools/page options/code snippets

eg. <div>
  <p align="justify"><font face="Verdana" color="#660066" size="2">This is a test snippet.|</font></div>

is a snippet for a little para
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
skeetley
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3264



« Reply #4 on: May 15, 2004, 09:07:52 PM »

Quote from: robast2
Brilliant !


There is no off on the genius switch....

I am glad my advice worked for you robast2.
Logged

- Tell them skeetley sent you...
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #5 on: May 15, 2004, 09:17:07 PM »

you'll go a long way with those knees!! bro  Wink
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #6 on: May 16, 2004, 06:52:44 AM »

In FrontPage, you can put the code you want to include on a page by itself. Some people save these pages in a folder named /includes.

Then wherever you want the code, use the FrontPage Included feature by selecting the Insert menu and choosing Web Component... Included contant... Page.

This is useful for the longer includes such as a navigational bar or top banner.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #7 on: May 16, 2004, 06:57:17 PM »

are trying this and works well with text or graphics but not with code. Confused
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #8 on: May 17, 2004, 08:02:13 PM »

Rick_E, re included page

are trying this and works well with text or graphics but not with code.
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #9 on: June 06, 2004, 01:40:22 AM »

skeetley,  since u have no off (neither i), iam revisiting this task after being away. when one is faced  with wholesale replacing of code try Edit/replace menu item
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #10 on: June 06, 2004, 09:26:28 PM »

Try surrounding your code with <pre>

<pre>
your code here
<pre>
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
robast2
Intergalactic Superstar
*****
Offline Offline

Posts: 134



WWW
« Reply #11 on: June 06, 2004, 09:31:02 PM »

Rick_E, tell me , what will it do?
Logged

Cheers,
Rob Aston
www.robaston.com
 
Mail     :     1 Princes Court,  2351 Cambridge, New Zealand
Phone :     + 64 7 827 7045
Email  :       rob@robaston.com
Pages: [1]   Go Up
  Print  
 
Jump to: