ضعها في اي مكان في التخطيط
<script type="text/javascript">
//<![CDATA[
window.onload = function(){
var vLetter = document.getElementById('escritura');
var iSpeedInk = 5;
var sText = document.getElementById('escritura_src').innerHTML;
var iCurChar = 0;
var sChars = '<span>';
var iCurInk = 0;
var sCurCaret = '';
var sCaret = " <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwpyNGmpupudHSamycR6HUK53sMuV7xEKhR-c5-FAT7VODdFRAbH3x9EW__LhEhpAydhUo8AeMmKHXm6s5MlYLywok57PPlo3o3-F1JHmTLcCTz2xcVAqFZ6OpiWtjYBX1d9rpli1Igeo/w116-h143-no/pluma.gif' style='position:absolute' />";
var doStep = function () {
var sChar = sText.charAt(iCurChar);
var iDelay = 32;
if (sChar == '') {
sCurCaret = '';
} else if (sChar == '|') {
sChars = sChars.substring(0, sChars.length-1);
iDelay = 64;
} else if (sChar == '<') {
var iPos = sText.indexOf('>', iCurChar);
sChar = sText.substring(iCurChar, iPos + 1);
iCurChar = iPos;
} else if (sChar == '&') {
var iPos = sText.indexOf(';', iCurChar);
sChar = sText.substring(iCurChar, iPos + 1);
iCurChar = iPos;
} else if (sChar == '.') {
iDelay = 300;
} else if (sChar == ',') {
iDelay = 100;
} else if (sChar == ' ') {
iDelay = 32;
} else if (iCurChar > 5) {
sCurCaret = sCaret;
}
// expenditure of ink
if (sChar == ' ') {
iCurInk += iSpeedInk;
sChar = '</span><span style="color:RGB(' + (iCurInk) + ',' + (iCurInk) + ',' + (iCurInk) + ')">' + sChar;
}
if (document.getElementById('tintero').style.visibility == 'visible') {
sCurCaret = sCaret;
document.getElementById('tintero').style.visibility = 'hidden';
sChar = '</span><span style="color:RGB(0,0,0)">' + sChar;
}
if (iCurInk > 160) {
iCurInk = 0;
document.getElementById('tintero').style.visibility = 'visible';
iDelay = 1000;
sCurCaret = '';
}
sChars += sChar;
if (iCurChar == sText.length - 1)
sCurCaret = '';
vLetter.innerHTML = sChars + sCurCaret;
iCurChar++;
if (iCurChar < sText.length) {
setTimeout(doStep, 20 + iDelay);
}
}
doStep();
};
//]]>
</script>
<style>
#tintero {
bottom: 100px;
left: 140px;
position: relative;
visibility: hidden;
}
#escritura{
font-family: Comic Sans MS;
font-size: 18px;
font-weight: bold;
margin: 50px auto;
position: relative;
width: 75%;
}
#escritura_src {
display: none;
}
</style>
<div id="escritura_src">
المدونه شغالهـ هذي بس تم نقلها بمكان جديد والسبب اغلاق صفحه اليوتيوب من فعل فاعل ! وهنا اطريت اغلاق الصفحه ونقلها المدونهـ الجديده
<a target="_blank" href="https://alsafrany.blogspot.com/">
https://alsafrany.blogspot.com/</a>
</div>
<div id="escritura"></div>
<img alt="tintero" id="tintero" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0N_IwKKRhsa3mGdUX4VwJHK6Jgh3cQcs0TjfSsqUH6YnTMPuFBcIFITPoilC6cYTx6oqHbQi_LO03EX-rea1_po4LS_S_gPiTeWaHxqxXWeGMYm3LBZCvduXO0p7qYn9zPL7h-a2JmaI/s184/tintero2.gif" width="107" height="87" />
ويمكنك التعديل
ليست هناك تعليقات: