مشاهدة النسخة كاملة : كود :: الذى يجعل اسم الموقع يتحرك


ابراهيم هنداوى
2008-05-28, 02:16 PM
<script language="JavaScript1.2">

var message="مرحباً بكم فى موقعنا" //specifys the title
var message=message+" " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
i="0" //declares the variable and sets it to start at 0
var temptitle="" //declares the variable and sets it to have no value yet.
var speed="150" //the delay in milliseconds between letters

function titler(){
if (!document.all&&!document.getElementById)
return
document.title=temptitle+message.charAt(i) //sets the initial title
temptitle=temptitle+message.charAt(i) //increases the title by one letter
i++ //increments the counter
if(i==message.length) //determines the end of the message
{
i="0" //resets the counter at the end of the message
temptitle="" //resets the title to a blank value
}
setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.
}

window.onload=titler
</script>


الان طريقه التركيب
اتح الاستايل الذى تستخدمه حاليا اختر خيار header
اضف هذا الكود فى اول الهيدر وشكرا

Eng Muhamed
2008-05-28, 02:57 PM
تسلم ياالغالى وبارك الله فيك

ابراهيم هنداوى
2008-05-29, 09:54 AM
شكرا لمرورك ياغالى

تغريد الايام
2008-06-10, 03:29 PM
مشكوررررررررررررر

zidan448
2008-06-22, 09:16 AM
الف شكر ليك يامان والله

ابراهيم هنداوى
2008-06-27, 05:41 PM
شكرا لكم على ردكم الطيب

hamidi.ilies
2008-06-28, 10:13 PM
مشكورررررررررر ولكن كيف افعله ياخيد
كيف اركب كود

ابراهيم هنداوى
2008-07-06, 05:07 PM
اولا ادخل على التحكم بالاستايلات
ثانيا اختر الاستايل الذى تستخدمه
ثالثا اختر header من الخيارات الموجوده
رابعا بعد فتح القالب دع هذا الكود فى اوله مع تغير كلمه مرحبا بكم فى موقعنا

ابسط طريقه وشرح مبسط جدا

مع التحيه
(http://abda3y.com)

zmooh4
2008-07-07, 12:49 PM
مشكورررررررررر