Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Web Authoring / September 2004

Tip: Looking for answers? Try searching our database.

Close command

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
craig - 16 Sep 2004 22:44 GMT
How do I put a hyperlink or command into a web document
to close the page when the link is tapped on
lostinspace - 18 Sep 2004 04:15 GMT
----- Original Message -----
From: "craig" <>
Newsgroups: microsoft.public.word.web.authoring
Sent: Thursday, September 16, 2004 5:44 PM
Subject: Close command

> How do I put a hyperlink or command into a web document
> to close the page when the link is tapped on

Craig,
            Could you define "tapped"?

As far as I know, there is no way to force a visitors browser to close a
page at any time. Either on your server or on the visitors browser.

Perhaps you have something else in mind that requires a better and more
extensive explantion?
- 18 Sep 2004 11:28 GMT
On some web sites you can click on a link  on the page to
say, view a larger scale picture; A second page opens up
with the larger image and another link on the page
(saying something like 'close window') which when clicked
on, closes the page, returning to the previos page

Sorry, this not being my area of expertise, it' not easy
describing what I mean.  I hope that helps.

Craig

>-----Original Message-----
>----- Original Message -----
[quoted text clipped - 16 lines]
>
>.
lostinspace - 18 Sep 2004 12:49 GMT
----- Original Message -----
From: <>
Newsgroups: microsoft.public.word.web.authoring
Sent: Saturday, September 18, 2004 6:28 AM
Subject: Re: Close command

> On some web sites you can click on a link  on the page to
> say, view a larger scale picture; A second page opens up
[quoted text clipped - 28 lines]
> better and more
>>extensive explantion?

You did superbly expanding on your explanation.

As a rule the second window pop-ups you describe are generally run by server
side software's. Java, PHP, ASP and such.

There is an HTML option which will open a second window with either a page
or a larger image and the visitor would then be required to close that new
window the same method they close any other web page.

For a image on your primary page, use a "thumbnail image. These may be a
variety of sizes ( I use 100 X 100 pixels, you may desire something larger)
depending upon final output size in the second window.

The link using either "the larger image or new URL [another web page] would
be as the following:

<a href="Mypicture.jpg" target="display">Mypicture</a>
or
<a href="http//:AnotherSite/AnotherPage.html" target="display">Another
Page</a
Craig - 19 Sep 2004 18:01 GMT
Thank you very much for all your help.  I'll try out what
you said on my pages.  You never know, I might actually
get my pages viewable before the year is out !!!!!!!!

>-----Original Message-----
>
[quoted text clipped - 59 lines]
>
>.
Bob   Buckland ?:-\) - 19 Sep 2004 06:44 GMT
Hi Craig,

To add a bit to the information that LostinSpace provided
here are a couple of sources that have both text and
examples of a close page method using HTML vs Javascript.
One that uses time is also available.
 http://www.seoconsultants.com/tools/form-buttons/close-window.asp

 http://webreference.com/js/tutorial1/reference.html

The issue is getting it into Word.  If you open either of those
pages in your browser (for the 2nd one the example page is at
  http://www.webreference.com/js/tutorial1/tryclose.html )
and use right click, View=>Source in your browser and
then use Edit in MS Word the HTML form won't show the
close button, but if you continue in Word and use
File=>Web Page Preview the function still works in
the browser although then right clicking and view source
will show quite a change in the way the page is structured,
so the next issue becomes trying to work with the Word
WebTools toolbar (View=>Toolbar) to create a form in
Word that works as the HTML method shown.

I've not had a chance (running into some deadline dates
on a project due Monday morning) but perhaps someone
else can work with the form and scripting tools in
MS Word (version you have is?) to see what can be done
either through the regular user interface or through
the MS Script editor/source code view that Word also
affords.

======
How do I put a hyperlink or command into a web document
to close the page when the link is tapped on >>
Signature

I hope this helps you,

Bob  Buckland  ?:-)
MS Office System Products MVP

 *Courtesy is not expensive and can pay big dividends*

Office 2003 explained
 http://microsoft.com/uk/office/editions.asp


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.