From: oes <oes@users.sourceforge.net> Date: Wed, 10 Apr 2002 00:07:35 +0000 (+0000) Subject: Moved window sizing and positioning code to Bookmarklet X-Git-Tag: v_2_9_14~101 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/@default-cgi@send-stylesheet?a=commitdiff_plain;h=3a5e13625a997ca598d03ee308f96d88e7471b46;p=privoxy.git Moved window sizing and positioning code to Bookmarklet --- diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index ca5f9790..30b56c24 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -8,9 +8,12 @@ This file belongs in ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: index.php,v 1.18 2002/04/08 17:03:29 oes Exp $ + $Id: index.php,v 1.19 2002/04/09 13:06:29 oes Exp $ $Log: index.php,v $ + Revision 1.19 2002/04/09 13:06:29 oes + Resize and jump to the right on load + Revision 1.18 2002/04/08 17:03:29 oes - Fixed problem with spaces in URLs - Adapt to unified stylesheet @@ -100,19 +103,6 @@ <link rel="stylesheet" type="text/css" href="../privoxy.css"> <link rel="stylesheet" type="text/css" href="../p_feedback.css"> - <script language="javascript" type="text/javascript"> - <!-- - // - // Try to expand to the whole screen height - // - function maximizeVertically() - { - window.moveTo(screen.width - 600, 0); - window.resizeTo(600, Math.floor(screen.height * 0.9)); - } - //--> - </script> - <?php /* @@ -144,7 +134,7 @@ function error_abort($title, $message) echo (" <title>Privoxy: $title</title> </head> - <body onload=\"maximizeVertically();\"> + <body> <div class=\"title\"> <h1> <a href=\"http://www.privoxy.org/\">Privoxy</a>: $title @@ -177,9 +167,6 @@ if (!isset($url)) { $url = "http://www.example.com/"; } -/* - * Kludge: We should properly escape query strings - */ else { $url = strtr($url, " ", "+"); @@ -212,7 +199,7 @@ if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Versi <title>Privoxy Action List Feedback - Step 1 of 2</title> </head> - <body onload="maximizeVertically();"> + <body> <div class="title"> <h1> <a href="http://www.privoxy.org" target="_blank">Privoxy</a> Action List Feedback - Step 1 of 2