Hi to all,
im new there, i wanna use silverstripe cms for make my personal site:
i need to move the Bakground automactly, like climbing down of the rain,
i found surfing the internet this VB script ... but i cant introduce it on my cms site.
the script who i found have the problem that it can run only on IE, but i need it work on all platform.
who can help me ???
thanks
Quiero hacer un sitio cuyo fondo que se está moviendo, ello hacia abajo como la lluvia.. pero en css.
jo encontrado un VBScript pero no sé cómo hacer lo mismo en CSS. Cómo puedo convertir Vb script en CSS ??
Te envÃo un ejemplo de esso, que funciona sólo en IE, me gustarÃa que esto funcione en Firefox tambien.
the script whit a little html is:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
</head>
<body style="background-image: url('http://conme.files.wordpress.com/2007/06/goccia-luna-rossa.jpg')">
</body>
<SCRIPT language=VBScript>
dim MoveItX, MoveItY, mnumfond
MoveItY=0
MoveItX=0
numfond=document.body.sourceIndex
SUB SF
MoveItY=MoveItY-1
MoveItX=MoveItX+0
Document.all(numfond).style.BackgroundPosition= MoveItX & " " & MoveItY
id=SetTimeOut("SF",10,"VBScript")
End Sub
SF
</SCRIPT>
</html>