Q:

قدرت JavaScript + CSS در ساخت گالری عکس بهمراه اسلایدر

مجموعه ی از کدهای آماده برای ساخت گالری عکس بصورت معمولی و ساده : ابتدا این مجموعه را با 4 گالری شروع میکنم.// این کدهای قابل ویرایش هستند.شاید خیلی ها بدنبال این کدها باشن ./ سبک این گالری ها در حد ساده و معمولی هست و هرکسی میتونه اونو ویرایش و تغییربده.

سبک : ساده + گالری عکس + زوم عکس ها : دمو این گالری

کد:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>گالری Zoom</title><meta name="description" content="Easiest jQuery Tooltip Ever"><script src="http://20soft.rozup.ir/desing/jquery.js" type="text/javascript"></script><script src="http://20soft.rozup.ir/desing/mainJ.js" type="text/javascript"></script><style>body {    margin:0;    padding:40px;    background:#fff;    font:80% Arial, Helvetica, sans-serif;    color:#555;    line-height:180%;}h1{    font-size:180%;    font-weight:normal;    color:#555;}h2{    clear:both;    font-size:160%;    font-weight:normal;    color:#555;    margin:0;    padding:.5em 0;}a{    text-decoration:none;    color:#f30;    }p{    clear:both;    margin:0;    padding:.5em 0;}pre{    display:block;    font:100% "Courier New", Courier, monospace;    padding:10px;    border:1px solid #bae2f0;    background:#e3f4f9;        margin:.5em 0;    overflow:auto;    width:800px;}img{border:none;}ul,li{    margin:0;    padding:0;}li{    list-style:none;    float:left;    display:inline;    margin-right:10px;}/*  */#preview{    position:absolute;    border:1px solid #ccc;    background:#333;    padding:5px;    display:none;    color:#fff;    }/*  */</style><link rel="stylesheet" href="http://20soft.rozup.ir/Sky/Textboxs.css" </head><body>    <h1>نشانه گر ماوس را برروي عکس ها نگهدار تا عکس ها بزرگنمايي شوند</h1>        <h2>گالري عکس ها (زوم آنها ) قابليت</h2>    <ul>        <ul>        <li><a title="" href="http://20soft.rozup.ir/desing/20.jpg" class="preview"><img src="http://20soft.rozup.ir/desing/1s.jpg" alt="هدیه تهرانی"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(2).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/2s.jpg" alt="محمد رضا گلزار"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(4).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/3s.jpg" alt="هدیه تهرانی"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(1).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/4s.jpg" alt="توسلی "></a></li>    </ul>    <h2>گالري عکس ها (زوم آنها ) قابليت</h2>    <ul>        <ul>        <li><a title="" href="http://20soft.rozup.ir/desing/20.jpg" class="preview"><img src="http://20soft.rozup.ir/desing/1s.jpg" alt="هدیه تهرانی"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(2).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/2s.jpg" alt="محمد رضا گلزار"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(4).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/3s.jpg" alt="هدیه تهرانی"></a></li>        <li><a title="" href="http://20soft.rozup.ir/desing/20-(1).jpg" class="preview"><img src="http://20soft.rozup.ir/desing/4s.jpg" alt="توسلی "></a></li>    </ul></body></html>
سبک : موبایل +  عکس + متن  : دمو این گالری
کد:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html>  <head>      <link rel="stylesheet" type="text/css" href="http://20soft.rozup.ir/desing/mobileSilder/Stlyemobile.css">    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    <title>Mobile Silder v2.1 موبايل</title>  </head>  <body>        <div id="outerContainer">            <div id="imageScroller">                <div id="viewer" class="js-disabled">                    <a class="wrapper" href="http://www.apple.com" title="Apple"><img class="logo" id="apple" src="http://20soft.rozup.ir/desing/mobileSilder/apple.jpg" alt="Apple"></a>                    <a class="wrapper" href="https://rozblog.com" title="Rozblog.com"><img class="logo" id="rozblog" src="http://20soft.rozup.ir/desing/mobileSilder/rozblog.jpg" alt="Rozblog"></a>                    <a class="wrapper" href="http://news.rozblog.com/forum"masoud.rzb"><img class="logo" id="jquery" src="http://20soft.rozup.ir/desing/mobileSilder/mrzb.jpg" alt="mrzb"></a>                    <a class="wrapper" href="http://www.20soft.r98.ir" title="20Soft"><img class="logo" id="desinger" src="http://20soft.rozup.ir/desing/mobileSilder/desinger.jpg" alt="desinger"></a>                    <a class="wrapper" href="http://jqueryui.com" title="jQuery UI X"><img class="logo" id="jqueryui" src="http://20soft.rozup.ir/desing/mobileSilder/jqueryui.jpg" alt="jQuery UI"></a>                </div>            </div>        </div>        <script type="text/javascript" src="http://20soft.rozup.ir/desing/jquery-1.3.2.min.js"></script>        <script type="text/javascript">            $(function() {                          //remove js-disabled class                $("#viewer").removeClass("js-disabled");                          //create new container for images                $("<div>").attr("id", "container").css({ position:"absolute"}).width($(".wrapper").length * 170).height(170).appendTo("div#viewer");                                  //add images to container                $(".wrapper").each(function() {                    $(this).appendTo("div#container");                });                                //work out duration of anim based on number of images (1 second for each image)                var duration = $(".wrapper").length * 1000;                                //store speed for later (distance / time)                var speed = (parseInt($("div#container").width()) + parseInt($("div#viewer").width())) / duration;                                                //set direction                var direction = "rtl";                                //set initial position and class based on direction                (direction == "rtl") ? $("div#container").css("left", $("div#viewer").width()).addClass("rtl") : $("div#container").css("left", 0 - $("div#container").width()).addClass("ltr") ;                                //animator function                var animator = function(el, time, dir) {                                     //which direction to scroll                    if(dir == "rtl") {                                            //add direction class                        el.removeClass("ltr").addClass("rtl");                                                     //animate the el                        el.animate({ left:"-" + el.width() + "px" }, time, "linear", function() {                                                                            //reset container position                            $(this).css({ left:$("div#imageScroller").width(), right:"" });                                                        //restart animation                            animator($(this), duration, "rtl");                                                        //hide controls if visible                            ($("div#controls").length > 0) ? $("div#controls").slideUp("slow").remove() : null ;                                                                                });                    } else {                                          //add direction class                        el.removeClass("rtl").addClass("ltr");                                            //animate the el                        el.animate({ left:$("div#viewer").width() + "px" }, time, "linear", function() {                                                                            //reset container position                            $(this).css({ left:0 - $("div#container").width() });                                                        //restart animation                            animator($(this), duration, "ltr");                                                        //hide controls if visible                            ($("div#controls").length > 0) ? $("div#controls").slideUp("slow").remove() : null ;                                    });                    }                }                                //start anim                animator($("div#container"), duration, direction);                                //pause on mouseover                $("a.wrapper").live("mouseover", function() {                                      //stop anim                    $("div#container").stop(true);                                        //show controls                    ($("div#controls").length == 0) ? $("<div>").attr("id", "controls").appendTo("div#outerContainer").css({ opacity:0.7 }).slideDown("slow") : null ;                    ($("a#rtl").length == 0) ? $("<a>").attr({ id:"rtl", href:"#", title:"rtl" }).appendTo("#controls") : null ;                    ($("a#ltr").length == 0) ? $("<a>").attr({ id:"ltr", href:"#", title:"ltr" }).appendTo("#controls") : null ;                                        //variable to hold trigger element                    var title = $(this).attr("title");                                        //add p if doesn't exist, update it if it does                    ($("p#title").length == 0) ? $("<p>").attr("id", "title").text(title).appendTo("div#controls") : $("p#title").text(title) ;                });                                //restart on mouseout                $("a.wrapper").live("mouseout", function(e) {                                      //hide controls if not hovering on them                    (e.relatedTarget == null) ? null : (e.relatedTarget.id != "controls") ? $("div#controls").slideUp("slow").remove() : null ;                                        //work out total travel distance                    var totalDistance = parseInt($("div#container").width()) + parseInt($("div#viewer").width());                                                                            //work out distance left to travel                    var distanceLeft = ($("div#container").hasClass("ltr")) ? totalDistance - (parseInt($("div#container").css("left")) + parseInt($("div#container").width())) : totalDistance - (parseInt($("div#viewer").width()) - (parseInt($("div#container").css("left")))) ;                                        //new duration is distance left / speed)                    var newDuration = distanceLeft / speed;                                    //restart anim                    animator($("div#container"), newDuration, $("div#container").attr("class"));                });                                                                //handler for ltr button                $("#ltr").live("click", function() {                                                         //stop anim                    $("div#container").stop(true);                                    //swap class names                    $("div#container").removeClass("rtl").addClass("ltr");                                                            //work out total travel distance                    var totalDistance = parseInt($("div#container").width()) + parseInt($("div#viewer").width());                                        //work out remaining distance                    var distanceLeft = totalDistance - (parseInt($("div#container").css("left")) + parseInt($("div#container").width()));                                        //new duration is distance left / speed)                    var newDuration = distanceLeft / speed;                                        //restart anim                    animator($("div#container"), newDuration, "ltr");                });                                //handler for rtl button                $("#rtl").live("click", function() {                                                            //stop anim                    $("div#container").stop(true);                                        //swap class names                    $("div#container").removeClass("ltr").addClass("rtl");                                        //work out total travel distance                    var totalDistance = parseInt($("div#container").width()) + parseInt($("div#viewer").width());                    //work out remaining distance                    var distanceLeft = totalDistance - (parseInt($("div#viewer").width()) - (parseInt($("div#container").css("left"))));                                        //new duration is distance left / speed)                    var newDuration = distanceLeft / speed;                                    //restart anim                    animator($("div#container"), newDuration, "rtl");                });            });        </script>  </body></html>

سبک : بکگراند +  عکس + متن + افکت  : دمو این گالری

       

کد:

    !DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">

<style>

       

        img.bg {

            /* Set rules to fill background */

            min-height: 100%;

            min-width: 1024px;

           

            /* Set up proportionate scaling */

            width: 100%;

            height: auto;

           

            /* Set up positioning */

            position: fixed;

            top: 0;

            left: 0;

        }

       

        @media screen and (max-width: 1024px){

            img.bg {

                left: 50%;

                margin-left: -512px; }

        }

       

        #page-wrap { position: relative; width: 400px; margin: 50px auto; padding: 20px; background: white; -moz-box-shadow: 0 0 20px black; -webkit-box-shadow: 0 0 20px black; box-shadow: 0 0 20px black; }

        p { font: 15px/2 Georgia, Serif; margin: 0 0 30px 0; text-indent: 40px; }

    </style>

</head>

</style>

</head>

<body>

<img src="http://20soft.rozup.ir/desing/20.jpg" class="bg">

   

    <div id="page-wrap">

<head>

<title>گالری عکس ایرانی</title>

<link rel="stylesheet" href="http://20soft.rozup.ir/Sky/Textboxs.css"

type="text/css">

<script type="text/javascript" src="http://20soft.rozup.ir/desing/jquery-1.3.1.min.js"></script>

<script type="text/javascript" src="http://20soft.rozup.ir/desing/jquery.scrollTo.js"></script>

<script>

$(document).ready

(function() {

    //Speed of the slideshow

    var speed = 7000;

   

    //You have to specify width and height in #slider CSS properties

    //After that, the following script will set the width and height accordingly

    $('#mask-gallery, #gallery li').width($('#slider').width());   

    $('#gallery').width($('#slider').width() * $('#gallery li').length);

    $('#mask-gallery, #gallery li, #mask-excerpt, #excerpt li').height($('#slider').height());

   

    //Assign a timer, so it will run periodically

    var run = setInterval('newsscoller(5)', speed);   

   

   

$('#gallery li:first, #excerpt li:first').addClass('selected');

    //Pause the slidershow with clearInterval

    $('#btn-pause').click(function () {

        clearInterval(run);

        return false;

    });

    //Continue the slideshow with setInterval

    $('#btn-play').click(function () {

        run = setInterval('newsscoller(0)', speed);           

return false;

    });

   

    //Next Slide by calling the function

    $('#btn-next').click(function () {

        newsscoller(0);   

        return false;

    });   

    //Previous slide by passing prev=1

    $('#btn-prev').click(function () {

        newsscoller(1);   

        return false;

    });   

   

    //Mouse over, pause it, on mouse out, resume the slider show

    $('#slider').hover(

   

        function() {

            clearInterval(run);

        },

        function() {

            run = setInterval('newsscoller(0)', speed);   

        }

    );    

   

});

function newsscoller(prev) {

    //Get the current selected item (with selected class), if none was found, get the first item

    var current_image = $('#gallery li.selected').length ? $('#gallery li.selected') : $('#gallery li:first');

    var current_excerpt = $('#excerpt li.selected').length ? $('#excerpt li.selected') : $('#excerpt li:first');

    //if prev is set to 1 (previous item)

    if (prev) {

       

        //Get previous sibling

        var next_image = (current_image.prev().length) ? current_image.prev() : $('#gallery li:last');

        var next_excerpt = (current_excerpt.prev().length) ? current_excerpt.prev() : $('#excerpt li:last');

   

    //if prev is set to 0 (next item)

    } else {

       

        //Get next sibling

        var next_image = (current_image.next().length) ? current_image.next() : $('#gallery li:first');

        var next_excerpt = (current_excerpt.next().length) ? current_excerpt.next() : $('#excerpt li:first');

    }

    //clear the selected class

    $('#excerpt li, #gallery li').removeClass('selected');

   

    //reassign the selected class to current items

    next_image.addClass('selected');

    next_excerpt.addClass('selected');

    //Scroll the items

    $('#mask-gallery').scrollTo(next_image, 900);       

    $('#mask-excerpt').scrollTo(next_excerpt, 900);                   

   

}

</script>

<style>

#slider {

    /* You MUST specify the width and height */

    width:420px;

    height:506px;

    position:relative;   

    overflow:hidden;

}

