I am developing one website in php. and to display reports and service requests i am using another window. means from menu when user clicks on one report or service request i am opening it into new window.
But the problem is if one report is already opened into a window. and when user clicks on same report from menu than its opening in another new window. so there is two same windows for one page.
so i want to check at the time of opening a window that if that page is already opened in a window than new window won't open. and if not than it will open in a new window.
like if customer_report.php is already opened than show that window. else window.open(customer_report.php);
can i check like this ?
how do i have control of opening a new window ?
Please help me.