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 / Publisher / Programming / May 2005

Tip: Looking for answers? Try searching our database.

Open Browser in New Window Using Javascript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew - 27 May 2005 07:45 GMT
Microsoft Publisher 2003
Open Browser in New Window Using Javascript
ex from:
Open Browser in New Window Using Javascript

<script language="JavaScript" type="text/javascript"> <!-- function
Show(Url, Name, Features) { window.open(Url, Name, Features); } // -->
</script>
+
javascript:Show('http://southpark.username.com/gallery/ ', 'newwindow',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')

does not work at all, if I replace the functio show and instead put:
javascript:window.open('http://southpark.username.com/gallery/')
it works fine, but the parent window displays:
[object Window]

You can see this behaviour by clicking on the "Click Here for Photo Gallery"
link on the following URL:
http://southpark.username.com/index_files/Page348.htm

How do I get javascript to open a new window without changing the parent?

thank you:
Matthew
David Bartosik [MSFT MVP] - 27 May 2005 15:56 GMT
In the future note that web issues are to be addressed in our web forum.

I cover this topic on our site in the article -
http://www.publishermvps.com/Default.aspx?tabid=99

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

> Microsoft Publisher 2003
> Open Browser in New Window Using Javascript
[quoted text clipped - 22 lines]
> thank you:
> Matthew
Matthew - 01 Jun 2005 00:09 GMT
Thank you David - This worked like a charm.

:Matthew

> In the future note that web issues are to be addressed in our web forum.
>
[quoted text clipped - 31 lines]
> > thank you:
> > Matthew
Matthew - 01 Jun 2005 00:16 GMT
> In the future note that web issues are to be addressed in our web forum.
>
[quoted text clipped - 31 lines]
> > thank you:
> > Matthew

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.