Changeset 4530 for extensions/Juza


Ignore:
Timestamp:
12/19/09 21:39:29 (10 years ago)
Author:
vdigital
Message:

[Update] For Juza - Juza Theme Configuration Menu is working at 99% at least

  • Menubar
Location:
extensions/Juza
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Juza/js/juzascript.js

    r4514 r4530  
    44  }); 
    55  $('div.illustration a img').each(function() { 
    6     $src = $(this).addClass('bigImg').attr('alt'); 
    7                 $medium = $('#ix-cat .Cat-'+$src).eq(0).attr('title'); 
    8                 $title = $('#ix-cat .Cat-'+$src).eq(0).attr('alt'); 
     6    $src = $(this).addClass('bigImg').attr('src'); 
     7                $medium = $('#ix-cat .Cat[src="'+$src+'"]').eq(0).attr('title'); 
     8                $title = $('#ix-cat .Cat[src="'+$src+'"]').eq(0).attr('alt'); 
    99                $(this).attr('src', $medium).attr('title', $title); 
    1010  }); 
     
    4040    $(this).parent('h3').eq(0).next('.text').after('<ul>'+$cat_tree+'</ul>'); 
    4141  });  
     42        $('a.Juza_menu').click(function() { 
     43          $('#menubar').toggleClass('displayed'); 
     44        }); 
     45        //$('span#updateRate').parent('table').eq(0).show().children('td').hide(); 
     46        //$('span#updateRate').parent('td').eq(0).show(); 
    4247}); 
  • extensions/Juza/script.tpl

    r4516 r4530  
    6666<td>HOME PAGE</td> 
    6767<td>PORTFOLIO</td> 
    68 <td><a href="{$ROOT_URL}index.php"><strong>GALLERIES</strong></a></td> 
    69 <td><a title="See available tags" href="{$ROOT_URL}tags.php"><strong>TAGS</strong></a></td> 
     68<td><a title="Gallery home" href="{''|make_index_url}"><strong>GALLERIES</strong></a></td> 
     69<td><a title="Available tags" href="{$ROOT_URL}tags.php"><strong>TAGS</strong></a></td> 
    7070<td>ABOUT JUZA</td> 
    7171<td>E-MAIL</td> 
    72 <td>LINKS</td> 
    7372<td>JUZA FORUM</td> 
     73{if !empty($blocks)} 
     74<td><a class="Juza_menu hidden" title="Display menu" href="#"><strong>MENU</strong></a></td> 
     75{/if} 
    7476</tr> 
    7577</tbody></table> 
     
    8587<div id="ix-cat" style="display:none"> 
    8688{foreach from=$category_thumbnails item=cat} 
    87   <div title="{$cat.TN_SRC|@Juza_file}" alt="{$cat.DESCRIPTION|@htmlspecialchars}" class="Cat-{$cat.NAME}"></div> 
     89  <img src="{$cat.TN_SRC}" title="{$cat.TN_SRC|@Juza_file}" alt="{$cat.DESCRIPTION|@htmlspecialchars}" class="Cat"/> 
    8890{/foreach} 
    8991</div> 
  • extensions/Juza/theme.css

    r4498 r4530  
    22@import "based_on_grum_Dark-II.css"; 
    33/* Ok, Now overrides */ 
    4 html body * {background-color: transparent !important;margin:0;padding:0; } 
     4html body * {background-color: transparent; margin:0;padding:0; outline:0;} 
    55html body {background-color: #0; margin:0;padding:0;} 
    66html body #the_page { background-color: #292929 !important; width:1240px;margin:10px auto; height: 100%; border: 1px solid #fff !important; } 
     
    2323form.filter fieldset label textarea { display:block; margin:0.5em auto; color: #ddffdd; } 
    2424fieldset { margin:1em !important; padding:1em !important; } 
    25  
     25#content UL.thumbnails LI SPAN.wrap1 SPAN.wrap2:hover { background-color: #181818; } 
    2626div.illustration { overflow: hidden; } 
    2727div.illustration img { border: 0; margin-left: 0px; } 
     
    3333input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] { 
    3434  background-color:#D3D3D3 !important; } 
     35#content, #content *,.content, .content *, .titrePage, #content div.thumbnailCategory { background-color: transparent; } 
     36#menubar { display:none; background-color: #222; position: absolute; right: 2%; z-index: 9999; } 
     37#menubar.displayed { display: block; } 
     38#menubar *, #menubar dt, #menubar dl { background-color: #222; } 
     39select, textarea { color:#ddffdd; background-color:#222 !important; } 
     40#imageToolBar, .header_notes { background-color: transparent; } 
    3541#jquery_local_img { text-align: center; margin-top: 5px; min-height: 600px; height: 600px; /* linked to Area Mapping */ } 
    3642#Juza_config input[type="text"], #Juza_config input[type="checkbox"] { float:left; margin:6px auto auto 4px; } 
     
    4753#imageHeaderBar  h2, .menuInfoCat, 
    4854#imageToolBar  .randomButtons img, #menubar, table.infoTable,  
    49 h3 img.icon { display: none !important; } 
     55h3 img.icon { display: none;} 
    5056#imageToolBar  .randomButtons img[alt="slideshow"] { display: inline; } 
    5157div.description div.text p.Nb_images { border-width: 0; } 
  • extensions/Juza/themeconf.inc.php

    r4516 r4530  
    2121global $user, $conf, $lang; 
    2222$user["expand"] = true; /* Forced to assign subcategory links inside each category on index page */ 
     23$user['nb_image_line']= 7; 
     24$user['nb_line_page']= 1; 
     25$user['nb_image_page']= 7; 
    2326load_language('lang', JUZA_PATH); 
    2427/* No handlers at all or Open ? */ 
Note: See TracChangeset for help on using the changeset viewer.