Grupa: Viesis

UWM FORUMS · PORTFOLIO · VIETŅU TOP
JAUNĀKAIS FORUMĀ · BIEDRU SARAKSTS · INFO MEKLĒTĀJS · IZSEKOTĀS TĒMAS · NOBALSO


Ierakstus pievienot var tikai reģistrējies lietotājs!
  UWM AKTUĀLI: DISKUSIJA: Reputācijas restarts - DISKUSIJA: Steam spēļu izloze - NODERĪGI: "CW sistēma" uCoz modulī
  • Lappuse 1 no 1
  • 1
uWM // FORUMS » uWEBMEISTARS // WEBLAPU PLATFORMAS » PROBLĒMAS & RISINĀJUMI » uCoz » Palīdzat ar slaider izmēriem.
Palīdzat ar slaider izmēriem.
movE
Trešdiena, 19.03.2014, 1:51:32 | Ieraksts #1
PRASTS BIEDRS
Foruma ieraksti: 50

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@movE raksta .. :

Sveicināti UW Biedri.
Man nepieciešams nomainīt slaiderim izmērus uz:
*width= 500
*height= 200

šo slaideri atradu Tepat UW...

Slaidera CSS
Code
div#mm_art {
   background-color:transparent;
}
div.left_article {
   background-color:#FFFFFF;
}

div.r_right_hockey {
   margin:0;
}

div.right_sports {
   font-family:Arial;
   font-size:13px;
   padding:6px 9px 12px 10px;
}
div.right_sports p.txt {
   margin:0;
   padding:0;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
}
a.hockey_contest {
   display:block;
   margin:12px 0 0 42px;
}
a.hockey_contest img {
   border:none;
}

.hockey_slider {
   border-bottom:solid 1px #DDDDDD;
   background-color:#EEEEEE;
   width:980px;
   height:74px;
   overflow:hidden;
}
.hockey_slider .slider_arr {
   display:block;
   float:left;
   margin-top:13px;
   cursor:pointer;
}
.hockey_slider .slider_view {
   width:940px;
   height:74px;
   overflow:hidden;
   position:relative;
   float:left;
   margin-top:10px;
}
.hockey_slider .slider {
   width:940px;
   overflow:hidden;
   position:absolute;
   top:0px;
}
.hockey_slider .slider_box {
   display:block;
   width:223px;
   float:left;
   overflow:hidden;
   padding-left:12px;
   text-align:left;
   text-decoration:none;
}
.slider_box img.image {
   float:left;
   margin-top:2px;
   margin-right:10px;
}
.slider_box span.title {
   font-family:Arial,sans-serif;
   font-size:12px;
   color:#333333;
}
.slider_box span.comm {
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   color:#D5452A;
}

.hockey_countdown {
   height:70px;
   border-bottom:none;
   text-align:left;
   width:288px;
   margin-top:5px;
}

div.container
{
   background-image:none;
}

.hockey_countdown .blue_box {
   float:left;
   height:36px;
   margin:20px 0px 0 0px;
}
.hockey_countdown div#d_day,  
.hockey_countdown div#d_hour,  
.hockey_countdown div#d_min,  
.hockey_countdown div#d_sec,  
.hockey_countdown div#d2_day,  
.hockey_countdown div#d2_hour,  
.hockey_countdown div#d2_min,  
.hockey_countdown div#d2_sec {
   color:#FFFFFF;
   font-family:Arial,sans-serif;
   font-size:26px;
   font-weight:bold;
   margin:0;
   padding:0;
   text-align:center;
}
.hockey_countdown .blue_box p {
   color:#000000;
   font-family:Tahoma,Arial,sans-serif;
   font-size:9px;
   font-weight:normal;
   margin:-4px 0 0 0;
   padding:0 0 2px 0;
   text-align:center;
}
.hockey_countdown h3 {
   font-size:11px;
   margin:3px 0 3px 11px;
   color:#000000;
   font-family:Arial,sans-serif;
}
.hockey_countdown .bbc {

background-image: url('http://img.apollo.lv/images/hockey/spons_cnt.png');
   height:65px;
   width:288px;
   margin:0;
}
.hockey_countdown .bbc_fin {

background-image: url('http://img.apollo.lv/images/hockey/spons_cnt_fin.png');
   height:65px;
   width:288px;
   margin:0;
}
.hockey_countdown .sp_box {
   float:left;
   margin:0;
   padding:0 0 0 0px;
}

.hockey_history {
   font-size:0;
   float:left;
}
.hockey_history img {
   padding:10px 0 0 10px;
   display:none;
   float:left;
}

.hockey_grey_box {
   background-color:#F0F1F4;
   padding:5px 12px 5px 11px;
   margin:2px 0 0 0;
}
.hockey_grey_box center {
   font-size:11px;
   font-family:Tahoma,Arial,sans-serif;
   font-weight:bold;
}
.hockey_grey_box center a {
   color:#000000;
   text-decoration:none;
   margin:5px 0 0 0;
}
.hockey_grey_box center a.active {
   color:#C40000;
}
.hockey_grey_box span.name {
   color:#333333;
   font-size:11px;
   font-family:Tahoma,Arial,sans-serif;
   font-weight:bold;
   text-decoration:none;
}
.hockey_grey_box span.sport {
   color:#A80036;
   font-size:11px;
   font-family:Tahoma,Arial,sans-serif;
   text-decoration:none;
}
.hockey_img {
   height:63px;
}

.hockey_header {
   height:24px;
   background-color:#C40000;
   overflow: hidden;
   width:288px;
   text-align:left;
   margin-left:1px;
   margin-top:10px;
}
.hockey_header h5.title {
   display:block;
   padding:0;
   margin:3px 0 0 10px;
   font-family:Arial,sans-serif;
   font-size:15px;
   font-weight:bold;
   color:#FFFFFF;
   text-transform:uppercase;
}
.hockey_header a.more {
   display:block;
   float:right;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   margin:4px 0 0 0;
   text-decoration:none;
}
.hockey_header a.more img {
   border:0;
   width:4px;
   height:7px;
   margin:0 10px 0 0;
}
.hockey_header a.title {
   color:#FFFFFF;
   text-decoration:none;
}
.hockey_header a.title:hover {
   color:#FFCEC5;
}
.hockey_results {
   overflow: hidden;
   width:288px;
   text-align:left;
   background-color:#FFFFFF;
   margin-left:1px;
}
.hockey_results td {
   background-color:#F0F1F4;
   color:#000000;
   padding:5px 0 6px 0;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   font-weight:bold;
}
.hockey_results td.team {
   padding-left:6px;
}
.hockey_results td.score {
   padding-right:12px;
   color:#C40000;
}
.hockey_results td.blank {
   background-color:#FFFFFF;
   padding:0;
   font-size:0;
}
.hockey_results a.tinfo {
   color:#000000;
   text-decoration:none;
}
.hockey_results a.tinfo:hover {
   text-decoration:underline;
}
.hockey_table {
   overflow: hidden;
   width:288px;
   text-align:left;
   background-color:#FFFFFF;
   margin-left:1px;
   border-bottom:1px solid #CECECE;
}
.hockey_table th {
   background-color:#CFCFCF;
   color:#000000;
   padding:5px 7px 6px 8px;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
}
.hockey_table td {
   background-color:#F0F1F4;
   color:#000000;
   padding:5px 5px 6px 6px;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
}
.hockey_table td.blank {
   background-color:#FFFFFF;
   padding:0;
   font-size:0;
}
.hockey_table th.team,
.hockey_table td.team {
   padding-left:6px;
}
.hockey_table td.nopr {
   padding-right:0;
}
.hockey_table td.nopl {
   padding-left:0;
}
.hockey_table td.noplr {
   padding-right:0;
   padding-left:0;
}
.hockey_table a.tinfo {
   color:#000000;
   text-decoration:none;
}
.hockey_table a.tinfo:hover {
   text-decoration:underline;
}
.hockey_header_wide {
   width:338px;
   margin-bottom:1px;
}
.hockey_table_wide {
   width:338px;
   margin-bottom:10px;
}
.hockey_table_wide th,
.hockey_table_wide td {
   padding-right:9px;
   padding-left:10px;
}

.hockey_tables_links {
   margin-top:15px;
   font-family:Arial,sans-serif;
   font-size:12px;
}
.hockey_tables_links strong {
   color:#C40000;
}
.hockey_tables_links span {
   color:#B0B0B0;
   margin:0 12px 0 12px;
}
.hockey_tables_links a {
   color:#000000;
   text-decoration:underline;
}

