Changeset 4461
- Timestamp:
- Dec 9, 2009, 11:28:39 PM (14 years ago)
- Location:
- extensions/Juza
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Juza/js/juzascript.js
r4453 r4461 10 10 /* $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums</a>'); */ 11 11 }); 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>'); 13 16 $temp = $('#content .navigationBar').html(); 14 17 $('#content .navigationBar').css('display','none'); … … 17 20 $scr = $(this).attr('src').replace('thumbnail/TN-', ''); 18 21 $href = $(this).parent('a').attr('href'); 19 $title = $(this).attr('title');20 22 $alt = $(this).attr('alt'); 21 23 $(this).parent('a').attr('href', '#content'); 22 24 $temp = $href.substr($href.indexOf('/')+1); 23 25 $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"); 25 28 }); 26 27 29 $('span.wrap2 a img').hover(function() { },function() { 28 30 $(this).parent('a').attr('href', $href); … … 30 32 31 33 }); 32 -
extensions/Juza/script.tpl
r4453 r4461 15 15 </tr> 16 16 </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 15 15 a { color: #FB9700 !important } 16 16 a:hover { color: #ef5810 !important } 17 18 17 h3 img.icon { display: none !important; } 19 18 img.icon[alt="(!)"] { display: none; } 20 19 .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; } 21 21 22 .middle_block * { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11pt; text-align:left; }23 22 .content div.titrePage ul.categoryActions { display: none; } 24 23 .content div.thumbnailCategory div.description { height:155px !important; position:relative; width:100%; z-index:10; top:-155px; } … … 38 37 .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; } 39 38 .content ul.thumbnails span.wrap1 .thumbLegend { display: none !important; } 40 39 #relTag { width: 80%; margin: 20px auto; } 40 #relTag * { margin: 3px; text-align: center; } 41 41 .content ul.thumbnails span.wrap2 { -moz-border-radius: 0; border-radius: 0; } 42 42 .content ul.thumbnails span.wrap2 img.thumbnail { margin:auto; border: 1px solid #111; } 43 43 #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; } 44 input[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; } 47 form.filter fieldset label textarea { display:block; margin:0.5em auto; color: #ddffdd; } 48 fieldset { 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; } 50 54 51 55 #copyright { margin-top: 200px; }
Note: See TracChangeset
for help on using the changeset viewer.