Freepages-Help-L Archives
Archiver > Freepages-Help > 2004-07 > 1089819397
From:
Subject: Re: Freepages-Help-D Digest V04 #218
Date: Wed, 14 Jul 2004 17:39:59 +0200
References: <200407141402.i6EE20mF013557@lists2.rootsweb.com>
Sujet:
Pictures & Links
De:
"Romo" <>
Date:
Tue, 13 Jul 2004 17:30:08 -0400
A:
http://freepages.genealogy.rootsweb.com/~mycemeteries/
OK, so now for more questions. Do pictures have to be in the same
directory as my web page in order to get loaded? On the Blair county,
Biddle Cemetery page I loaded a picture, which shows in Frontpage
but does
not show on the web....
Firstly I don't know anything about Frontpage, so maybe you'll get a
better answer, more appropriate for you, from someone else - I hope so.
If not:
I looked at the source for this page, but couldn't see a reference to an
image. You need to put .<img src="name.gif" width=" " height=" "> or
whatever type of image it is, jpg or other. The width and height are the
pixels; if you click with the right mouse button on the image file in
Explorer, a sub-window will appear; click on 'properties' and you will
see the width and height of the image in pixels.
The image can be in the same directory or another. If it's in the same
directory, you don't need to specify the directory name, you can just
put the name of the image between the " ".
If it's in a different directory you need to put the complete address.
Supposing you put the htm file in
http://freepages.genealogy.rootsweb.com/-mycemeteries
but the image in a subdirectory called 'images', then the address would be
"http://freepages.genealogy.rootsweb.com/-mycemeteries/images/name.gif"
Or if you put the image in the 'family' directory then the address would be
"http://freepages.family.rootsweb.com/-mycemeteries/name.gif"
I noticed you have comments beginning .<! --- .... but ending only ---
>; I'm not expert, I just copied from others (!!!) whom I saw all
put.an exclamation mark for the end of the comment also
.<! --- ... --- !>
(everything without the leading dots, of course).
Also at the bottom of the page perhaps put one or two .<p> before
the .</body> tag, so that there are no alignment problems between your
content and the server ads.
Next, how can I link from one page to a specific place on another page?
I.E. on my surname page I want people to be able to click the name
and go
to that picture on the page not just the page....
I think you need anchor (name) tags for this. These work in pairs.
One is put in the place TO WHICH you want people to go. A bit of trial
and error to get it positioned, since it will need to be a little above
the element which you would like to appear centre screen for your
visitor. Just put it first of all a few lines above the place (anywhere
convenient to you, it can be mixed in with text, at the end of a
sentence or paragraph, it doesn't matter since it isn't visible on
screen and won't disturb the presentation on-screen), then move it up or
down according to results.
The other is in the address (clickable element) FROM WHICH you want your
visitor to GO TO content elsewhere. This is just a straightforward link
address.
Example:
I have a file called "hmstilb.html"
In it is an anchor tag .<a name="hmst2"></a>
(The part between the " " is whatever name I choose to use)
There is a link from which a visitor may go FROM hmstilb.html TO page
hmstilbvoy.html
In this second page (hmstilbvoy.html) I have the address on which a
visitor may click to return to the place I marked with ."<a
name="hmst2"></a>, so that they can then continue to read the story from
where they left off (to visit the second page which gives more details
about a subject).
.<a href="hmstilb.html#hmst"><font color="#405A8C" face="tahoma,
verdana" size="2"><strong>Return to HMS Tilbury</strong></font></a>
Thus the link reads, go to file (hmstilb.html) at the place (#) marked
with the name (hmst)
I have several of these on the (hmstilb) page so that a visitor can
either just read the basic story, or where indicated read more detail
about a subject, then go back to the main page and carry on with the
story. (A bit like those light switches at either end of a corridor, for
one light.)
Your use would be inverse: your link .<a href= ... would take your
visitor to either another place or another page, and your anchor (name)
tag would ensure that the content required appeared in the middle or at
the top of the visitor's screen, according to where you position the
anchor (name) tag.
If they are all on the same page, then you only need to put, for example
.<a href="#hmst">.
If you have several on the same page (!!!) you're going to need to keep
a careful note of what's where... especially if you want to use the same
system for visitors to go back to a place, but not always the same place...
Not difficult, but some fun to work out?
Hope this helps, or you got something better.
Caroline
This thread: