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 March 28th, 2006, 07:14 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check the referring page and decide on opening a n

Hi,
   I used javascript to open a miniwindow. When I click on the link home, it should check the referring page and decide on the action.

If the referring page is from my domain, and is open, then close the miniwindow and bring the parent window to the front.

If it is not from my domain, then open the homepage in a new full window while closing the miniwindow.

I know of window.opener but am not sure how I can use it.

It is quite complicated for me but not for the experts.

If any one can help me with this in part or in full, I would be obliged.

Thank you

Praveen Balla
 
Old March 29th, 2006, 02:02 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

Hi Praveen!!
Yes you can do this.
plz find my comments and code on it in the link
http://p2p.wrox.com/topic.asp?TOPIC_ID=22966

Hope this will help you


Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a customized page Snuffles ASP.NET 2.0 Basics 8 April 1st, 2007 10:53 AM
Internet Page Opening eyuvaraj Beginning VB 6 6 August 22nd, 2006 08:42 AM
Parameters that decide which graph? inge_03 Crystal Reports 0 March 27th, 2006 04:59 AM
How to check referring page? Dave Brown Beginning PHP 6 February 7th, 2005 12:01 PM





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