|
|
|
Debes poner el Script dentro de <BODY> .
Los números que aparecen en quarta, quinta y sexta posición són el RGB del color de las luz que aplicaremos.
El septimo número es la intensidad de la luz.
Los otros números són la posición del focoen la imágen.
Im1.filters.Light.addPoint(110,7,60,255,0,255,100);
<LANGUAGE="JavaScript">
function ShowEffect(Im1) {
Im1.filters.Light.addPoint(110,7,60,255,0,255,100); Im1.filters.Light.addPoint(50,139,60,255,50,255,100); Im1.filters.Light.addPoint(7,6,60,0,255,0,100); Im1.filters.Light.addPoint(300,136,60,255,255,0,100); Im1.filters.Light.addPoint(115,117,50,255,255,0,100); Im1.filters.Light.addPoint(300,7,50,255,255,0,100); Im1.filters.Light.addPoint(150,7,50,255,255,0,100); Im1.filters.Light.addPoint(150,30,50,255,255,0,100); Im1.filters.Light.addPoint(200,30,50,255,255,0,100); Im1.filters.Light.addCone(90,150,50,100,100,255,0,0,60,15);} window.onload = new Function("ShowEffect(document.all.demo)") STYLE="filter: Shadow( ) Wave( freq=7, lightStrength=20, phase=47, ) filter: Light()" SRC="http://www.xlwebmasters.com/imatges/logo.gif" ALT="scriptfx logo" ALIGN="center">
<HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY><!-- CHANGE COLOUR FILTER put this in the body of your text just after the body tag. the 4th 5th and 6th set of numbers are for the colour the last number is the intensity the others are light source just play around with them point adds a point of light cone adds a beam of light --> <SCRIPT LANGUAGE="JavaScript">
function ShowEffect(Im1) {
Im1.filters.Light.addPoint(110,7,60,255,0,255,100); Im1.filters.Light.addPoint(50,139,60,255,50,255,100); Im1.filters.Light.addPoint(7,6,60,0,255,0,100); Im1.filters.Light.addPoint(300,136,60,255,255,0,100); Im1.filters.Light.addPoint(115,117,50,255,255,0,100); Im1.filters.Light.addPoint(300,7,50,255,255,0,100); Im1.filters.Light.addPoint(150,7,50,255,255,0,100); Im1.filters.Light.addPoint(150,30,50,255,255,0,100); Im1.filters.Light.addPoint(200,30,50,255,255,0,100); Im1.filters.Light.addCone(90,150,50,100,100,255,0,0,60,15);} window.onload = new Function("ShowEffect(document.all.demo)") </SCRIPT> <IMG ID="demo" STYLE="filter: Shadow( ) Wave( freq=7, lightStrength=20, phase=47, ) filter: Light()" SRC="http://www.xlwebmasters.com/imatges/logo.gif" ALT="scriptfx logo" ALIGN="center"> </BODY> </HTML>
|
|