View Full Version : Mac PopUp problem
iktorn
Mar 29, 2004, 08:15 AM
Can anybody check and tell me why this page:
http://chmes.poznan.pl/~iktorn/def.html
is not working properly on Mac? (I don't have Mac - that is why I ask)
Thanks
mnkeybsness
Mar 29, 2004, 10:02 AM
when i click "link" a small window comes up and fives a 403 Forbidden...
You don't have permission to access /~iktorn/popup.asp on this server.
you should check the ownership and priveleges of the page and the folders that it is in to make sure that world has read privilege.
iktorn
Mar 29, 2004, 10:04 AM
when i click "link" a small window comes up and fives a 403 Forbidden...
you should check the ownership and priveleges of the page and the folders that it is in to make sure that world has read privilege.
Ignore this - this is not the problem.
The problem is with popup "reusing".
mnkeybsness
Mar 29, 2004, 10:26 AM
perhaps you could explain this "reusing"?
there is still a 403 Forbidden... and that IS a problem...
iktorn
Mar 29, 2004, 10:29 AM
perhaps you could explain this "reusing"?
Try to click several times on this link (without closing the popup). In IE/Netscape on Windows the old popup closes and new one comes up. On mac (as I was told) something goes wrong...
there is still a 403 Forbidden... and that IS a problem...
That IS NOT a problem - this page is just an example - the real site is not having 403.
jMc
Mar 29, 2004, 10:53 AM
Try to click several times on this link (without closing the popup). In IE/Netscape on Windows the old popup closes and new one comes up. On mac (as I was told) something goes wrong..
On Safari 1.2.1 on Panther-
Clicking 'link' opens the pop-up...
Clicking 'link' again closes the pop-up...
Clicking 'link' yet again does nothing (until the page is refeshed, in which case the above can be repeated)
EDIT: Mac IE 5.2 behaves as Safari. Camino 0.7 behaves as you described it should, so I should imagine other Gecko browsers (like NS) will as well.
jx
jeremy.king
Mar 29, 2004, 11:20 AM
couple thoughts. No need to use a boolean to check status. You can simply take advantage that [Object] evaluates to true. Also, to "reuse" a window, there's no need to close it, just change the location.
<SCRIPT>
var so;
function popUp(page) {
var url = "http://chmes.poznan.pl/~iktorn/popup.asp?"+page;
if (so)
so.location.href=url;
else
so=window.open(url,"so","toolbar=0,scrollbars=0,location=0,status=0,menubars=0,resizable=1,width=400,height=460,top=100,left= 400");
}
</SCRIPT>
iktorn
Mar 29, 2004, 02:07 PM
Thanks - I've changed it.
Can anyone confirm that it is working on Mac?
http://poznan.telbank.pl/~iktorn/def.html
wordmunger
Mar 29, 2004, 02:13 PM
Thanks - I've changed it.
Can anyone confirm that it is working on Mac?
http://poznan.telbank.pl/~iktorn/def.html
The point is we don't know what it's supposed to do. If you want help, you need to be a little more specific.
jeremy.king
Mar 29, 2004, 03:18 PM
I'll have to second that notion. What are you trying to accomplish?
Why close the popup to load another with the exact same characteristics? Like the script I provided, if the popup already exists, just change its URL. You could even give it focus if you wanted.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.