|
Posted by dorayme on 08/27/07 01:28
In article <Xns9998CF52C1CBBBootNic@216.168.3.70>,
BootNic <BootNic@bounce.earthlink.net> wrote:
> dorayme <doraymeRidThis@optusnet.com.au> wrote: news:doraymeRidThis-
> F560D6.07525427082007@news-vip.optusnet.com.au:
>
> > In article <Xns9997E929C3369BootNic@216.168.3.70>,
> > BootNic <BootNic@bounce.earthlink.net> wrote:
> [snip]
> >> [url] http://bootnic.atwebpages.com/dorayme.php [/url]
> [snip]
> >> [url] http://bootnic.atwebpages.com/dorayme.txt.php [/url]
> >> [url] http://bootnic.atwebpages.com/doraymeLiveExample.php [/url]
> [snip]
> > The file I made from the text version is at
> >
> > <http://netweaver.com.au/testFolder/internalLinking/bootnicFromTex
> > tVersion.html>
> >
> > and is now doing essentially the same thing on both my off line
> > server and the server above. Namely: when you type the above into
> > a browser url bar, it changes to:
> >
<http://netweaver.com.au/testFolder/internalLinking/?id=bootnicFro
mTextVersion.html>
> >
> > and shows a directory listing. I have left the directory listing
> > to this folder open for you to see. I know, you cannot see the
> > file but it is simply the text version copied and then saved as
> > .html.
>
> Appear to have something to do with the redirect part of the php.
>
> Rather then trying to trouble shoot it, I just rewrote it. With any luck
> this version may work for you. This version I had a few attempts to get
> it to work online and local, with the online server being the difficult
> one. Online and local servers are completely different, different OS,
> different apache versions, different php versions, so again with a little
> luck it may work.
>
> url's are the same, content changed.
Now we are cooking with gas. Well done BootNic! Online and local
server behaving identically (as was the case, btw, _just_ prior
to your latest edit. But this time with a success in both).
I am delighted just to see it working on my servers. It works on
my quick tests just now to highlight the given item from the
navigation on the page. That's great, of course.
If I wanted to give a more specific address to someone, suppose
they need to download a particular zipped package, I can append
#RA_TK1 (for example) to the url after the html. This gets the
said item onto the page (at least in compliant browsers) but no
highlighting occurs. If one then scrolls up to top and clicks the
menu item concerned, highlighting does occur (ie. that part still
works good).
Is there anything that can be done to enable highlighting to
occur from simply entering a specific /...html#RA_TK1 into the
url bar?
Whether yes or no, this is very interesting to me and I now look
to using it, especially in pages where people are not likely to
be coming to a particular item from outside. I have a few of
these and they are perfectly apt for your code.
The particular facility I have made that prompted all this is a
bit special in that people will not be coming to browse but
_always_ coming for a specific item. What I have already, does
the job. But I have been considering dispensing with the big
table altogether and instead, having a page for each item with an
included menu for all the other items/pages (The latter for
convenience of the main client and myself and anyone who needs to
print more than one item). I understand that one can generate
such pages on the fly depending on the link sought. In other
words, just one page really and some php that would blossom into
any one of a 100 or more pages. Either 100 pages or one, this may
be the way I will go on this particular little project. It is
very easy for me to make 100 near identical pages with an
included menu to all. All low tech. But it is simply interesting
to learn cleverer ways.
--
dorayme
[Back to original message]
|