المجد
08-02-2004, 05:52 AM
السلام عليكم ورحمه الله وبركاته
في هدا الموضوع سنتعرف على كيفيه تصميم او تزيين موقعك او تجعله مليء بالحركه والنشاط
في البدايه
سيكون التصميم على برنامح فونت بيج
بحيت وانك تقو م اولا بفتح صفحه جديده
ثم تقو م بالضغط على html التي تكون اسفل الصفحه (صفحه الفرونت بيج)
وبعد فتح html تقوم مباشره بكتابه هده الجمل التي اسفل التي تكون
برمجه الجافا سكريبت واختصار للوقت قم بنسخها والصقها في صفحه html التي في الفرونت بيج
</html><body bgcolor="aaacca">
<head<head>
<****** language=Java******>
<!-- Begin
if (********.all) {
//Things you can alter
yourLogo = "WELCOME TO najeeb's *** site "; //Not less than 2 letters!
logoFont = "";
logoColor = "red";
//Nothing needs altering below!
yourLogo = yourLogo.split('');
L = yourLogo.length;
TrigSplit = 360 / L;
Sz = new Array()
logoWidth = 100;
logoHeight = -30;
ypos = 0;
xpos = 0;
step = 0.03;
currStep = 0;
********.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < L; i++) {
********.write('<div id="ie" style="position:absolute;top:0px;left:0px;'
+'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;'
+'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>');
}
********.write('</div></div>');
function Mouse() {
ypos = event.y;
xpos = event.x - 5;
}
********.onmousemove=Mouse;
function animateLogo() {
outer.style.pixelTop = ********.body.scrollTop;
for (i = 0; i < L; i++) {
ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180);
ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180);
Sz[i] = ie[i].style.pixelTop - ypos;
if (Sz[i] < 5) Sz[i] = 5;
ie[i].style.fontSize = Sz[i] / 1.7;
}
currStep -= step;
setTimeout('animateLogo()', 20);
}
window.onload = animateLogo;
}
// End -->
</******>
وان شاء الله نحن على موعد ثاني في كيفيه تزيين صفحتك وكيفيه
جعلها مليئه بالنشاط
مع تحيات امجد
في هدا الموضوع سنتعرف على كيفيه تصميم او تزيين موقعك او تجعله مليء بالحركه والنشاط
في البدايه
سيكون التصميم على برنامح فونت بيج
بحيت وانك تقو م اولا بفتح صفحه جديده
ثم تقو م بالضغط على html التي تكون اسفل الصفحه (صفحه الفرونت بيج)
وبعد فتح html تقوم مباشره بكتابه هده الجمل التي اسفل التي تكون
برمجه الجافا سكريبت واختصار للوقت قم بنسخها والصقها في صفحه html التي في الفرونت بيج
</html><body bgcolor="aaacca">
<head<head>
<****** language=Java******>
<!-- Begin
if (********.all) {
//Things you can alter
yourLogo = "WELCOME TO najeeb's *** site "; //Not less than 2 letters!
logoFont = "";
logoColor = "red";
//Nothing needs altering below!
yourLogo = yourLogo.split('');
L = yourLogo.length;
TrigSplit = 360 / L;
Sz = new Array()
logoWidth = 100;
logoHeight = -30;
ypos = 0;
xpos = 0;
step = 0.03;
currStep = 0;
********.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < L; i++) {
********.write('<div id="ie" style="position:absolute;top:0px;left:0px;'
+'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;'
+'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>');
}
********.write('</div></div>');
function Mouse() {
ypos = event.y;
xpos = event.x - 5;
}
********.onmousemove=Mouse;
function animateLogo() {
outer.style.pixelTop = ********.body.scrollTop;
for (i = 0; i < L; i++) {
ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180);
ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180);
Sz[i] = ie[i].style.pixelTop - ypos;
if (Sz[i] < 5) Sz[i] = 5;
ie[i].style.fontSize = Sz[i] / 1.7;
}
currStep -= step;
setTimeout('animateLogo()', 20);
}
window.onload = animateLogo;
}
// End -->
</******>
وان شاء الله نحن على موعد ثاني في كيفيه تزيين صفحتك وكيفيه
جعلها مليئه بالنشاط
مع تحيات امجد