Kullanmak istediğiniz sayfaya include etmeniz yeterli.
<div id="yaz"><OBJECT ID="SG1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:absolute; top:250;left:-1000;width:2000;height:400">
</OBJECT></div>
<script language=vbscript>
sub document_onmousemove()
dim b
dim textrange
dim yazi
dim lib,ds
set textrange = document.selection.createrange()
yazi=textrange.text
yazi = Replace(yazi, "ş", "s")
yazi = Replace(yazi, "ğ", "g")
yazi = Replace(yazi, "ı", "i")
yazi = Replace(yazi, "İ", "I")
yazi = Replace(yazi, "Ş", "S")
yazi = Replace(yazi, "Ğ", "G")
yazi = Replace(yazi, chr(13)&chr(10), " ")
dim topyazi(50)
b=1
if len(yazi)>255 then yazi=mid(yazi,1,255)
for a=1 to len(yazi)
if (a mod 50)=0 then
b=b+1
topyazi(b)=mid(yazi,a-49,50)
topyazi(b+1)=mid(yazi,a+1,50)
end if
posy=0
if len(yazi)<50 then topyazi(1)=yazi
next
set lib = SG1.Library
set ds=SG1.DrawSurface
ds.clear
ds.FillStyle 1
ds.FillColor(lib.ColorRGB255(17,172,255))
ds.Font "Times", 30, 0, -1, 0, 0
for a=1 to ubound(topyazi)
ds.Text (topyazi(a)), 0, a*38
next
posy=document.body.scrolltop
document.all.SG1.style.top=posy+100
document.all.SG1.style.left=-980
SG1.DrawSurface = ds
end sub
</SCRIPT>


Alıntı ile Cevapla
Bu Konuyu Paylaşın !