starting switching to colorbox
This commit is contained in:
parent
9dbe7efce5
commit
0f25455d1b
|
@ -103,9 +103,13 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// fancyboxes
|
// fancyboxes
|
||||||
$("a.popupbox").fancybox({
|
/*$("a.popupbox").fancybox({
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
'transitionOut' : 'elastic'
|
'transitionOut' : 'elastic'
|
||||||
|
});*/
|
||||||
|
$("a.popupbox").colorbox({
|
||||||
|
'inline' : true,
|
||||||
|
'transition' : 'none'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
$("#cnftheme").fancybox({
|
$("#cnftheme").click(function(){
|
||||||
|
$.colorbox({
|
||||||
width: 800,
|
width: 800,
|
||||||
autoDimensions: false,
|
height: '90%',
|
||||||
onStart: function(){
|
/*onOpen: function(){
|
||||||
var theme = $("#id_theme :selected").val();
|
var theme = $("#id_theme :selected").val();
|
||||||
var theme_mobile = $("#id_theme_mobile :selected").val();
|
|
||||||
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
||||||
},
|
},*/
|
||||||
|
href: "$baseurl/admin/themes/" + $("#id_theme :selected").val(),
|
||||||
onComplete: function(){
|
onComplete: function(){
|
||||||
$("div#fancybox-content form").submit(function(e){
|
$("div#fancybox-content form").submit(function(e){
|
||||||
var url = $(this).attr('action');
|
var url = $(this).attr('action');
|
||||||
|
@ -25,7 +26,7 @@
|
||||||
$.post(url, data, function(data) {
|
$.post(url, data, function(data) {
|
||||||
if(timer) clearTimeout(timer);
|
if(timer) clearTimeout(timer);
|
||||||
NavUpdate();
|
NavUpdate();
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
})
|
})
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -33,6 +34,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div id='adminpage'>
|
<div id='adminpage'>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'$baseurl/events/?id='+eventid,
|
'$baseurl/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<base href="$baseurl/" />
|
<base href="$baseurl/" />
|
||||||
<meta name="generator" content="$generator" />
|
<meta name="generator" content="$generator" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
|
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->#}
|
||||||
|
<link rel="stylesheet" href="$baseurl/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||||
|
@ -23,7 +24,8 @@
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox.pack.js"></script>
|
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox.pack.js"></script>-->#}
|
||||||
|
<script type="text/javascript" src="$baseurl/library/colorbox/jquery.colorbox-min.js"></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
|
||||||
|
|
|
@ -13,9 +13,9 @@ function initEditor(cb){
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -105,9 +105,9 @@ function initEditor(cb){
|
||||||
});
|
});
|
||||||
editor = true;
|
editor = true;
|
||||||
// setup acl popup
|
// setup acl popup
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -274,7 +274,7 @@ function enableOnUser(){
|
||||||
var bordercolor = $("input").css("border-color");
|
var bordercolor = $("input").css("border-color");
|
||||||
|
|
||||||
$.get('filer/', function(data){
|
$.get('filer/', function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
$("#id_term").keypress(function(){
|
$("#id_term").keypress(function(){
|
||||||
$(this).css("border-color",bordercolor);
|
$(this).css("border-color",bordercolor);
|
||||||
})
|
})
|
||||||
|
@ -292,7 +292,7 @@ function enableOnUser(){
|
||||||
// if(timer) clearTimeout(timer);
|
// if(timer) clearTimeout(timer);
|
||||||
// timer = setTimeout(NavUpdate,3000);
|
// timer = setTimeout(NavUpdate,3000);
|
||||||
liking = 1;
|
liking = 1;
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
} else {
|
} else {
|
||||||
$("#id_term").css("border-color","#FF0000");
|
$("#id_term").css("border-color","#FF0000");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,14 +6,15 @@
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
$("#cnftheme").fancybox({
|
$("#cnftheme").click(function(){
|
||||||
|
$.colorbox({
|
||||||
width: 800,
|
width: 800,
|
||||||
autoDimensions: false,
|
height: '90%',
|
||||||
onStart: function(){
|
/*onOpen: function(){
|
||||||
var theme = $("#id_theme :selected").val();
|
var theme = $("#id_theme :selected").val();
|
||||||
var theme_mobile = $("#id_theme_mobile :selected").val();
|
|
||||||
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
||||||
},
|
},*/
|
||||||
|
href: "{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val(),
|
||||||
onComplete: function(){
|
onComplete: function(){
|
||||||
$("div#fancybox-content form").submit(function(e){
|
$("div#fancybox-content form").submit(function(e){
|
||||||
var url = $(this).attr('action');
|
var url = $(this).attr('action');
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
$.post(url, data, function(data) {
|
$.post(url, data, function(data) {
|
||||||
if(timer) clearTimeout(timer);
|
if(timer) clearTimeout(timer);
|
||||||
NavUpdate();
|
NavUpdate();
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
})
|
})
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -38,6 +39,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div id='adminpage'>
|
<div id='adminpage'>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'{{$baseurl}}/events/?id='+eventid,
|
'{{$baseurl}}/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<base href="{{$baseurl}}/" />
|
<base href="{{$baseurl}}/" />
|
||||||
<meta name="generator" content="{{$generator}}" />
|
<meta name="generator" content="{{$generator}}" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
|
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->*}}
|
||||||
|
<link rel="stylesheet" href="{{$baseurl}}/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
|
<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
|
||||||
|
@ -28,7 +29,8 @@
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>
|
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>-->*}}
|
||||||
|
<script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
|
||||||
|
|
|
@ -18,9 +18,9 @@ function initEditor(cb){
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -110,9 +110,9 @@ function initEditor(cb){
|
||||||
});
|
});
|
||||||
editor = true;
|
editor = true;
|
||||||
// setup acl popup
|
// setup acl popup
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -279,7 +279,7 @@ function enableOnUser(){
|
||||||
var bordercolor = $("input").css("border-color");
|
var bordercolor = $("input").css("border-color");
|
||||||
|
|
||||||
$.get('filer/', function(data){
|
$.get('filer/', function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
$("#id_term").keypress(function(){
|
$("#id_term").keypress(function(){
|
||||||
$(this).css("border-color",bordercolor);
|
$(this).css("border-color",bordercolor);
|
||||||
})
|
})
|
||||||
|
@ -297,7 +297,7 @@ function enableOnUser(){
|
||||||
// if(timer) clearTimeout(timer);
|
// if(timer) clearTimeout(timer);
|
||||||
// timer = setTimeout(NavUpdate,3000);
|
// timer = setTimeout(NavUpdate,3000);
|
||||||
liking = 1;
|
liking = 1;
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
} else {
|
} else {
|
||||||
$("#id_term").css("border-color","#FF0000");
|
$("#id_term").css("border-color","#FF0000");
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
|
{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
|
||||||
<div id="photo-photo"><a href="$photo.href" class="lightbox" title="$photo.title"><img src="$photo.src" /></a></div>
|
{#<!--<div id="photo-photo"><a href="$photo.href" class="lightbox" title="$photo.title"><img src="$photo.src" /></a></div>-->#}
|
||||||
|
<div id="photo-photo"><img href="$photo.href" class="lightbox" style="cursor:pointer;" src="$photo.src" /></div>
|
||||||
{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
|
{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
|
||||||
<div id="photo-photo-end"></div>
|
<div id="photo-photo-end"></div>
|
||||||
<div id="photo-caption">$desc</div>
|
<div id="photo-caption">$desc</div>
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
|
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
|
||||||
<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
|
{{*<!--<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>-->*}}
|
||||||
|
<div id="photo-photo"><img href="{{$photo.href}}" class="lightbox" style="cursor:pointer;" src="{{$photo.src}}" /></div>
|
||||||
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
|
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
|
||||||
<div id="photo-photo-end"></div>
|
<div id="photo-photo-end"></div>
|
||||||
<div id="photo-caption">{{$desc}}</div>
|
<div id="photo-caption">{{$desc}}</div>
|
||||||
|
|
|
@ -169,10 +169,10 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
$a->page['htmlhead'] .= '
|
$a->page['htmlhead'] .= '
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$("a.lightbox").fancybox(); // Select all links with lightbox class
|
$("img.lightbox").colorbox({maxHeight:"90%"}); // Select all links with lightbox class
|
||||||
$("a#twittersettings-link").fancybox({onClosed: function() { $("#twittersettings").attr("style","display: none;");}} );
|
$("a#twittersettings-link").colorbox({inline:true,onClosed: function() { $("#twittersettings").attr("style","display: none;");}} );
|
||||||
$("a#mapcontrol-link").fancybox({onClosed: function() { $("#mapcontrol").attr("style","display: none;");}} );
|
$("a#mapcontrol-link").colorbox({inline:true,onClosed: function() { $("#mapcontrol").attr("style","display: none;");}} );
|
||||||
$("a#closeicon").fancybox({onClosed: function() { $("#boxsettings").attr("style","display: none;");}} );
|
$("a#closeicon").colorbox({inline:true,onClosed: function() { $("#boxsettings").attr("style","display: none;");}} );
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).load(function() {
|
$(window).load(function() {
|
||||||
|
|
|
@ -11,9 +11,9 @@ function initEditor(cb) {
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -102,9 +102,9 @@ function initEditor(cb) {
|
||||||
});
|
});
|
||||||
editor = true;
|
editor = true;
|
||||||
// setup acl popup
|
// setup acl popup
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -268,7 +268,7 @@ function enableOnUser(){
|
||||||
var bordercolor = $("input").css("border-color");
|
var bordercolor = $("input").css("border-color");
|
||||||
|
|
||||||
$.get('filer/', function(data){
|
$.get('filer/', function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
$("#id_term").keypress(function(){
|
$("#id_term").keypress(function(){
|
||||||
$(this).css("border-color",bordercolor);
|
$(this).css("border-color",bordercolor);
|
||||||
})
|
})
|
||||||
|
@ -286,7 +286,7 @@ function enableOnUser(){
|
||||||
if(timer) clearTimeout(timer);
|
if(timer) clearTimeout(timer);
|
||||||
timer = setTimeout(NavUpdate,3000);
|
timer = setTimeout(NavUpdate,3000);
|
||||||
liking = 1;
|
liking = 1;
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
} else {
|
} else {
|
||||||
$("#id_term").css("border-color","#FF0000");
|
$("#id_term").css("border-color","#FF0000");
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,8 +46,8 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$("a#photo-edit-perms-menu").fancybox({
|
$("a#photo-edit-perms-menu").colorbox({
|
||||||
'transitionIn' : 'none',
|
'inline' : true,
|
||||||
'transitionOut' : 'none'
|
'transition' : 'none'
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
|
{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
|
||||||
<div id="photo-photo"><a href="$photo.href" class="lightbox" title="$photo.title"><img src="$photo.src" /></a></div>
|
{#<!--<div id="photo-photo"><a href="$photo.href" class="lightbox" title="$photo.title"><img src="$photo.src" /></a></div>-->#}
|
||||||
|
<div id="photo-photo"><img href="$photo.href" class="lightbox" style="cursor:pointer;" src="$photo.src" /></div>
|
||||||
{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
|
{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
|
||||||
<div id="photo-photo-end"></div>
|
<div id="photo-photo-end"></div>
|
||||||
<div id="photo-caption">$desc</div>
|
<div id="photo-caption">$desc</div>
|
||||||
|
|
|
@ -16,9 +16,9 @@ function initEditor(cb) {
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -107,9 +107,9 @@ function initEditor(cb) {
|
||||||
});
|
});
|
||||||
editor = true;
|
editor = true;
|
||||||
// setup acl popup
|
// setup acl popup
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
'transitionIn' : 'elastic',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -273,7 +273,7 @@ function enableOnUser(){
|
||||||
var bordercolor = $("input").css("border-color");
|
var bordercolor = $("input").css("border-color");
|
||||||
|
|
||||||
$.get('filer/', function(data){
|
$.get('filer/', function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
$("#id_term").keypress(function(){
|
$("#id_term").keypress(function(){
|
||||||
$(this).css("border-color",bordercolor);
|
$(this).css("border-color",bordercolor);
|
||||||
})
|
})
|
||||||
|
@ -291,7 +291,7 @@ function enableOnUser(){
|
||||||
if(timer) clearTimeout(timer);
|
if(timer) clearTimeout(timer);
|
||||||
timer = setTimeout(NavUpdate,3000);
|
timer = setTimeout(NavUpdate,3000);
|
||||||
liking = 1;
|
liking = 1;
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
} else {
|
} else {
|
||||||
$("#id_term").css("border-color","#FF0000");
|
$("#id_term").css("border-color","#FF0000");
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,8 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$("a#photo-edit-perms-menu").fancybox({
|
$("a#photo-edit-perms-menu").colorbox({
|
||||||
'transitionIn' : 'none',
|
'inline' : true,
|
||||||
'transitionOut' : 'none'
|
'transition' : 'none'
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
|
{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
|
||||||
<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
|
{{*<!--<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>-->*}}
|
||||||
|
<div id="photo-photo"><img href="{{$photo.href}}" class="lightbox" style="cursor:pointer;" src="{{$photo.src}}" /></div>
|
||||||
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
|
{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
|
||||||
<div id="photo-photo-end"></div>
|
<div id="photo-photo-end"></div>
|
||||||
<div id="photo-caption">{{$desc}}</div>
|
<div id="photo-caption">{{$desc}}</div>
|
||||||
|
|
|
@ -52,7 +52,7 @@ function dispy_init(&$a) {
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Select all links with lightbox class
|
// Select all links with lightbox class
|
||||||
$("a.lightbox").fancybox();
|
$("img.lightbox").colorbox({maxHeight:"90%"});
|
||||||
|
|
||||||
$('.group-edit-icon').hover(
|
$('.group-edit-icon').hover(
|
||||||
function() {
|
function() {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'$baseurl/events/?id='+eventid,
|
'$baseurl/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'{{$baseurl}}/events/?id='+eventid,
|
'{{$baseurl}}/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue