From 22d64456008cd8d2aaab35f6d8005cc112d93567 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Dec 2010 21:37:01 +0000 Subject: major addition - adding preview of CSS for developers and themers git-svn-id: http://code.elgg.org/elgg/trunk@7781 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/css/preview/nav.php | 71 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 documentation/css/preview/nav.php (limited to 'documentation/css/preview/nav.php') diff --git a/documentation/css/preview/nav.php b/documentation/css/preview/nav.php new file mode 100644 index 000000000..3ce839472 --- /dev/null +++ b/documentation/css/preview/nav.php @@ -0,0 +1,71 @@ + + +
+

+ +

Breadcrumbs

+
+ +
+

Tabs

+
+ 'First', 'url' => '#'), + array('title' => 'Second', 'url' => '#', 'selected' => true), + array('title' => 'Third', 'url' => '#'), + ); + echo elgg_view('navigation/tabs', array('tabs' => $tabs)); + ?> +
+

Pagination

+
+ 1000, + 'limit' => 10, + 'offset' => 230, + ); + echo elgg_view('navigation/pagination', $params); + ?> +
+

Site Menu

+
+
+ setSelected(true); + echo elgg_view('navigation/menu/site', $params); + ?> +
+
+

Page Menu

+
+ setParent($params['menu']['default'][1]); + $params['menu']['default'][1]->addChild($m); + echo elgg_view('navigation/menu/page', $params); + ?> +
+
+ + \ No newline at end of file -- cgit v1.2.3