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

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

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



ارسال‌هاAsnwers : 288
عضویتRegistration date : 24 /3 /1392
حمایت کردهthanks : 46
حمایت شدهThanked : 187
پاسخAnswer 5 : این اسلایدر و کسی میتونه در بیاره

تو هد بزار

کد:

<script src="http://www.saramad.ir/Scripts/jquery-1.4.1.min.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript"> $(document).ready(function () {

$("#ths").mouseleave(function () { if ($("#flag").attr("class") == "c2") return;

var xt = '8';

var x = $("#imgi").attr("alt"); var y = $("#imga").attr("alt");

for (i = 1; i <= 7; i++) { $("#tx" + i).stop(true, true); }

$("#tx" + xt).animate({ opacity: '1' }, 200); $("#div3").stop(true, true); $("#imgi").stop(true, true); $("#imga").stop(true, true); $("#div3").animate({ top: '-30px' }, 200);

if (x == "img/h" + xt + ".jpg") return;

$("#imgi").attr("alt", "img/h" + xt + ".jpg"); $("#imga").attr("alt", "img/z" + xt + ".jpg"); $("#divip1").css("background-image", "url('" + x + "')"); $("#divip2").css("background-image", "url('" + y + "')"); $("#imgi").animate({ left: '215px' }, 0); $("#imgi").animate({ left: '0px' }, 300); $("#imga").animate({ opacity: '0' }, 0); $("#imga").animate({ display: 'block' }, 0); $("#imga").animate({ opacity: '1' }, 300);

if ($("#flag").attr("class") == "c4") return; $("#flag").attr("class", "c4"); $("#butn").css("display", "none");

$("#divtop").stop(true, false); $("#div1").stop(true, false); $("#div2").stop(true, false); $("#div4").stop(true, false); $("#mainimg").stop(true, false); $("#divip1").stop(true, false); $("#divip2").stop(true, false);

$("#divtop").animate({ height: '682px' }, "slow"); $("#div1").animate({ top: '42px' }, "slow");

$("#mainimg").animate({ top: '23px' }, "slow"); $("#divip1").animate({ top: '-377px' }, "slow"); $("#divip2").animate({ top: '-297px' }, "slow", function () { $("#flag").attr("class", "c1"); });

});

$("#clublink").click(function () { window.location = "http://club.saramad.ir"; }); $("#toppic").click(function () { window.location = "http://club.saramad.ir"; }); $(".but").click(function () { var name = $("#Img8").attr("src")[5]; if (name == "1") window.location = "http://portal.saramad.ir"; if (name == "2") window.location = "http://forum.saramad.ir"; if (name == "3") window.location = "http://samandehi.ir"; if (name == "4") window.location = "http://nashr.saramad.ir"; if (name == "5") window.location = "http://www.jamdigital.ir"; if (name == "6") window.location = "http://news.saramad.ir/fa/home"; if (name == "7") window.location = "http://incn.ir"; });

$("#clickon").click(function () { var name = $("#Img8").attr("src")[5]; if (name == "1") window.location = "http://portal.saramad.ir"; if (name == "2") window.location = "http://forum.saramad.ir"; if (name == "3") window.location = "http://samandehi.ir"; if (name == "4") window.location = "http://nashr.saramad.ir"; if (name == "5") window.location = "http://www.jamdigital.ir"; if (name == "6") window.location = "http://news.saramad.ir/fa/home"; if (name == "7") window.location = "http://incn.ir"; });

window.setInterval(function () { var x1 = $("#imgi").attr("alt"); if (x1 == "img/h8.jpg" || x1 == "img/h9.jpg") {

if (x1 == "img/h8.jpg") xt = '9'; else xt = '8';

var x = $("#imgi").attr("alt"); var y = $("#imga").attr("alt");

$("#tx" + xt).animate({ opacity: '1' }, 200); $("#div3").stop(true, true); $("#imgi").stop(true, true); $("#div3").animate({ top: '0px' }, 200);

if (x == "img/h" + xt + ".jpg") return;

$("#imgi").attr("alt", "img/h" + xt + ".jpg"); $("#divip1").css("background-image", "url('" + x + "')"); $("#divip2").css("background-image", "url('" + y + "')"); $("#imgi").animate({ left: '215px' }, 0); $("#imgi").animate({ left: '0px' }, 1000);

} }, 4500);

$(".but").mouseover(function (event) { if ($("#flag").attr("class") == "c4") return; var name = $(this).attr("id"); var xt = name[3];

var x = $("#imgi").attr("alt"); var y = $("#imga").attr("alt");

for (i = 1; i <= 7; i++) { $("#tx" + i).stop(true, true); }

$("#tx" + xt).animate({ opacity: '1' }, 200); $("#imgi").stop(true, true); $("#imga").stop(true, true);

if (x == "img/h" + xt + ".jpg") return;

$("#imgi").attr("alt", "img/h" + xt + ".jpg"); $("#imga").attr("alt", "img/z" + xt + ".jpg"); $("#divip1").css("background-image", "url('" + x + "')"); $("#divip2").css("background-image", "url('" + y + "')"); $("#imgi").animate({ left: '215px' }, 0); $("#imgi").animate({ left: '0px' }, 300); $("#imga").animate({ opacity: '0' }, 0); $("#imga").animate({ display: 'block' }, 0); $("#imga").animate({ opacity: '1' }, 300);

var name1 = $(this).attr("id"); $("#Img8").attr("src", "img/t" + name1[3] + ".jpg"); if ($("#flag").attr("class") == "c2" || $("#flag").attr("class") == "c3") return; $("#flag").attr("class", "c2");

$("#divtop").stop(true, false); $("#div1").stop(true, false); $("#div2").stop(true, false); $("#div4").stop(true, false); $("#mainimg").stop(true, false); $("#divip1").stop(true, false); $("#divip2").stop(true, false);

$("#divtop").animate({ height: '602px' }, "slow"); $("#div1").animate({ top: '-38px' }, "slow"); $("#mainimg").animate({ top: '-33px' }, "slow"); $("#divip1").animate({ top: '-354px' }, "slow"); $("#divip2").animate({ top: '-274px' }, "slow", function () { $("#butn").css("display", "block"); $("#flag").attr("class", "c3"); });

});

$(".but").mouseleave(function (event) { var name = $(this).attr("id"); var x = name[3]; $("#tx" + x).stop(true, true); $("#div3").stop(true, true); $("#tx" + x).animate({ opacity: '0' }, 200, function () { $("#div3").animate({ top: '15px' }, 0); }); });

}); </script> <link rel="stylesheet" href="http://parslook.ir" />

هر جا میخوای اینو بزار

کد:

<div>

<table cellspacing="0" cellpadding="0" border="0" style="border-width:0px;border-style:None;width:100%;border-collapse:collapse;"> <tr> <td id="ctl00_cphTop_td00cphTop_35444" valign="top" style="width:100%;"> <p> <style type="text/css"> /* This css file serves as a template for styling your kwicks. Feel free to modify, but please make note of the comments - some of them are important. */ .kwicksWrapper { width: 994px; margin: 0 auto; } .kwicks { /* recommended styles for kwicks ul container */ list-style: none; position: relative; margin: 0 auto; padding: 0; } .kwicks li { /* these are required, but the values are up to you (must be pixel) */ width: 188px; height: 350px; /*do not change these */ display: block; overflow: hidden; padding: 0; /* if you need padding, do so with an inner div (or implement your own box-model hack) */ } .kwicks.horizontal li { /* This is optional and will be disregarded by the script. However, it should be provided for non-JS enabled browsers. */ margin-right: 0px; /*Set to same as spacing option. */ float: left; } .kwicks.vertical li { /* This is optional and will be disregarded by the script. However, it should be provided for non-JS enabled browsers. */ margin-bottom: 0px; /*Set to same as spacing option. */ } #kwick_1 { background-color: transparent; } #kwick_2 { background-color: transparent; } #kwick_3 { background-color: transparent; } #kwick_4 { background-color: transparent; } #kwick_5 { background-color: transparent; } .kwicks.horizontal #kwick_4 { margin-right: none; /* cancel margin on last kiwck (if you set a margin above) */ } .kwicks.vertical #kwick_4 { margin-bottom: none; /* cancel margin on last kiwck (if you set a margin above) */ } .kwicks li a { display: block; height: 350px; } .kwicks li .kwicksCaption { display: none; width: 100%; padding: 10px; background: #fff; color: #fff; font-family: NazaninBold,Times new roman,Arial,Tahoma; font-size: 15px; font-weight: bold; text-align: right; position: absolute; bottom: 0; background-color: #000; filter: alpha(opacity=70); -moz-opacity: .780; opacity: .70; } .kwicks li.active .kwicksCaption { display: block; } </style> <script src="http://www.saramad.ir/images/jquery.easing.1.3.js" type="text/javascript"></script> <script src="http://www.saramad.ir/images/jquery.kwicks-1.5.1.js" type="text/javascript"></script> <script type="text/javascript"> $().ready(function () { $('.kwicks').kwicks({ max: 677, min: 88, sticky: true, spacing: 0, duration: 800 }); }); </script> <div class="kwicksWrapper"> <ul class="kwicks horizontal"> <li id="kwick_1"><a href="http://eshop.saramad.ir" target="_blank"> <img src="http://www.saramad.ir/images/5_orig.jpg"></a> <div class="kwicksCaption"> <span>فروشگاه سرآمد درگاهی مطمئن برای تامین نیازهای نرم افزاری شماست.</span> </div> </li> <li id="kwick_2"><a href="http://fanavari.saramad.ir" target="_blank"> <img src="http://www.saramad.ir/images/4_orig.jpg"></a> <div class="kwicksCaption"> <span>در تازه های فناوری با آخرین اخبار فناوری اطلاعات و برترین فناوری های روز دنیا آشنا شوید.</span> </div> </li> <li id="kwick_3"><a href="http://club.saramad.ir" target="_blank"> <img src="http://www.saramad.ir/images/3_orig.jpg"></a> <div class="kwicksCaption"> <span>برای عضویت در باشگاه سرآمد و ثبت نام شناسنامه دیجیتال بر روی تصویر کلیک کنید. </span> </div> </li> <li id="kwick_4"><a href="http://exhibition.saramad.ir" target="_blank"> <img src="http://www.saramad.ir/images/2_orig.jpg"></a> <div class="kwicksCaption"> <span>نمایشگاه های بین المللی و استانی رسانه های دیجیتال</span> </div> </li> <li id="kwick_5"><a href="http://fair.saramad.ir" target="_blank"> <img src="http://www.saramad.ir/images/1_orig.jpg"></a> <div class="kwicksCaption"> <span>جشنواره های رسانه های دیجیتال محفلی مناسب برای پیدایش ایده های نو در بستر رسانه های دیجیتال.</span> </div> </li> </ul> </div> </p> </td> </tr> </table>

<div id="div1" style='z-index:1; top:0px; position:relative; top:42px; border-width:0px; padding: 0px; margin: 0px;height:120px; right: 0px;'> <div id="divip1" style='display:none;width:215px;height:287px;position:absolute;top:-377px;left:509px;overflow:hidden;'><img id="imgi" style='position:relative;top:0px;left:215px' alt='img/h8.jpg' src="http://www.saramad.ir/"/></div> <div id="divip2" style='display:none;width:264px;height:228px;position:absolute;top:-297px;left:215px;'><img id="imga" alt='img/z8.jpg' src="http://www.saramad.ir/" style='display:block;opacity:0' /></div> </div>

: ( | :
یکشنبه 26 خرداد 1392 - 12:48
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks
حمایت شده حمایت شده: سپاس هاThanks (1) : mhmk -



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