Hi all, trying to open a popup with a fixed size from mod/resource.
I have
echo "openpopup('/mod/resource/view.php?inpopup=true&id=$cm->id','resource$resource->id','width=400, height=450');\n";
echo "\n-->\n";
& the window opens ok, but not at the size expected (this wouldn't be a major problem, except that it opens at like 100x100 on Safari.
So in lib/javascript.php openpop is defined as:
function openpopup(url,name,options,fullscreen)
How should the options be formatted to control screen size (if that can be done?).
Thanks!