::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : سه شنبه 10 آذر 1405 - 2:42 بعد از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
heydarifard آفلاین



ارسال‌هاAsnwers : 579
عضویتRegistration date : 23 /9 /1392
حمایت کردهthanks : 241
حمایت شدهThanked : 90
پاسخAnswer 12 : چرا این کد کار نمیکنه؟

این چیه .

ببین اینجوری بده :

کد:
<style>

#divLawyer { height: 242px; width: 250px; background: url(http://houselove.myhtmlhome.ir/Content/Images/Structure/Speakcloud/lawyer_sprite.png) no-repeat 0; position: absolute; bottom: 0; left: 8px; background-position: 0 0;}</style>

<div id="divLawyer" style="background-position:-500px 0px; left: 8px;"></div>

<script>

setInterval(function(){

if(document.getElementById('divLawyer').style.backgroundPosition=='-500px 0px')

document.getElementById('divLawyer').style.backgroundPosition='-750px 0px';

},800);

setInterval(function(){

if(document.getElementById('divLawyer').style.backgroundPosition=='-750px 0px')

document.getElementById('divLawyer').style.backgroundPosition='0px 0px';

},1000);

setInterval(function(){

if(document.getElementById('divLawyer').style.backgroundPosition=='0px 0px')

document.getElementById('divLawyer').style.backgroundPosition='-250px 0px';

elsedocument.getElementById('divLawyer').style.backgroundPosition='-500px 0px';},1200);

</script>

دوشنبه 14 اردیبهشت 1394 - 15:46
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex