Monday, October 6, 2014

A doodle for explorations of the Heyerdahl Kon-Tiki – The Press


  “);
 sottomenu.height ($ j (“. categoryMenu-ls”). height ());
 
 widthWrapper var = 230 * $ j (this) .parent. () find (“. sottomenu3_colonna”). length;
 sottomenu.width (widthWrapper);
 
 menuClone var j = $ (this) .parent. () find (“. sottomenutre_container”). clone ();
 
 sottomenu.append (menuClone);
 
 console.log (menuClone);
 
 $ J (this) .parent (). Parent (). Parent (.) After (sub);
    }
    }
 
    Else {}
    location.href = $ j (this) .attr (“href”);
    }
    });
    
 // EVENT MANAGEMENT ** CLICK MENU ITEM **
    
    $ J (“. Menu_item_normal”). Click (function () {
 
    if ($ j (this) .find (“. voce_sottomenu”). length & gt; 0) {
    
    // Hide ADVICE OF RESEARCH
    svuotaTagRicerca ();
    contraiRicerca ();
    nascondiStoria ();
    
    // HIGHLIGHT OF ‘ELEMENT
    $ J (“. Voce_menu”.) Not ($ j (this) .find (“. Voce_menu”)). RemoveClass (“voce_selezionata”);
    
    if ($ j (this) .find (“. voce_menu”). hasClass (“voce_selezionata”)) {
 $ J (this) .find (“. Voce_menu”). RemoveClass (“voce_selezionata”);
 Else {}
 $ J (this) .find (“. Voce_menu”). AddClass (“voce_selezionata”);
 }
 
    idSottomenu var j = $ (this) .find (“a”). attr (“id”);
    sottomenuWrapperCollection var j = $ (“. sottomenuWrapper”);
    sottomenuWrapperTreCollection var j = $ (“. sottomenuTreWrapper”);
    
    currentSottomenuWrapper var j = $ (“# sottomenuWrapper_” + idSottomenu);
    
    sottomenuWrapperCollection.not (currentSottomenuWrapper) .removeClass (“visible”);
    sottomenuWrapperCollection.not (currentSottomenuWrapper) .hide ();
    
    $ J (“. Voce_sottomenu”). RemoveClass (“voce_selezionata”);
  sottomenuWrapperTreCollection.removeClass (“visible”);
  sottomenuWrapperTreCollection.hide ();
    
    if (currentSottomenuWrapper.length & gt; 0 & amp; & amp; currentSottomenuWrapper.hasClass (“visible”)) {
    
    // SUB AND IF THE ‘EXPANDED AND CLICK AND’ THE VOICE
    // THE PRECEDING THE SUB CHIUDO
    currentSottomenuWrapper.removeClass (“visible”);
    currentSottomenuWrapper.hide ();
    
    mostraEvidenza ();
    Else {}
    
    if (currentSottomenuWrapper.length & gt; 0) {
    
    // SUB IF THERE IS THE MONSTER
    currentSottomenuWrapper.addClass (“visible”);
    currentSottomenuWrapper.show ();
    Else {}
    
    // SUB IF THERE IS LO CREO
    var submenu = $ j (“”); sottomenu.height ($ j (“. categoryMenu-ls”). height ()); sottomenu.append ($ j (this) .find (“. sottomenu_container”). clone ()); $ J (this) .parent (.) After (sub); NascondiEvidenza} (); Else {}} // IF THERE ARE ITEMS OF SUB LINK TO SECTION location.href = $ j (this) .find (“a”). Attr (“href”); }}); espandiRicerca function () {chiudiAlberoMenu (); $ J (“# input_menu_cerca”). Animate ({width: 168}, 300); ricercaEspansa = true; ContraiRicerca} function () {$ j (“# input_menu_cerca”). Animate ({width: 12}, 100); ricercaEspansa = false; MostraEvidenza} function () {$ j (“# voci_menu_in_evidenza”). FadeIn (200); $ J (“# label_in_evidenza”). FadeIn (200); showEvidenza = true; NascondiEvidenza} function () {$ j (“# voci_menu_in_evidenza”). FadeOut (0); $ J (“# label_in_evidenza”). FadeOut (0); showEvidenza = false; MostraStoria} function () {if (ultimaRicerca.trim ()! = ”) {If (! ShowUltimaRicerca) {chiudiAlberoMenu (); if ($ j (“# menu_hint_placeholder .hint_element”). hasClass (“hidden”) || $ j (“# menu_hint_placeholder .hint_element”). length == 0) {$ j (“# menu_history_placeholder”). fadeIn (200 ); showUltimaRicerca = true; NascondiStoria}}}} function () {if (showUltimaRicerca) {$ j (“# menu_history_placeholder”). FadeOut (0); showUltimaRicerca = false; RicercaSezione}} function (string) {var results = []; var hintCount = 0; if (stringa.length & gt; 0) {var regexpPattern = “^” + string; var re = new RegExp (regexpPattern, “i”); for (var key in menuJSON) {if (hintCount 0) {var regexpPattern = “^. +” + string; var re = new RegExp (regexpPattern, “i”); for (var key in menuJSON) {if (hintCountContains

LikeTweet

No comments:

Post a Comment