Znalazłem skrypt napsiany w Javie, który powiększa obrazek zminiejszzony do normalnych rozmiarów:
<!-- TWO STEPS TO INSTALL QUICK PREVIEW:
1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Ronnie T. Moore, Editor -->
<!-- Web Site: The JavaScript Source -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
timeout =0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds
function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
text = "<html><head><title>Preview</title></head><body bgcolor='white'";
if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";
text += "><center><img src='" + URL + "'>";
if (timeout != 0) text +="<br><font face='arial, helvetica' size='-1'>Preview closes after " + timeout + " seconds.</font>";
text += "</center></body></html>";
preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<a href="javascript:Start('http://javascript.internet.com/img/logo.gif', 267, 103)";><img src="http://javascript.internet.com/img/logo.gif" width=86 height=51></a>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
<a href="http://www.skryptoteka.pl">http://www.skryptoteka.pl</a>
</center><p>
<!-- Script Size: 1.56 KB -->
Oczywiście wiem jak go zainstalować w zwykłym dokumencie html, natomiast problem pojawia sie przy uzyciu go w PF. Jak to zainstalować w PF?
Z góry dzięki! |