Permalink
Browse files

Remove unified from repo (moved to branch).

  • Loading branch information...
1 parent a534ddf commit 09da74ed6ed29a8e240388344effa212a98fe74f @Osmose committed Aug 25, 2011
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,131 +0,0 @@
-<div id="sub-footer">
- <div id="sub-footer-contents">
- {% block sub_footer %}
- <h3>{{ _('Let’s be <span>friends!</span>') }}</h3>
- <ul class="social">
- <li id="footer-twitter"><a href="http://twitter.com/firefox">
- {{ _('Twitter') }}
- </a></li>
- <li id="footer-facebook"><a href="http://Facebook.com/Firefox">
- {{ _('Facebook') }}
- </a></li>
- <li id="footer-connect"><a href="http://www.mozilla.com/firefox/connect/">
- {{ _('More Ways to Connect') }}
- </a></li>
- </ul>
-
- <p id="sub-footer-newsletter">
- <span class="intro">{{ _('Want us to keep in touch?') }}</span>
- <a href="http://www.mozilla.com/newsletter/">{{ _('Get Monthly News <span>»</span>') }}</a>
- </p>
- {% endblock %}
- </div>
-</div>
-
-<div id="footer">
- <div id="footer-contents" role="contentinfo">
- <div id="footer-right">
- {% block lang_switcher %}
- {% endblock %}
- </div>
-
- <h3 id="footer-logo">
- <a href="http://www.mozilla.com/firefox/" title="{{ _('Back to home page') }}">{{ _('Firefox') }}</a>
- </h3>
-
- {# start footer menu #}
- <div id="footer-menu" role="navigation">
- <ul>
- <li>
- <a href="http://www.mozilla.com/firefox/features/">{{ _('Desktop') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/firefox/features/">{{ _('Features') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/security/">{{ _('Security') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/performance/">{{ _('Performance') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/customize/">{{ _('Customization') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/technology/">{{ _('Technology') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/video/">{{ _('Videos') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/central/">{{ _('Tour') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://www.mozilla.com/mobile/">{{ _('Mobile') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/mobile/">{{ _('Mobile Overview') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/download/">{{ _('Download') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/features/">{{ _('Features') }}</a></li>
- <li><a href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/sync/">{{ _('Sync') }}</a></li>
- <li><a href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/faq/">{{ _('FAQ') }}</a></li>
- <li><a href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
- <ul>
- <li><a href="https://addons.mozilla.org/firefox/">{{ _('Firefox Add-ons') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/featured/">{{ _('Featured Add-ons') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/extensions/">{{ _('Extensions') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/themes/">{{ _('Themes') }}</a></li>
- <li><a href="http://www.getpersonas.com/">{{ _('Personas') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/search-tools/">{{ _('Search Tools') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/language-tools/">{{ _('Language Support') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/collections/">{{ _('Collections') }}</a></li>
- <li><a href="https://addons.mozilla.org/mobile/">{{ _('Mobile Add-ons') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/developers/">{{ _('Developer Hub') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://support.mozilla.com/">{{ _('Support') }}</a>
- <ul>
- <li><a href="http://support.mozilla.com/kb/">{{ _('Firefox Support') }}</a></li>
- <li><a href="http://support.mozilla.com/mobile">{{ _('Mobile Support') }}</a></li>
- <li><a href="http://support.mozillamessaging.com/kb/">{{ _('Thunderbird Support') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://www.mozilla.com/about/">{{ _('About') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/about/">{{ _('About Firefox') }}</a></li>
- <li><a href="http://www.mozilla.org/join">{{ _('Join Mozilla') }}</a></li>
- <li><a href="http://www.mozilla.com/about/participate/">{{ _('Participate') }}</a></li>
- <li><a href="http://www.mozilla.com/press/">{{ _('Press Center') }}</a></li>
- <li><a href="http://www.mozilla.com/about/careers.html">{{ _('Careers') }}</a></li>
- <li><a href="http://www.mozilla.com/about/partnerships.html">{{ _('Partnerships') }}</a></li>
- <li><a href="http://www.mozilla.com/about/legal.html">{{ _('Legal') }}</a></li>
- <li><a href="http://www.mozilla.com/about/contact.html">{{ _('Contact Us') }}</a></li>
- <li><a href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- </ul>
- </div>
- {# end footer menu #}
-
- <div id="copyright">
- <ul id="footer-links">
- <li><a href="http://www.mozilla.com/privacy-policy.html">{{ _('Privacy Policy') }}</a></li>
- <li><a href="http://www.mozilla.com/about/legal.html">{{ _('Legal Notices') }}</a></li>
- <li class="last"><a href="http://www.mozilla.com/legal/fraud-report/index.html">
- {{ _('Report Trademark Abuse') }}
- </a></li>
- </ul>
- <p>
- {% trans legal_url='http://www.mozilla.com/about/legal.html#site',
- license_url='http://creativecommons.org/licenses/by-sa/3.0/' %}
- Except where otherwise <a href="{{ legal_url }}">noted</a>,
- content on this site is licensed under the <br/>
- <a href="{{ license_url }}">Creative Commons Attribution Share-Alike License v3.0</a>
- or any later version.
- {% endtrans %}
- </p>
- </div>
-
- </div>{# /footer-contents #}
-</div>
View
@@ -1,83 +0,0 @@
-{# start #header #}
-<div id="header">
- <div>
- <h1><a href="http://www.mozilla.com/firefox/" title="{{ _('Back to home page') }}">{{ _('Mozilla Firefox') }}</a></h1>
- <a href="http://www.mozilla.org/" class="mozilla">{{ _('Mozilla') }}</a>
-
- {# start menu #nav-main #}
- <div id="nav-main" role="navigation">
- <ul role="menubar">
- <li id="nav-main-features" class="first">
- <a aria-haspopup="true" aria-owns="nav-main-features-submenu" tabindex="0" href="http://www.mozilla.com/firefox/features/">Desktop</a>
- <ul id="nav-main-features-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/firefox/features/">{{ _('Features') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/security/">{{ _('Security') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/performance/">{{ _('Performance') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/customize/">{{ _('Customization') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/technology/">{{ _('Technology') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/video/">{{ _('Videos') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://www.mozilla.com/firefox/central/">{{ _('Tour') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-mobile">
- <a aria-haspopup="true" aria-owns="nav-main-mobile-submenu" tabindex="0" href="http://www.mozilla.com/mobile/">{{ _('Mobile') }}</a>
- <ul id="nav-main-mobile-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/mobile/">{{ _('Mobile Overview') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/download/">{{ _('Download') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/features/">{{ _('Features') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/sync/">{{ _('Sync') }}</a></li>
- <li><a tabindex="-1" href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/faq/">{{ _('FAQ') }}</a></li>
- <li class="last"><a tabindex="-1" href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-addons">
- <a aria-haspopup="true" aria-owns="nav-main-addons-submenu" tabindex="0" href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
- <ul id="nav-main-addons-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="https://addons.mozilla.org/firefox/">{{ _('Firefox Add-ons') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/featured/">{{ _('Featured Add-ons') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/extensions/">{{ _('Extensions') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/themes/">{{ _('Themes') }}</a></li>
- <li><a tabindex="-1" href="http://www.getpersonas.com/">{{ _('Personas') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/search-tools/">{{ _('Search Tools') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/language-tools/">{{ _('Language Support') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/collections/">{{ _('Collections') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/mobile/">{{ _('Mobile Add-ons') }}</a></li>
- <li class="last"><a tabindex="-1" href="https://addons.mozilla.org/firefox/developers/">{{ _('Developer Hub') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-support">
- <a aria-haspopup="true" aria-owns="nav-main-support-submenu" tabindex="0" href="http://support.mozilla.com/">{{ _('Support') }}</a>
- <ul id="nav-main-support-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://support.mozilla.com/kb/">{{ _('Firefox Support') }}</a></li>
- <li><a tabindex="-1" href="http://support.mozilla.com/mobile">{{ _('Mobile Support') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://support.mozillamessaging.com/kb/">{{ _('Thunderbird Support') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-about" class="last">
- <a aria-haspopup="true" aria-owns="nav-main-about-submenu" tabindex="0" href="http://www.mozilla.com/about/">{{ _('About') }}</a>
- <ul id="nav-main-about-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/about/">{{ _('About Firefox') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.org/join">{{ _('Join Mozilla') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/participate/">{{ _('Participate') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/press/">{{ _('Press Center') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/careers.html">{{ _('Careers') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/partnerships.html">{{ _('Partnerships') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/legal.html">{{ _('Legal') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/contact.html">{{ _('Contact Us') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
- </ul>
- </div>
- {# end menu #nav-main #}
-
- </div>
-</div>
-{# end #header #}
View
No changes.
Deleted file not rendered
Deleted file not rendered
View
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
View
@@ -1,85 +0,0 @@
-$(document).ready(function() {
- if ($('#nav-main').length === 0) {
- return;
- }
-
- var main_menuitems = $('#nav-main [tabindex="0"]');
- var prev_li, new_li, focused_item;
-
- $('#nav-main > li').bind('mouseover focusin', function(event) {
- new_li = $(this);
- if (!prev_li || prev_li.attr('id') !== new_li.attr('id')) {
- // Open the menu
- new_li.addClass('hover').find('[role="menu"]').attr('aria-expanded', 'true');
- if (prev_li) {
- // Close the last selected menu
- prev_li.dequeue();
- }
- } else {
- prev_li.clearQueue();
- }
- }).bind('mouseout focusout', function(event) {
- prev_li = $(this);
- prev_li.delay(100).queue(function() {
- if (prev_li) {
- prev_li.clearQueue();
- // Close the menu
- prev_li.removeClass('hover').find('[role="menu"]').attr('aria-expanded', 'false');
- prev_li = null;
- if (focused_item) {
- focused_item.get(0).blur();
- }
- }
- });
- }).each(function(menu_idx) {
- var menu = $(this).find('[role="menu"]');
- var menuitems = $(this).find('a');
-
- menuitems.mouseover(function(event) {
- this.focus(); // Sometimes $(this).focus() doesn"t work
- }).focus(function() {
- focused_item = $(this);
- }).each(function(item_idx) {
- // Enable keyboard navigation
- $(this).keydown(function(event) {
- var target;
- switch (event.keyCode) {
- case 33: // Page Up
- case 36: // Home
- target = menuitems.first();
- break;
- case 34: // Page Down
- case 35: // End
- target = menuitems.last();
- break;
- case 38: // Up
- target = (item_idx > 0) ? menuitems.eq(item_idx - 1)
- : menuitems.last();
- break;
- case 40: // Down
- target = (item_idx < menuitems.length - 1) ? menuitems.eq(item_idx + 1)
- : menuitems.first();
- break;
- case 37: // Left
- target = (menu_idx > 0) ? main_menuitems.eq(menu_idx - 1)
- : main_menuitems.last();
- break;
- case 39: // Right
- target = (menu_idx < main_menuitems.length - 1) ? main_menuitems.eq(menu_idx + 1)
- : main_menuitems.first();
- break;
- }
- if (target) {
- target.get(0).focus(); // Sometimes target.focus() doesn't work
- return false;
- }
- return true;
- });
- });
- });
-
- // With JavaScript enabled, we can provide a full navigation with #nav-main.
- // Now "hide" the duplicated #footer-menu from AT.
- $('#footer-menu').attr('role', 'presentation');
-});
-

0 comments on commit 09da74e

Please sign in to comment.