.hockey_tables_content {
   margin-top:20px;
}
.hockey_tables_content div.table {
   float:left;
   margin-right:20px;
}
.hockey_tables_content p {
   margin-top:10px;
   font-family:Verdana,Arial,sans-serif;
   font-size:9px;
   color:#939393;
}

.team_flags {
   margin-top:15px;
   width:719px;
}
.team_flags .team {
   float:left;
   padding-top:5px;
   margin-right:8px;
}
.team_flags .team_cur {
   width:46px;
   height:38px;
background-image: url('http://img.apollo.lv/images/hockey/curr_team.gif');  padding-left:5px;
   margin-right:3px;
}

.hockey_dates {
   width:719px;
   overflow:hidden;
   margin-top:20px;
}
.hockey_dates .date {
   float:left;
   width:45px;
   height:65px;
   margin-right:2px;
}
.hockey_dates .dow {
   display:block;
   width:45px;
   padding-top:4px;
   padding-bottom:5px;
   text-align:center;
   background-color:#C40000;
   color:#FFFFFF;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   font-weight:bold;
}
.hockey_dates .dow a {
   color:#FFFFFF;
   text-decoration:none;
}
.hockey_dates .day {
   display:block;
   width:45px;
   padding-top:4px;
   padding-bottom:4px;
   text-align:center;
   background-color:#EAEAEA;
   color:#000000;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
}
.hockey_dates .day a {
   color:#000000;
   text-decoration:none;
}
.hockey_dates .day_c {
   background-color:#000000;
   color:#FFFFFF;
}
.hockey_dates .day_c a {
   color:#FFFFFF;
   text-decoration:none;
}

.hockey_groups {
   width:703px;
   overflow:hidden;
   margin-top:20px;
   padding-bottom:13px;
   border-bottom:1px solid #D1D2D5;
}
.hockey_groups .group {
   float:left;
   margin-right:95px;
}
.hockey_groups .title {
   display:block;
   margin-bottom:6px;
   font-family:Arial,sans-serif;
   font-size:12px;
   font-weight:bold;
   color:#000000;
}
.hockey_groups .team {
   display:block;
   margin-bottom:7px;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   color:#000000;
}
.hockey_groups .team a.tinfo {
   color:#000000;
   text-decoration:none;
}
.hockey_groups .team a.tinfo:hover {
   text-decoration:underline;
}

table.sch {
   width:703px;
   margin-bottom:40px;
}
table.sch td {
   background-color:#F0F1F4;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   color:#000000;
}
table.sch td.blank {
   background-color:#FFFFFF;
   font-size:0;
}
table.sch td.round {
   background-color:#FFFFFF;
   font-family:Arial,sans-serif;
   font-size:15px;
   font-weight:bold;
   color:#C40000;
   text-transform:uppercase;
   padding-top:30px;
}
table.sch td.date {
   background-color:#FFFFFF;
   font-family:Arial,sans-serif;
   font-size:12px;
   font-weight:bold;
   color:#000000;
   padding-top:14px;
   padding-bottom:2px;
}
table.sch td.group {
   background-color:#C40000;
   font-family:Arial,sans-serif;
   font-size:15px;
   font-weight:bold;
   color:#FFFFFF;
   padding:4px 7px 3px 6px;
}
table.sch td.group_i {
   background-color:#F0F1F4;
   font-family:Arial,sans-serif;
   font-size:15px;
   font-weight:bold;
   color:#FFFFFF;
   padding:4px 7px 3px 6px;
}
table.sch td.num {
   padding-left:18px;
   padding-top:6px;
}
table.sch td.time {
   padding-left:16px;
   padding-top:6px;
}
table.sch td.loc {
   padding-left:22px;
   padding-top:6px;
}
table.sch td.score {
   padding-left:30px;
   padding-top:6px;
   font-weight:bold;
   color:#C40000;
}
table.sch td.team {
   padding-left:30px;
   padding-top:6px;
   font-weight:bold;
}
table.sch td.team_a {
   padding-left:50px;
   padding-top:6px;
   font-weight:bold;
}
table.sch td.team_i {
   text-align:right;
}
table.sch td.team a.tinfo {
   color:#000000;
   text-decoration:none;
}
table.sch td.team a.tinfo:hover {
   text-decoration:underline;
}
table.sch td.more {
   padding-right:10px;
   padding-top:5px;
}
table.sch td.more a {
   color:#1F55BF;
   text-decoration:underline;
}

table.fin {
   margin-top:35px;
}
table.fin .box_2,
table.fin .box_3,
table.fin .box_4 {
   margin-top:95px;
}
table.fin .box_5 {
   margin-top:85px;
}
table.fin .box_6 {
   margin-top:265px;
}
table.fin .box_7 {
   padding-top:201px;
   margin-left:16px;
}
table.fin .box_8 {
   margin-top:238px;
}
table.fin span.txt {
   display:block;
   color:#C40000;
   font-family:Arial,sans-serif;
   font-size:13px;
   font-weight:bold;
   margin-bottom:5px;
}
table.fin .img_1 {
   margin-top:39px;
}
table.fin .img_2 {
   margin-top:168px;
}
table.fin .img_3 {
   width:194px;
   height:343px;
background-image: url('http://img.apollo.lv/images/hockey/finals_img_big.gif');  margin-top:123px;
}
table.fin_box .num {
   display:block;
   background-color:#C40000;
   color:#FFFFFF;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   padding:3px 5px 4px 4px;
}
table.fin_box .date {
   display:block;
   background-color:#000000;
   color:#FFFFFF;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   padding:3px 0 4px 7px;
}
table.fin_box .time {
   display:block;
   background-color:#000000;
   color:#FFFFFF;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   padding:3px 7px 4px 4px;
}
table.fin_box td.team_a {
   border-top:1px solid #C2C3C5;
   border-left:1px solid #C2C3C5;
   background-color:#F0F1F4;
   color:#000000;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   font-weight:bold;
   padding:7px 0 7px 7px;
}
table.fin_box td.team_b {
   border-bottom:1px solid #C2C3C5;
   border-left:1px solid #C2C3C5;
   background-color:#F0F1F4;
   color:#000000;
   font-family:Tahoma,Arial,sans-serif;
   font-size:11px;
   font-weight:bold;
   padding:6px 0 7px 7px;
}
table.fin_box td.team_a a,
table.fin_box td.team_b a {
   color:#000000;
   text-decoration:none;
}
table.fin_box td.team_a a:hover,
table.fin_box td.team_b a:hover {
   text-decoration:underline;
}
table.fin_box td.score {
   background-color:#C40000;
   color:#FFFFFF;
   font-family:Arial,sans-serif;
   font-size:15px;
   font-weight:bold;
   padding:0;
}

img.flag {
background-image: url('http://img.apollo.lv/images/hockey/karogi2012.gif');  background-repeat: no-repeat;
   margin-right:10px;
   vertical-align:-2px;
}
img.flagr {
   margin-right:14px;
}
img.flagl {
   margin-left:14px;
}
img.flagb {
   margin-right:0;
}
.rus { background-position:0px 0px;width:18px;height:12px; }
.can { background-position:-100px 0px;width:18px;height:12px; }
.swe { background-position:-200px 0px;width:18px;height:12px; }
.fin { background-position:-300px 0px;width:18px;height:12px; }
.blr { background-position:0px -100px;width:18px;height:12px; }
.che { background-position:-100px -100px;width:18px;height:12px; }
.cze { background-position:-200px -100px;width:18px;height:12px; }
.usa { background-position:-300px -100px;width:18px;height:12px; }
.svk { background-position:0px -200px;width:18px;height:12px; }
.lva { background-position:-100px -200px;width:18px;height:12px; }
.nor { background-position:-200px -200px;width:18px;height:12px; }
.deu { background-position:-300px -200px;width:18px;height:12px; }
.kaz { background-position:0px -300px;width:18px;height:12px; }
.ita { background-position:-100px -300px;width:23px;height:12px; }
.fra { background-position:-200px -300px;width:18px;height:12px; }
.dnk { background-position:-300px -300px;width:18px;height:12px; }
.rus_big { background-position:0px -400px;width:36px;height:21px; }
.can_big { background-position:-100px -400px;width:36px;height:21px; }
.swe_big { background-position:-200px -400px;width:36px;height:21px; }
.fin_big { background-position:-300px -400px;width:36px;height:21px; }
.blr_big { background-position:0px -500px;width:36px;height:21px; }
.che_big { background-position:-100px -500px;width:36px;height:21px; }
.cze_big { background-position:-200px -500px;width:36px;height:21px; }
.usa_big { background-position:-300px -500px;width:36px;height:21px; }
.svk_big { background-position:0px -600px;width:36px;height:21px; }
.lva_big { background-position:-100px -600px;width:36px;height:21px; }
.nor_big { background-position:-200px -600px;width:36px;height:21px; }
.deu_big { background-position:-300px -600px;width:36px;height:21px; }
.kaz_big { background-position:0px -700px;width:32px;height:21px; }
.ita_big { background-position:-100px -700px;width:42px;height:21px; }
.fra_big { background-position:-200px -700px;width:36px;height:21px; }
.dnk_big { background-position:-300px -700px;width:36px;height:21px; }