#mask-gallery {

   

    overflow:hidden;   

}

#gallery {

   

    /* Clear the list style */

    list-style:none;

    margin:0;

    padding:0;

   

    z-index:0;

   

    /* width = total items multiply with #mask gallery width */

    width:500px;

    overflow:hidden;

}

    #gallery li {

       

        /* float left, so that the items are arrangged horizontally */

        float:left;

    }

#mask-excerpt {

   

    /* Set the position */

    position:absolute;   

    top:0;

    left:0;

    z-index:000;

   

    /* width should be lesser than #slider width */

    width:212px;

    overflow:hidden;   

   

}

   

#excerpt {

    /* Opacity setting for different browsers */

    filter:alpha(opacity=80);

    -moz-opacity:0.7; 

    -khtml-opacity: 0.7;

    opacity: 0.7; 

   

    /* Clear the list style */

    list-style:none;

    margin:0;

    padding:0;

   

    /* Set the position */

    z-index:110;

    position:absolute;

    top:110;

    left:50;

   

    /* Set the style */

    width:190px;

    background-color:#000000;

    overflow:hidden;

    font-family:Arial;

    font-size:18px;

    color:#FFFFFF;   

}

    #excerpt li {

        padding:0px;

    }

   

.clear {

    clear:both;   

}

