⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.htm

📁 java湖面倒影效果
💻 HTM
📖 第 1 页 / 共 2 页
字号:
	<P>
</td></tr>

		<tr><td><a href="/"><img src="/other_stuff_129x23.gif" width=129 height=23 border=0></a></td></tr>

<tr><td valign=top>
			<b><font face="Arial,Helvetica" size=-2><font color="red" size=+1>- </font>
<A 
            href="/catalog.htm"><FONT color=#FFFFFF>			Site catalogue
		</FONT></A></font></b>
<br>

		<b><font face="Arial,Helvetica" size=-2><font color="red" size=+1>- </font>
<A 
            href="/mailto:davidg@spigots.com"><FONT color=#FFFFFF>			Email the guv'nor
		</FONT></A></font></b>
<br>
	<P>
</td></tr>

	</table>
</td>

<td width=15>&nbsp;</td>

<td valign=top width=468>

&nbsp;
<br clear=all>
	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=+3>
The<i>Lake</i><b>Applet</b>
</font></B>
	</font>
<hr>
		The Lake Applet<hr clear=all>
<center>
</center>

<font face="Arial,Helvetica"  size=1>
<P>LICENSE

<P>This license ("License")  contains rights and restrictions associated
with use of the accompanying software. Read the License carefully
before utilizing the software. By using the software you agree to be
bound by the terms and conditions of this license.

<ol>

<li>Limited License Grant.
David Griffiths ("The author") grants to you ("Licensee") a nonexclusive, nontransferable, 
worldwide, royalty-free license to use this The Lake Applet 
software (the "Software").  Licensee agrees that it shall not use the 
Software for computer operations of any critical nature.  </li>

<li>Source Code
Whilst the author may occasionally make source code available, it is NOT 
in the public domain and the author retains full copyright over it. 
UNDER NO CIRCUMSTANCES may software be sold containing code derived 
from this source code without David Griffiths giving his explicit 
permission.</li>
 
<li>Restrictions.
The Software is copyrighted and title to all copies is retained by 
the author.  Licensee shall not make copies of Software, other than 
a single copy of Software in machine-readable format for back-up or 
archival purposes and, if applicable, Licensee may print one copy of 
on-line documentation, in which event all proprietary rights notices 
on Software and on-line documentation shall be reproduced and applied 
to all copies.  Unless enforcement of this provision is prohibited by 
applicable law, Licensee shall not modify, decompile, disassemble, 
decrypt, extract, or otherwise reverse engineer Software.  Software 
may not be transferred, leased, assigned, or sublicensed, in whole or 
in part.</li>
 
<li>Disclaimer of Warranty.
The Software is provided "AS IS," without a warranty of any kind.  
ALL EXPRESS OR IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY 
IMPLIED WARRANTY OF MERCHANT-ABILITY, FITNESS FOR A PARTICULAR PURPOSE 
OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. </li>

<li>Limitation of Liability.
IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY LOST REVENUE,
PROFIT OR DATA,  OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL,
INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY
OF LIABILITY ARISING OUT OF THE USE OF OR INABILITY TO USE  SOFTWARE,
EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</li>

<li>Termination.  
Licensee may terminate this License at any time by destroying all 
copies of Software including any documentation.  This License will 
terminate immediately without notice from David Griffiths if Licensee fails 
to comply with any provision of this License.  Upon termination, 
Licensee must destroy all copies of Software.  </li>

<li>Severability. 
If any of the above provisions are held to be in violation of applicable 
law, void, or unenforceable  in any jurisdiction, then such provisions 
are herewith waived to the extent necessary for the License to be 
otherwise enforceable in such jurisdiction,   However, if in 
the author's opinion deletion of any provisions of the License by 
operation of this paragraph  unreasonably compromises the rights or 
liabilities of the author, David Griffiths reserves the 
right to terminate the License and refund the fee paid by Licensee as 
Licensee's sole and exclusive remedy.  </li>

<li>Integration. 
This Agreement is the entire agreement between Licensee and David Griffiths 
relating to Software and: (i) supersedes all prior or contemporaneous 
oral or written communications, proposals and representations with 
respect to its subject matter; and (ii) prevails over any conflicting 
or additional terms of any quote, order, acknowledgment, or similar 
communication between the parties during the term of this Agreement. 
No modification to the Agreement will be binding, unless in writing 
and signed by a duly authorized representative of each party.</li>
</ol>
</font>

		<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=4>				Congratulations...			</font></B>
	</font>
	<br>
		...upon choosing this product. Not only will it improve your health,
and enhance your general spirituality, it will also clean the bath, cook
you breakfast, take care of the children, end armed conflict and 
invigorate the look of your web page.
	<P>

		<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=4>				Introduction			</font></B>
	</font>
	<br>
		
<P>You should be careful to check that your unzipping program has named 
the files correctly. Some DOS programs will name according to the old 
8.3 format, rename .class files "*.cla".
	<P>

			
		<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=4>				The Gallery Example			</font></B>
	</font>
	<br>
		<a name="theapplet">
<center>
<applet code=lake name=lake1 width=250 height=250>
<param name=image value="scenic.jpg">
<param name=href 
  value="http://www.demon.co.uk/davidg/spigots.htm">
</applet>

<form>
<img src="sunset_button.jpg" 
  onmouseup="lake1.setImageValue('sunset.jpg');">
<img src="city_button.jpg"
  onmouseup="lake1.setImageValue('city.jpg');">
<img src="scenic_button.jpg" 
  onmouseup="lake1.setImageValue('scenic.jpg');">
<img src="clouds_button.jpg"
  onmouseup="lake1.setImageValue('clouds.jpg');">
<br>
<input type=checkbox value="Rocking on" 
  onClick="lake1.toggleRocking();">Rocking
<br>
<input type=checkbox value="Underwater on" 
  onClick="lake1.toggleUnderwater();">Underwater
</form></center>
<b>NB:</b> If you cannot see an applet above, then 
you may need to extract more files from the .ZIP archive before reading
this page.
<P>The code which produces the above is:
	<P><table cellpadding=5><td bgcolor="#ffffc0">
<pre><font face="Courier New,Courier" color="#000000">
&lt;applet code=lake name=lake1 width=250 height=250&gt;
&lt;param name=image value="scenic.jpg"&gt;
&lt;param name=href 
  value="http://www.demon.co.uk/davidg/spigots.htm"&gt;
&lt;/applet&gt;

&lt;form&gt;
&lt;img src="sunset_button.jpg" 
  onmouseup="lake1.setImageValue('sunset.jpg');"&gt;
&lt;img src="city_button.jpg"
  onmouseup="lake1.setImageValue('city.jpg');"&gt;
&lt;img src="scenic_button.jpg" 
  onmouseup="lake1.setImageValue('scenic.jpg');"&gt;
&lt;img src="clouds_button.jpg"
  onmouseup="lake1.setImageValue('clouds.jpg');"&gt;
&lt;br&gt;
&lt;input type=checkbox value="Rocking on" 
  onClick="lake1.toggleRocking();"&gt;Rocking
&lt;br&gt;
&lt;input type=checkbox value="Underwater on" 
  onClick="lake1.toggleUnderwater();"&gt;Underwater
&lt;/form&gt;</font></pre></td></table>
	<P>

		<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=4>				Paying for the Applet			</font></B>
	</font>
	<br>
		
<P>There is NOTHING to pay. The applet is completely free. However, if you make a donation ($5 - $10?) to <a href="http://www.tyhafan.org/">Ty Hafan, Children's Hospice of Wales</a>, which is a charitable appeal formed to build, equip and run a Children's Hospice in 
Wales to provide care for terminally ill children, you can consider your applet well-and-truly registered. Click <a href="http://www.tyhafan.org/donations/">here for details on how to make a donation</a>. They now have an excellent new <a href="https://tyhafan.securewebsites.com/cconline/">OnLine donation page</a>. In just a few minutes you can change a few old, crinkly, dirty little bank notes into a nice warm glow...

	<P>



		<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=4>				Troubleshooting			</font></B>
	</font>
	<br>
		

	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Blank applet			</b></font></B>
	</font>
			<br>
	<P> If the applet remains blank when it is run off 
    the server and never shows the image, the chances are there are 
    problems with the image. If the image is too large then it may 
    not be able to create the animation in memory. On the other hand, 
    it may be that the image is not accessible. Have you spelt the 
    image filename correctly in the 
			<P><table cellpadding=5><td bgcolor="#ffffc0">
<pre><font face="Courier New,Courier" color="#000000">
&lt;param name=image...&gt;</font></pre></td></table>
    line? Again you will need to check the case and also the file 
    permissions.</li>
	
	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Gap at the bottom			</b></font></B>
	</font>
			<br>
	<P> If you make the applet too large then you will notice a blank strip 
    appear at the bottom of it as the waves lap backwards and forwards. 
    The solution is to make the applet a bit smaller...
	
	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Positioning the horizon			</b></font></B>
	</font>
			<br>
	<P> On an artistic note, it is not a good idea to use an image that 
    already has a horizon. If you look across the surface of a lake you 
    will not see the horizon reflected in the surface. The best solution 
    is to cut the image *at* the horizon.</li>
	
	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				It's turned upside-down!			</b></font></B>
	</font>
			<br>
	<P> Do not use transparent GIFs with the applet's "image" parameter. 
    There is no problem using transparent GIFs for the overlay 
    parameter - in fact this is recommended. You can usually tell if
    a transparent GIF has been used because the top half of the applet
    will have parts which appear to be upside down.</li>
	

	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Why won't the applet work off my hard disk?			</b></font></B>
	</font>
			<br>
	<P> Some web browsers have trouble opening applets straight from a hard disk.
I have noticed this happen with Internet Explorer 3 and Netscape 4. Once 
you have loaded the class file and the web page onto your web site you 
should find it works OK. 
	
	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Why does my web page say "Class Format Error"?			</b></font></B>
	</font>
			<br>
	<P> Class files are binary files, just like image files are.  Binary files 
contain more information than text (also known as ASCII) files do. If 
you transfer class files as if they were ASCII files then they will 
lose this extra information and will become corrupted. How do you 
transfer class files as binary files? You should transfer them in 
the same way that you transfer image files.
	
	<P>	<FONT color=#FFFFFF face=arial,helvetica,sans-serif><B>
		<font size=3><b>				Why does my web page say "Class Not Found"?			</b></font></B>
	</font>
			<br>
	<P> This is a very common problem. It may be because of one of the following:
<ol>
<li>You have not put the class file onto the web site</li>
<li>You are not calling the file with the correct name 
(rename to use the same combination of upper- and 
lower-case letters as your class file)</li>
<li>Your transfer program has changed the name. This 
does happen. Some programs will shorten the ".class" 
extension to ".cla". Other will change the case of the 
letters to either all uppercase or all lowercase. See 
if you can change the options on the transfer program 
to stop it doing this.</li>
<li>You have include a "codebase=

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -