Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 post data in a pop - up window?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

doddi
Starting Member

14 Posts

Posted - 09 November 2001 :  12:21:18  Show Profile  Visit doddi's Homepage
I'm trying to post DATA in a pop-up window. How is that possible I have tried everything but I seem not to get it done!
Does anybody have a clue?

Doug G
Support Moderator

USA
6493 Posts

Posted - 09 November 2001 :  22:15:19  Show Profile
I'm not sure I know what you mean, but if you're trying to update the main page from the popup look at window.opener

======
Doug G
======
Go to Top of Page

doddi
Starting Member

14 Posts

Posted - 10 November 2001 :  04:41:32  Show Profile  Visit doddi's Homepage
I have a form action and I want to post the DATA with javascript from the FORM in another window without toolbars. the form looks like this :

<form id="chartform" name="chartform" method="POST" action="/jsz_geodemo/GDTides" target="_blank">
<td bgcolor="#000000" colspan="6" align="center" valign="middle" height="450">
<input type="image" src="/temp_gfx/1410.jpg" width="430" height="430" name="chart">
<input type="hidden" name="pix_width" value="430">
<input type="hidden" name="pix_height" value="430">
<input type="hidden" name="lat_min" value="49.7586004">
<input type="hidden" name="lon_min" value="-10.2850686">
<input type="hidden" name="lat_max" value="65.350884">
<input type="hidden" name="lon_max" value="19.2748069">
</td>
</form>

instead of using target="_blank" which just opens another window with the toolbars and the crap, I want to open another window without the toolbars!

Do you know any method to do this?

Go to Top of Page

Terry
Starting Member

2 Posts

Posted - 13 November 2001 :  16:07:43  Show Profile
I've done something like it, this should work for you.
Use Javascript to create the new window, check http://www.DynamicDrive.com for examples. Your ASP page will have to write the JS code and the data you want to display to the client which then constructs the new window and page without the toolbars etc. ie the window and its contents are created on the client side.

Go to Top of Page

Dan Martin
Average Member

USA
528 Posts

Posted - 13 November 2001 :  19:04:51  Show Profile  Visit Dan Martin's Homepage  Send Dan Martin an AOL message  Send Dan Martin an ICQ Message  Send Dan Martin a Yahoo! Message
<script language=javascript>
doddisWindow=window.open('','doddisWindow','width=640,height=220');
doddisWindow.document.write('My output is: <% =someValue %>');
doddisWindow.document.write('I am a good window');
doddisWindow.document.write('I like to smile. <a href=/forum/icon_smile.gif>')
</script>





Edited by - Dan Martin on 13 November 2001 19:06:45
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07