[Scummvm-cvs-logs] SF.net SVN: scummvm: [27327] web/trunk/include/screenshots.php
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jun 10 20:17:39 CEST 2007
Revision: 27327
http://scummvm.svn.sourceforge.net/scummvm/?rev=27327&view=rev
Author: fingolfin
Date: 2007-06-10 11:17:38 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Change screenshot viewer link back to a hyperlinkg (i.e. '<a href=...'), to ensure the mouse cursor changes while above the screenshot thumb
Modified Paths:
--------------
web/trunk/include/screenshots.php
Modified: web/trunk/include/screenshots.php
===================================================================
--- web/trunk/include/screenshots.php 2007-06-10 18:15:39 UTC (rev 27326)
+++ web/trunk/include/screenshots.php 2007-06-10 18:17:38 UTC (rev 27327)
@@ -18,11 +18,11 @@
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').focus()\"" .
+ "<a href=\"javascript: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 .
- "</div>";
+ "</a>";
return $result;
}
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