473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Opening and closing windows in a clicked popup setting

Hello Bytes Community:

I have a HowTo I'm struggling a bit with here, and having to create ugly work around to get things done, because I can't get it to work the way it should and the way I have seen function on other sites quite flawlessly.

Firstly, I operate a Streaming Radio Broadcast Network with about 10K concurrent listeners and over 700K visits since july 2013 And our majority listeners are on android devices, not on web with standard pc's.
One of the key sections of the site has a "flash" object embedded in the page wit the option to MUTE/unMUTE the Live Radio Stream, the lower portion of the page has a Members Live (real-time) Chat Area, for users to talk to eachother while shows are taking places and ultimately communicating with the Host of the live show at that time. One of the options on the page is POPout, so you can leave my website yet take the smaller window with chat and the streaming audio with you.
Creating the window and and its cosmetics isn't an issue, sizes, look feel etc. The Problem is this:
The Parent Page is stream the Station Audio, and when the Popup opens it is too.
What I want to do, cross-browser, is have it when a users clicks the POPout chatplayer, that it opens the window, and simply closes the parent window at the sametime.
I can not get this to work correctly, not across all browsers. The POPoutchat window (child) has a button to return to the site, so the user not having access to th history or back isn't a problem, the idea is that if they wanted to return, they click the gohome to redock, and it opens the main site page and then closes child. So basically I need to figure out how to close a parent window when a user clicks the button to open the popout chat player, then I want to allow them to reverse that by hitting a button that returns them to that page and closes the now open child page...
Anyway, alot of this is straight forward, but the cross-browser functionality to close the parent isn't panning out. If someone can tell me how to do this I'd be greatly appreciative. Just empty my glass and assume I know nothing, and explain step by step. This way I dont confuse my crazy method and work around knowledge with the proper way to get this done.

1: So The parent has a button to a popout.
2: When clicked popout opens, parent closes.
3: Child(popout) has an button to dock/gohome.
4: When clicked it closes small carry along chat window (child) and opens the old parent that started it all.

The above in a step by step, would really help me alot.

Thanks Community, for you time...

Best Regards,
DJMystery
Mar 15 '14 #1
0 1112

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Evan Kontos | last post by:
I am using the window.open function to open a small window and I am using GET to get values back from that window. I want to be able to open another from the second window but I get an error...
3
by: Display Name | last post by:
When this form's being submitted, two windows are opening instead of only one here is the function I'm using: function subForm(){ //insert form validation here //if form is valid, open a...
2
by: amessimon | last post by:
Hi I have a issue where i need to open two popup windows at once. I'm finding this works fine in firefox, IE, and most other browsers, but im getting caught by popup blockers. Paraphrased my...
5
by: Daves | last post by:
is it a good or bad practise to use the session_start & session_end for opening & closing the database connection? I'd thought that on powerful servers today the time the connection is kept locked...
3
by: Arne Beruldsen | last post by:
The migration from VB6 is anything but easy. Ok...I have an introductory form (start-up is via sub main) and then several succeeding forms which gather some info. As soon as the info is gathered...
2
by: Stephen2 | last post by:
I've written a small dos batch script that runs a simple query through osql and then calls an exe which sends an email if the returned value The query checks if a value in a column has not been...
1
by: Salad | last post by:
I have a form that opens another (intermediary) form. The user selects an option on the intermediary form and it opens another form and the intermediary form is closed. Ex: From MainForm...
3
by: Mike Hofer | last post by:
Okay, here's the situation: we want to be able to display ASPX pages in an UpdatePanel. The reasons for this are performance related. The site in development uses *lots* of modal popups from some...
6
by: jaad | last post by:
I use a popup form to write the "ToDo" portion of a record. Once I close the popup form I would like !!.!. to be refreshed with the new information that I just wrote in the popup form that I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.