Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2005, 05:53 AM
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to v_savkare
Default How to maximize the window

Hello Friends!!
I'm facing a problem.I have a code which opens a new window as--
<a onclick="window.open('../online/object.asp?objectID=<%=objectID%,'myWindow','left= 0,top=0,width=1000,height=630,toolbar=yes,resizabl e=yes,scrollbars=yes,status=yes,location=yes,title bar=yes');" >
This opens a new window.Now when we minimise this window and again click on the click ,this minimised window gets maximised when it contains normal HTML but doesn't open when having some doc file or pdf file as content.

So plz Help!!!!!

Regards

Vinod
 
Old September 28th, 2005, 01:43 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii v_savkare!!

1>http://ursitenamexyz.com/online/object.asp will open ur html/asp file (no problem)
2>when you try to open doc/pdf files through ur above url you will get the problem instead you need a url like
http://ursitenamexyz.com/online/mypdffile.pdf
or
http://ursitenamexyz.com/online/mypdocfile.doc

make a url dynamic depending on html/asp/pdf file or put the execution logic in ur object.asp(probably response.redirect to correct pdf or doc file,but i will take a round trip,better is to make dyanamic url ,as i think)

hope this wiil help you



Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
When I minimize my form and then maximize it again ehsemsar Crystal Reports 0 January 3rd, 2007 08:39 AM
Maximize the JInternalFrame rajavva Java GUI 1 September 21st, 2006 11:30 AM
How to maximize the window v_savkare Javascript 1 October 3rd, 2005 05:09 AM
maximize form rupen Access VBA 1 May 27th, 2005 12:06 PM
Minimize and Maximize bmains VB.NET 7 July 26th, 2004 07:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.