</style>

</head>

<body>

<div id="debug"></div>

<div id="slider">

    <div id="mask-gallery">

    <ul id="gallery">

        <li><img src="http://20soft.rozup.ir/desing/20-(1).jpg" width="500" height="586" alt=""/></li>

        <li><img src="http://20soft.rozup.ir/desing/20-(2).jpg" width="500" height="586" alt=""/></li>

        <li><img src="http://20soft.rozup.ir/desing/20-(3).jpg" width="500" height="586" alt=""/></li>

   

<li><img src="http://20soft.rozup.ir/desing/20-(4).jpg" width="500" height="586" alt="هدیه تهرانی"/></li

</ul>

    </div>

   

    <div id="mask-excerpt">

    <ul id="excerpt">

        <li>محتویات عکس ها این صفحه فقط برای آزمایش کد ها قرار داده شده است TEXT20 (1)</li>

        <li>از دکمه هایTEXT20 (4)  زیر استفاده فرمایید</li>

        <li> TEXT20 (2)عکس های بازیگران ایرانی</li>   <li>TEXT20 (3) 20Soft.R98.ir</li>

<style type="text/css">

A:hover { COLOR: #00BFFF; TEXT-DECORATION: none; font-weight: none

TEXT-DECORATION: none; text-shadow: 0px 2px 2px #00BFFF; }

</style><font style="text-decoration: blink; font-variant: small-caps">    <font size="6"</ul>

    </div>

</div>

<div id="buttons">

    <a href="#" id="btn-prev">Last ^ </a>

    <a href="#" id="btn-pause">Stop  ^</a>

    <a href="#" id="btn-play">Play ^ </a>

    <a href="#" id="btn-next">Next</a>

</div>

<div class="clear"></div>

<div style="font-size:18px;color:#888">فارسی سازی این برنامه تحت وب توسط : صورت گرفته است.</div></font>  

</body>

</html>

M.RZB ™

سبک : +  عکس + ساده  :

    

کد:

<!--

By masoud.RZB----->www.onemightyroar.com

-->

<html>

    <head>

        <title>قالب های سایت من</title>

<center>   

        <style type="text/css">

       

            *{ padding:0px; margin:0px; }

            body{ background:#000000; }

            a{ color:#C8DCE5; }

            h3{ margin: 10px 10px 0 10px; color:#FFF; font:18pt Arial, sans-serif; letter-spacing:-1px; font-weight: bold;  }

           

            .boxgrid{

                width: 325px;

                height: 260px;

                margin:10px;

                float:left;

                background:#161613;

                border: solid 2px #8399AF;

                overflow: hidden;

                position: relative;

            }

                .boxgrid img{

                    position: absolute;

                    top: 0;

                    left: 0;

                    border: 0;

                }

                .boxgrid p{

                    padding: 0 10px;

                    color:#afafaf;

                    font-weight:bold;

                    font:10pt "Lucida Grande", Arial, sans-serif;

                }

               

            .boxcaption{

                float: left;

                position: absolute;

                background: #000;

                height: 100px;

                width: 100%;

                opacity: .9;

                /* For IE 5-7 */

                filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);

                /* For IE 8 */

                -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";

             }

                 .captionfull .boxcaption {

                     top: 260;

                     left: 0;

                 }

                 .caption .boxcaption {

                     top: 220;

                     left: 0;

                 }

               

        </style>

       

        <script type="text/javascript" src="http://20soft.rozup.ir/desing/jquery-20soft.js"></script>

        <script type="text/javascript">

            $(document).ready(function(){

                //To switch directions up/down and left/right just place a "-" in front of the top/left attribute

                //Vertical Sliding

                $('.boxgrid.slidedown').hover(function(){

                    $(".cover", this).stop().animate({top:'-260px'},{queue:false,duration:500});

                }, function() {

                    $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});

                });

                //Horizontal Sliding

                $('.boxgrid.slideright').hover(function(){

                    $(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});

                }, function() {

                    $(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});

                });

                //Diagnal Sliding

                $('.boxgrid.thecombo').hover(function(){

                    $(".cover", this).stop().animate({top:'260px', left:'325px'},{queue:false,duration:300});

                }, function() {

                    $(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});

                });

                //Partial Sliding (Only show some of background)

                $('.boxgrid.peek').hover(function(){

                    $(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160});

                }, function() {

                    $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});

                });

                //Full Caption Sliding (Hidden to Visible)

                $('.boxgrid.captionfull').hover(function(){

                    $(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});

                }, function() {

                    $(".cover", this).stop().animate({top:'260px'},{queue:false,duration:160});

                });

                //Caption Sliding (Partially Hidden to Visible)

                $('.boxgrid.caption').hover(function(){

                    $(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});

                }, function() {

                    $(".cover", this).stop().animate({top:'220px'},{queue:false,duration:160});

                });

            });

        </script>

       

    </head>

    <body>

           

            <div class="boxgrid captionfull">

    <img src="http://20soft.rozup.ir/desing/gpic2/jareck.jpg"/>            <div class="cover boxcaption">

                    <h3>عکس شماره 1</h3>

    <p>هنرمند<br/><a href="http://Site000"target="_BLANK">ادامه اين مطلب</a></p>

            </div>       

            </div>

       

            <div class="boxgrid caption">

                <img src="http://20soft.rozup.ir/desing/gpic2/kamil.jpg"/>

                <div class="cover boxcaption">

                   

                    <p>Artist<br/><a href="http://Site000" target="_BLANK">ادامه اين مطلب</a></p>

                </div>

            </div>

               

            <div class="boxgrid slideright">

                <img class="cover" src="http://20soft.rozup.ir/desing/gpic2/martin.jpg"/>

                <h3>عکس شماره 2</h3>

                <p>عکاس<br/><a href="http://Site000" target="_BLANK">ادامه اين مطلب</a></p>

            </div>

            <div class="boxgrid thecombo">

                <img class="cover" src="http://20soft.rozup.ir/desing/gpic2/florian.jpg"/>

            <h3>Florian Nicolle</h3>

                <p>Graphic Designer<br/><a href="http://Site000" target="_BLANK">ادامه اين مطلب</a></p>

            </div>

           

            <div class="boxgrid slidedown">

                <img class="cover" src="http://20soft.rozup.ir/desing/gpic2/nonsense.jpg"/>

                        <h3>The Nonsense Society</h3>

                    <p>عکس <br/><a href="http://Site000" target="_BLANK">سايت</a></p>   

            </div>

            <div class="boxgrid peek">

                <a href="http://Site000" target="_BLANK"><img src="http://20soft.rozup.ir/desing/gpic2/buildinternet.jpg"/><div class="cover boxcaption">

    </a>

                <a href="http://Site000"target="_BLANK"><img class="cover" src="http://20soft.rozup.ir/desing/gpic2/buildinternet.jpg"/></a>

<center>            </div>

   

    </body>

</html>

<center>

   

   

       

       

       

   

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

سبک : حرفه ای +  سی اس 3 +اچ تی میل 4.1 + افکت قدرتمند + صفحه   :دموی این گالری

کد:

<html>

    <head>

        <meta http-equiv="Content-type" content="text/html; charset=utf-8">

        <title>iffic | گالری قدرتمند عکس</title>

        <link rel="stylesheet" href="http://20soft.rozup.ir/desing/iffic2/basic.css" type="text/css" />

        <link rel="stylesheet" href="http://20soft.rozup.ir/desing/iffic2/galleriffic-5.css" type="text/css" />

       

        <!-- <link rel="stylesheet" href="http://20soft.rozup.ir/desing/iffic2/white.css" type="text/css" /> -->

        <link rel="stylesheet" href="http://20soft.rozup.ir/desing/iffic2/black.css" type="text/css" />

       

        <script type="text/javascript" src="http://20soft.rozup.ir/desing/iffic2/jquery-132.js"></script>

        <script type="text/javascript" src="http://20soft.rozup.ir/desing/iffic2/jqueryhistory.js"></script>

        <script type="text/javascript" src="http://20soft.rozup.ir/desing/iffic2/jqueryiffic.js"></script>

        <script type="text/javascript" src="http://20soft.rozup.ir/desing/iffic2/jqueryopacityrollover.js"></script>

        <!-- We only want the thunbnails to display when javascript is disabled -->

        <script type="text/javascript">

            document.write('<style>.noscript { display: none; }</style>');

        </script>

    </head>

    <body>

        <div id="page">

            <div id="container">

                <h1><a href="20soft.r98.ir/page/index.html">گالری عکس بازیگران ایرانی (نسخه سی اس 3 ) فارسی</a></h1>

                <h2>شما میتوانید از کنترل ها استفاده کنید</h2>

                                                                 <h3>برروی تصاویر کلیک کنید</h3>

                <!-- 20Soft Link and images -->               

                <div class="navigation-container">

                    <div id="thumbs" class="navigation">

                        <a class="pageLink prev" style="visibility: hidden;" href="#" title="لینک صفحه قبلی شما"></a>

                   

                        <ul class="thumbs noscript">

                            <li>

                                <a class="thumb" name="leaf" href="http://20soft.rozup.ir/desing/1s.jpg" title="هدیه تهرانی">

                                    <img src="http://20soft.rozup.ir/desing/20.jpg" alt="هدیه تهرانی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">هدیه تهرانی</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

