[Javascript] كود لوضع عداد على انتهاء سنة  Ouooou10


[Javascript] كود لوضع عداد على انتهاء سنة  Ouooou10


هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.



 
الرئيسيةالبوابةأحدث الصورالتسجيلدخولتسجيل دخول الاعضاء
المواضيع الأخيرة
» منتداي لاعز الصديقات الغاليات
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالإثنين يونيو 17, 2013 10:37 am من طرف نبض الامل

» تعلم جميع اللغات والترجمة الفورية والمحادثة وجميع برامج الكمبيوتر بمركز الاهرام للغات
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالإثنين يونيو 10, 2013 8:58 pm من طرف ĨşŀÀm.ĐŞ

» مسًأبّقَة ٱنٌتُيّ سًفُيّيّرة بّلدُكـ
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالسبت يونيو 08, 2013 1:20 am من طرف ĨşŀÀm.ĐŞ

» مسكة الحرامي
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالسبت يونيو 08, 2013 1:12 am من طرف Miss Angle

» الدرس الثأإني :الكتابة على الصور
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالسبت يونيو 08, 2013 1:10 am من طرف Miss Angle

» انشودة ضحك القمر
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأحد يونيو 02, 2013 10:00 am من طرف ĨşŀÀm.ĐŞ

» وِأآآآآآآآآآآخٌيّرٱً
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأحد يونيو 02, 2013 9:48 am من طرف ĨşŀÀm.ĐŞ

»  أحلى 4 نكت صينيه ... تمووووت ضحك ..
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأحد يونيو 02, 2013 9:43 am من طرف ĨşŀÀm.ĐŞ

» عدنأإ اليكمـ كم جديــــــــد!
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأحد يونيو 02, 2013 9:42 am من طرف ĨşŀÀm.ĐŞ

» بنات عندي مشكلة
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأربعاء مايو 08, 2013 6:00 am من طرف نبض الامل

» ممكن بنر اعلاني
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالجمعة أبريل 12, 2013 2:43 pm من طرف *ملكة الجمال*

» 5 الغاز لن تستطيعي حلها
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأربعاء مارس 06, 2013 6:00 am من طرف قمر الزمان

» RENDER CoOoOL
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالخميس يناير 03, 2013 6:53 am من طرف ĨşŀÀm.ĐŞ

» تُسًتُطٌيّعيّنٌ ٱلررردُ !
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالسبت ديسمبر 08, 2012 2:03 pm من طرف kaiya

» كككككككككيف احط صورة شخصية
[Javascript] كود لوضع عداد على انتهاء سنة  Emptyالخميس نوفمبر 29, 2012 2:43 pm من طرف kaiya


 

 [Javascript] كود لوضع عداد على انتهاء سنة

اذهب الى الأسفل 
2 مشترك
كاتب الموضوعرسالة
نبض الامل
اميرة مبدعهـ
اميرة مبدعهـ
نبض الامل


ألأوسسمهـ : [Javascript] كود لوضع عداد على انتهاء سنة  Jb12915568671
[Javascript] كود لوضع عداد على انتهاء سنة  1336499913191
[Javascript] كود لوضع عداد على انتهاء سنة  Cd9e3dd41c
عدد مسأأهمأأتے : 1116
نقأأطي : 54555
تأأريخـ ألتسجيــل : 01/08/2011
ألعممـر : 28
ألمزأأج|| ألمزأأج|| : تمااااااااااااااام


[Javascript] كود لوضع عداد على انتهاء سنة  Empty
مُساهمةموضوع: [Javascript] كود لوضع عداد على انتهاء سنة    [Javascript] كود لوضع عداد على انتهاء سنة  Emptyالأربعاء ديسمبر 21, 2011 2:19 pm


حبيت اضع موضوع جديد اليوم الموضوع منقول من منتدي احلي حكاية
[center]
|سلامٌ عليكم و رحمةٌ من اللهِ و بركاته | ₪| ..

مرحباً بكم أيها الكرام من أعضاء و زوار المنتدى من كل مكان

كود مميز جدا يقوم بوضع اضواء الاحتفالات برأس السنة في المنتدى

مميزاته :

يتم وضعه في لوحة أدارة المنتدى و اختيار مكان ظهور الكود بكل سهولة

الكود ليس من برمجتي ولاكن حبيت انقله لكم



| الكود الفلاشي هنا .. لمعاينة الكود |


https://sd-1.archive-host.com/membres/up/37821634957680146/deco/bougie2011.swf




كود الجافا سكربيت ليظهر على الشمال الصفحات

....................................................................................................

function SWFLayer(){

this.swf_url = "";
this.swf_id = "Flash";
this.layer_name = "";
this.xx = 0;//window
this.yy = 0;//window
this.width = 1;
this.height = 1;
this.zIndex = 0;
this.body = document['CSS1Compat' == document.compatMode ? 'documentElement' : 'body'];
this._oLayer = "";

this.flashvars_labels = [];
this.flashvars_values = [];

this._ww_full_flg = "false";
this._hh_full_flg = "false";
}

//----------------------------
// SWF
//----------------------------
SWFLayer.prototype._createFlashVarsValue = function(){
var value = "browser=" + this._checkBrowser() + "&";
var flashvars_labels = this.flashvars_labels;
var flashvars_values = this.flashvars_values;
for(var i=0; i < flashvars_labels.length; i++){
value += flashvars_labels[i] + "=" + flashvars_values[i] + "&";
}
value = value.substring(0,value.length - 1);
return value;
};


SWFLayer.prototype.create = function(){
var swf_url = this.swf_url;
var swf_id = this.swf_id;
var layer_name = this.layer_name;

var html = "";

html += "<object
classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'
width='100%' height='100%' id='"+swf_id+"' align='middle'>";
html += "<param name='allowScriptAccess' value='always' />";

if(this.flashvars_labels.length > 0){
html += "<param name='flashvars' value='" + this._createFlashVarsValue() + "'>";
}


html += "<param name='movie' value='" + swf_url + "'
/><param name='scale' value='noscale' /><param name='salign'
value='lt' /><param name='quality' value='high' /><param
name='wmode' value='transparent' /><embed src='" + swf_url + "'
quality='high' scale='noscale' salign='lt' wmode='transparent'
width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"'
swLiveConnect=true align='middle' allowScriptAccess='always'
type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer%27%22;]www.macromedia.com/go/getflashplayer'";[/url]
if(this.flashvars_labels.length > 0){
html += " flashvars='" + this._createFlashVarsValue() + "'";
}
html += "/>";
html += "</object>";

var oLayer = document.createElement('div');
oLayer.setAttribute('id',layer_name);
http://oLayer.style.background = "#FF0000";
oLayer.innerHTML = html;
oLayer.style.position = 'absolute';
oLayer.style.zIndex = this.zIndex;
document.body.appendChild(oLayer);
this._oLayer = oLayer;

};

//
//
//----------------------------
SWFLayer.prototype._checkBrowser = function(){
var uName = navigator.userAgent;
if (uName.indexOf("Safari") > -1) return "Safari";
if (uName.indexOf("MSIE") > -1){
return "MSIE";
}
return "Netscape";
};

//---------------------------------------------------------------
//
//---------------------------------------------------------------
SWFLayer.prototype.setSize = function(ww,hh){
var browser = this._checkBrowser();
//
if(ww == 'full'){
this._ww_full_flg = "true";
if(browser == "MSIE"){
this.width = this.body.clientWidth;
}else if(browser == "Netscape"){
this.width = window.innerWidth - 17;
}else{
this.width = window.innerWidth;
}
}else{
this._ww_full_flg = "false";
this.width = ww;
}

//高さ
if(hh == 'full'){
this._hh_full_flg = "true";
if(browser == "MSIE"){
this.height = this.body.clientHeight;
}else if(browser == "Netscape"){
this.height = window.innerHeight-17;
}else{
this.height = window.innerHeight;
}
}else{
this._hh_full_flg = "false";
this.height = hh;
}
this._oLayer.style.width = this.width + 'px';
this._oLayer.style.height = this.height + 'px';
};


//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setPos = function(xx,yy){
var browser = this._checkBrowser();

this.xx = xx;
this.yy = yy;

//X座標
if(browser == "MSIE"){
this._oLayer.style.left = this.xx + this.body.scrollLeft + 'px';
this._oLayer.style.top = this.yy + this.body.scrollTop + 'px';
}else {
this._oLayer.style.left = this.xx + pageXOffset + 'px';
this._oLayer.style.top = this.yy + pageYOffset + 'px';
}

};

