Jump to content

Módulo Slider con 3 banners a su derecha. [1.5] [SOLUCIONADO]


ideas4design

Recommended Posts

O tengo que configurar el css del nivo?

 

 

/*

* jQuery Nivo Slider v2.1

* http://nivo.dev7studios.com

*

* Copyright 2010, Gilbert Pellegrom

* Free to use and abuse under the MIT license.

* http://www.opensource.org/licenses/mit-license.php

*

* March 2010

*/

 

 

/* The Nivo Slider styles */

div#slide_holder {

clear: both;

height: 404px;

margin: 0 0 10px;

width: 400px;

}

div#slider {

width:400px;

height:404px;

overflow: hidden;

float:left;

}

.nivoSlider {

position:relative;

}

.nivoSlider img {

position:absolute;

top:0px;

left:0px;

}

/* If an image is wrapped in a link */

.nivoSlider a.nivo-imageLink {

position:absolute;

top:0px;

left:0px;

width:100%;

height:100%;

border:0;

padding:0;

margin:0;

z-index:60;

display:none;

}

/* The slices in the Slider */

.nivo-slice {

display:block;

position:absolute;

z-index:50;

height:100%;

}

/* Caption styles */

.nivo-caption {

position:absolute;

left:0px;

bottom:0px;

background:#000;

color:#fff;

opacity:0.8; /* Overridden by captionOpacity setting */

width:100%;

z-index:89;

}

.nivo-caption p {

padding:5px;

margin:0;

}

.nivo-caption a {

display:inline !important;

}

.nivo-html-caption {

display:none;

}

/* Direction nav styles (e.g. Next & Prev) */

.nivo-directionNav a {

position:absolute;

top:47%;

z-index:99;

cursor:pointer;

}

.nivo-prevNav {

left:10px;

display:block;

width:38px;

height:38px;

text-indent:-9999px;

background: url('../img/nivo_nav.png') top left no-repeat;

}

.nivo-nextNav {

right:10px;

display:block;

width:38px;

height:38px;

text-indent:-9999px;

background: url('../img/nivo_nav.png') top right no-repeat;

}

/* Control nav styles (e.g. 1,2,3...) */

.nivo-controlNav {

position:absolute;

left:440px;

bottom:10px;

z-index:99;

width:80px;

}

.nivo-controlNav a {

display:block;

width:16px;

height:16px;

background:url('../img/bullets.png') no-repeat;

text-indent:-9999px;

border:0;

margin-right:3px;

float:left;

cursor:pointer;

 

}

.nivo-controlNav a.active {

background-position:0 -16px;

}

 

.nivo-controlNav a.active {

font-weight:bold;

}

Link to comment
Share on other sites

Voy a pegar el código nivoslider.tpl porque para ser sinceros no me entero de mucho.

 

<!-- MODULE NivoSlider for PrestaShop -->
<!-- www.tiendasvirtuales.com.ve -->
{literal}
<script type="text/javascript" src="{/literal}{$module_dir}{literal}tools/js/jquery.nivo.slider.pack.js"></script>
<link rel="stylesheet" type="text/css" href="{/literal}{$module_dir}{literal}tools/css/nivo-slider.css" />
<div id="slide_holder" style="width:{/literal}{$width}{literal}px;height:{/literal}{$height}{literal}px;position:relative;background-color:{/literal}{$backcolordiv}{literal};margin-top:{/literal}{$margintop}{literal}px;margin-bottom:{/literal}{$marginbottom}{literal}px;margin-left:{/literal}{$marginleft}{literal}px;margin-right:{/literal}{$marginright}{literal}px;">
   <div id="slider">
    {/literal}
    {foreach key=id item=links from=$mylinks}
	    {if $links.url !=""}		   
		   {literal}<a href="{/literal}{$links.url}"{if $links.new_window} {literal}target="_blank"{/literal}{/if}{literal}><img src="{/literal}{$module_dir}{literal}img/{/literal}{$links.image}" {literal}alt="{/literal}{$links.title}" {literal}title="{/literal}{$links.description}" {literal} width="{/literal}{$width}{literal}px" height="{/literal}{$height}{literal}px" /></a>{/literal}
	    {else}			  
		   {literal}<a href="{/literal}{$links.url}"{if $links.new_window} {literal}target="_blank"{/literal}{/if}{literal}><img src="{/literal}{$module_dir}{literal}img/{/literal}{$links.image}" {literal}alt="{/literal}{$links.title}" {literal}title="{/literal}{$links.description}" {literal} width="{/literal}{$width}{literal}px" height="{/literal}{$height}{literal}px" /></a>{/literal}
	    {/if}			  
    {/foreach}
    {literal}
</div>
</div>
<script type="text/javascript">
   //jQuery.noConflict();
   jQuery(window).load(function() {
   jQuery('#slider').nivoSlider({   
 effect:'{/literal}{$effect}{literal}', //Specify sets like: 'fold,fade,sliceDown'
 slices:{/literal}{$slices}{literal},
 animSpeed:{/literal}{$animspeed}{literal}, //Slide transition speed
 pauseTime:{/literal}{$pausetime}{literal},
 startSlide:{/literal}{$startslide}{literal}, //Set starting Slide (0 index)
 directionNav:{/literal}{$directionnav}{literal}, //Next & Prev
 directionNavHide:{/literal}{$directionnavhide}{literal}, //Only show on hover
 controlNav:{/literal}{$cn_nav}{literal}, //1,2,3...
 controlNavThumbs:{/literal}{$cn_navthumbs}{literal}, //Use thumbnails for Control Nav
  controlNavThumbsFromRel:{/literal}{$cn_thumbsfromrel}{literal}, //Use image rel for thumbs
 controlNavThumbsSearch: '.jpg', //Replace this with...
 controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
 keyboardNav:{/literal}{$keyboardnav}{literal}, //Use left & right arrows
 pauseOnHover:{/literal}{$pauseonhover}{literal}, //Stop animation while hovering
 manualAdvance:{/literal}{$manualadvance}{literal}, //Force manual transitions
 captionOpacity:{/literal}{$captionopacity}{literal}, //Universal caption opacity
 beforeChange: function(){},
 afterChange: function(){},
 slideshowEnd: function(){} //Triggers after all slides have been shown
});
});
</script>
<!-- /MODULE NivoSlider for PrestaShop -->
{/literal}

Link to comment
Share on other sites

Se que es esta linea

<div id="slide_holder" style="width:{/literal}{$width}{literal}px;height:{/literal}{$height}{literal}px;position:relative;background-color:{/literal}{$backcolordiv}{literal};margin-top:{/literal}{$margintop}{literal}px;margin-bottom:{/literal}{$marginbottom}{literal}px;margin-left:{/literal}{$marginleft}{literal}px;margin-right:{/literal}{$marginright}{literal}px;">

 

Position: Left ?

 

Pues nada he probado a poner position:left pero nada....

Edited by ideas4design (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

Si pero en la sección de módulos no me sale por ese nombre ....Categoria: ? Desarrollado por: ? Puede ser que no lo encuentre porque lo tenga en castellano ?

 

PAra que version es?

 

Lo intente instalar en la 1.5.4 y no funsiona... ME sale el siguiente error. (tipo de archivo desconocido)

Edited by eltano3d (see edit history)
Link to comment
Share on other sites

  • 9 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...