Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jun 22nd, 2005, 2:36 PM   #1
nwruiz
Newbie
 
Join Date: Jun 2005
Posts: 1
Rep Power: 0 nwruiz is on a distinguished road
Handling new windows not created by JavaScript

Here's an interesting question:

Is there any way I can manage windows by JavaScript that were not created by JavaScript? My company's goal is to create a page on the corporate website that will provide a link to a "Contact Us" page that performs 2 actions:

(1) The page will load a "dummy" page that will access a SSL page to perform the handshaking.
(2) Once loaded, the parent will redirect this page to the actual page, passing along any variables that are necessary.

The reason why we need this "dummy" page is to ensure that the variables are encrypted, as no encryption occurs on the first access to the SSL page.

I came up with a solution, using an iFrame and a pop-up generated with window.open(), but this runs the risk of a pop-up blocker preventing the pop-up from loading. The company wishes for me to use a normal href link with target='_blank'.

The problem is that I don't know how I could have my script reference this window, as I could with the var newWin = window.open() procedure.

Is this even possible? Thank you very much for your time.

Nick Ruiz
CO-OP Intern, PPL Electric Utilities
Webmaster, DealMerchant.net
http://www.dealmerchant.net
nwruiz is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:40 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC