Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Slider Accordion V2 (http://www.bvlist.com/showthread.php?t=10160)

nicukent 17th December 2014 09:15

Slider Accordion V2
 
2 Attachment(s)

Put this in
/include/config.php


PHP Code:

$INSTALLER09['expires']['slide_movies'] = 3600//1 hour 
$INSTALLER09['movie_cats'] = array(17,18,19,20,24,); 

In blocks/index put
slider.php
Templates folder add this in 1.css,2.css,etc
PHP Code:

.caption {
            
z-index:500;
            
position:absolute;
            
bottom:-35px;
            
left:0;
            
height:30px;
            
padding:5px 20px 0 20px;
            
background:#000;
            
background:rgba(0,0,0,.5);
            
width:540px;
            
font-size:1.3em;
            
line-height:1.33;
            
color:#fff;
            
border-top:1px solid #000;
            
text-shadow:none;
    }
     
    
#galery {
        
background-color#000000;
        
font-size18px;
        
height250px;
        
overflowhidden;
        
positionrelative;
        
width700px;
    }
    
#galery ul {
        
height250px;
        
margin0;
        
padding0;
        
width700px;
    }
    
#galery li {
        
border-right1px solid #9999AA;
        
floatleft;
        
height250px;
        list-
stylenone outside none;
        
overflowhidden;
        
positionrelative;
        
width69px;
    }
    
#galery li .item {
        
height250px;
        
positionabsolute;
        
width160px;
    }
    
#galery li img {
        
border-width0;
        
height250px;
        
width160px;
    }
    .
last {
        
overflowvisible !important;
    }
    
#galery .bottom-text {
        
background-color#000000;
        
bottom: -100px;
        
color#FFFFFF;
        
font-familyArial;
        
font-size12px;
        
font-weight400;
        
padding5px 10px;
        
positionabsolute;
        
text-alignjustify;
        
width140px;
    } 

Put gallery.js in scripts folder
In index.php in sdtfoot = array put this
PHP Code:

'gallery'

after
PHP Code:

'shout'

after
PHP Code:

   if (curuser::$blocks['index_page'] & block_index::FORUMPOSTS && $BLOCKS['forum_posts_on']){
   require(
BLOCK_DIR.'index/forum_posts.php');
   } 

put
PHP Code:

if (curuser::$blocks['index_page'] & block_index::SLIDER || $BLOCKS['slider_on']){
    require_once(
BLOCK_DIR.'index/slider.php');
    } 

include/class/class_blocks_index.php put
PHP Code:

const SLIDER      0x300000

after
PHP Code:

const FORUMPOSTS            0x400// 1024 

Go to admin/block.settings.php for blocks visible and put this
PHP Code:

<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
    <
td width="60%">
    <
b>Slider Accordion Block?</b><div><hr style="color:#A83838;" size="1" /></div>
    <
div>Slider Accordion</div></td>
    <
td width="40%"><div style="width: auto;" align="right"><#slider_on#></div></td>
    
</tr></table



ENJOY!
:drink: :wave::wave:

WhyMe 17th December 2014 13:15

Do you not think this would be a better css


PHP Code:

.caption {
            
z-index:500;
            
position:absolute;
            
bottom:-35px;
            
left:0;
            
height:30px;
            
padding:5px 20px 0 20px;
            
background:#000;
            
background:rgba(0,0,0,.5);
            
width:540px;
            
font-size:1.3em;
            
line-height:1.33;
            
color:#fff;
            
border-top:1px solid #000;
            
text-shadow:none;
}

#galery {
        
background-color#000000;
        
font-size18px;
        
height250px;
        
overflowhidden;
        
positionrelative;
        
width700px;
}
#galery ul {
        
background-color#111111;
        
height250px;
        
margin0;
        
padding0;
        
width700px;
}
#galery li {
        
border-right1px solid #9999AA;
        
floatleft;
        
height250px;
        list-
stylenone outside none;
        
overflowhidden;
        
positionrelative;
        
width69px;
}
#galery li .item {
        
height250px;
        
positionabsolute;
        
width160px;
}
#galery li img {
        
border-width0;
        
height250px;
        
width160px;
        -
moz-border-radius-topleft10px;
         -
webkit-border-radius-topleft10px;
          
border-top-left-radius10px;
           -
moz-border-radius-topright10px;
            -
webkit-border-radius-topright10px;
             
border-top-right-radius10px;
              -
moz-border-radius-bottomleft10px;
               -
webkit-border-radius-bottomleft10px;
                
border-bottom-left-radius10px;
                 -
moz-border-radius-bottomright10px;
                  -
webkit-border-radius-bottomright10px;
                   
border-bottom-right-radius10px;
}
.
last {
        
overflowvisible !important;
}
#galery .bottom-text {
        
background-color#000000;
        
bottom: -100px;
        
color#FFFFFF;
        
font-familyArial;
        
font-size12px;
        
font-weight400;
        
padding5px 10px;
        
positionabsolute;
        
text-alignjustify;
        
width140px;
}
.
row-fluid {
  
width100%;
  *
zoom1;
}
.
row-fluid:before,
.
row-fluid:after {
  
displaytable;
  
line-height0;
  
content"";
}

.
row-fluid:after {
  
clearboth;
}

.
row-fluid [class*="span"] {
  
displayblock;
  
floatleft;
  
width100%;
  
min-height30px;
  
margin-left2.127659574468085%;
  *
margin-left2.074468085106383%;
  -
webkit-box-sizingborder-box;
     -
moz-box-sizingborder-box;
          
box-sizingborder-box;
}

.
row-fluid [class*="span"]:first-child {
  
margin-left0;
}

.
row-fluid .controls-row [class*="span"] + [class*="span"] {
  
margin-left2.127659574468085%;
}

.
row-fluid .span12 {
  
width100%;
  *
width99.94680851063829%;
}

.
row-fluid .span11 {
  
width91.48936170212765%;
  *
width91.43617021276594%;
}

.
row-fluid .span10 {
  
width82.97872340425532%;
  *
width82.92553191489361%;
}

.
row-fluid .span9 {
  
width74.46808510638297%;
  *
width74.41489361702126%;
}

.
row-fluid .span8 {
  
width65.95744680851064%;
  *
width65.90425531914893%;
}

.
row-fluid .span7 {
  
width57.44680851063829%;
  *
width57.39361702127659%;
}

.
row-fluid .span6 {
  
width48.93617021276595%;
  *
width48.88297872340425%;
}

.
row-fluid .span5 {
  
width40.42553191489362%;
  *
width40.37234042553192%;
}

.
row-fluid .span4 {
  
width31.914893617021278%;
  *
width31.861702127659576%;
}

.
row-fluid .span3 {
  
width23.404255319148934%;
  *
width23.351063829787233%;
}

.
row-fluid .span2 {
  
width14.893617021276595%;
  *
width14.840425531914894%;
}

.
row-fluid .span1 {
  
width6.382978723404255%;
  *
width6.329787234042553%;
}

.
row-fluid .offset12 {
  
margin-left104.25531914893617%;
  *
margin-left104.14893617021275%;
}

.
row-fluid .offset12:first-child {
  
margin-left102.12765957446808%;
  *
margin-left102.02127659574467%;
}

.
row-fluid .offset11 {
  
margin-left95.74468085106382%;
  *
margin-left95.6382978723404%;
}

.
row-fluid .offset11:first-child {
  
margin-left93.61702127659574%;
  *
margin-left93.51063829787232%;
}

.
row-fluid .offset10 {
  
margin-left87.23404255319149%;
  *
margin-left87.12765957446807%;
}

.
row-fluid .offset10:first-child {
  
margin-left85.1063829787234%;
  *
margin-left84.99999999999999%;
}

.
row-fluid .offset9 {
  
margin-left78.72340425531914%;
  *
margin-left78.61702127659572%;
}

.
row-fluid .offset9:first-child {
  
margin-left76.59574468085106%;
  *
margin-left76.48936170212764%;
}

.
row-fluid .offset8 {
  
margin-left70.2127659574468%;
  *
margin-left70.10638297872339%;
}

.
row-fluid .offset8:first-child {
  
margin-left68.08510638297872%;
  *
margin-left67.9787234042553%;
}

.
row-fluid .offset7 {
  
margin-left61.70212765957446%;
  *
margin-left61.59574468085106%;
}

.
row-fluid .offset7:first-child {
  
margin-left59.574468085106375%;
  *
margin-left59.46808510638297%;
}

.
row-fluid .offset6 {
  
margin-left53.191489361702125%;
  *
margin-left53.085106382978715%;
}

.
row-fluid .offset6:first-child {
  
margin-left51.063829787234035%;
  *
margin-left50.95744680851063%;
}

.
row-fluid .offset5 {
  
margin-left44.68085106382979%;
  *
margin-left44.57446808510638%;
}

.
row-fluid .offset5:first-child {
  
margin-left42.5531914893617%;
  *
margin-left42.4468085106383%;
}

.
row-fluid .offset4 {
  
margin-left36.170212765957444%;
  *
margin-left36.06382978723405%;
}

.
row-fluid .offset4:first-child {
  
margin-left34.04255319148936%;
  *
margin-left33.93617021276596%;
}

.
row-fluid .offset3 {
  
margin-left27.659574468085104%;
  *
margin-left27.5531914893617%;
}

.
row-fluid .offset3:first-child {
  
margin-left25.53191489361702%;
  *
margin-left25.425531914893618%;
}

.
row-fluid .offset2 {
  
margin-left19.148936170212764%;
  *
margin-left19.04255319148936%;
}

.
row-fluid .offset2:first-child {
  
margin-left17.02127659574468%;
  *
margin-left16.914893617021278%;
}

.
row-fluid .offset1 {
  
margin-left10.638297872340425%;
  *
margin-left10.53191489361702%;
}

.
row-fluid .offset1:first-child {
  
margin-left8.51063829787234%;
  *
margin-left8.404255319148938%;
}

[class*=
"span"].hide,
.
row-fluid [class*="span"].hide {
  
displaynone;
}

[class*=
"span"].pull-center,
.
row-fluid [class*="span"].pull-center {
  
floatright;


Bump: this not work on v3

DND 17th December 2014 17:30

if ya got any errors, look at them. it may say why it doesn't work. :ok:

WhyMe 17th December 2014 22:00

DND

theres no errors at all its just not work on v3 as its dif too the v2 mate

in the v3 we already have this

PHP Code:

$INSTALLER09['movie_cats'] = array(17,18,19,20,24,); 


PHP Code:

$INSTALLER09['movie_cats'] = array(
    
3,
    
5,
    
6,
    
10,
    
11
); 


autotron 28th December 2014 13:51

Quote:

Originally Posted by DND (Post 45789)
if ya got any errors, look at them. it may say why it doesn't work. :ok:

Slider works just fine in V3, and if I am correct he cant ask on 232 cause he was banned from there ages ago

WhyMe 28th December 2014 16:31

this dose work on v3 now i did the block for it

iseeyoucopy 29th January 2015 20:54

Why you think this slider accordion is V2 because I make same Slider accordion for V3 and I post on the U-232 forum. You put here same... i think you just added in block.settings some line... nevermind...:ok:

Jinx 30th January 2015 00:24

:-)
 
nice work :drink:


All times are GMT +2. The time now is 16:54.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.