<a href="http://20soft.rozup.ir/desing/1s.jpg">Download Original</a>                                   

                                </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" name="drop" href="http://20soft.rozup.ir/desing/2s.jpg" title="Title #1">

                                    <img src="http://20soft.rozup.ir/desing/20-(2).jpg" alt="محمد رضا گلزار" />

                                </a>

                                <div class="caption">

                                    Any شما می توانید زبان برنامه نویسی تحت وب بنویسید؟

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" name="bigleaf" href="http://20soft.rozup.ir/desing/4s.jpg" title="هدیه تهرانی">

                                    <img src="http://20soft.rozup.ir/desing/20-(4).jpg" alt="هدیه تهرانی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">هدیه تهرانی</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

                                       

                                    </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" name="lizard" href="http://20soft.rozup.ir/desing/1s.jpg" title="هدیه تهرانی">

                                    <img src="http://20soft.rozup.ir/desing/20.jpg" alt="هدیه تهرانی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">هدیه تهرانی</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

                                       

                                    </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" href="http://20soft.rozup.ir/desing/1s.jpg" title="Title #4">

                                    <img src="http://20soft.rozup.ir/desing/20.jpg" alt="Title #4" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">Title #4</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

                                       

                                    </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" href="http://20soft.rozup.ir/desing/1s.jpg" title="هدیه تهرانی">

                                    <img src="http://20soft.rozup.ir/desing/1s.jpg" alt="هدیه تهرانی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">هدیه تهرانی</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

                                       

                            </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" href="http://20soft.rozup.ir/desing/1s.jpg" title="هدیه تهرانی">

                                    <img src="http://20soft.rozup.ir/desing/20.jpg" alt="هدیه تهرانی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">هدیه تهرانی</div>

                                    <div class="image-desc">بازیگر ایرانی</div>

                                    <div class="download">

                                       

                                    </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" href="http://20soft.rozup.ir/desing/20-(3).jpg" title="توسلی">

                                    <img src="http://20soft.rozup.ir/desing/20-(4).jpg" alt="توسلی" />

                                </a>

                                <div class="caption">

                                    <div class="image-title">توسلی</div>

                                    <div class="image-desc">Description</div>

                                    <div class="download">

                                       

                                    </div>

                                </div>

                            </li>

   

                            <li>

                                <a class="thumb" href="http://20soft.rozup.ir/desing/3s.jpg" title="Title #8">

                                    <img src="hhttp://20soft.rozup.ir/desing/20-(4).jpg" alt="Title #8" />

                                </a>

                                <div

                                </div>

                            </li>

                        </ul>

                        <a class="pageLink next" style="visibility: hidden;" href="لینک صفحه بعدی شما" title="صفحه بعدی"></a>

                    </div>

                </div>

                <div class="content">

                    <div class="slideshow-container">

                        <div id="controls" class="controls"></div>

                        <div id="loading" class="loader"></div>

                        <div id="slideshow" class="slideshow"></div>

                    </div>

                    <div id="caption" class="caption-container">

                        <div class="photo-index"></div>

                    </div>

                </div>

               

                <div style="clear: both;"></div>

            </div>

        </div>

        <div id="footer">© 2012 m.rzb (Rozblog.com)</div><!-- 20Soft Link and images -->

        <script type="text/javascript">

            jQuery(document).ready(function($) {

                // We only want these styles applied when javascript is enabled

                $('div.content').css('display', 'block');

                // Initially set opacity on thumbs and add

                // additional styling for hover effect on thumbs

                var onMouseOutOpacity = 0.67;

                $('#thumbs ul.thumbs li, div.navigation a.pageLink').opacityrollover({

                    mouseOutOpacity:   onMouseOutOpacity,

                    mouseOverOpacity:  4.0,

                    fadeSpeed:         'fast',

                    exemptionSelector: '.selected'

                });

               

                // Initialize Advanced Galleriffic Gallery

                var gallery = $('#thumbs').galleriffic({

                    delay:                     3500,

                    numThumbs:                 10,

                    preloadAhead:              20,

                    enableTopPager:            false,

                    enableBottomPager:         false,

                    imageContainerSel:         '#slideshow',

                    controlsContainerSel:      '#controls',

                    captionContainerSel:       '#caption',

                    loadingContainerSel:       '#loading',

                    renderSSControls:          true,

                    renderNavControls:         true,

                    playLinkText:              'Play Slideshow',

                    pauseLinkText:             'پخش ساید شو',

                    prevLinkText:              '‹ Previous Photo',

                    nextLinkText:              'Next Photo ›',

                    nextPageLinkText:          'Next ›',

                    prevPageLinkText:          '‹ Prev',

                    enableHistory:             true,

                    autoStart:                 false,

                    syncTransitions:           true,

                    defaultTransitionDuration: 900,

                    onSlideChange:             function(prevIndex, nextIndex) {

                        // 'this' refers to the gallery, which is an extension of $('#thumbs')

                        this.find('ul.thumbs').children()

                            .eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()

                            .eq(nextIndex).fadeTo('fast', 1.0);

                        // Update the photo index display

                        this.$captionContainer.find('div.photo-index')

                            .html('Photo '+ (nextIndex+1) +' of '+ this.data.length);

                    },

                    onPageTransitionOut:       function(callback) {

                        this.fadeTo('fast', 0.5, callback);

                    },

                    onPageTransitionIn:        function() {

                        var prevPageLink = this.find('a.prev').css('visibility', 'hidden');

                        var nextPageLink = this.find('a.next').css('visibility', 'hidden');

                       

                        // Show appropriate next / prev page links

                        if (this.displayedPage > 0)

                            prevPageLink.css('visibility', 'visible');

                        var lastPage = this.getNumPages() - 1;

                        if (this.displayedPage < lastPage)

                            nextPageLink.css('visibility', 'visible');

                        this.fadeTo('fast', 2.0);

                    }

                });

                /**************** Event handlers for custom next / prev page links **********************/

                gallery.find('a.prev').click(function(e) {

                    gallery.previousPage();

                    e.preventDefault();

                });

                gallery.find('a.next').click(function(e) {

                    gallery.nextPage();

                    e.preventDefault();

                });

                /****************************************************************************************/

                /**** Functions to support integration of galleriffic with the jquery.history plugin ****/

                // PageLoad function

                // This function is called when:

                // 1. after calling $.historyInit();

                // 2. after calling $.historyLoad();

                // 3. after pushing "Go Back" button of a browser

                function pageload(hash) {

                    // alert("pageload: " + hash);

                    // hash doesn't contain the first # character.

                    if(hash) {

                        $.galleriffic.gotoImage(hash);

                    } else {

                        gallery.gotoIndex(0);

                    }

                }

                // Initialize history plugin.

                // The callback is called at once by present location.hash.

                $.historyInit(pageload, "advanced.html");

                // set onlick event for buttons using the jQuery 1.3 live method

                $("a[rel='history']").live('click', function(e) {

                    if (e.button != 0) return true;

                    var hash = this.href;

                    hash = hash.replace(/^.*#/, '');

                    // moves to a new page.

                    // pageload is called at once.

                    // hash don't contain "#", "?"

                    $.historyLoad(hash);

                    return false;

                });

                /****************************************************************************************/

            });

        </script>

    </body>

</html>

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

کد 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
ارسال تیکت