Lappuse 1 no 11
Forums » uCoz sistēma » Vizuālie skripti » Video izskats
Video izskats
emciits
Datums: Sestdiena, 23.11.2013, 03:18 | Ziņa # 1
Grupa: Lietotājs
Foruma posti: 63
Reputācija: 1
CP > CUSTOM DESIGN > VIDEO > APPEARANCE OF ENTRIES:

Code
<div id="entryID$ID$"><div style="text-align:center;">  
  <div class="videoarticle" id="expected$ID$">  
  <div id="article$ID$" class="videoarticleimg">  
  <div id="articleinfo$ID$" class="videoaticleinfo">  
  <a href="$PROFILE_URL$" class="ve-author"style="font-weight:bold; color:#ffffff; font-size:12px;">$USERNAME$</a>  
  <span style="float:right;">$DATE$</span>  
  <div style="padding-top:2px;">Skatīts: $VI_READS$<span style="float:right;">Komentāri: $COMMENTS_NUM$</span></div>  
  </div>  
  <a href="$ENTRY_URL$"><img src="$SCREEN_URL$" width="230px" alt=""/></a>  
  </div>  
  <div style="padding-top:5px;"><b><?if(len($TITLE$)>22)?><?substr($TITLE$,0,20)?>...<?else?>$TITLE$<?endif?></b></div>  
  <div class="articlecat">Kategorija: <a href="$CATEGORY_URL$">$CATEGORY_NAME$</a></div>  
  </div>  
  <script type="text/javascript">  
  $('#article$ID$').hover(function() {  
  $('#articleinfo$ID$').stop().animate({bottom:0},200);  
  },function() {  
  $('#articleinfo$ID$').stop().animate({bottom:-39},200);  
  });  
  </script>  
  </div></div>


Liekam modulja Video CSS:
Code
.expected {border-bottom:1px dashed #dfdfdf; padding-bottom:10px; margin-bottom:3px;}  
  a.aticlename:hover {text-decoration:underline; color:#2DC5EB;}  
  div.articlecat {color:#afafaf !important; padding:0px 0px 5px 0px;}  
  div.articlecat a {color:#afafaf !important;}  
  div.articlecat a:hover {color:#aeaeae !important; text-decoration:underline !important;}  
  .expected div.descrsep {border-bottom:1px dotted #eaeaea; padding:3px 0px 4px 0px;}  
  #expected5 {border-bottom:none; padding-bottom:none;}  
  .videoarticle {text-align:left; margin:5px 0px; display:inline-block;}  
  .videoarticleimg {position:relative; height:173px; overflow:hidden; width:230px;}  
  .videoaticleinfo {position:absolute; background:url('/videoprevbg.png'); width:216px; color:#ffffff; padding:4px 7px 5px 7px; bottom:-39px;}


viens attēls ir pielikumā!

Screen:



Pielikumi: 4926575.png(1Kb) · 7962793.png(156Kb)
Forums » uCoz sistēma » Vizuālie skripti » Video izskats
Lappuse 1 no 11
Meklēšana: