Re: trouble with Javascript Pop-up



That is good news! You are welcome and thanks for posting the link...

From my personal experience, I too have found that code snippets that say I
have to put part of the code in the head section, will often work if I just
insert them into the body of a Publisher document.

DavidF

"djdefpoints" <djdefpoints@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:57CCACAD-24BA-4BFA-9BC1-3E281A31E7AC@xxxxxxxxxxxxxxxx
It works! I uploaded a script from Dynamic Drive (man, what a site!) that
solved my problem. Apparently, you need 2 scripts. This is the link, for
those interested:http://dynamicdrive.com/dynamicindex8/popwin.htm

I didn't think it would work, since it calls for a header, which I know
Publisher gets cranky about. But cutting and pasting both scripts in the
document seems to work, even calling on the testpage I set up from within
our
browser. I'll have to be careful when I actually go live to the web, of
course. Thanks, David, for your replies.
--
-no sig necessary-


"DavidF" wrote:

Hey, no sig...I just reread your original post. If I read it correctly,
then
did you ever actually upload all the files to your webhost? The script
you
used might require that...

Thanks for posting back. Good luck.

DavidF

"djdefpoints" <djdefpoints@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:873707E3-7B76-478C-AFA9-4AC9B679EC61@xxxxxxxxxxxxxxxx
Thanks, David, for givin' it a go. I guess I'm off to Dynamic Drive
for a
snippet.
--
-no sig necessary-


"DavidF" wrote:

I have many times tried different scripts, only to find they didn't
work
for
me. I am sure that the problem was usually my ignorance of coding, and
trying to modify code and messing it up. New window script was one of
those.
I must of tried 6 or 7 before I managed to make one work in the way I
wanted
it to.

While someone might be able to figure out what you did wrong, you
might
go
back to the site where you found the code and try to carefully
troubleshoot
your code, or, if you get frustrated then just find a different
approach,
like I did. There are lots of free code snippets available, some
easier
to
understand and make work than others. I would suggest that you Google
for
"new window JavaScript", and check out some alternatives. I just got
4,770,000 results on those words alone...

And by the way, I did waste 15 or 20 minutes trying to figure out what
your
problem was, before I got frustrated and decided on this
response...life
is
too short...sorry ;-)

DavidF

"djdefpoints" <djdefpoints@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E1F05B8-51C9-431A-BDF2-F9E5134C4DFA@xxxxxxxxxxxxxxxx
I grabbed and modified the following script from the publishermvps
site:

<a href="BLOCKED
SCRIPTwindowname_window=window.open'testpage.htm','windowname_window','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=428',
height=480');windowname_window.focus()">More...</a>

I inserted this code fragment into my document, published to web,
and
likewise, published-to-web the document called testpage. Both the
main
webpage document (called index-test.htm) and testpage.htm reside in
the
same
folder on our network server. I assumed I could test this fragment
out
before actually putting the documents on our website, but the link
doesn't
work. I get the hyperlink on the page (More...) but when I click on
it,
nothing happens. I'm a bit confused.

Side question: will pop-up blockers be a problem for this code
snippet?
(I
actually have trouble on this site with that - this posting window
gets
blocked.)

Thanks in advance for your help.
--
-no sig necessary-








.



Relevant Pages

  • hyperlink to open a new window
    ... then you should be posting in publisher, ... >how do I get a hyperlink to open a new window for the web ...
    (microsoft.public.access.forms)
  • Re: email newsletters in Publisher 2003
    ... And my reasons for replying and my methods of replying are entirely my own. ... It is never my intention to be rude, ... I can't tell you what is in the next version of Publisher, ... Search before posting your question. ...
    (microsoft.public.publisher)
  • Re: The KRS - some answers from Scott Wolter
    ... >>> authoror the publisher, ... > Thank you, Alan. ... The above posting is neither a legal opinion nor legal advice, ... > The above posting is neither a legal opinion nor legal advice, ...
    (sci.archaeology)
  • Re: Files Corrupted - Not Opening - Publisher 2002 Crashes
    ... I keep posting in the WRONG forum!! ... It's publisher files I cannot open. ... But after saving, closing, and trying to open again publisher ...
    (microsoft.public.publisher.webdesign)
  • Re: where are all the other months?
    ... To gain the convenience and ease of building a website with Publisher, ... have it pop up in a new window specially designed just for the calendar. ... calendar pages for scripts, no scripts." ...
    (microsoft.public.publisher.webdesign)