Safari and Javascript

They have: 218 posts

Joined: Apr 2001

A client has a javascript window that is not opening in Safari, but works in IE, Mozilla etc.

I don't have MAC OSX currently, any things to look out for with javascript with Safari?

Thanks,

TM

High Rise Interactive client built site:
http://www.daveweckl.com/

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Safari requires standards but otherwise has no issues with opening windows? What are you using? It can be set to block automatic popups.

If it's the link in your post, unfortunately the popup works fine. And then proceeds to take over my monitor.

They have: 218 posts

Joined: Apr 2001

Does javascript called within PHP (called in the body of the HTML, not on the onLoad handler) cause a problem with Safari?

echo "<script> initWindow(params); </script>";

>>proceeds to take over my monitor

It's not fullscreen, plus ironically, you helped write that code Wink.

TM

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

eep! terrible news, lol...

Actually, it is fullscreen for me? Only I'm on a Mac, so there isn't really a "fullscreen" option in the same way. It fills all the available space, though.

It doesn't cause a problem that I know of, but it could be blocked by the popup. The only ones that popped up were the ones that I clicked on. Any that would have popped up on their own don't show up as I have the popup blocker on...

They have: 218 posts

Joined: Apr 2001

yep, fills all space, like Rush.com, which I like personally.

This case is not related to pop-up blockers, maybe the problem has something to do with the above question?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I'm not sure.

<?php
echo '&lt;script type=\"text/javascript\"&gt; initWindow(params); &lt;/script&gt;';
?>

But anyway, what's the error your client is getting in Safari exactly? Just that it's not popping up?

They have: 218 posts

Joined: Apr 2001

I believe that is the case. His home page works fine in Safari. And the window in question will open with MAC IE.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.