//
//
//--------------------------------------------------------------------
SWFLayer.prototype.setPosFixed = function(xx,yy){

this.xx = xx;
this.yy = yy;

//
this._oLayer.style.left = this.xx + 'px';
this._oLayer.style.top = this.yy + 'px';

};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------

SWFLayer.prototype.setdPos = function(d_xx,d_yy){

this.xx += d_xx;
this.yy += d_yy;

this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
// str='left' or 'right'
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowAlign = function(str){
var browser = this._checkBrowser() ;
if(str == 'right'){
if(browser == "MSIE"){
this.xx = this.body.clientWidth - this.width;
}else {
this.xx = window.innerWidth - this.width;
//Mozilla
if(browser == "Netscape"){
this.xx -= 17;
}
}
}else{
if(browser == "MSIE"){
this.xx = 0;
}else {
this.xx = 0;
}
}


this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowAlignFixed = function(str){
//alert("aaa");
var browser = this._checkBrowser() ;
if(str == 'right'){
if(browser == "MSIE"){
this.xx = this.body.clientWidth - this.width + this.body.scrollLeft;
}else {
this.xx = window.innerWidth - this.width + pageXOffset;
//Mozilla
if(browser == "Netscape"){
this.xx -= 17;
}
}
}else{
if(browser == "MSIE"){
this.xx = 0;
}else {
this.xx = 0;
}
}


this.setPosFixed(this.xx,this.yy);
};

//--------------------------------------------------------------------
//str='top' or 'bottom'
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowValign = function(str){
//
var browser = this._checkBrowser();
if(str == 'bottom'){
if(browser == "MSIE"){
this.yy = this.body.clientHeight - this.height;
}else {
this.yy = window.innerHeight - this.height;
//Mozilla
if(browser == "Netscape"){
this.yy -= 17;
}
}
}else{
if(browser == "MSIE"){
this.yy = 0;
}else {
this.yy = 0;
}
}
this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowValignFixed = function(str){
//
var browser = this._checkBrowser();
if(str == 'bottom'){
if(browser == "MSIE"){
//alert(this.body.scrollHeight);
this.yy = this.body.scrollHeight - this.height;
}else {
this.yy = this.body.offsetHeight - this.height;
http://this.yy = window.innerHeight - this.height;
//Mozilla
if(browser == "Netscape"){
this.yy -= 17;
}
}
}else{
if(browser == "MSIE"){
this.yy = 0;
}else {
this.yy = 0;
}
}
this.setPosFixed(this.xx,this.yy);
};

//--------------------------------------------------------------------
//(str = 'visible' or 'hidden')
//--------------------------------------------------------------------
SWFLayer.prototype.setVisible = function(str){
this._oLayer.style.visibility = str;
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.correctWindowSize = function(str){
if(this._ww_full_flg == "true" && this._hh_full_flg == "true"){
this.setSize("full","full");
}
else if(this._ww_full_flg == "true"){
//alert("_ww_full_flg = true");
this.setSize("full",this.height);
}
else if(this._hh_full_flg == "true"){
//alert("_hh_full_flg = true");
this.setSize(this.width,"full");
}
};


//---------------------------------------------------------------------
//
//---------------------------------------------------------------------
function eventObserve(obj,e, func, bool){
if (obj.addEventListener){
obj.addEventListener(e, func, bool)
}else if (obj.attachEvent){
obj.attachEvent("on" + e, func)
}
}


var noel_deco = "";
var noel_deco_flashvars_labels = ["myUrl"];
var noel_deco_flashvars_values = [location.host];//location.hostname
var noel_deco_zIndex = 1;

//--------------------------------------------------------------------
//load
//--------------------------------------------------------------------
function loadnoeldeco(data){
noel_deco = new SWFLayer();
noel_deco.zIndex = noel_deco_zIndex;
noel_deco.swf_url = "https://sd-1.archive-host.com/membres/up/37821634957680146/deco/bougie2011.swf";
noel_deco.swf_id = "noel_deco_swf";
noel_deco.layer_name = "noel_deco";

noel_deco.flashvars_labels = noel_deco_flashvars_labels;
noel_deco.flashvars_values = noel_deco_flashvars_values;

noel_deco.create();
noel_deco.setSize(250,150);//win
noel_deco.setWindowAlignFixed('left');
noel_deco.setWindowValignFixed('top');
if(checkBrowser() == "Safari"){
window.resizeBy(1,0);
}
}

eventObserve(window, 'load', loadnoeldeco, false);

//--------------------------------------------------------------------
//scroll
//--------------------------------------------------------------------
function scrollnoeldeco(){
noel_deco.setWindowAlignFixed('left');

}
//
eventObserve(window, 'scroll', scrollnoeldeco, false);


//--------------------------------------------------------------------
//resize
//--------------------------------------------------------------------
function resizenoeldeco(){
noel_deco.setWindowAlignFixed('left');

}
http://window.resize
eventObserve(window, 'resize', resizenoeldeco, false);

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
//
document.getElementsByTagName("html")[0].style.overflow="scroll";

function hidenoel_deco(){
noel_deco.setVisible("hidden");
}

function setClose(){
noel_deco.setSize(0,0);
}

function checkBrowser(){
var uName = navigator.userAgent;
if (uName.indexOf("Safari") > -1) return "Safari";
if (uName.indexOf("MSIE") > -1){
return "MSIE";
}
return "Netscape";
};


......................................................................................................

كود الجافا سكربيت ليظهر على يمين الصفحات

.
.....................................................................................................
function SWFLayer(){

this.swf_url = "";
this.swf_id = "Flash";
this.layer_name = "";
this.xx = 0;//window
this.yy = 0;//window
this.width = 1;
this.height = 1;
this.zIndex = 0;
this.body = document['CSS1Compat' == document.compatMode ? 'documentElement' : 'body'];
this._oLayer = "";

this.flashvars_labels = [];
this.flashvars_values = [];

this._ww_full_flg = "false";
this._hh_full_flg = "false";
}

//----------------------------
// SWF
//----------------------------
SWFLayer.prototype._createFlashVarsValue = function(){
var value = "browser=" + this._checkBrowser() + "&";
var flashvars_labels = this.flashvars_labels;
var flashvars_values = this.flashvars_values;
for(var i=0; i < flashvars_labels.length; i++){
value += flashvars_labels[i] + "=" + flashvars_values[i] + "&";
}
value = value.substring(0,value.length - 1);
return value;
};


SWFLayer.prototype.create = function(){
var swf_url = this.swf_url;
var swf_id = this.swf_id;
var layer_name = this.layer_name;

var html = "";

html += "<object
classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'
width='100%' height='100%' id='"+swf_id+"' align='middle'>";
html += "<param name='allowScriptAccess' value='always' />";

if(this.flashvars_labels.length > 0){
html += "<param name='flashvars' value='" + this._createFlashVarsValue() + "'>";
}


html += "<param name='movie' value='" + swf_url + "'
/><param name='scale' value='noscale' /><param name='salign'
value='lt' /><param name='quality' value='high' /><param
name='wmode' value='transparent' /><embed src='" + swf_url + "'
quality='high' scale='noscale' salign='lt' wmode='transparent'
width='100%' height='100%' name='"+swf_id+"' id='"+swf_id+"'
swLiveConnect=true align='middle' allowScriptAccess='always'
type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer%27%22;]www.macromedia.com/go/getflashplayer'";[/url]
if(this.flashvars_labels.length > 0){
html += " flashvars='" + this._createFlashVarsValue() + "'";
}
html += "/>";
html += "</object>";

var oLayer = document.createElement('div');
oLayer.setAttribute('id',layer_name);
http://oLayer.style.background = "#FF0000";
oLayer.innerHTML = html;
oLayer.style.position = 'absolute';
oLayer.style.zIndex = this.zIndex;
document.body.appendChild(oLayer);
this._oLayer = oLayer;

};

//
//
//----------------------------
SWFLayer.prototype._checkBrowser = function(){
var uName = navigator.userAgent;
if (uName.indexOf("Safari") > -1) return "Safari";
if (uName.indexOf("MSIE") > -1){
return "MSIE";
}
return "Netscape";
};

//---------------------------------------------------------------
//
//---------------------------------------------------------------
SWFLayer.prototype.setSize = function(ww,hh){
var browser = this._checkBrowser();
//
if(ww == 'full'){
this._ww_full_flg = "true";
if(browser == "MSIE"){
this.width = this.body.clientWidth;
}else if(browser == "Netscape"){
this.width = window.innerWidth - 17;
}else{
this.width = window.innerWidth;
}
}else{
this._ww_full_flg = "false";
this.width = ww;
}

//高さ
if(hh == 'full'){
this._hh_full_flg = "true";
if(browser == "MSIE"){
this.height = this.body.clientHeight;
}else if(browser == "Netscape"){
this.height = window.innerHeight-17;
}else{
this.height = window.innerHeight;
}
}else{
this._hh_full_flg = "false";
this.height = hh;
}
this._oLayer.style.width = this.width + 'px';
this._oLayer.style.height = this.height + 'px';
};


//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setPos = function(xx,yy){
var browser = this._checkBrowser();

this.xx = xx;
this.yy = yy;

//X座標
if(browser == "MSIE"){
this._oLayer.style.left = this.xx + this.body.scrollLeft + 'px';
this._oLayer.style.top = this.yy + this.body.scrollTop + 'px';
}else {
this._oLayer.style.left = this.xx + pageXOffset + 'px';
this._oLayer.style.top = this.yy + pageYOffset + 'px';
}

};

//
//
//--------------------------------------------------------------------
SWFLayer.prototype.setPosFixed = function(xx,yy){

this.xx = xx;
this.yy = yy;

//
this._oLayer.style.left = this.xx + 'px';
this._oLayer.style.top = this.yy + 'px';

};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------

SWFLayer.prototype.setdPos = function(d_xx,d_yy){

this.xx += d_xx;
this.yy += d_yy;

this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
// str='left' or 'right'
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowAlign = function(str){
var browser = this._checkBrowser() ;
if(str == 'right'){
if(browser == "MSIE"){
this.xx = this.body.clientWidth - this.width;
}else {
this.xx = window.innerWidth - this.width;
//Mozilla
if(browser == "Netscape"){
this.xx -= 17;
}
}
}else{
if(browser == "MSIE"){
this.xx = 0;
}else {
this.xx = 0;
}
}


this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowAlignFixed = function(str){
//alert("aaa");
var browser = this._checkBrowser() ;
if(str == 'right'){
if(browser == "MSIE"){
this.xx = this.body.clientWidth - this.width + this.body.scrollLeft;
}else {
this.xx = window.innerWidth - this.width + pageXOffset;
//Mozilla
if(browser == "Netscape"){
this.xx -= 17;
}
}
}else{
if(browser == "MSIE"){
this.xx = 0;
}else {
this.xx = 0;
}
}


this.setPosFixed(this.xx,this.yy);
};

//--------------------------------------------------------------------
//str='top' or 'bottom'
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowValign = function(str){
//
var browser = this._checkBrowser();
if(str == 'bottom'){
if(browser == "MSIE"){
this.yy = this.body.clientHeight - this.height;
}else {
this.yy = window.innerHeight - this.height;
//Mozilla
if(browser == "Netscape"){
this.yy -= 17;
}
}
}else{
if(browser == "MSIE"){
this.yy = 0;
}else {
this.yy = 0;
}
}
this.setPos(this.xx,this.yy);
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.setWindowValignFixed = function(str){
//
var browser = this._checkBrowser();
if(str == 'bottom'){
if(browser == "MSIE"){
//alert(this.body.scrollHeight);
this.yy = this.body.scrollHeight - this.height;
}else {
this.yy = this.body.offsetHeight - this.height;
http://this.yy = window.innerHeight - this.height;
//Mozilla
if(browser == "Netscape"){
this.yy -= 17;
}
}
}else{
if(browser == "MSIE"){
this.yy = 0;
}else {
this.yy = 0;
}
}
this.setPosFixed(this.xx,this.yy);
};

//--------------------------------------------------------------------
//(str = 'visible' or 'hidden')
//--------------------------------------------------------------------
SWFLayer.prototype.setVisible = function(str){
this._oLayer.style.visibility = str;
};

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
SWFLayer.prototype.correctWindowSize = function(str){
if(this._ww_full_flg == "true" && this._hh_full_flg == "true"){
this.setSize("full","full");
}
else if(this._ww_full_flg == "true"){
//alert("_ww_full_flg = true");
this.setSize("full",this.height);
}
else if(this._hh_full_flg == "true"){
//alert("_hh_full_flg = true");
this.setSize(this.width,"full");
}
};


//---------------------------------------------------------------------
//
//---------------------------------------------------------------------
function eventObserve(obj,e, func, bool){
if (obj.addEventListener){
obj.addEventListener(e, func, bool)
}else if (obj.attachEvent){
obj.attachEvent("on" + e, func)
}
}


var noel_deco = "";
var noel_deco_flashvars_labels = ["myUrl"];
var noel_deco_flashvars_values = [location.host];//location.hostname
var noel_deco_zIndex = 1;

//--------------------------------------------------------------------
//load
//--------------------------------------------------------------------
function loadnoeldeco(data){
noel_deco = new SWFLayer();
noel_deco.zIndex = noel_deco_zIndex;
noel_deco.swf_url = "https://sd-1.archive-host.com/membres/up/37821634957680146/deco/bougie2011.swf";
noel_deco.swf_id = "noel_deco_swf";
noel_deco.layer_name = "noel_deco";

noel_deco.flashvars_labels = noel_deco_flashvars_labels;
noel_deco.flashvars_values = noel_deco_flashvars_values;

noel_deco.create();
noel_deco.setSize(250,150);//win
noel_deco.setWindowAlignFixed('right');
noel_deco.setWindowValignFixed('top');
if(checkBrowser() == "Safari"){
window.resizeBy(1,0);
}
}

eventObserve(window, 'load', loadnoeldeco, false);

//--------------------------------------------------------------------
//scroll
//--------------------------------------------------------------------
function scrollnoeldeco(){
noel_deco.setWindowAlignFixed('right');

}
//
eventObserve(window, 'scroll', scrollnoeldeco, false);


//--------------------------------------------------------------------
//resize
//--------------------------------------------------------------------
function resizenoeldeco(){
noel_deco.setWindowAlignFixed('right');

}
http://window.resize
eventObserve(window, 'resize', resizenoeldeco, false);

//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
//
document.getElementsByTagName("html")[0].style.overflow="scroll";

function hidenoel_deco(){
noel_deco.setVisible("hidden");
}

function setClose(){
noel_deco.setSize(0,0);
}

function checkBrowser(){
var uName = navigator.userAgent;
if (uName.indexOf("Safari") > -1) return "Safari";
if (uName.indexOf("MSIE") > -1){
return "MSIE";
}
return "Netscape";
};


.................................................................................................
شرح تركيب الكود :-

لوحة الإدارة >> عناصر اضافية >> HTML و JAVASCRIPT >> إدارة أكواد Javascript



https://i.servimg.com/u/f40/11/60/75/36/04-07-12.png" border="0" alt=""/>




العنوان : كود القلوب المتساقطة
أضف الكود ألى : اختار المكان المناسب لك بوضعك اشارة بداخل المربع
كود Javascript * : ضع الكود في الاعلى بداخل المربع
,
,
ثم نضغط على قدم

و هيك سوف تظهر نافذة جديدة تفيد بنجاح عملية اضافة الكود و نصها كتالي :

لقد تم تعديل كود Javascript بنجاح.



و إلى هنا اخوانيـ
..ينتهي موضوعنا لهذا اليوم ..
في أمل اللقاء بكمـ
.إن شاء الله في مواضيع جديدة ..
والسلام عليكم و رحمة الله ..



-----------

ارجو ان اكود قد وفقت
في الشرح


المصدر منتدي احلي حكاية
الرجوع الى أعلى الصفحة اذهب الى الأسفل
http://ajial.cool.st/
kaiya
اميرة متميزة
اميرة متميزة
kaiya


ألأوسسمهـ : [Javascript] كود لوضع عداد على انتهاء سنة  Jb12915568671

[Javascript] كود لوضع عداد على انتهاء سنة  M6m3.com13140510621
عدد مسأأهمأأتے : 982
نقأأطي : 55444
تأأريخـ ألتسجيــل : 23/05/2011
ألعممـر : 25
ألموقعـ~ : عأآلممُيّ أآلخٌيّيّأآليّيُّ
ألمزأأج|| ألمزأأج|| : رأآأآئعـ


[Javascript] كود لوضع عداد على انتهاء سنة  Empty
مُساهمةموضوع: رد: [Javascript] كود لوضع عداد على انتهاء سنة    [Javascript] كود لوضع عداد على انتهاء سنة  Emptyالخميس يناير 19, 2012 4:22 pm

بصرأآحة طويل كتييييييييير

بس بصرأآحة رووووعة ومفيد
شكراً لانك جلبتي هذا الكود
مو مقصرة يعطيكي العافية ياقمر
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
[Javascript] كود لوضع عداد على انتهاء سنة
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
 :: ادأإرة وبسـ...} :: الأرشيـــــــفـ..}-
انتقل الى: