Jump to content

Why isn't this function working?


OLG

Recommended Posts

PHP's great - im a complete nooblet at javascript apparently.

 

Why the hell isn't this working? is scrollTo deprecated or something? or have i completely lost my mind?

 

function PopupWindow(URL, id)
{
var OpenWindow = window.open(URL, id, "height=650, width=900,toolbar=no,scrollbars=yes,left=340,top=200,menubar=no");
OpenWindow.scrollTo(450, 450);
}

Link to comment
https://forums.phpfreaks.com/topic/58956-why-isnt-this-function-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.