From: Michael J. Rubinsky Date: Mon, 3 Jan 2011 16:28:42 +0000 (-0500) Subject: Subgallery navigation, other misc stuff: X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=900d86e18e50554c7bf202fece0138dd07a51034;p=horde.git Subgallery navigation, other misc stuff: Add initial subgallery navigation, layout tweaks, start experimenting with a custom jquerymobile data-theme ('h' for horde) basically just to get a dark background for the thumbnails while maintaining the rest of the horde-wide usage of data-theme 'a'. --- diff --git a/ansel/js/mobile.js b/ansel/js/mobile.js index d0173a6fc..7594bab36 100644 --- a/ansel/js/mobile.js +++ b/ansel/js/mobile.js @@ -16,27 +16,41 @@ var AnselMobile = { currentGallery: null, /** + * Currently loaded image thumbnails + */ + //imgs: [], + + /** * Build a gallery list + * + * @param object gs A hash of the galleries + * @param string c The CSS class to use for the ul + * + * @return a ul dom object */ - buildGalleryList: function(galleries) + buildGalleryList: function(gs, c) { + if (!c) { + c = 'anselgalleries'; + } var list = $('