Commit c2bca3d103c5914b49cd00f2a0b6236803176174

Authored by michael
1 parent e899233c

added default scroll box co-ordinates


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1752 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/stylesheet.php
@@ -6,7 +6,7 @@ $scroll = array(); @@ -6,7 +6,7 @@ $scroll = array();
6 6
7 $browser = $default->phpSniff->property("browser"); 7 $browser = $default->phpSniff->property("browser");
8 $version = $default->phpSniff->property("version"); 8 $version = $default->phpSniff->property("version");
9 - 9 +echo $browser . ":" . $version;
10 if ( ($browser == "moz") && ($version <= 4.79)) { 10 if ( ($browser == "moz") && ($version <= 4.79)) {
11 $scroll["upArrowLeft"] = "780"; 11 $scroll["upArrowLeft"] = "780";
12 $scroll["upArrowTop"] = "190"; 12 $scroll["upArrowTop"] = "190";
@@ -38,6 +38,16 @@ if ( ($browser == &quot;moz&quot;) &amp;&amp; ($version &lt;= 4.79)) { @@ -38,6 +38,16 @@ if ( ($browser == &quot;moz&quot;) &amp;&amp; ($version &lt;= 4.79)) {
38 $scroll["textBoxTop"] = "135"; 38 $scroll["textBoxTop"] = "135";
39 $scroll["textBoxWidth"] = "600"; 39 $scroll["textBoxWidth"] = "600";
40 $scroll["textBoxHeight"] = "463"; 40 $scroll["textBoxHeight"] = "463";
  41 +} else {
  42 + $scroll["upArrowLeft"] = "722";
  43 + $scroll["upArrowTop"] = "107";
  44 + $scroll["downArrowLeft"] = "722";
  45 + $scroll["downArrowTop"] = "588";
  46 +
  47 + $scroll["textBoxLeft"] = "135";
  48 + $scroll["textBoxTop"] = "120";
  49 + $scroll["textBoxWidth"] = "600";
  50 + $scroll["textBoxHeight"] = "458";
41 } 51 }
42 ?> 52 ?>
43 <pre> 53 <pre>