• Lappuse 1 no 1
  • 1
Forums » Administrācija » Administrācijas forums » HK slaiders
HK slaiders
FisherLVDatums: Piektdiena, 25 Februārī 2011, 06:32 | Ziņojums # 1
Projekta autors
Grupa: Administratori
Ziņu: 33
Balvas: 0
Reputācija: 0
1) šo ievietojam tur, kur jāizvada slaiders :

Code
<table width="100%" align="center" style="padding:0px;">
<tr><td>
$GLOBAL_REZULTATI$
</td>
</tr>
</table>

2) Šis kods atrodas augstākminētajā globālajā blokā :

Code
<style>
#games {
background:url();
width:975px;
height:70px;
margin:1px;
padding:0px 0 0 20px;
}
#games .prev {
background:url(http://hokejs.ucoz.com/js/slaiders/prev.png) no-repeat;
display:block;
width:25px;
height:70px;
float:left;
cursor:pointer;
margin-right:12px;
}

#games .next {
background:url(http://hokejs.ucoz.com/js/slaiders/next.png) no-repeat;
width:25px;
height:70px;
margin-left:12px;
float:right;
cursor:pointer;
}
#games .prev:hover, #games .next:hover {
background-position:-25px 0;
}

#games .scrollable {
width:875px;
height:70px;
position:relative;
overflow:hidden;
float:left;
margin:0px;
padding:0px;
}

#games .scrollable .items {
  width:100000px;
position:relative;
clear:both;
}

#games .scrollable .items div {
background:url(http://hokejs.ucoz.com/js/slaiders/gameBg.png) no-repeat;
width:165px;
height:70px;
float:left;
margin-right:12px;
}

#games table {
width:125px;
border:none;
margin:5px 0 0 22px;
}

#games tr, #games td {
border:none;
}

#games .result {
font-size:16px;
color:#DC1D2C;
font-weight:bold;
}

#games .result td {
padding-right:5px;
}
#games .tips {
border:solid 0px;
}

#games .vs {
padding-right:3px;
}

#games .small {
font-size:9px;
}
.clearfloat {  
clear:both;
height:0;
font-size:1px;
line-height:0px;
}

</style>

<script type="text/javascript" src="http://hokejs.ucoz.com/js/slaiders/scroller.js"></script>

<table align="center"><tr><td>
<div id="games" align="center">

<a class="prev"></a>

<div class="scrollable">
<div class="items">

$MYINF_4$

</div>
</div>

<a class="next"></a>

</div> <!-- games -->

<script type="text/javascript">
jQuery.noConflict();
jQuery("div.scrollable").scrollable({  
size: 6,
clickable: false
});
</script>  

</div>
</td></tr></table>

3) šis ir augstākminētā informera kods :

Code
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="2" style="padding-right:23px;">
  <tr>
  <td><a href="javascript://" onclick="new _uWnd('Komandas','KHL komandas ',250,200,{autosize:1},{url:'/js/slaiders/komnos.htm',xml:false});return false;"><img src="http://hokejs.ucoz.com/js/slaiders/komikonas/$OTHER1$.jpg" alt="" title="$OTHER1$" class="tips" border="0"/></a></td>
  <td class="vs" style="padding-top:0px;" align="center"><a href="$OTHER5$"><img src="http://hokejs.ucoz.com/js/slaiders/raksts.gif" alt="" title="Raksts" border="0"/></a>
<a href="javascript://" rel="nofollow" onclick="new _uWnd('wndprv',' ',10,10,{popup:1,modal:1,waitimages:300000,autosizewidth:1,hideonresize:1,autosize:1,fadetype:1,align:'center',minh:100,minw:300,min:0,max:0 ,resize:1,footerh:40,onclose:function(){uSlideShowStop71(1);},footerc:' '},{url:'/photo/4-0-155-20'});return false;"><img src="http://hokejs.ucoz.com/js/slaiders/foto.gif" alt="" title="Galerija" border="0"/></a></td>
  <td><a href="javascript://" onclick="new _uWnd('Komandas','KHL komandas ',250,200,{autosize:1},{url:'/js/slaiders/komnos.htm',xml:false});return false;"><img src="http://hokejs.ucoz.com/js/slaiders/komikonas/$OTHER3$.jpg" alt="" title="$OTHER3$" class="tips" border="0"/></a></td>
  </tr>
  <tr class="result" align="center" onclick="window.open('http://hokejs.ucoz.com')">
  <td><img src="http://hokejs.ucoz.com/js/slaiders/cipari/$OTHER2$.png" alt="" title="$OTHER2$" border="0" width="20" style="background:transparent;"/></td>
  <td></td>
  <td><img src="http://hokejs.ucoz.com/js/slaiders/cipari/$OTHER4$.png" alt="" title="$OTHER4$" border="0" width="20"/></td>
  </tr>
<script type="text/javascript">
document.write(unescape(' %3C%74%72%20%63%6C%61%73%73%3D%22%72%65%73%75%6C%74%22%20%61%6C%69%67%6E%3D%22%63%65%6E%74%65%72%22%20%6F%6E%63%6C%69%63%6B%3D%22%77%69%6E%6 4%6F%77%2E%6F%70%65%6E%28%27%68%74%74%70%3A%2F%2F%68%6F%6B%65%6A%73%2E%75%63%6F%7A%2E%63%6F%6D%27%29%22%3E%0A%3C%74%64%3E%3C%2F%74%64%3E%3C% 2F%74%72%3E '));
</script>  
</table>
</div>

Rezultātu pievienošanai izmantots modulis STUFF.

 
Forums » Administrācija » Administrācijas forums » HK slaiders
  • Lappuse 1 no 1
  • 1
Meklēšana: