Q:

کد اسلایدر برگی زیبا با توضیحات زیبا!new!

دمو:

http://lesanarabi.rozblog.com/page/slider

اگه نظرتو ننویسی خیلی دلخور میشم

کد:

کد:
<!-- BEGINNING OF THE CODE FOR THE CSS-3-SLIDESHOW-->

<!----------------------------------------->

<!-- STYLE-CONFIGURATION STARTS HERE -->

<!----------------------------------------->

<!-- Set the text-style within .textboxstyle -->

<!-- Set the backgroundcolor, the rounded corners and the shadow within .textboxbackgroundstyle -->

<!-- Set the rounded corners and the shadow within .curveandshadowstyle -->

<style>

.textboxstyle {

font-family:Arial;

font-size:16pt;

color:black;

text-align:center;

vertical-align:top;

}

.textboxbackgroundstyle {

background-color:white;

padding:5px;

/* rounded corners for Firefox */

-moz-border-radius-topleft: 15px;

-moz-border-radius-bottomright: 15px;

/* rounded corners for for Safari and Chrome */

-webkit-border-top-left-radius: 15px;

-webkit-border-bottom-right-radius: 15px;

/* rounded corners for Opera */

border-top-left-radius: 15px;

border-bottom-right-radius: 15px;

}

.curveandshadowstyle {

/* shadow and rounded corners for Firefox */

-moz-box-shadow: 5px 5px 8px #818181;

-moz-border-radius-topleft: 25px;

-moz-border-radius-bottomright: 25px;

/* shadow and rounded corners for Safari and Chrome */

-webkit-box-shadow: 5px 5px 8px #818181;

-webkit-border-top-left-radius: 25px;

-webkit-border-bottom-right-radius: 25px;

/* shadow and rounded corners for Opera */

box-shadow: 5px 5px 5px #818181;

border-top-left-radius: 25px;

border-bottom-right-radius: 25px;

/* shadow for Internet Explorer */

filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#818181');

border-style:solid;

border-width:1px;

border-color:white;

}

</style>

<!----------------------------------------->

<!-- STYLE-CONFIGURATION STOPS HERE -->

<!----------------------------------------->

<script>

var imgurl= new Array()

var message= new Array()

var thislink= new Array()

/////////////////////////////////////////////////

// SCRIPT-CONFIGURATION STARTS HERE

/////////////////////////////////////////////////

// set the url (or path) of your images. Add as many images as you like

imgurl[0]="http://khanehdar.akairan.com/images/img/h34h16.jpg"

imgurl[1]="http://khanehdar.akairan.com/images/img/h34h16.jpg"

imgurl[2]="http://khanehdar.akairan.com/images/img/h34h16.jpg"

imgurl[3]="http://khanehdar.akairan.com/images/img/h34h16.jpg"

// set the messages corresponding to the images above (no more no less than the images above)

message[0]="توضیحات"

message[1]="توضیحات"

message[2]="توضیحات"

message[3]="توضیحات"

// set the links corresponding to the images above (no more no less than the images above)

// If you dont want to add a link enter a #"instead of http://www.mylink.com, see smaple below

thislink[0]="لینک"

thislink[1]="لینک"

thislink[2]="لینک"

thislink[3]="لینک"

// width of pictures (pixel)

var imgwidth=300

// width of pictures (pixel)

var imgheight=180

// set stillstand of picture (seconds)

var stillstand=2.5

// set opacity-strength (transparency-effect). Values may range from 1 to 100

var opacitystrength=60

/////////////////////////////////////////////////

// SCRIPT-CONFIGURATION STOPS HERE

/////////////////////////////////////////////////

// Do not edit below this line

var tmr

var step=10

var i=imgwidth

var i_imgurl=0

stillstand*=1000

var preloadedimages=new Array()

for (iii=0;iii<imgurl.length;iii++){

preloadedimages[iii]=new Image()

preloadedimages[iii].src=imgurl[iii]

}

function shrinkpic() {

document.getElementById("textbox").innerHTML=""

if (i>0) {

i-=step

document.getElementById("picdiv").style.width=i+"px"

document.getElementById("picdiv").style.height=i*(imgheight/imgwidth)+"px"

document.getElementById("picdiv").style.left=imgwidth/2-(i/2)+"px"

document.getElementById("picdiv").style.top=(imgwidth/2-(i/2))*(imgheight/imgwidth)+"px"

tmr=setTimeout("shrinkpic()",20)

}

else {

i_imgurl++

if (i_imgurl>=imgurl.length) {

i_imgurl=0

}

document.getElementById("picdiv").style.background="url("+imgurl[i_imgurl]+")"

i=1

tmr=setTimeout("enlargepic()",20)

}

}

function enlargepic() {

if (i<=imgwidth) {

i+=step

document.getElementById("picdiv").style.width=i+"px"

document.getElementById("picdiv").style.height=i*(imgheight/imgwidth)+"px"

document.getElementById("picdiv").style.left=imgwidth/2-(i/2)+"px"

document.getElementById("picdiv").style.top=(imgwidth/2-(i/2))*(imgheight/imgwidth)+"px"

tmr=setTimeout("enlargepic()",20)

}

else {

i=imgwidth

showmessage()

}

}

