kennyaidan
Programmer
Hi,
I am currently designing a website and I was hoping to use components in my design. What I wanted to do is have my main section pages with the side navigations and headers files etc included as separate components so that when I make a change to the left nav for an example, I only have to make the change once and not for each individual page.
I was hoping that one of you guys might advise me on the best way to do this as I have tried doing it myself and it doesn't seem to work.
I just used the following code to include the components.
<&/header.htmlf&>
Is it dependent on the type of server I use or do I need to define a script language i.e.
<script language="JavaScript" type="text/javascript"></script>
This components the best way to deal with this problem?
Any help or advice greatly appreciated.
Thanks
Aidan
I am currently designing a website and I was hoping to use components in my design. What I wanted to do is have my main section pages with the side navigations and headers files etc included as separate components so that when I make a change to the left nav for an example, I only have to make the change once and not for each individual page.
I was hoping that one of you guys might advise me on the best way to do this as I have tried doing it myself and it doesn't seem to work.
I just used the following code to include the components.
<&/header.htmlf&>
Is it dependent on the type of server I use or do I need to define a script language i.e.
<script language="JavaScript" type="text/javascript"></script>
This components the best way to deal with this problem?
Any help or advice greatly appreciated.
Thanks
Aidan