Re: Opening a website in new browser window
- From: "DavidF" <Nope@xxxxxxxxxx>
- Date: Sun, 2 Sep 2007 17:03:27 -0800
Hey...half the challenge...sometime more than half the challenge is
understanding the questions from posters. And about half the time I guess
wrong. But then if they knew exactly how to phrase and ask the question,
they would probably already know the answer. The OP's question could have
been read either way, so now PC knows there are a number of ways to approach
their project.
I am totally jealous of your tomatoes. As you know I don't get vine ripened
tomatoes anymore.
DavidF
"Mike Koewler" <wordwiz@xxxxxxxx> wrote in message
news:3589e$46db4148$453de1f1$8791@xxxxxxxxxxx
David,
I may have read it wrong, based on the OP's post below. Perhaps he meant
he simply wanted a new window to open but his scroll bars would be
available if someone closed the new window.
My ESP has left the building. But on the plus side, I have more than a
bushel of tomatoes to make juice from!
Mike
DavidF wrote:
Hi Mike,
I see your point. I was reading it another way, and just thought the OP
wanted to open in a new browser window. Obviously I was wrong, and should
read things more carefully. Thanks for the clarification.
DavidF
"Mike Koewler" <wordwiz@xxxxxxxx> wrote in message
news:d8b7b$46db0803$453de1f1$18209@xxxxxxxxxxx
David,
I guess I wasn't being clear. It's not real hard to open a page, either
in a new window or the same one (it the OP's case, I don't see it making
a huge difference, as he wants to keep his nav bars and not leave his
site), but it's problematical making the iframe the correct size. The Pub
page's frame would have to be long enough to hold the target page or a
viewer will get a vertical scroll bar. Ditto for the width. And links on
the target page may bring up pages that are much longer or shorter.
I've done this but usually am calling a php page, such as a survey which
is not deep and automatically adjusts to the page width. But imagine if
the target site has its own nav bars - it's likely going to be a
hideously designed view presented to the visitor.
Basically, if I'm so concerned about keeping a visitor on my site that
I'll do everything possible to prevent it, I wouldn't put any off-site
links on it!
Mike
DavidF wrote:
Actually it is possible to code a link so that it opens in a new window
Mike. There are at least two ways in Publisher. Reference: Create a
hyperlink in Publisher that opens in a new window:
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx
However, the ECMAScript method has a code error. This error was caught
by another poster who said:
"The problem with the script on page HP030805631033.aspx is that it
includes
'comment out' code, meant to prevent older browsers from displaying the
script as HTML. The script does work if you remove the 'comment out'
code.
The script on page HP030805631033.aspx is: <script language="JavaScript"
type="text/javascript"> <!-- function Show(Url, Name, Features) {
window.open(Url, Name, Features); } // --> </script>.
To make it work use: <script language="JavaScript"
type="text/javascript">
function Show(Url, Name, Features) { window.open(Url, Name, Features); }
</script>
This is the same script, but without the 'comment out' code of <!-- and
//
-->."
I use both methods, and can confirm they both work with the change in
the code snippet.
DavidF
"Mike Koewler" <wordwiz@xxxxxxxx> wrote in message
news:eabb7$46dacbdd$453de1f1$4088@xxxxxxxxxxx
For all intents and purposes, this isn't feasible. It's akin to wanting
to wanting to watch your fireplace when you visit the neighbors down
the street.
The only thing you might try, and I don't recommend it, would be using
an i-frame to contain the site. I would bet it will look like crap,
though.
Mike
pc wrote:
How do I get a link inside Publisher 2007 to open up a website into a
new browser window?
For example, I want to provide the convenience on my web site for a
viewer to clike a link to see valuable content, without leaving my
site entirely. I don't want them to have to click their back button,
rather still see my navagation bars while they view the other site.
.
- Follow-Ups:
- Re: Opening a website in new browser window
- From: Mike Koewler
- Re: Opening a website in new browser window
- References:
- Re: Opening a website in new browser window
- From: Mike Koewler
- Re: Opening a website in new browser window
- From: DavidF
- Re: Opening a website in new browser window
- From: Mike Koewler
- Re: Opening a website in new browser window
- From: DavidF
- Re: Opening a website in new browser window
- From: Mike Koewler
- Re: Opening a website in new browser window
- Prev by Date: Re: Enlarge image from a photo
- Next by Date: Re: When Publishing to the web(FTP) Im geting kicked out of publisher
- Previous by thread: Re: Opening a website in new browser window
- Next by thread: Re: Opening a website in new browser window
- Index(es):