We know that the use of Flash animation software can produce a vivid mouse lighting effect. In fact, we use FrontPage can also be used in the Web page to achieve the lighting effect of the mouse, and the production of file storage capacity is smaller than flash. Among them, using FrontPage to make the mouse lighting effect of the specific code is as follows:
〈body bgcolor= "BLACK"
〈div id= "Mylightobject" style= "position:relative; height:500px width:500px; top:10px; left:0px;color:white; filter: Light "
〈p〉 we know that the use of Flash animation software can produce a vivid mouse lighting effect. 〈br〉
〈br〉 In fact, we use FrontPage can also be used in the Web page to achieve the lighting effect of the mouse, and the production of file storage capacity is smaller than flash. 〈br〉
〈br〉 in which, using FrontPage to make the mouse lighting effect of the specific code is as follows:
〈/p〉
〈/div〉
〈script language= "VBScript"
Option Explicit
Sub Window_onload ()
Call MyLightObject.filters.light (0). Addambient (0,250,125,30)
Set Lighting text color
Call MyLightObject.filters.light (0). Addcone (400,150,200,100,100,200,200,200,80,10)
Set the shape and range of the Halo
Sub
Sub Document_onmousemove ()
Call MyLightObject.filters.light (0). Movelight (1,window.event.x,window.event.y,0,1)
End Sub
〈/script〉
〈/body〉