2016-03-16 17:30:07 +05:00
|
|
|
<!-- Defining object type-->
|
|
|
|
{lang code='photo' assign='object_type'}
|
2016-03-30 18:57:53 +05:00
|
|
|
{assign var=json value=$photo.photo_details|json_decode}
|
2016-05-05 12:34:57 +05:00
|
|
|
{$curr_photo = $photo|@json_encode}
|
|
|
|
{$user_admin = $user|@json_encode}
|
|
|
|
{$srcfirst = {get_photo(['details'=>$photo,'size'=>'l'])}}
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
<div class="clearfix">
|
|
|
|
<section id="content" class="clearfix">
|
|
|
|
<div class="clearfix leaderboard-ad ad">
|
|
|
|
{AD place='ad_728x90'}
|
|
|
|
</div>
|
2016-05-05 12:34:57 +05:00
|
|
|
|
|
|
|
<div class="clearfix photo-view" >
|
|
|
|
<div id="gallery">
|
|
|
|
<i id="enlarge" class="fa fa-expand fa-2x" style="float:right; cursor:pointer" data-toggle="modal" data-target="#myModal"></i>
|
|
|
|
{get_photo details=$photo size='l' class='img-responsive center-block' output='html' height="100"}
|
|
|
|
</div>
|
|
|
|
<!-- Enlarge icon -->
|
|
|
|
|
|
|
|
<!-- overlay div when clicked on extend icon -->
|
|
|
|
<div id="myNav" class="overlay">
|
2016-05-06 20:01:01 +05:00
|
|
|
<button type="button" class="img-close" id="btn-close" data-dismiss="modal" data-check="">×</button>
|
2016-05-05 12:34:57 +05:00
|
|
|
<!-- Next and Previous Button inside overlay -->
|
|
|
|
<div class="btn-holder clearfix">
|
|
|
|
<button class="btn view-photo-nxt icon-right-arrow next en-large" data-check="next" ><i>next</i></button>
|
|
|
|
|
|
|
|
<button class="btn view-photo-pre icon-left-arrow prev en-large" data-check="prev"><i>prev</i></button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="overlay-content">
|
|
|
|
<img id="gallery-exd" class="img-responsive center-block" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Next and Previous button -->
|
|
|
|
<div class="btn-holder clearfix">
|
|
|
|
<button class="btn view-photo-nxt icon-right-arrow next view-photo" data-check="next" ><i>next</i></button>
|
|
|
|
|
|
|
|
<button class="btn view-photo-pre icon-left-arrow prev view-photo" data-check="prev"><i>prev</i></button>
|
|
|
|
</div>
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
|
|
|
|
<section class="view-details clearfix">
|
|
|
|
<header class="clearfix details">
|
2016-03-30 19:21:50 +05:00
|
|
|
<div id="result_cont"></div>
|
2016-04-27 15:43:51 +05:00
|
|
|
<h1>{$photo.photo_title}</h1>
|
2016-05-05 12:34:57 +05:00
|
|
|
<h1 id="img-title"></h1>
|
2016-03-30 18:57:53 +05:00
|
|
|
<div class="user-video-info clearfix">
|
2016-04-01 11:11:21 +05:00
|
|
|
<a href="{$userquery->profile_link($user)}" class="avatar">
|
2016-05-09 13:09:01 +05:00
|
|
|
<img src="{$userquery->avatar($video,'m',userid())}" class="img-responsive">
|
2016-03-30 18:57:53 +05:00
|
|
|
</a>
|
|
|
|
<h2 class="user-title">
|
|
|
|
<a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
|
|
|
</h2>
|
|
|
|
<div class="views-counter">
|
2016-05-05 12:34:57 +05:00
|
|
|
<span>{prettyNum($photo.views)}</span>
|
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
</div>
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
<div class="user-likes-sub clearfix">
|
|
|
|
<div class="clearfix like-rating col-lg-6 col-md-6 col-sm-6 col-xs-12" id="rating_container">
|
2016-05-05 12:34:57 +05:00
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
{if $photo.allow_rating != 'no'}
|
|
|
|
{show_video_rating rating=$photo.rating ratings=$photo.rated_by total='10' id=$photo.photo_id type=photo}
|
|
|
|
{/if}
|
2016-05-05 12:34:57 +05:00
|
|
|
|
|
|
|
<!-- <div id="rate"></div> -->
|
2016-03-30 18:57:53 +05:00
|
|
|
</div>
|
|
|
|
<div class="clearfix subscribe-col col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
|
|
|
{if $photo.userid != userid()}
|
2016-05-05 12:34:57 +05:00
|
|
|
<a id="subscribeUser" class="btn btn-subscribe btn-primary" href="javascript:void(0)" onclick="subscriber('{$user.userid}','subscribe_user','video_detail_result_cont')">
|
|
|
|
<span>{lang('Subscribe')}</span>
|
2016-03-16 17:30:07 +05:00
|
|
|
</a>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
</header>
|
|
|
|
<div id="messageFav" class="alert alert-info marginTop" style="display:none"></div>
|
|
|
|
<div class="view-tabs clearfix">
|
2016-03-16 17:30:07 +05:00
|
|
|
<ul class="clearfix nav nav-tabs">
|
|
|
|
<li class="active">
|
2016-05-05 12:34:57 +05:00
|
|
|
<a href="#cb-item-info" data-toggle="tab"><span class="icon-info"></span>{lang('Info')}</a>
|
2016-03-16 17:30:07 +05:00
|
|
|
</li>
|
|
|
|
<li>
|
2016-05-05 12:34:57 +05:00
|
|
|
<a href="#cb-item-share" data-toggle="tab"><span class="icon-share"></span>Share/Embed</a>
|
2016-03-16 17:30:07 +05:00
|
|
|
</li>
|
|
|
|
<li>
|
2016-05-05 12:34:57 +05:00
|
|
|
<a href="#cb-item-addto" data-toggle="tab"><span class="icon-plusrounded"></span>{lang('Add to')}</a>
|
2016-03-16 17:30:07 +05:00
|
|
|
</li>
|
|
|
|
<li>
|
2016-05-05 12:34:57 +05:00
|
|
|
<a href="#cb-item-report" data-toggle="tab"><span class="icon-flag"></span>{lang('Report')}
|
|
|
|
</a>
|
2016-03-16 17:30:07 +05:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="tab-content clearfix">
|
|
|
|
<div class="tab-pane fade in clearfix active" id="cb-item-info">
|
|
|
|
<div class="clearfix watch-vid-details">
|
|
|
|
<ul class="clearfix desc-list">
|
2016-05-05 12:34:57 +05:00
|
|
|
<li><strong>{lang('Photo description: ')}</strong> <span id="description"></span>: {$photo.photo_description|truncate:90}</li>
|
|
|
|
|
|
|
|
{assign var=category value=$userquery->get_category($user.category)}
|
|
|
|
|
|
|
|
<li id="category"></li>
|
|
|
|
|
|
|
|
<li><strong>{lang('Category')}</strong>: {$category.category_name}
|
|
|
|
<span id="category"></span>
|
|
|
|
</li>
|
|
|
|
<li><strong>{lang('Tags')}</strong>: <span id="tags"></span></strong>{$photo.photo_tags|tags:photos}</li>
|
|
|
|
|
|
|
|
<li><strong>{lang('Views')}</strong>: <span id="views">{$photo.views}</span></li>
|
2016-03-16 17:30:07 +05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-16 17:30:07 +05:00
|
|
|
<div class="tab-pane fade in clearfix" id="cb-item-share">
|
2016-03-30 18:57:53 +05:00
|
|
|
<ul class="social-share">
|
|
|
|
<li>
|
2016-05-05 12:34:57 +05:00
|
|
|
<a class="cb-item-social-icon facebook" href="http://www.facebook.com/sharer/sharer.php?s=100&p[url]={videoLink($video)|urlencode}&p[images][0]={get_thumb vdetails=$video}&p[title]={$video.title|title|urlencode}&p[summary]={$video.description|description|urlencode}" target="_blank">
|
2016-03-30 18:57:53 +05:00
|
|
|
<span>Facebook</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://twitter.com/share" target="_blank" class="btn-tw icon-twitter">
|
|
|
|
<span>Twitter</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://plus.google.com/share?url={urlencode(videolink($video))}" target="_blank" class="btn-gplus icon-gplus">
|
|
|
|
<span>Google Plus</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-03-16 17:30:07 +05:00
|
|
|
{show_share_form id=$photo.photo_id type=Photo}
|
|
|
|
</div>
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-16 17:30:07 +05:00
|
|
|
<div class="tab-pane fade in clearfix" id="cb-item-addto">
|
|
|
|
<div class="clearfix form-horizontal row">
|
|
|
|
{$codes=$cbphoto->photo_embed_codes(['type'=>'all','with_url'=>true, 'details'=>$photo])}
|
|
|
|
{foreach from=$codes item=item}
|
|
|
|
|
|
|
|
<div class="photo-share-tab col-lg-6 col-md-6 col-sm-6 col-xs-12 form-group">
|
|
|
|
<label class="col-sm-2 col-xs-3 control-label" for="{$item.type}">{$item.name}</label>
|
|
|
|
<div class="col-sm-10 col-xs-9">
|
|
|
|
<input class="form-control" onFocus="this.select();" value="{$item.code}" id="{$item.type}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/foreach}
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-04-05 11:04:42 +05:00
|
|
|
<div class="tab-pane fade in clearfix custom-elements" id="cb-item-report">
|
2016-03-16 17:30:07 +05:00
|
|
|
{show_flag_form id=$photo.photo_id type=Photo}
|
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div class="clearfix comments-block" id="comments-block">
|
|
|
|
<div id="test1"></div>
|
|
|
|
<div id="reply" class="clearfix">
|
|
|
|
<div class="pad-bottom">
|
|
|
|
<div class="addComment clearfix">
|
|
|
|
<div class="com_count" id="com_count">
|
2016-05-05 12:34:57 +05:00
|
|
|
<h2><span>{$photo.total_comments}
|
|
|
|
{if $photo.total_comments <= 1 }
|
|
|
|
{lang code='comment'}
|
|
|
|
{else}
|
|
|
|
{{lang code='comments'} }
|
|
|
|
{/if}
|
|
|
|
</span></h2>
|
2016-04-27 15:43:51 +05:00
|
|
|
</div>
|
2016-05-05 12:34:57 +05:00
|
|
|
|
|
|
|
{if $myquery->is_commentable($photo,'p')}
|
|
|
|
{include file="$style_dir/blocks/comments/add_image_comment.html" id=$photo.photo_id type=p}
|
2016-03-30 18:57:53 +05:00
|
|
|
{else}
|
|
|
|
<div class="alert alert-warning">{lang code='Comments disabled for this photo'}</div>
|
2016-05-05 12:34:57 +05:00
|
|
|
{/if}
|
2016-03-30 18:57:53 +05:00
|
|
|
</div>
|
|
|
|
<div id="comments"></div>
|
|
|
|
<div id="userCommentsList">
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
<aside id="sidebar">
|
|
|
|
<div class="box-ad ad">{AD place='ad_300x250'}</div>
|
2016-05-05 12:34:57 +05:00
|
|
|
<h2>{lang code='Related Photos'}</h2>
|
|
|
|
<div class="clearfix sidebar-items">
|
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
{$related_photos=get_photos(['title'=>$photo.photo_title,'tags'=>$photo.photo_tags,
|
|
|
|
'exclude'=>$photo.photo_id,'show_related'=>'yes','limit'=>6,'order'=>'date_added DESC'])}
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
{if $related_photos}
|
|
|
|
<div class="row">
|
|
|
|
{foreach $related_photos as $photo}
|
|
|
|
<div class="item-photo col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
|
|
|
{include file="$style_dir/blocks/photo.html" display_type='relatedPhoto_sidebar'}
|
|
|
|
</div>
|
|
|
|
{/foreach}
|
|
|
|
</div>
|
2016-05-05 12:34:57 +05:00
|
|
|
{else}
|
|
|
|
<div class="well well-info">No Photos Found !</div>
|
2016-05-04 11:23:45 +05:00
|
|
|
{/if}
|
2016-05-05 12:34:57 +05:00
|
|
|
</div>
|
2016-04-04 11:22:32 +05:00
|
|
|
|
2016-03-30 18:57:53 +05:00
|
|
|
{$row = $myquery->Get_Website_Details()}
|
|
|
|
{if $row.collectionsSection == 'yes'}
|
|
|
|
{$collections = $cbcollection->get_collections(['limit'=>5, 'active'=>'yes'])}
|
2016-05-05 12:34:57 +05:00
|
|
|
<h2>{lang code="Top Collections"}</h2>
|
2016-04-04 11:22:32 +05:00
|
|
|
<div class="clearfix sidebar-items collections-grid">
|
2016-03-30 18:57:53 +05:00
|
|
|
<div class="clearfix row">
|
|
|
|
{$limit=10}
|
|
|
|
{if $collections}
|
|
|
|
{foreach from=$collections item=collection}
|
|
|
|
{$first_col_thumb = $cbcollection->coll_first_thumb($collection,'l')}
|
2016-05-05 12:34:57 +05:00
|
|
|
<div class="clearfix collection-item col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2016-05-04 20:32:31 +05:00
|
|
|
{include file="$style_dir/blocks/collection-item.html"}
|
2016-03-30 18:57:53 +05:00
|
|
|
</div>
|
|
|
|
{/foreach}
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
{else}
|
2016-05-05 12:34:57 +05:00
|
|
|
<div class="clearfix">{lang code='no_collection_found'}</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
{/if}
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
2016-03-30 18:57:53 +05:00
|
|
|
{/if}
|
|
|
|
</aside>
|
|
|
|
{*section name=list loop=$uphotos}
|
|
|
|
{include file="$style_dir/blocks/photo.html" display_type="related_photos" photo=$uphotos[list]}
|
|
|
|
{/section*}
|
|
|
|
</div>
|
2016-03-16 17:30:07 +05:00
|
|
|
|
2016-05-05 12:34:57 +05:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
var key_globel; // image source key0
|
|
|
|
var first_source;
|
|
|
|
var collection_id;
|
|
|
|
var mode = "photo_ajax";
|
|
|
|
var key; // for passing key to different attributes
|
|
|
|
var d = {$curr_photo}; // photo info
|
|
|
|
var curr_photo = {$curr_photo};
|
|
|
|
var user = {$user_admin};
|
|
|
|
var r = $('<i class="glyphicon glyphicon-refresh animate-spin pic-glyp" style="position:absolute;left:50%;top: 50%;font-size:16px;line-height:16px;width:16px;height:16px;margin:-8px 0 0 -8px;"></i>'); // Ajax loader
|
|
|
|
var b = $('<i class="glyphicon glyphicon-refresh animate-spin pic-glyp" style="position:absolute;left:50%;top: 50%;font-size:16px;line-height:16px;width:16px;height:16px;margin:-8px 0 0 -8px; color:#fff;"></i>'); // Extend Ajax Loader
|
|
|
|
|
|
|
|
$(document).ready(function()
|
|
|
|
{ldelim}
|
|
|
|
$(".clip_read").click(function() {
|
|
|
|
$(this).toggleClass('clip_hide');
|
|
|
|
if(!$(this).hasClass('clip_hide')){
|
|
|
|
$('.not_show').show();
|
|
|
|
$('.will_show').hide();
|
|
|
|
$(".clip_read").text("Show Less");
|
|
|
|
} else {
|
2016-03-16 17:30:07 +05:00
|
|
|
$('.not_show').hide();
|
|
|
|
$('.will_show').show();
|
|
|
|
$(".clip_read").text("Show More");
|
2016-05-05 12:34:57 +05:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
comments_voting = 'no';
|
|
|
|
getComments('p','{$photo.photo_id}','{$photo.last_commented}',1,'{$photo.total_comments}','{$object_type}')
|
|
|
|
{rdelim}
|
|
|
|
);
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
var form_selector = 'comment_form';
|
|
|
|
var type = $(this).data('type');
|
|
|
|
var dataId = $(this).data('id');
|
|
|
|
$('body').on("click","#add_comment_button",function(){
|
|
|
|
add_comment_js(form_selector,type,dataId);
|
|
|
|
});
|
|
|
|
$('#comment_box').keypress(function(e){
|
|
|
|
if(e.keyCode == 13 && !e.shiftKey)
|
|
|
|
{
|
|
|
|
e.preventDefault();
|
|
|
|
add_comment_js(form_selector,type,dataId);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// image is loading via an Ajax call ..
|
|
|
|
|
|
|
|
// event which brings previous image from the collection
|
|
|
|
$(document).on("click", ".view-photo", function () {
|
|
|
|
// var curr_photo = d;
|
|
|
|
var user_admin = user;
|
|
|
|
var check = $(this).data('check');
|
|
|
|
if(check == "prev") {
|
|
|
|
var pre_next = "prev";
|
|
|
|
}
|
|
|
|
if(check == "next"){
|
|
|
|
var pre_next = "next";
|
|
|
|
}
|
|
|
|
data = {
|
|
|
|
'mode': mode,
|
|
|
|
'photo_pre' : curr_photo,
|
|
|
|
'user': user_admin,
|
|
|
|
'item': pre_next,
|
|
|
|
}
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
url: baseurl+'/ajax.php'+'?moto=ajax',
|
|
|
|
type: "post",
|
|
|
|
data: data,
|
|
|
|
dataType: 'json',
|
|
|
|
beforeSend: function() {
|
|
|
|
$('.photo-view').append(r);
|
|
|
|
$('#gallery').fadeTo( "slow", 0.33 );
|
|
|
|
$('.overlay-content').append(b);
|
|
|
|
$('#gallery-exd').fadeTo( "slow", 0.33 );
|
|
|
|
$('.view-photo').prop("disabled",true);
|
|
|
|
},
|
|
|
|
success:function(xhr) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("body").load("view_item.php?item="+xhr.photo_key+"&type=photos&collection="+xhr.collection_id+"&moto=ajax",function(){
|
|
|
|
$('.view-photo').prop("disabled",false);
|
|
|
|
$("#gallery").fadeTo("normal",0.99);
|
|
|
|
$('#gallery-exd').fadeTo( "normal", 0.99 );
|
|
|
|
//d = xhr.photo[0];
|
|
|
|
$('#gallery-exd').attr("src",key_globel);
|
|
|
|
$("#gallery").attr("src",key_globel);
|
|
|
|
|
|
|
|
|
|
|
|
window.history.pushState("", "", baseurl+"/view_item.php?item="+xhr.photo_key+"&type=photos&collection="+xhr.collection_id);
|
|
|
|
$('.dropdown-toggle').dropdown();
|
|
|
|
$('.pic-glyp').remove();
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Event which enlarge the image size in model.
|
|
|
|
|
|
|
|
$(document).on("click", ".en-large", function () {
|
|
|
|
var curr_photo = d;
|
|
|
|
var check = $(this).data('check');
|
|
|
|
if(check == "prev") {
|
|
|
|
var pre_next = "prev";
|
|
|
|
}
|
|
|
|
if(check == "next"){
|
|
|
|
var pre_next = "next";
|
|
|
|
}
|
|
|
|
data = {
|
|
|
|
'mode': mode,
|
|
|
|
'photo_pre' : curr_photo,
|
|
|
|
'item': pre_next,
|
|
|
|
}
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
url: baseurl+'/ajax.php',
|
|
|
|
type: "post",
|
|
|
|
data: data,
|
|
|
|
dataType: 'json',
|
|
|
|
beforeSend: function() {
|
|
|
|
$('.overlay-content').append(b);
|
|
|
|
$('#gallery-exd').fadeTo( "slow", 0.33 );
|
|
|
|
$('.en-large').prop("disabled",true);
|
|
|
|
},
|
|
|
|
success:function(xhr) {
|
|
|
|
$('.en-large').prop("disabled",false);
|
|
|
|
$("#gallery").fadeTo("normal",0.99);
|
|
|
|
$('#gallery-exd').fadeTo( "normal", 0.99 );
|
|
|
|
d = xhr.photo[0];
|
|
|
|
key_globel = xhr.src_string;
|
|
|
|
console.log(key_globel);
|
|
|
|
collection_id = xhr.collection_id;
|
|
|
|
$('#gallery-exd').attr("src",key_globel);
|
|
|
|
$("#btn-close").attr("data-check",key);
|
|
|
|
$('.pic-glyp').remove();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$(document).on("click", "#enlarge", function () {
|
|
|
|
|
|
|
|
document.getElementById("myNav").style.width = "100%";
|
|
|
|
document.getElementById("myNav").style.left = "0";
|
|
|
|
$('#gallery-exd').attr("src","{$srcfirst}");
|
|
|
|
d=curr_photo;
|
|
|
|
});
|
|
|
|
|
|
|
|
// On closing modal update image source..
|
|
|
|
$(document).on("click", "#btn-close", function () {
|
|
|
|
|
|
|
|
document.getElementById("myNav").style.left = "-100%";
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$( document ).on( 'keydown', function ( e ) {
|
|
|
|
if ( e.keyCode === 27 ) { // ESC
|
|
|
|
document.getElementById("myNav").style.left = "-100%";
|
|
|
|
}
|
|
|
|
});
|
2016-05-06 20:01:01 +05:00
|
|
|
</script>
|