I have the following script that works in all the browsers i have tested it in.
exept form Safari
It opens a window by sliding it forme top to button and the frome left to right
(The script can bee seen in action here http://www.jart.dk/jgom/golive/goliv...penwindow.html )
But in Safari ther is some truble .. On a Mac Intel the window dont slide at all but opens wery small in.. on a Mac (With G processor) the window opens in full hight and slide left to right.
I hope somebody can help me getting it to work in safari but G and Intel

function JMSlideOpenWindow(action) {
var openSide = action[1];
if (openSide == "" || openSide == " " || openSide == "#" || openSide == "(Empty Reference!)" || openSide == "(EmptyReference!)"){
openSide = "SlideWindow1";
}
var stepNed = action[2]*2;
var stepHen = action[2]*3;
var vinNavn = action[3];
var winWidth = window.screen.availWidth;
var winHight = window.screen.availHeight;
var vinHoej = action[6];
var vinBred = action[7];
var maxHoej = action[8];
var maxBred = action[9];
var vinTop = action[10];
var vinVens = action[11];
var sideHoej = 1;
var sideBred = 1;
for (i=12; i<=18; i++) {
action[i] = (action[i] == true) ? "yes" : "no";
}
var vinOpt = "";
vinOpt += ",resizable="+ action[12];
vinOpt += ",scrollbars=" + action[13];
vinOpt += ",menubar=" + action[14];
vinOpt += ",toolbar=" + action[15];
vinOpt += ",directories=" + action[16];
vinOpt += ",favorites=" + action[16];
vinOpt += ",location=" + action[17];
vinOpt += ",status=" + action[18];
if (maxHoej == true || vinHoej == "" || vinHoej < 1 || vinHoej > winHight ){
vinTop = 0;
vinHoej = winHight;
}
if (maxBred == true || vinBred == "" || vinBred < 1 || vinBred > winWidth){
vinVens = 0;
vinBred = winWidth;
}
if (action[5] == true){
vinVens = (winWidth-vinBred)/2;
vinTop = (winHight-vinHoej)/2;
vinVens = Math.round(vinVens);
vinTop = Math.round(vinTop);
}
if (action[4] == true){
vinVens = 0;
vinTop = 0;
vinBred = winWidth;
vinHoej = winHight;
}
var vinSet = "";
vinSet += ",left=" + vinVens;
vinSet += ",top=" + vinTop;
var vindue = {};
vindue = window.open("",vinNavn,vinSet+",width=1,height=1,"+vinOpt);
vindue.resizeTo(width=1,height=1);
vindue.moveTo(vinVens,vinTop);
vindue.focus();
for (sideHoej = 1; sideHoej < vinHoej; sideHoej += stepNed) {
vindue.resizeTo(1,sideHoej);
}
for (sideBred = 1; sideBred < vinBred; sideBred += stepHen) {
vindue.resizeTo(sideBred+6,sideHoej);
}
vindue.location = openSide;
}