<%@ Page Title="" Language="C#" MasterPageFile="~/mstr1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CarGallery.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="css/styles.css" />
    <link rel="stylesheet" href="css/iview.css" />
    <link rel="stylesheet" href="css/skin 4/style.css" />
    <script src="js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="js/raphael-min.js"></script>
    <script type="text/javascript" src="js/jquery.easing.js"></script>
    <script src="js/iview.js"></script>
    <script>
        $("body").css("overflow", "hidden");
        $(document).ready(function () {
            $('#iview').iView({
                pauseTime: 5000,
                pauseOnHover: false,
                directionNavHoverOpacity: 0,
                timer: "Bar",
                timerDiameter: "20%",
                timerPadding: 0,
                timerStroke: 4,
                timerBarStroke: 0,
                timerColor: "#FFF",
                timerPosition: "bottom-right"
            });
        });
    </script>
</head>

<body>
    <div class="container">
        <div id="iview">
            <!--> ghalebesh aksare jahash amadas , vase fahmidanesham bayad HTML balad bashi dige
                masalan slide ro khodam naneveshtam va amadas , vali ye seri qesmatasho khodam lazem bood benevisam
                mesle in qesmati ke in zir mibini
                kare object e repeater ine ke ye chizio tekrar kone
                vase meqdar dehi tooye View az Eval estafade mikonim
                yek ya 2 meqdar migiran , meqdare aval esmeshoone ke bayad ba chizi ke to DataTable tarif kardim barabar bashe
                meqdare dovom ({0}) shomare record hastesh
                meqdare aval vajebe vali dovomi bastegi be niaz dare
                 </!-->

            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <div data-iview:thumbnail='<%# Eval("img","slides/{0}") %>' data-iview:image='<%# Eval("img","slides/{0}") %>'>
                        <div class="iview-caption caption1" data-x="100" data-y="300" data-transition="expandDown">
                           <a href='<%# Eval("post_id","ViewSinglePost.aspx?post_id={0}") %>'> <%# Eval("title")%></a></div>
                    </div>

                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <script type="text/javascript" src="js/jquery.fullscreen.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#background-image").fullscreenBackground();
        });
    </script>
</body>
</html>


</asp:Content>