function showmessage() {

document.getElementById("textbox").innerHTML='<span class="textboxbackgroundstyle">'+message[i_imgurl]+'</span>'

tmr=setTimeout("shrinkpic()",stillstand)

}

function gotothislink(){

document.location.href=thislink[i_imgurl]

}

document.write('<div id="roof" style="position:relative;width:'+imgwidth+'px;height:'+imgheight+'px;">')

document.write('<div id="picdiv" class="curveandshadowstyle" style="position:absolute;background:url('+imgurl[0]+');width:'+imgwidth+'px;height:'+imgheight+'px;top:0px;left:0px;"></div>')

document.write('<div id="tt" onClick="gotothislink()" style="position:absolute;width:'+imgwidth+'px;height:'+imgheight+'px;top:0px;left:0px;filter:alpha(opacity='+opacitystrength+');opacity:'+(opacitystrength/100)+';cursor:pointer;"><table width='+imgwidth+' height='+imgheight+'><tr><td id="textbox" class="textboxstyle"><span class="textboxbackgroundstyle">'+message[0]+'</span></td></tr></table></div>')

document.write('</div>')

window.onload=shrinkpic

</script>

<!-- END OF THE CODE FOR THE CSS-3-SLIDESHOW-->

کدهای جاوا اسکریپت
پاسخ ها

حالا چرا میزنی؟

 بیا اینم نظر من:

خوبه،منتظر کارای بعدیت هستیم!

سلام راست میگه چرا میزنی

نمیدونم یه انتقاد واسه کار بعدیت خوشکلتر بشه

یه کم بزرگتر بود و یا 2تا بود یعنی یکی سمت راست یکی چپ کار قشنگتری بود فقط هم یه عکس بود

منتظر کارهای بعدیت هستم

اینجور نظر دادم دلخور نشی

خیلی زیبا و کاربردی

تویه وبم استفاده می کنم

موفق باشی

جالبه

خودت درست کردی یا از جایی کپی کردی ؟

اگه کپی کردی لینک منبع رو بزار

ممنون

بسیار عالی بود منتظر کارهای متفاوتی دیگه ازت هستیم موفق باشین

دوست عزیز این کد قبلا در این انجمن قرار گرفته

http://news.rozblog.com/Forum/Catgory/58/Post/7938

عالی بود

عجب چیز باحالیه دمت گرم

fegholade 

واقعا زیبا هستش ولی من بیشتر با این حال کردم

تازه سازي پاسخ ها
پست های مرتبط

کد HTML رنگ ها

  • hamlo
  • شنبه 29 تیر 1398 - 12:03

درخواست کد تعقیر زبان سایت

چگونگی حذف چیزی در صفحه با استفاده از جی کوئری

  • mostafa
  • یکشنبه 23 تیر 1398 - 2:37

کد شیک و ساده گوگل پلاس

  • mostafa
  • جمعه 07 تیر 1398 - 3:06

کد ساعت دیجیتال فوق جالب

  • pooya-hir
  • چهارشنبه 03 مرداد 1397 - 17:37

کد کاربردی افراد انلاین

  • six-6
  • سه شنبه 26 تیر 1397 - 12:24

ابزاری جدید و کمیاب برای دوستداران رزبلاگ

  • smaeal
  • چهارشنبه 23 اسفند 1396 - 17:02

سورس های کاربردی جاوا اسکریپت

  • amireza
  • چهارشنبه 23 اسفند 1396 - 17:02

ابزار ساخت کد باز بسته کردن بلاک

  • mostafa
  • چهارشنبه 23 اسفند 1396 - 17:00

کد تازه سازی خوکار برای انجمن های رزبلاگ

  • tanhatarin
  • چهارشنبه 23 اسفند 1396 - 16:58

ابزار باز شدن وبسایت با قالب انتخابی کاربر

  • ahm
  • چهارشنبه 23 اسفند 1396 - 16:56

ابزار تغییر رنگ بکگراند قالب وبلاگ و سایت

  • mostafa
  • چهارشنبه 23 اسفند 1396 - 16:56

کد چت روم برای رز بلاگ (رایگان و جدید)

  • amireza
  • چهارشنبه 23 اسفند 1396 - 16:55

اسکریپت خبر خوان با قابلیت استایل پذیری بدون تبلیغات

  • hossein16
  • چهارشنبه 23 اسفند 1396 - 16:53

کد پخش فیلم و موسیقی در انجمن به همراه کد

  • smaeal
  • چهارشنبه 23 اسفند 1396 - 16:52

کسی که PHP بلده لطفا کنه بیاد ممنون (((تشکر)))

  • qahr
  • چهارشنبه 23 اسفند 1396 - 16:51

کدفال روزانه آوای نرماشیر

بستن کنترل u سایت

  • saeedlashh
  • چهارشنبه 23 اسفند 1396 - 16:50

كد انتقال دامينهاي رزبلاگ به دامنه شخصي

مشکل در گذاشتن کدهای جاوا اسکریپ

  • mamad037
  • چهارشنبه 23 اسفند 1396 - 16:48
ارسال تیکت