Beautiful Slider for ucoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Sliders for uCoz websites » Beautiful Slider for ucoz (Красивый cлайдер для ucoz)
Beautiful Slider for ucoz
AdiDate: Thursday, 2012-07-19, 7:36 PM | Message # 1
Group: Member
Messages: 179
3


Installation:
Create a Informer For any parameters.
In the template informer paste this code:


Code
<li>    
<a href="$ENTRY_URL$">    
<img width="90" height="60" src="$IMG_SMALL_URL1$" class="attachment-90x60 wp-post-image" alt="$ENTRY_NAME$" title="$ENTRY_NAME$" /></a></li>    
<div style="display: none">by ilyafridinskii</div>


This code put were will be a slider:

Code

<script type="text/javascript" src='http://www.nickelodeon.ru/wp-content/themes/MTV-RU/carousel.js'></script>    
<script type="text/javascript">    
    iScroll = 9; //number of visible and scroll elements    
    function checkButtons()    
    {    
    var vleft = jQuery("#slidermenu ul").css('left');    
    var vwidth = jQuery("#slidermenu ul li:first").outerWidth( true );    
    var vcount = jQuery("#slidermenu ul li").size();    
    var vcount = vcount * vwidth - (iScroll*vwidth);    
       
    var vvalue = '-'+vcount+'px';    
       
    jQuery(".bnext").removeClass('bdisabled');    
    jQuery(".bprev").removeClass('bdisabled');    
       
       
    if(vleft == '0px')    
    {    
    jQuery(".bprev").addClass('bdisabled');    
    return;    
    }    
    else if(vleft == vvalue)    
    {    
    jQuery(".bnext").addClass('bdisabled');    
    return;    
    }    
    }    
    //jCarousel    
    jQuery(function() {    
    jQuery("#slidermenu").jCarouselLite({    
    btnNext: ".bnext",    
    btnPrev: ".bprev",    
    visible: iScroll,    
    scroll: iScroll,    
    circular: 0,    
    speed: 1000,    
    easing: "easein",    
    afterEnd: function(a) {    
    checkButtons();    
    }    
    });    
    checkButtons();    
       
       
    //overlay to login buttons    
    jQuery('#buttonsOverlayClick, .overlayButtons').hover(function(){    
    var vis = jQuery('.overlayButtons').css('visibility');    

    if( vis == 'hidden' )    
    jQuery('.overlayButtons').css('visibility', 'visible');    
    else    
    jQuery('.overlayButtons').css('visibility', 'hidden');    

    })    
});    
</script>    
<div id="sliderwrap">    
<div id="slidermenu">    
    <div class="p"><a class="bprev" href="#"><span>Предыдущий шаг </span></a></div>    
    <div class="n"><a class="bnext" href="#"><span>Закат</span></a></div>    
    <div class="cliped">    
    <ul>    
$MYINF_2$    

    </ul>    
    <br class="clear" />    
    </div>    
</div>    
</div>    
<script language="JavaScript">    
    if(jQuery.browser.msie && jQuery.browser.version=="6.0") {jQuery("#main").addClass("mainIE6");}    
</script>    

    <a id="rpxnowLink" style="display: none" onclick="return false;" href="https://connect.nickelodeon.ru/openid/v2/signin?token_url=http%3A%2F%2Fvn.nickelodeon.ru%2Frpx" class="rpxnow"></a>    
    <script type="text/javascript" src="http://static.rpxnow.com/js/lib/rpx.js"></script>    
    <script type="text/javascript">    
    RPXNOW.overlay = true;    
    RPXNOW.language_preference = 'ru';    
    </script>    
<style>    
/* slidermenu */    
#slidermenu { position: relative; margin-bottom: 6px; margin-top: 8px; width: 100% !important; overflow: hidden; }    
#slidermenu .cliped { width: 873px; height: 60px; margin-left: 27px; overflow: hidden; }    

#slidermenu .p, #slidermenu .n { position: absolute; top: 0; width: 27px; height: 60px; z-index: 10 }    
#slidermenu .p { left: 0; }    
#slidermenu .n { right: 0; }    
#slidermenu .p a, #slidermenu .n a { display: block; width: 27px; height: 60px; background: #fff url(http://www.nickelodeon.ru/wp-content/themes/MTV-RU/images/icon-slider-1.png) no-repeat; }    
#slidermenu .p span, #slidermenu .n span { display: none; }    
#slidermenu .n a { background-position: right top; }    
#slidermenu .n a.bdisabled { background-position: right bottom; }    
#slidermenu .p a { background-position: left top; }    
#slidermenu .p a.bdisabled { background-position: left bottom; }    
/*#slidermenu .n a:hover { background-position: right top; }    
#slidermenu .p a:hover { background-position: left top; }*/    

#slidermenu ul { display: block; position: relative; left: -98px; height: 60px; width:9999px; }    
#slidermenu ul li { display: inline; float: left; margin-right: 8px; width: 90px; }    
/* /slidermenu */    

#sliderwrap { margin: 0; padding: 8px 8px 2px 8px; background: #fff; }    
#sliderwrap #slidermenu { margin-top: 0; }    
#sliderwrap { margin: 0; padding: 8px 8px 2px 8px; background: #fff; }    
#sliderwrap #slidermenu { margin-top: 0; }    
</style>


 
Message


Installation:
Create a Informer For any parameters.
In the template informer paste this code:


Code
<li>    
<a href="$ENTRY_URL$">    
<img width="90" height="60" src="$IMG_SMALL_URL1$" class="attachment-90x60 wp-post-image" alt="$ENTRY_NAME$" title="$ENTRY_NAME$" /></a></li>    
<div style="display: none">by ilyafridinskii</div>


This code put were will be a slider:

Code

<script type="text/javascript" src='http://www.nickelodeon.ru/wp-content/themes/MTV-RU/carousel.js'></script>    
<script type="text/javascript">    
    iScroll = 9; //number of visible and scroll elements    
    function checkButtons()    
    {    
    var vleft = jQuery("#slidermenu ul").css('left');    
    var vwidth = jQuery("#slidermenu ul li:first").outerWidth( true );    
    var vcount = jQuery("#slidermenu ul li").size();    
    var vcount = vcount * vwidth - (iScroll*vwidth);    
       
    var vvalue = '-'+vcount+'px';    
       
    jQuery(".bnext").removeClass('bdisabled');    
    jQuery(".bprev").removeClass('bdisabled');    
       
       
    if(vleft == '0px')    
    {    
    jQuery(".bprev").addClass('bdisabled');    
    return;    
    }    
    else if(vleft == vvalue)    
    {    
    jQuery(".bnext").addClass('bdisabled');    
    return;    
    }    
    }    
    //jCarousel    
    jQuery(function() {    
    jQuery("#slidermenu").jCarouselLite({    
    btnNext: ".bnext",    
    btnPrev: ".bprev",    
    visible: iScroll,    
    scroll: iScroll,    
    circular: 0,    
    speed: 1000,    
    easing: "easein",    
    afterEnd: function(a) {    
    checkButtons();    
    }    
    });    
    checkButtons();    
       
       
    //overlay to login buttons    
    jQuery('#buttonsOverlayClick, .overlayButtons').hover(function(){    
    var vis = jQuery('.overlayButtons').css('visibility');    

    if( vis == 'hidden' )    
    jQuery('.overlayButtons').css('visibility', 'visible');    
    else    
    jQuery('.overlayButtons').css('visibility', 'hidden');    

    })    
});    
</script>    
<div id="sliderwrap">    
<div id="slidermenu">    
    <div class="p"><a class="bprev" href="#"><span>Предыдущий шаг </span></a></div>    
    <div class="n"><a class="bnext" href="#"><span>Закат</span></a></div>    
    <div class="cliped">    
    <ul>    
$MYINF_2$    

    </ul>    
    <br class="clear" />    
    </div>    
</div>    
</div>    
<script language="JavaScript">    
    if(jQuery.browser.msie && jQuery.browser.version=="6.0") {jQuery("#main").addClass("mainIE6");}    
</script>    

    <a id="rpxnowLink" style="display: none" onclick="return false;" href="https://connect.nickelodeon.ru/openid/v2/signin?token_url=http%3A%2F%2Fvn.nickelodeon.ru%2Frpx" class="rpxnow"></a>    
    <script type="text/javascript" src="http://static.rpxnow.com/js/lib/rpx.js"></script>    
    <script type="text/javascript">    
    RPXNOW.overlay = true;    
    RPXNOW.language_preference = 'ru';    
    </script>    
<style>    
/* slidermenu */    
#slidermenu { position: relative; margin-bottom: 6px; margin-top: 8px; width: 100% !important; overflow: hidden; }    
#slidermenu .cliped { width: 873px; height: 60px; margin-left: 27px; overflow: hidden; }    

#slidermenu .p, #slidermenu .n { position: absolute; top: 0; width: 27px; height: 60px; z-index: 10 }    
#slidermenu .p { left: 0; }    
#slidermenu .n { right: 0; }    
#slidermenu .p a, #slidermenu .n a { display: block; width: 27px; height: 60px; background: #fff url(http://www.nickelodeon.ru/wp-content/themes/MTV-RU/images/icon-slider-1.png) no-repeat; }    
#slidermenu .p span, #slidermenu .n span { display: none; }    
#slidermenu .n a { background-position: right top; }    
#slidermenu .n a.bdisabled { background-position: right bottom; }    
#slidermenu .p a { background-position: left top; }    
#slidermenu .p a.bdisabled { background-position: left bottom; }    
/*#slidermenu .n a:hover { background-position: right top; }    
#slidermenu .p a:hover { background-position: left top; }*/    

#slidermenu ul { display: block; position: relative; left: -98px; height: 60px; width:9999px; }    
#slidermenu ul li { display: inline; float: left; margin-right: 8px; width: 90px; }    
/* /slidermenu */    

#sliderwrap { margin: 0; padding: 8px 8px 2px 8px; background: #fff; }    
#sliderwrap #slidermenu { margin-top: 0; }    
#sliderwrap { margin: 0; padding: 8px 8px 2px 8px; background: #fff; }    
#sliderwrap #slidermenu { margin-top: 0; }    
</style>

Author - Adi
Date Added - 2012-07-19 в 7:36 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Sliders for uCoz websites » Beautiful Slider for ucoz (Красивый cлайдер для ucoz)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)
type list Highlight the code in one click (0)
type list The original form of statistics for uCoz (0)
type list The ban on the entry of certain characters in the Input (0)
type list Clock for site ucoz (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Kaip pakeisti paveiksla mazas? (19)
type list Juokingos Fotkes :) (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Button scrolling up ucoz (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

AnelsoNN
nemanjababin
defaultNick0568
mechoochite
mdcurren
yastreb
lad0s™
Lapuxa
th3kizaka
projektas420


Site design by uCozBaze
uCozBaze © 2011-2016