Hyperlink question

G

Guest

Ok i've looked through the forums and found my anwer but it did not work.
This is my deal:

I want to be able to click a picture on my home page and have it take me to
a specific spot on another page. I have this all set up but cant seem to
figure it out how to work. My second page has various sections and I want the
picture to link to the second section (not the top of the page).

What I have tried: The title of the second section is "grants" and I have
bookmarked this title by highlighting it>insert>bookmark>ok.

Then I go to the first page and highlight the picture then click the
hyperlink button. I was under the impression that I could click on the
bookmark button then just click on "grants" in the window that pops up. But I
do that and then click ok and when i contol-click it just takes me to the top
of the second page.

This is really driving me crazy. Thank you in advance
 
D

David Berry

When you make the hyperlink you need to choose the page that the bookmark is
on and then chose the bookmark for that page.
 
G

Guest

I do that: click hyperlink when the pic is highlighted>click projects (the
title of the second page)>then click bookmarks> then a window comes up that
says: "there are no booksmarks in this document."

So i cancel outta that and go pack to the design view of the projects page
and highlight "grants" again (which already has the dotted line underneath
signaling that this is a bookmarked item) and click insert>bookmark and low
and behold "other bookmarks on this page" has underneath it "grants." So this
means that it is indeed bookmarked- just not showing up i guess.

Any other suggestions?
 
D

David Berry

Switch to Code View and look at the 2 pages. The code for the bookmark
should look like this:

<a name="BookMark">BookMark</a>

And the code for the link that points to the bookmark should look like this:

<a href="bookmark.htm#BookMark">Link to BookMark</a>

The "name" is whatever you called the bookmark (you shouldn't use spaces)
and after the # is that same name
 
G

Guest

Thanks David. Could you give me an example of what this is supposed to look
like in code?

the picture onthe home page is "grants1.jpg" and the bookmark on the second
page is called "grants." is there anything else you need to know?
 
D

David Berry

The example I gave you is what it looks like in code. Just change the
bookmark name to grants instead of "BookMark" and then create the hyperlink
on the image. So

The page with the bookmark would be:

<a name="grants">Grants</a>


And the page with the images would be:

<a href="page1.htm#grants">
<img border="0" src="grants.jpg"></a>

where it has page1.htm you would change that to be the name of the page that
the "grants" bookmark is on.
 
S

Stefan B Rusynko

In order for your bookmarks to show up,
- make sure that page w/ the bookmarks is also open in your FP web/site

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I do that: click hyperlink when the pic is highlighted>click projects (the
| title of the second page)>then click bookmarks> then a window comes up that
| says: "there are no booksmarks in this document."
|
| So i cancel outta that and go pack to the design view of the projects page
| and highlight "grants" again (which already has the dotted line underneath
| signaling that this is a bookmarked item) and click insert>bookmark and low
| and behold "other bookmarks on this page" has underneath it "grants." So this
| means that it is indeed bookmarked- just not showing up i guess.
|
| Any other suggestions?
|
| "David Berry" wrote:
|
| > When you make the hyperlink you need to choose the page that the bookmark is
| > on and then chose the bookmark for that page.
| >
| >
| >
| > | > > Ok i've looked through the forums and found my anwer but it did not work.
| > > This is my deal:
| > >
| > > I want to be able to click a picture on my home page and have it take me
| > > to
| > > a specific spot on another page. I have this all set up but cant seem to
| > > figure it out how to work. My second page has various sections and I want
| > > the
| > > picture to link to the second section (not the top of the page).
| > >
| > > What I have tried: The title of the second section is "grants" and I have
| > > bookmarked this title by highlighting it>insert>bookmark>ok.
| > >
| > > Then I go to the first page and highlight the picture then click the
| > > hyperlink button. I was under the impression that I could click on the
| > > bookmark button then just click on "grants" in the window that pops up.
| > > But I
| > > do that and then click ok and when i contol-click it just takes me to the
| > > top
| > > of the second page.
| > >
| > > This is really driving me crazy. Thank you in advance
| >
| >
| >
 
R

Ronx

Ctrl+click in FrontPage design view will do that. Design view is not a
browser, and Ctrl+click opens the linked page for editing.
Use Preview in browser, and try the link from there.
 
G

Guest

Thanks guys, but i've done the ctrl+click thing in design view and in
preview. And yes both the windows are open. When I was messing with the code-
I got it to link to the right spot, problem was- all my pictures now linked
to that spot. I tried doing that code for each picture, but it seemed to
cancel out everything i did and reverted back linking to the top of the page.
Is there some way to do this without code?

michelle
 
G

Guest

Oh yea, and i tried the hotspots thing for the pictures, but that did not
work either. I dont think those linked at all.
 
R

Ronx

You need to set up unique bookmarks for each picture to link to. It
sounds as if you are using the same link for each picture - which will
always go to the same place.

Hotspots are not suitable for this - hotspots are used to get multiple
links from one image.

Give a link to the pages and we can check what is going on.

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp
 
G

Guest

Yep, I've already done that- "staff" and "grants" and "projects" each has a
bookmark and I've linked each picture from the first page to they're
respected bookmark.
 
G

Guest

ok, I saw this in a previous post titled "can u link to layers" and the
answer was :

What you might look at is the "layers and behaviors" in FrontPage 2003 and
Expression Web.
you can do an "onclick" behavior of "set layer text". therefore you could
have a div to the left of that quick link box, and as people click the
different titles, you can swap the text within the div that contains the
individual listings.

but I have no idea what this means- and this is what I want to do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top