On Saturday 16 September 2006 11:41 am, James Reed wrote:
> Dear Open Office:
> I have been using Open Office.org 2.0 to design my website. I
> have built all of the pages with a template I designed on this
> program. My navigation bar is on the left side of the page with
> hyperlinks installed to go to all of the other pages. My problem
> is that when I click on a hyperlink it goes to the address and says
> the page cannot be displayed. I'm assuming at this point that I
> have missed a detail on how to save or label the individual pages
> so that they can be accessed. I wanted to make sure that all of
> the links worked before uploading them to my website.
>
> Any help you can provide will be greatly appreciated.
>
> Thank you,
> James Reed
How did you write your hyperlinks? If you used the complete URL
as the address, your results are normal. In such cases, you can not
test the hyperlinks without uploading the pages to the website.
For example: suppose your web site were http://www.xyz.com/ and
one page of it were Apples.html. The correct complete URL to the
Apple.html web page is http://www.xyz.com/Apple.html.
If you entered a hyperlink in your index.html file as
http://www.xyz.com/Apple.html, this hyperlink will only work after
Apple.html is uploaded to your web site.
However, there is another way to write hyperlink addresses. It is
called relative addresses. In this case, the address in the hyperlink
in index.html should be ./Apple.html instead of
http://www.xyz.com/Apple.html.
In this case, ./Apple.html tells the browser to look in the same
directory as index.html for the file Apple.html. Using this type of
addresses in your hyperlinks will allow you to check your links
before uploading them.
As an example, look at http://www.delewis.com/sermons/. Look at
the web address when you place your cursor over this page's
hyperlinks and also look at the page source to see the relative
addresses these hyperlinks have.
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]