From abc8436bfdc331609342105d8c56e8bd6468e693 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Fri, 11 May 2012 12:08:06 +0000 Subject: new global nav bar service --- _nav/README.md | 80 ++++++++++++++++++++++++++++ _nav/css/index.php | 4 ++ _nav/css/source.css | 100 ++++++++++++++++++++++++++++++++++ _nav/html/index.php | 28 ++++++++++ _nav/index.php | 15 ++++++ _nav/js/index.php | 6 +++ _nav/js/source.js | 26 +++++++++ _nav/lib.php | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 410 insertions(+) create mode 100644 _nav/README.md create mode 100644 _nav/css/index.php create mode 100644 _nav/css/source.css create mode 100644 _nav/html/index.php create mode 100644 _nav/index.php create mode 100644 _nav/js/index.php create mode 100644 _nav/js/source.js create mode 100644 _nav/lib.php diff --git a/_nav/README.md b/_nav/README.md new file mode 100644 index 000000000..d7bd19b86 --- /dev/null +++ b/_nav/README.md @@ -0,0 +1,80 @@ +# mognase - mageia.org global navigation service + +This service is available so that each mageia.org Web service/site can have +a same, consistent looking, synchronized navigation bar. + +You have two ways to use this service: + +* using a Javascript snippet; +* using directly CSS and HTML and placing them at the right place. + + +## Use a Javascript snippet (preferred, less work) + +Place this at the end of your HTML document: + +> ``` +> ``` + +It will: + +* load the stylesheet rules +* detect some of your document features; +* build a ```