[Scummvm-cvs-logs] SF.net SVN: scummvm: [27323] web/trunk/include/screenshots.php
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jun 10 18:56:16 CEST 2007
Revision: 27323
http://scummvm.svn.sourceforge.net/scummvm/?rev=27323&view=rev
Author: fingolfin
Date: 2007-06-10 09:56:15 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Focus new screenshot viewer windows
Modified Paths:
--------------
web/trunk/include/screenshots.php
Modified: web/trunk/include/screenshots.php
===================================================================
--- web/trunk/include/screenshots.php 2007-06-10 16:53:43 UTC (rev 27322)
+++ web/trunk/include/screenshots.php 2007-06-10 16:56:15 UTC (rev 27323)
@@ -18,7 +18,7 @@
function screenshot_previewer_link ($id, $content) {
// We use a height of 483 instead of 480 to workaround something which appears to be a bug in Mozilla?
$result =
- "<div onclick=\"window.open('screenshots.php?screenshotID='+" . $id . ",'scummvm_screenshot_viewer','menubar=no,scrollbars=no,status=no,width=640,height=483')\"" .
+ "<div onclick=\"window.open('screenshots.php?screenshotID='+" . $id . ",'scummvm_screenshot_viewer','menubar=no,scrollbars=no,status=no,width=640,height=483').focus()\"" .
" onMouseOver=\"window.status='Click to View Full Size Image';return true;\"".
" onMouseOut=\"window.status='';return true;\">" .
$content .
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list