mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-17 07:19:54 -04:00
Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
<link rel="stylesheet" href="<?= $theme->url("jquery/superfish-navbar.css") ?>" type="text/css" media="screen,projection">
|
||||
<script src="<?= $theme->url("jquery/superfish.js") ?>"></script>
|
||||
<script type="text/javascript">
|
||||
var gallery3 = {
|
||||
base_url: <?= url::base() ?>
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul.sf-menu").superfish({
|
||||
pathClass: 'current'
|
||||
|
||||
Reference in New Issue
Block a user