X
تبلیغات
پویا سازان

Untitled Page body { background-color: #FFFFFF; color: #000000; } #NavigationBar1 ul.navbar { list-style: none; margin: 0; padding: 0; } #NavigationBar1 ul.navbar li { height: 25px; width: 140px; margin: 0px 0px 4px 0px; vertical-align: bottom; } #NavigationBar1 ul.navbar li a { display: block; position: relative; } #NavigationBar1 ul.navbar li a img { position: absolute; z-index: 1; border-width: 0px; } #NavigationBar1 ul.navbar li span { display: block; height: 25px; width: 140px; position: absolute; z-index: 2; } $(document).ready(function() { $("#NavigationBar1 .navbar a").hover(function() { $(this).children("span").hide(); }, function() { $(this).children("span").show(); }) });
وبلاگدهي بلاگفا--امکانات جديد RSS Feed امکانات جديد اينجا ساعت منو
fCol = '444444'; //face colour. sCol = 'FF0000'; //seconds colour. mCol = '444444'; //minutes colour. hCol = '444444'; //hours colour. YCbase = 30; //Clock height. XCbase = 30; //Clock width. H = '...'; H = H.split(''); M = '....'; M = M.split(''); S = '.....'; S = S.split(''); Ypos = 0; Xpos = 0; cdots = 12; Split = 360/cdots; for (i=1; i < cdots+1; i++) { document.write('
'+i+'<\/div>'); } for (i=0; i < M.length; i++) { document.write('
<\/div>'); } for (i=0; i < H.length; i++) { document.write('
<\/div>'); } for (i=0; i < S.length; i++) { document.write('
<\/div>'); } function clock() { var doc_width = 800, doc_height = 1800; if (typeof window.innerWidth != 'undefined') { doc_width = window.innerWidth; doc_height = window.innerHeight; } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) { doc_width = document.documentElement.clientWidth; doc_height = document.documentElement.clientHeight; } else { doc_width = document.getElementsByTagName('body')[0].clientWidth; doc_height = document.getElementsByTagName('body')[0].clientHeight; } time = new Date (); secs = time.getSeconds(); sec = -1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30; hr = time.getHours(); hrs = -1.57 + Math.PI * hr/6 + Math.PI*parseInt(time.getMinutes())/360; // Ypos = window.pageYOffset + doc_width - YCbase - 25; // Xpos = window.pageXOffset + doc_height - XCbase - 30; Ypos = doc_height - YCbase - 25; Xpos = doc_width - XCbase - 30; for (i=1; i < cdots+1; i++) { document.getElementById("Digits"+i).style.top = (Ypos-15+YCbase*Math.sin(-1.56 +i *Split*Math.PI/180)) + "px"; document.getElementById("Digits"+i).style.left = (Xpos-15+XCbase*Math.cos(-1.56 +i*Split*Math.PI/180)) + "px"; } for (i=0; i < S.length; i++) { document.getElementById("Nx"+i).style.top = (Ypos+i*YCbase/4.1*Math.sin(sec)) + "px"; document.getElementById("Nx"+i).style.left = (Xpos+i*XCbase/4.1*Math.cos(sec)) + "px"; } for (i=0; i < M.length; i++) { document.getElementById("Ny"+i).style.top = (Ypos+i*YCbase/4.1*Math.sin(min)) + "px"; document.getElementById("Ny"+i).style.left = (Xpos+i*XCbase/4.1*Math.cos(min)) + "px"; } for (i=0; i < H.length; i++) { document.getElementById("Nz"+i).style.top = (Ypos+i*YCbase/4.1*Math.sin(hrs)) + "px"; document.getElementById("Nz"+i).style.left = (Xpos+i*XCbase/4.1*Math.cos(hrs)) + "px"; } setTimeout('clock()',100); } setTimeout('clock()', 500); //-->
Welcome to weblog blogfa!
function showInfoBar() { var infobar = document.getElementById("infobar"); var top = parseInt(infobar.style.top); if (top < 0) { top += 5; infobar.style.top = top+"px"; setTimeout(function(){showInfoBar()}, 50); } else { if (document.all && !window.XMLHttpRequest) infobar.style.setExpression("top", 'document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px" : body.scrollTop+"px"'); else infobar.style.top = 0; } } function closeInfoBar() { document.getElementById("infobar").style.display = "none"; } function initInfoBar() { var docWidth = 800; if (typeof window.innerWidth != 'undefined') { docWidth = window.innerWidth; } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) { docWidth = document.documentElement.clientWidth; } else { docWidth = document.getElementsByTagName('body')[0].clientWidth; } // document.getElementById("infobar").style.width = "100%"; var height = parseInt(document.getElementById("infobar").offsetHeight); document.getElementById("infobar").style.top = height*(-1)+"px"; showInfoBar(); } initInfoBar();
var colors = new Array("#FFFF00","#00FFFF","#FF00FF","#CCFFCC","#000000","#FFAA00","#FFFF66","#0000FF","#FFFFFF","#00FF00"); var hexArray = new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'); var nPause = 1*1000; var nSpeed = 25; var redStart; var greenStart; var blueStart; var redEnd; var greenEnd; var blueEnd; var redCurrent; var greenCurrrent; var blueCurrent; var nStep=1; var nColorStart=0; var nColorEnd=1; var rainbowTimer; function getNextColor() { redStart = parseInt("0x"+colors[nColorStart].substring(1,3)); greenStart = parseInt("0x"+colors[nColorStart].substring(3,5)); blueStart = parseInt("0x"+colors[nColorStart].substring(5,7)); redCurrent = redStart; greenCurrent = greenStart; blueCurrent = blueStart; redEnd = parseInt("0x"+colors[nColorEnd].substring(1,3)); greenEnd = parseInt("0x"+colors[nColorEnd].substring(3,5)); blueEnd = parseInt("0x"+colors[nColorEnd].substring(5,7)); nColorStart++; nColorEnd++; if (nColorStart >= colors.length) { nColorStart = 0; } if (nColorEnd >= colors.length) { nColorEnd = 0; } animateColor(); } function animateColor() { redCurrent = redCurrent-((redStart-redEnd)/nSpeed); greenCurrent = greenCurrent-((greenStart-greenEnd)/nSpeed); blueCurrent = blueCurrent-((blueStart-blueEnd)/nSpeed); if (redCurrent<0) { redCurrent=0 } if (redCurrent>255) {redCurrent=255} if (greenCurrent<0) {greenCurrent=0} if (greenCurrent>255) {greenCurrent=255} if (blueCurrent<0) {blueCurrent=0} if (blueCurrent>255) {blueCurrent=255} if (nStep<=nSpeed) { var red1 = hexArray[Math.floor(redCurrent/16)]; var red2 = hexArray[Math.floor(redCurrent)%16]; var green1 = hexArray[Math.floor(greenCurrent/16)]; var green2 = hexArray[Math.floor(greenCurrent)%16]; var blue1 = hexArray[Math.floor(blueCurrent/16)]; var blue2 = hexArray[Math.floor(blueCurrent)%16]; document.body.style.background = "#"+red1+red2+green1+green2+blue1+blue2; nStep++; rainbowTimer = setTimeout("animateColor()", 50); } else { clearTimeout(rainbowTimer); nStep = 1; rainbowTimer = setTimeout("getNextColor()", nPause); } } window.onload = getNextColor;


تاريخ : یکشنبه پنجم خرداد 1392 | 15:16 | نویسنده : گروه نرم افزاری پویاساز ان بادرود |
حجم:982

دانلود

نظر یادتون نره



تاريخ : چهارشنبه یکم خرداد 1392 | 16:14 | نویسنده : گروه نرم افزاری پویاساز ان بادرود |

حجم:3015kb

دانلود



تاريخ : سه شنبه سی و یکم اردیبهشت 1392 | 20:21 | نویسنده : گروه نرم افزاری پویاساز ان بادرود |