- Timestamp:
- Aug 8, 2010, 3:36:21 AM (14 years ago)
- Location:
- shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
shared/css/common.css
r169 r170 570 570 \**********************************************************************/ 571 571 572 #img-license-tag { 573 position: absolute; 574 background-color: rgba(0,0,0, 0.5); 575 color: white; 576 } 577 578 #img-license-tag p { 579 margin: 0; 580 padding: 1em; 581 text-align: center; 582 } 583 584 #img-license-tag:hover { 585 display: block; 586 background-color: black; 587 } 588 589 #img-license-tag a:link, #img-license-tag a:visited { 590 color: #eee; 591 } 592 593 #img-license-tag a:hover, #img-license-tag a:active { 594 color: white; 595 } 596 572 597 .image-copyright-box { 573 598 position: absolute; -
shared/js/licensing.js
r169 r170 147 147 } 148 148 149 $(t29_copyright_box_init); 149 //$(t29_copyright_box_init); 150 151 152 $(function(){ 153 $("body").append('<div id="img-license-tag"><p>© technikum29. <a href="/de/impressum.shtm">Lizenzbestimmungen</a></p></div>'); 154 var tag = $("#img-license-tag"); 155 $("img").not(".no-copyright").hover(function(){ 156 tag.css({ 157 left: $(this).offset().left, 158 top: $(this).offset().top + $(this).height(), 159 width: $(this).width(), 160 display: "block" 161 }); 162 tag.css("margin-top", -tag.height()); // erst in zweitem schritt 163 }, function(){ tag.hide(); }); 164 tag.hover(function(){ $(this).show(); }, function(){ $(this).hide(); }); 165 });
Note: See TracChangeset
for help on using the changeset viewer.