Changeset 4461


Ignore:
Timestamp:
Dec 9, 2009, 11:28:39 PM (14 years ago)
Author:
vdigital
Message:

[Update] For Juza - Many points solved.

Pendings:

  • Configuration
  • Exception management
Location:
extensions/Juza
Files:
3 edited

Legend:

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

    r4453 r4461  
    1010    /* $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums</a>'); */
    1111  });
    12         $('#copyright').before('<div id="jquery_local_img"></div>');
     12  $reltag = $('#menubar #mbTags').html();
     13        if ($reltag == null) $reltag = '';
     14        $reltag = '<div id="relTag">' + $reltag + '</div>';
     15        $('#copyright').before('<div id="jquery_local_img">' + $reltag + '</div>');
    1316  $temp = $('#content .navigationBar').html();
    1417        $('#content .navigationBar').css('display','none');
     
    1720    $scr = $(this).attr('src').replace('thumbnail/TN-', '');
    1821    $href = $(this).parent('a').attr('href');
    19     $title = $(this).attr('title');
    2022    $alt = $(this).attr('alt');
    2123    $(this).parent('a').attr('href', '#content');
    2224    $temp = $href.substr($href.indexOf('/')+1);
    2325    $temp = $temp.substr(0,$temp.indexOf('/'));
    24     $('#jquery_local_img').fadeOut("slow").replaceWith('<div id="jquery_local_img"><img usemap="#picturetop" title="'+$title+'" alt="'+$alt+'" src="'+$scr+'"/><map name="picturetop"><area href="#" coords="0,0,800,300" shape="rect" title="Index"/><area href="'+$href+'" coords="0,300,800,600" shape="rect" title="'+$title+'"/></map><br/>'+$temp+' / - Blahblahblah - Canon Model, or Nikon Model - Speed, iso, keywords... '+ $title +' - <a href="#"><em>Index</em></a></div>').fadeIn("slow");
     26    $title = $('#ix-desc .Thumb-'+$temp).attr('title');
     27    $('#jquery_local_img').fadeOut("slow").replaceWith('<div id="jquery_local_img"><img usemap="#picturetop" title="'+$title+'" alt="'+$alt+'" src="'+$scr+'"/><map name="picturetop"><area href="#" coords="0,0,1024,300" shape="rect" title="Index"/><area href="'+$href+'" coords="0,301,1024,600" shape="rect" title="'+$title+'"/></map><br/>'+ $title +' - <a href="#content"><em>Index</em></a>' + $reltag + '</div>').fadeIn("slow");
    2528  });
    26 
    2729  $('span.wrap2 a img').hover(function() { },function() {
    2830    $(this).parent('a').attr('href', $href);
     
    3032
    3133});
    32 
  • extensions/Juza/script.tpl

    r4453 r4461  
    1515</tr>
    1616</tbody></table>
     17{if isset($thumbnails) }
     18<div id="ix-desc" style="display:none">
     19{foreach from=$thumbnails item=thumbnail}
     20  <div title="{$thumbnail.FILE_DESC|@htmlspecialchars}" class="Thumb-{$thumbnail.ID}" width="{$thumbnail.FILE_WIDTH}" height="{$thumbnail.FILE_HEIGHT}"></div>
     21{/foreach}
     22</div>
     23{/if}
  • extensions/Juza/theme.css

    r4453 r4461  
    1515a { color: #FB9700 !important }
    1616a:hover { color: #ef5810 !important }
    17 
    1817h3 img.icon { display: none !important; }
    1918img.icon[alt="(!)"] { display: none; }
    2019.middle_block h2, h2 { color: #6daa37; font-size:16px; text-align: center; }
     20.middle_block * { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11pt; text-align:left; }
    2121
    22 .middle_block * { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11pt; text-align:left; }
    2322.content div.titrePage ul.categoryActions { display: none; }
    2423.content div.thumbnailCategory div.description { height:155px !important; position:relative; width:100%; z-index:10; top:-155px; }
     
    3837.content ul.thumbnails span.wrap1 { background-color: #000 !important; width: 140px; height: 140px; min-width: 140px; min-height: 140px; max-width: 140px; max-height: 140px; margin:0 2px 2px 0; border: 1px solid #444; }
    3938.content ul.thumbnails span.wrap1 .thumbLegend { display: none !important; }
    40 
     39#relTag { width: 80%; margin: 20px auto; }
     40#relTag * { margin: 3px; text-align: center; }
    4141.content ul.thumbnails span.wrap2 { -moz-border-radius: 0; border-radius: 0; }
    4242.content ul.thumbnails span.wrap2 img.thumbnail { margin:auto; border: 1px solid #111; }
    4343#jquery_local_img { text-align: center; margin-top: 5px; min-height: 1200px; height: 1200px; }
    44 
    45 #menubar dl {border:0 !important;}
    46 #menubar p.totalImages {text-align:left;}
    47 #mbMenu #quicksearch input#qsearchInput {color:#29774a;}
    48 body #the_page #menubar #mbCategories dt img.button {display:none !important;}
    49 #menubar, table.infoTable { display: none; }
     44input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] {
     45  background-color:#D3D3D3 !important; }
     46#thePicturePage .thumbnailCategories * { margin: 5px auto 3px 20px; }
     47form.filter fieldset label textarea { display:block; margin:0.5em auto; color: #ddffdd; }
     48fieldset { margin:1em !important; padding:1em !important; }
     49#imageHeaderBar .browsePath { color: #6DAA37; }
     50#imageToolBar { top:-90px; }
     51#menubar, table.infoTable, #imageHeaderBar  h2,
     52#imageToolBar  .randomButtons img { display: none; }
     53#imageToolBar  .randomButtons img[alt="slideshow"] { display: inline; }
    5054
    5155#copyright { margin-top: 200px; }
Note: See TracChangeset for help on using the changeset viewer.