Fix lightbox on home page

This commit is contained in:
Wesley Moore 2010-08-18 20:55:19 +10:00
parent b98a36817c
commit 46ae61c82b
3 changed files with 8 additions and 4 deletions

View file

@ -45,5 +45,6 @@ base_url: 'http://www.wezm.net'
deploy: deploy:
default: default:
dst: "wezm@www.wezm.net:www" dst: "wezm@www.wezm.net:www"
options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ] #options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
options: [ '-avz', '--delete', '--exclude=".svn"' ]

View file

@ -2,6 +2,12 @@
<html> <html>
<head> <head>
<%= render '_head' %> <%= render '_head' %>
<script type="text/javascript">
jQuery(function() {
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
});
</script>
</head> </head>
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>> <body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
<%= render '_header' %> <%= render '_header' %>

View file

@ -44,7 +44,4 @@ jQuery(function() {
input.val(''); input.val('');
} }
$('#search').show(); $('#search').show();
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
}); });