JavaScript un Slaidera kods pielikumā ja nepieciešams.
Pielikumi: slider1.js (1.6 Kb) · slider2.js (2.6 Kb) · slider.txt (12.1 Kb)




JackDaniel
Trešdiena, 19.03.2014, 5:34:04 | Ieraksts #2
FORUMA APSARGS
Foruma ieraksti: 637

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:


@JackDaniel raksta .. :

Tu tām visām bildēm gribi pacelt izmērus?

Paraksta nav

movE
Trešdiena, 19.03.2014, 6:30:49 | Ieraksts #3
PRASTS BIEDRS
Foruma ieraksti: 50

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@movE raksta .. :

Man nepieciešams nomainīt paša slaidera izmērus... BIldēm un tam visam esmu jau atradis.

Ieliekot Slaideri man uzreiz pazūd Bloki...

Screen:
Pielikumi: 8284648.png (253.1 Kb)




Korijs
Ceturtdiena, 20.03.2014, 1:32:32 | Ieraksts #4
FORUMA DIKTATORS
Foruma ieraksti: 5047

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:


@Korijs raksta .. :

parādi saiti uz to materiālu no kurienes viņu izraki @ UW, un piemēram - aiz kādiem kodiem tad liec to slaideri? vispār izskatās, ka viņš Tev ārpus rāmjiem tiek izvietots pēc Tava ekrānuzņēmuma ..

Proti uzvesties, pateikt paldies un paaugstināt reputāciju tiem, kuri ir to nopelnījuši, palīdzēt tiem, kuriem ir nepieciešama palīdzība, papildināt forumu ar lietderīgām tēmām, līdz ar ko Tu šeit būsi respektabls biedrs! Pretēji tam, ja izteikts stulbums, nekaunība un neadekvāta uzvedība spraucas pāri katrai smadzeņu rievai, ja tāda ir - lūgtum, tiksi nahrenizēts! - Biedrs mācās no biedra / UWM

movE
Ceturtdiena, 20.03.2014, 2:33:19 | Ieraksts #5
PRASTS BIEDRS
Foruma ieraksti: 50

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@movE raksta .. :

Korijs, http://ucozwebmeistars.ucoz.lv/forum/18-3010-1

Respektīvi kodu ieliku vietā kurā vēlos redzēt slaideri...

Code
<link href="/style/slider.css" rel="StyleSheet" type="text/css" title="Default style" />
<script type="text/javascript" src="/style/slider1.js"></script>
<script type="text/javascript" src="/style/slider2.js"></script>

<div class="hockey_slider" onmouseover="newsSlider.timerStop();" onmouseout="newsSlider.timerStart()">
    <a id="gal_link_prev" class="slider_arr" href="" onclick="return sliderPrev(0);"><img src="http://static.apollo.lv//images/v5/slider_prev.gif" width="19" height="48" alt="Atpakaļ" border="0" id="img_gallery_prev" /></a>
    <div class="slider_view"><div class="slider" id="slider1" style="left:0px;">

<a class="slider_box" href="http://hhradio.lv/count/masts-mans-cels" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd238_1.jpg" width="50" height="50" alt="http://hhradio.lv/count/masts-mans-cels" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Masts- Mans ceļš</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

   <a class="slider_box" href="http://download2102.mediafire.com/rf4xvaa7darg/rlbfgswff8pin8f/dekadansis2.zip" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd267_1.jpg" width="50" height="50" alt="http://download2102.mediafire.com/rf4xvaa7darg/rlbfgswff8pin8f/dekadansis2.zip" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">ansis - Dekadansis vol. 2</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://download1738.mediafire.com/m3g4fblticpg/2t85yeb4mjq7azx/dekadansis1.zip" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd265_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">ansis - Dekadansis</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   
     
   </div>   
<div class="slider" id="slider2" style="left:940px;">   

<a class="slider_box" href="http://failiem.lv/down.php?i=hluczbj&n=Punkts_uz_I___Modin%C4%81t%C4%81js_2013_.rar" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd264_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Punkts uz I - Modinātājs</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/mm-vol-3" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd258_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">MM Vol. 3</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://failiem.lv/down.php?i=dlhurzb&n=Melikols___Ar_sirdi_rind%C4%81s__EP_.rar" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd259_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Melikols - Ar sirdi rindās</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

</div>   
<div class="slider" id="slider3" style="left:1880px;">   

<a class="slider_box" href="http://edavardi.lv/?download=Es%20Esmu%20Seit%20MIXTEPE" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd252_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Edavārdi - miksteips "Es Esmu Šeit"</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/pionieris-rip-12-12-12" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd249_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Pionieris - R.I.P. (12.12.12.) </span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/kosmo-kosmosa-mixtape" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd239_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Kosmo - Kosmosā (mixtape) </span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

</div>   
<div class="slider" id="slider4" style="left:2820px;">   

<a class="slider_box" href="http://hhradio.lv/count/dzoginga-blivs-malienas-stils-2012" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd229_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Džoginga Blīvs - Malienas stils</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/tomss-kas-ir-hip-hops" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd225_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Tomss - Kas ir hip hops?</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://failiem.lv/down.php?i=twvdoov&n=Pionieris_-_11.11.11_Vientul%C4%ABba.zip" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd175_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Pionieris - Vientulība</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

</div>   
<div class="slider" id="slider5" style="left:3760px;">   

<a class="slider_box" href="ttp://hhradio.lv/file/rar/Mazais_Zalais_-_13.rar" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd164_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Mazais Zaļais - 13</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/AKE_-_Vards" title="Lejuplādēt">   
   <img src="/images/no_image.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">AKE - Vārds EP</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/hhradio-izlase-vol-2" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd155_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">HHRADIO.LV izlase vol.2</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

</div>   
<div class="slider" id="slider6" style="left:4700px;">   

<a class="slider_box" href="http://hhradio.lv/count/brorecords-pazaudetie-austrumi" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd122_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Bro Records - miksteips Pazaudētie Austrumi</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/bro-records-pirms" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd125_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Bro Records - izlase "Pirms..." (2005-2010) </span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

<a class="slider_box" href="http://hhradio.lv/count/morala-inde" title="Lejuplādēt">   
   <img src="http://hhradio.lv/img/cd/cd90_1.jpg" width="50" height="50" alt="Lejuplādēt" title="Lejuplādēt" border="0" class="image" />   
   <span class="title">Arčijs - Morālā Inde</span><img src="http://static.apollo.lv/images/v5/1px.gif" width="3" height="1" border="0" alt="" />   
</a>   

</div>
</div>
    <a id="gal_link_next" class="slider_arr" href="" onclick="return sliderNext(0);"><img src="http://static.apollo.lv//images/v5/slider_next.gif" width="19" height="48" alt="Tālāk" border="0" id="img_gallery_next" /></a>
</div>

<script type="text/javascript">
<!--<![CDATA[
/*   

<---------------Slider Class--------------->
         
*/

var sliderClass = function (d) {
     
   this.sliders = [];
   this.count = 0;
   this.timeout = 7000;
   this.moveInterval = 300;
   this.moveSteps = 10;
   this.stoped = false;
   this.nextSlideTimer = false;
     
   this.par={
    distance:980,
    elementCount:5
   }
     
   _sval(this.par,d);   
     
   for (a=1; a<(this.par.elementCount+1); a++) {
    this.import_data("slider" + a);
   }
     
   p = this;
   //this.moveDo(0);   
   this.display();
   this.nextSlideTimer = setTimeout(function () {p.autoslide()}, this.timeout);

}

sliderClass.prototype.timerStop = function () {

    this.stoped = true;
   clearTimeout(this.nextSlideTimer);

}

sliderClass.prototype.timerStart = function () {

   this.stoped = false;
   this.nextSlideTimer = setTimeout(function () {p.autoslide()}, this.timeout);

}

sliderClass.prototype.import_data = function (id) {

     this.count = this.sliders.push (_(id));
     _(id).style.left = (this.count * this.par.distance) + "px";

}

sliderClass.prototype.autoslide = function() {
     
   if (!this.stoped) {
    this.move(0);
     this.nextSlideTimer = setTimeout(function () {p.autoslide()}, this.timeout);
    }
}

sliderClass.prototype.circleObjectsLeft= function() {
   var order = [];
     
   for (a in this.sliders) {
    if (typeof(this.sliders[a])!='function') {      
      if (a!=0) order.push(this.sliders[a]);    
     }
   }
     
   order.push(this.sliders[0]);
   this.sliders = order;
     
}

sliderClass.prototype.circleObjectsRight= function() {
     
    var order = [];
      
    order.push(this.sliders[this.sliders.length-1]);
     
   for (a in this.sliders) {      
    if (typeof(this.sliders[a])!='function') {   
      if (a!=(this.sliders.length-1)) order.push(this.sliders[a]);    
    }
   }
     
   this.sliders = order;
     
}

sliderClass.prototype.move= function(to) {
   if (!this.moving) {
     this.moving = true;
       
    if (typeof(to)=='undefined') {
     to = 0;
    }
      
    if (to) {
     this.circleObjectsRight();     
     this.moveDo(0);
    } else {
     this.circleObjectsLeft();
     this.moveDo(1);
    }   
   }
}

sliderClass.prototype.display = function () {

   moveStartLeft = -1 * this.par.distance;
     
   for (a in this.sliders) {
     if (typeof(this.sliders[a])!='function') {
       a = Number(a);
        this.sliders[a].style.left = (moveStartLeft + (a*this.par.distance)) + "px";    
     }
    }    

}

sliderClass.prototype.moveDo= function(to, moved) {

   if (typeof(moved)=='undefined') {
    moved = 0;
   }
     
   moved++;
     
   moveStartLeft = -1 * this.par.distance;
     
   //if move left
   if (to == 1) {
     
    moveStartLeft = moveStartLeft + this.par.distance;
    movePosition = -1;
     
   //if move right
   } else {
     
     moveStartLeft = moveStartLeft - this.par.distance;
    movePosition = 1;
   }
     

   for (a in this.sliders) {
     if (typeof(this.sliders[a])!='function') {
       a = Number(a);
         
       if (moved<this.moveSteps) {
         this.sliders[a].style.left = (moveStartLeft + (a*this.par.distance) +  ((this.par.distance/this.moveSteps) * moved * movePosition)) + "px";
     } else {
        this.sliders[a].style.left = (moveStartLeft + (a*this.par.distance) +  (this.par.distance*movePosition)) + "px";
     }
       
     }
    }      
     
   p = this;
     
   if (moved >= this.moveSteps) {
    this.moving = false;
   } else {
     setTimeout(function () {p.moveDo(to, moved)},Math.round(this.moveInterval / this.moveSteps));    
   };

}

/*   

>---------------Slider Class---------------<
         
*/

var newsSlider = new sliderClass({distance:940,elementCount:6});

sliderNext = function () {
   newsSlider.move(0);
     
   return false;   
}

sliderPrev = function () {
   newsSlider.move(1);
     
   return false;   
}

//]]>-->
</script>


Iepriekš man tur stāvēja INFORMERI, bet tad nekas nerāvos nost vai neaizgāja kā nevajag :D




uWM // FORUMS » uWEBMEISTARS // WEBLAPU PLATFORMAS » PROBLĒMAS & RISINĀJUMI » uCoz » Palīdzat ar slaider izmēriem.
  • Lappuse 1 no 1
  • 1
Meklēšana:

UWM apmeklēja:

RESPEKTABLĀKIE PORTĀLA FORUMA KLAVIATŪRISTI :
Foruma viszinis
Korijs
UWM karma: 380
Foruma atkarīgais
wuxmachine
UWM karma: 157
Foruma atkarīgais
Robiits
UWM karma: 87
Foruma šamanis
0wn3r
UWM karma: 80
Foruma atkarīgais
H[o_0]LiGaN
UWM karma: 78
Foruma atkarīgais
Spanky
UWM karma: 76
Foruma viszinis
Ar4ssS
UWM karma: 74
Foruma atkarīgais
Profth3tic
UWM karma: 55
Foruma atkarīgais
emciits
UWM karma: 52
Foruma atkarīgais
JackDaniel
UWM karma: 51
Foruma atkarīgais
Antikrists
UWM karma: 51
Foruma atkarīgais
Ken_D
UWM karma: 50
Ielāde...