This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| foundation [2014/10/14 09:43] – admin | foundation [2021/12/06 21:55] (current) – removed admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Foundation ====== | ||
| - | |||
| - | ===== Reveal Lightbox ===== | ||
| - | |||
| - | **Description** | ||
| - | |||
| - | Turn each a.lightbox into a Lightbox on click. | ||
| - | |||
| - | |||
| - | **Code** | ||
| - | |||
| - | **HTML:** | ||
| - | |||
| - | <code html> | ||
| - | <a href=" | ||
| - | <img src=" | ||
| - | </a> | ||
| - | </ | ||
| - | |||
| - | **JS:** | ||
| - | <code javascript> | ||
| - | $(' | ||
| - | event.preventDefault(); | ||
| - | var div = '< | ||
| - | $(div).appendTo(' | ||
| - | var url = $(this).attr(' | ||
| - | $.ajax({ | ||
| - | url: url, | ||
| - | cache: true, | ||
| - | processData: | ||
| - | }).always(function() { | ||
| - | $("# | ||
| - | $("# | ||
| - | }); | ||
| - | }); | ||
| - | |||
| - | </ | ||
| - | |||
| - | ===== Center Top-Bar Navi ===== | ||
| - | |||
| - | Simply wrap <div class=" | ||
| - | |||
| - | |||
| - | <code html> | ||
| - | <div class=" | ||
| - | <nav class=" | ||
| - | <nav class=" | ||
| - | <!-- TITLE --> | ||
| - | <ul class=" | ||
| - | <li class=" | ||
| - | < | ||
| - | <div id=" | ||
| - | < | ||
| - | </ | ||
| - | </li> | ||
| - | <li class=" | ||
| - | </ul> | ||
| - | <!-- MENU --> | ||
| - | <section class=" | ||
| - | <div> | ||
| - | <ul class=" | ||
| - | <li class=" | ||
| - | <li class=" | ||
| - | <a href="/ | ||
| - | |||
| - | <ul class=" | ||
| - | <li class=" | ||
| - | |||
| - | <li class=" | ||
| - | </ul> | ||
| - | </li> | ||
| - | <li class=" | ||
| - | <li class=" | ||
| - | </ul> | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||