Would you like to react to this message? Create an account in a few clicks or log in to continue.

HAMSAHAQ كود ظهور الشبح في منتداك فجاءأاو فانوس رمضان او مناسبات اخرة

View previous topic View next topic Go down

  HAMSAHAQ كود ظهور الشبح في منتداك  فجاءأاو فانوس رمضان او مناسبات اخرة Empty HAMSAHAQ كود ظهور الشبح في منتداك فجاءأاو فانوس رمضان او مناسبات اخرة

Post by Admin Sat Nov 15, 2014 1:45 pm

السلام وعليكم ورحمة الله

اخواني اخواتي  انا اختكم  همسة حق اليوم حابة ان اقدم لكم شيئ جديد وهو

كود ظهور الشبح في منتداك بشكل مفاجئ او الفانوس رمضان او غيرها من الصور انت تضيف الصورة او المناسبة الخاصة بك

صورة عن الكود

https://i.servimg.com/u/f59/15/96/93/59/10.jpg



والان طريقة وضع الكود في المنتدى

صورة توضيحية
https://i.servimg.com/u/f59/15/96/93/59/h10.png



1

العناصر المستقلة

2
  HTML و JAVASCRIPT




3
اضافة كود Javascript

اضافة العنوان
اختيار الظهور في الصفحة الريئسية

ضع الكود ومن بعد اضغط على
سجل

والان تفضلو الكود
Code:
$(function() {
 //||HAMSAHAQ|| Happy Halloween *HAMSAHAQ*الشبح !

 var ghost = document.createElement('IMG'), actif = false;
 ghost.src = 'http://i39.servimg.com/u/f39/18/21/60/73/ghost10.png';
 ghost.setAttribute('style','position:fixed;top:0%;left:0%;z-index:99999;display:none;');
 document.body.appendChild(ghost);
 
 ghost.onclick = function() { ghost.style.display = 'none' };
 window.setInterval('_spook_ghost()', 1000);
 _spook_ghost = function() {
   if (random(5) === 4 && actif === false) {
     actif = true;
     ghost.style.left = random(76) + '%';
     ghost.style.top = random(76) + '%';
     ghost.style.width = '48px';
     ghost.style.opacity = '1';
 ghost.style.display = '';
     _animation_ghost = window.setInterval(function() {
       if (Number(ghost.style.opacity) <= 0) {
         ghost.style.display = 'none';
         window.clearInterval(_animation_ghost);
         return actif = false;
       }
       ghost.style.width = Number(ghost.style.width.replace(/px/,'')) + 10 + 'px';
       ghost.style.opacity = Number(ghost.style.opacity) - 0.01;
     },1);
   }
 };
 function random(val) { return Math.floor(Math.random() * val) };
});

ملاحظة صغيرة
الي بدو يغير صورة الشبح الى صورة اخرة

يحذف من الكود هذا الرابط ويضع ما يشاء

https://i.servimg.com/u/f39/18/21/60/73/ghost10.png

ويمكنك اضافة صورة فنجان قهوة  او اي حاجة انت تختارهاها

وهذه الصور من عندي  يمكنك اختيار ما تحب

العنكبوت الاسود
https://i.servimg.com/u/f59/15/96/93/59/4phb610.png



الشبح صورة اخرة
https://i.servimg.com/u/f59/15/96/93/59/4ckdh10.png


القطة
https://i.servimg.com/u/f46/15/96/93/59/00sale10.gif


قلب احمر
https://i.servimg.com/u/f33/15/96/93/59/10300210.png

فانوس رمضان
https://i.servimg.com/u/f39/15/96/93/59/13100810.gif
فنجان او كاسة الشاي
https://i.servimg.com/u/f33/15/96/93/59/3353410.gif

عصفور صغير
https://i.servimg.com/u/f70/15/96/93/59/5a102b10.gif
رقص اجنبي
https://i.servimg.com/u/f33/15/96/93/59/84338310.gif
https://i.servimg.com/u/f46/15/96/93/59/danse-10.gif

علاء الدين
https://i.servimg.com/u/f46/15/96/93/59/genio10.gif


المهم تفضل هذا الموقع راح تجد فيه الالاف من الايقوانات والصور الصغيرة اختار منها ما تشاء

http://www.i2clipart.com/search/red+heart/8
http://www.i2clipart.com/

وفي الختام ارجو منكم الدعاء لي بالشفاء  والرحمة لي ولوالدينا


اختكم بالله

hamsahaq

Admin
Admin

Time Online : 14d 23h 8m 17s
Posts : 21
Join date : 2014-11-15

https://haq1.board-directory.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum