1
0
Fork 0

add lightbox, fixex in css

This commit is contained in:
tommy tomson 2012-03-12 21:09:16 +01:00
commit 9436175746
59 changed files with 1667 additions and 45 deletions

View file

@ -12,6 +12,12 @@ $a->theme_info = array(
);
$a->page['htmlhead'] .= <<< EOT
<script type="text/javascript" src="view/theme/diabook/lightbox/js/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="view/theme/diabook/lightbox/css/jquery.lightbox-0.5.css" media="screen" />
<script>
//contacts
@ -63,5 +69,20 @@ $('html').click(function() {
$('#nav-site-linkmenu').click(function(event){
event.stopPropagation();
});
</script>
//appsmenu
$('html').click(function() {
$('#nav-apps-link').removeClass('selected');
document.getElementById( "nav-apps-menu" ).style.display = "none";
});
$('#nav-apps-link').click(function(event){
event.stopPropagation();
});
$(function() {
$('a.lightbox').lightBox(); // Select all links with lightbox class
});
</script>
EOT;