safari have a hidden error and stopping the focus and resize function after window is opened and if you use your mouse to pull it bigger it make a jump to what you have set it to try it your self but no solution to that problem and it is safari there have to make that error.
You can do it in safari but you have to set the width and the height when you make the window in safari and not after you have made the window.
this script open a window then you click on the link there you have to use it and then you click again it closes the window or if you have refreshed the main window after you have made the window it will only refresh the window and you have to click again to close the window.
safari have a hidden error and stopping the focus and resize function after window is opened and if you use your mouse to pull it bigger it make a jump to what you have set it to try it your self but no solution to that problem and it is safari there have to make that error.
You can do it in safari but you have to set the width and the height when you make the window in safari and not after you have made the window.
<script language="javaScript" type="text/javascript"><!--
var up=true;
function MiniRadio(content){
if(up){
name= window.open("+content+","name", config='toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, left=0, top=0, width=312, height=220');
name.moveTo(0,0);
up=false;
}else{
if(false==name.closed){
name.close();
up=true;
}else{
name= window.open("+content+","name", config='toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, left=0, top=0, width=312, height=220');
name.moveTo(0,0);
up=false;
}
}
}
//--></script>
this script open a window then you click on the link there you have to use it and then you click again it closes the window or if you have refreshed the main window after you have made the window it will only refresh the window and you have to click again to close the window.