Forum Moderators: travelin cat
When viewing a page with (in this case) 3 seperate links via onclick to the same page but with differing parameters the Macintosh show all 3 pages with the first occurence displayed on top! This is very confusing for the user as (s)he can't be required to know that more windows are available underneath. This behaviour does not arise on the PC.
<a href="#" onclick="return popUp('showad.cfm?img=annonser/12303801.jpg',620,479,'c','c',1,'annonser')" target=main class=tablink>...</a>
<a href="#" onclick="return popUp('showad.cfm?img=moduler/12303801.jpg',620,479,'c','c',1,'moduler')" target=main class=tablink>...</a>
<a href="#" onclick="return popUp('showad.cfm?img=logotyper/12303801.jpg',620,479,'c','c',1,'logotyper')" target=main class=tablink...</a>
The function popup looks like this:
function popUp(url, w, h, x, y, s, n) {
w = w ¦¦ '500';
h = h ¦¦ '300';
n = n ¦¦ '';
if (x=='c') x = (screen.width-w)/2;
if (y=='c') y = (screen.height-h)/2;
if (s=='1')
scr = 'yes';
else
scr = 'no';
x = x ¦¦ (screen.width-w)*Math.random();
y = y ¦¦ (screen.height-h)*Math.random();
window.open(url, n ,'directories=no,height='+h+',width='+w+',left='+x+',top='+y+',location=no,menubar=no, resizable=no,status=no,titlebar=no,toolbar=no,scrollbars='+scr);
return false;
}
Any help on what is happening would be most gratefully accepted.
/Hans Christiansen
[edited by: Macguru at 10:49 am (utc) on May 19, 2003]
[edit reason] Fixed side scroll [/edit]