This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > April 2007 > How do I imolement a navigation bar?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I imolement a navigation bar?
fed up

2007-04-19, 6:17 am

For reasons I won't go into, I can't use server side includes & I haven't
got any athoring software.

How can I implement a navigation bar? I need to include the same text into
each file. I don't want to edit every single file when I put up a new page &
alter the navigation bar.

I'm prepared to use xhtml & xsl, if clear instructions are given.

Andy Dingley

2007-04-19, 6:17 am

On 19 Apr, 09:45, "fed up" <noaddr...@fuspammer.com> wrote:
> For reasons I won't go into, I can't use server side includes & I haven't
> got any athoring software.


So either get yourself an editor that has good search-and-replace,
then use that. Plenty of free ones, lists posted regularly.

Or else use some trivial script as a SSI mechanism before you upload
the pages. There's probably tools out there to do it exactly like SSI,
or it's only a couple of lines of shell script. You do know how to
write shell scripts don't you? You just put you lips togeher and
blow...

Or move to hosting with SSI.

fed up

2007-04-19, 6:20 pm

"Andy Dingley" <dingbat@codesmiths.com> wrote in message
news:1176976263.293285.177270@l77g2000hsb.googlegroups.com...
> On 19 Apr, 09:45, "fed up" <noaddr...@fuspammer.com> wrote:
haven't[color=darkred]
>
> So either get yourself an editor that has good search-and-replace,
> then use that. Plenty of free ones, lists posted regularly.
>
> Or else use some trivial script as a SSI mechanism before you upload
> the pages. There's probably tools out there to do it exactly like SSI,
> or it's only a couple of lines of shell script. You do know how to
> write shell scripts don't you? You just put you lips togeher and
> blow...
>
> Or move to hosting with SSI.


If you don't know the answer, don't bother posting.

tom_sawyer70@yahoo.com

2007-04-19, 6:20 pm

On Apr 19, 4:45 am, "fed up" <noaddr...@fuspammer.com> wrote:
> For reasons I won't go into, I can't use server side includes & I haven't
> got any athoring software.
>
> How can I implement a navigation bar? I need to include the same text into
> each file. I don't want to edit every single file when I put up a new page &
> alter the navigation bar.
>
> I'm prepared to use xhtml & xsl, if clear instructions are given.


I've got a problem posted regarding including my navigation file, but
found the instructions from this site to be quite clear and easy. It
uses PHP.

http://brainstormsandraves.com/mobi...27.182148.shtml

I have no affiliation to the site, but found it as I was looking to do
the same thing.

Dave

Chuck Taylor

2007-04-19, 6:20 pm

On Thu, 19 Apr 2007 11:20:14 GMT, "fed up" <noaddress@fuspammer.com>
wrote:

>"Andy Dingley" <dingbat@codesmiths.com> wrote in message
>news:1176976263.293285.177270@l77g2000hsb.googlegroups.com...
>haven't
>
>If you don't know the answer, don't bother posting.



If you don't know three valid answers when you see them, don't bother
asking. It'll save others the time wasted trying to be helpful.


--
Chuck Taylor
http://home.hiwaay.net/~taylorc/contact/
Chuck Taylor

2007-04-19, 6:20 pm

On Thu, 19 Apr 2007 10:26:27 -0500, Chuck Taylor
<chuck.taylor@spamtrap.org> wrote:

>On Thu, 19 Apr 2007 11:20:14 GMT, "fed up" <noaddress@fuspammer.com>
>wrote:
>
>
>
>If you don't know three valid answers when you see them, don't bother
>asking. It'll save others the time wasted trying to be helpful.



Perhaps it would be productive to go into those "reasons [you] won't
go into". Knowing what those constraints are and why they're there
might help lead to answers you'd consider more useful.


--
Chuck Taylor
http://home.hiwaay.net/~taylorc/contact/
fed up

2007-04-19, 6:20 pm

<tom_sawyer70@yahoo.com> wrote in message
news:1176986279.031211.156990@b75g2000hsg.googlegroups.com...
> On Apr 19, 4:45 am, "fed up" <noaddr...@fuspammer.com> wrote:
haven't[color=darkred]
into[color=darkred]
page &[color=darkred]
>
> I've got a problem posted regarding including my navigation file, but
> found the instructions from this site to be quite clear and easy. It
> uses PHP.
>
> http://brainstormsandraves.com/mobi...27.182148.shtml
>
> I have no affiliation to the site, but found it as I was looking to do
> the same thing.
>
> Dave


Thanks for a very helpful posting. I'm looking into it.

Not so Fed Up

NicHughes

2007-04-24, 6:16 am

On 19 Apr, 09:45, "fed up" <noaddr...@fuspammer.com> wrote:
> For reasons I won't go into, I can't use server side includes & I haven't
> got any athoring software.
>
> How can I implement a navigation bar? I need to include the same text into
> each file. I don't want to edit every single file when I put up a new page &
> alter the navigation bar.
>
> I'm prepared to use xhtml & xsl, if clear instructions are given.



Xslt would effectively be just a batch transform, if I were you I
would skip the XML due to poor browser support and just use a plain
old fashioned batch edit to inject the navigation bar. There are lots
of scripting tools that could help you do this many of which are free,
simply pick one you like. I happen to use Apache Ant but that's
because I happen to know that tool well.

--
Nic

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews