Design Question

  • Thread starter Thread starter Dub_Man
  • Start date Start date
D

Dub_Man

I would like to create a link at the bottom of a window that will link back
to the top of the page, also a link that when selected will close the page.
How would on complete this?

--
Regards,

Mick Gaffney
(e-mail address removed)


webpage: http://takeoff.to/dublinspotter/

feedback: (e-mail address removed)

"Pilot wisdom - Every one already knows the definition of a good landing is
one from which you can walk away. But very few know the definition of a
great landing. It's one after which you can use the airplane another time".
 
by link back to the top of the page do you mean the top of the page that
launched the pop-up?

I have a pop-up that might work this way (if I'm understanding you);
http://nedp.net/
click the "send this page" link, then on that pop-up click the "im big on
privacy" link, that changes the page on the opener window. it has a close
this page link as well.

is this what you're trying to do?
 
he means this:

Top of Page Link:
<a href="#top">Click here to go to top of page</a>

Close window Link:
<a href="#" onclick="window.close();">Click here to close window</a>
 
The answer to your first question can be found in FrontPage help under the
topic "bookmarks." A bookmark (more correctly termed "anchor" is simliar to
a hyperlink, but only has a "name" attribute. Example:

<a name="TopOfPage"></a>

FrontPage can insert one for you by using the Insert Bookmark command.

You can link to it by using a URL with a "#" symbol in it (or by using
FrontPage's Create Hyperlink dialogue). Example:

<a href="#TopOfPage">Link Text</a>

or from another page:

<a href="somepage.html#TopOfPage">Link Text</a>

To crete a link that closes the page, you would use a bit of JavaScript.
Example:

<a href="javascript:window.opener=self;window.close()">Close This Window</a>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Thanks for all the assistance.

--
Regards,

Mick Gaffney
(e-mail address removed)


webpage: http://takeoff.to/dublinspotter/

feedback: (e-mail address removed)

"Pilot wisdom - Every one already knows the definition of a good landing is
one from which you can walk away. But very few know the definition of a
great landing. It's one after which you can use the airplane another time".
 

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

Back
Top